Mir
|
Go to the source code of this file.
Typedefs | |
typedef struct MirTouchEvent | MirTouchEvent |
An event type describing a change in touch device state. More... | |
typedef int32_t | MirTouchId |
An identifier for a touch-point. More... | |
Enumerations | |
enum | MirTouchAction { mir_touch_action_up = 0, mir_touch_action_down = 1, mir_touch_action_change = 2, mir_touch_actions } |
Possible per touch actions for state changing. More... | |
enum | MirTouchAxis { mir_touch_axis_x = 0, mir_touch_axis_y = 1, mir_touch_axis_pressure = 2, mir_touch_axis_touch_major = 3, mir_touch_axis_touch_minor = 4, mir_touch_axis_size = 5, mir_touch_axes } |
Identifiers for touch axis. More... | |
enum | MirTouchTooltype { mir_touch_tooltype_unknown = 0, mir_touch_tooltype_finger = 1, mir_touch_tooltype_stylus = 2, mir_touch_tooltypes } |
Identifiers for per-touch tool types. More... | |
Functions | |
MirInputEventModifiers | mir_touch_event_modifiers (MirTouchEvent const *event) |
Retrieve the modifier keys pressed when the touch action occured. More... | |
unsigned int | mir_touch_event_point_count (MirTouchEvent const *event) |
Retrieve the number of touches reported for a given touch event. More... | |
MirTouchId | mir_touch_event_id (MirTouchEvent const *event, size_t touch_index) |
Retrieve the TouchID for a touch at given index. More... | |
MirTouchAction | mir_touch_event_action (MirTouchEvent const *event, size_t touch_index) |
Retrieve the action which occured for a touch at given index. More... | |
MirTouchTooltype | mir_touch_event_tooltype (MirTouchEvent const *event, size_t touch_index) |
Retrieve the tooltype for touch at given index. More... | |
float | mir_touch_event_axis_value (MirTouchEvent const *event, size_t touch_index, MirTouchAxis axis) |
Retrieve the axis value for a given axis on an indexed touch. More... | |
MirInputEvent const * | mir_touch_event_input_event (MirTouchEvent const *event) |
Retrieve the corresponding input event. More... | |
Copyright © 2012-2020
Canonical Ltd.
Generated on Sun Sep 27 19:03:53 UTC 2020
This documentation is licensed under the GPL version 2 or 3.