|
Mir
|
#include <stdbool.h>Go to the source code of this file.
Typedefs | |
| typedef struct MirPointerInputEvent | MirPointerInputEvent |
| An event type describing a change in pointer device state. More... | |
Enumerations | |
| enum | MirPointerInputEventAction { mir_pointer_input_event_action_button_up = 0, mir_pointer_input_event_action_button_down = 1, mir_pointer_input_event_action_enter = 2, mir_pointer_input_event_action_leave = 3, mir_pointer_input_event_action_motion = 4 } |
| Possible pointer actions. More... | |
| enum | MirPointerInputEventAxis { mir_pointer_input_axis_x = 0, mir_pointer_input_axis_y = 1, mir_pointer_input_axis_vscroll = 2, mir_pointer_input_axis_hscroll = 3 } |
| Identifiers for pointer axis. More... | |
| enum | MirPointerInputEventButton { mir_pointer_input_button_primary = 1, mir_pointer_input_button_secondary = 2, mir_pointer_input_button_tertiary = 3, mir_pointer_input_button_back = 4, mir_pointer_input_button_forward = 5 } |
Functions | |
| MirInputEventModifiers | mir_pointer_input_event_get_modifiers (MirPointerInputEvent const *event) |
| Retrieve the modifier keys pressed when the pointer action occured. More... | |
| MirPointerInputEventAction | mir_pointer_input_event_get_action (MirPointerInputEvent const *event) |
| Retrieve the action which occured to generate a given pointer event. More... | |
| bool | mir_pointer_input_event_get_button_state (MirPointerInputEvent const *event, MirPointerInputEventButton button) |
| Retrieve the state of a given pointer button when the action occurred. More... | |
| float | mir_pointer_input_event_get_axis_value (MirPointerInputEvent const *event, MirPointerInputEventAxis axis) |
| Retrieve the axis value reported by a given pointer event. More... | |
Copyright © 2012,2013 Canonical Ltd.
Generated on Tue Mar 24 16:15:19 UTC 2015