Mir
|
#include <stdbool.h>
Go to the source code of this file.
Typedefs | |
typedef struct MirPointerEvent | MirPointerEvent |
An event type describing a change in pointer device state. More... | |
Functions | |
MirInputEventModifiers | mir_pointer_event_modifiers (MirPointerEvent const *event) |
Retrieve the modifier keys pressed when the pointer action occured. More... | |
MirPointerAction | mir_pointer_event_action (MirPointerEvent const *event) |
Retrieve the action which occured to generate a given pointer event. More... | |
bool | mir_pointer_event_button_state (MirPointerEvent const *event, MirPointerButton button) |
Retrieve the state of a given pointer button when the action occurred. More... | |
MirPointerButtons | mir_pointer_event_buttons (MirPointerEvent const *event) |
Retreive the pointer button state as a masked set of values. More... | |
float | mir_pointer_event_axis_value (MirPointerEvent const *event, MirPointerAxis axis) |
Retrieve the axis value reported by a given pointer event. More... | |
MirInputEvent const * | mir_pointer_event_input_event (MirPointerEvent const *event) |
Retrieve the corresponding input event. More... | |
Copyright © 2012-2021
Canonical Ltd.
Generated on Wed Mar 31 15:54:02 UTC 2021
This documentation is licensed under the GPL version 2 or 3.