Mir
Typedefs | Enumerations | Functions
touch_input_event.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct MirTouchInputEvent MirTouchInputEvent
 An event type describing a change in touch device state. More...
 
typedef int32_t MirTouchInputEventTouchId
 An identifier for a touch-point. More...
 

Enumerations

enum  MirTouchInputEventTouchAction { mir_touch_input_event_action_up = 0, mir_touch_input_event_action_down = 1, mir_touch_input_event_action_change = 2 }
 Possible per touch actions for state changing. More...
 
enum  MirTouchInputEventTouchAxis {
  mir_touch_input_axis_x = 0, mir_touch_input_axis_y = 1, mir_touch_input_axis_pressure = 2, mir_touch_input_axis_touch_major = 3,
  mir_touch_input_axis_touch_minor = 4, mir_touch_input_axis_size = 5
}
 Identifiers for touch axis. More...
 
enum  MirTouchInputEventTouchTooltype { mir_touch_input_tool_type_unknown = 0, mir_touch_input_tool_type_finger = 1, mir_touch_input_tool_type_stylus = 2 }
 Identifiers for per-touch tool types. More...
 

Functions

MirInputEventModifiers mir_touch_input_event_get_modifiers (MirTouchInputEvent const *event)
 Retrieve the modifier keys pressed when the touch action occured. More...
 
unsigned int mir_touch_input_event_get_touch_count (MirTouchInputEvent const *event)
 Retrieve the number of touches reported for a given touch event. More...
 
MirTouchInputEventTouchId mir_touch_input_event_get_touch_id (MirTouchInputEvent const *event, size_t touch_index)
 Retrieve the TouchID for a touch at given index. More...
 
MirTouchInputEventTouchAction mir_touch_input_event_get_touch_action (MirTouchInputEvent const *event, size_t touch_index)
 Retrieve the action which occured for a touch at given index. More...
 
MirTouchInputEventTouchTooltype mir_touch_input_event_get_touch_tooltype (MirTouchInputEvent const *event, size_t touch_index)
 Retrieve the tooltype for touch at given index. More...
 
float mir_touch_input_event_get_touch_axis_value (MirTouchInputEvent const *event, size_t touch_index, MirTouchInputEventTouchAxis axis)
 Retrieve the axis value for a given axis on an indexed touch. More...
 

Copyright © 2012,2013 Canonical Ltd.
Generated on Tue Mar 24 16:15:19 UTC 2015