Mir
Functions
input_device_state_event.h File Reference
#include <mir_toolkit/events/event.h>
Include dependency graph for input_device_state_event.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

MirPointerButtons mir_input_device_state_event_pointer_buttons (MirInputDeviceStateEvent const *ev)
 MirInputDeviceStateEvent informs clients about the current state of the input devices. More...
 
float mir_input_device_state_event_pointer_axis (MirInputDeviceStateEvent const *ev, MirPointerAxis axis)
 Retrieve the pointer position. More...
 
int64_t mir_input_device_state_event_time (MirInputDeviceStateEvent const *ev)
 Retrieve the time associated with a MirInputDeviceStateEvent. More...
 
MirInputEventModifiers mir_input_device_state_event_modifiers (MirInputDeviceStateEvent const *ev)
 Retrieve the modifier keys pressed on all input devices. More...
 
uint32_t mir_input_device_state_event_device_count (MirInputDeviceStateEvent const *ev)
 Retrieve the number of attached input devices. More...
 
MirInputDeviceId mir_input_device_state_event_device_id (MirInputDeviceStateEvent const *ev, uint32_t index)
 Retrieve the device id. More...
 
uint32_t mir_input_device_state_event_device_pressed_keys_for_index (MirInputDeviceStateEvent const *ev, uint32_t index, uint32_t pressed_index)
 
uint32_t mir_input_device_state_event_device_pressed_keys_count (MirInputDeviceStateEvent const *ev, uint32_t index)
 Retrieve the size of scan code array of the device identified by the index. More...
 
MirPointerButtons mir_input_device_state_event_device_pointer_buttons (MirInputDeviceStateEvent const *ev, uint32_t index)
 Retrieve the pointer button state of the device identified by the index. More...
 

Copyright © 2012-2021 Canonical Ltd.
Generated on Fri Jan 29 22:31:44 UTC 2021
This documentation is licensed under the GPL version 2 or 3.