class Android::MotionEvent
- Android::MotionEvent
- Android::InputEvent
- Reference
- Object
Defined in:
input_event.crInstance Method Summary
- #action
- #axis_value(axis : Axis, pointer = pointer_index)
- #button_state
- #down_time
- #edge
- #event_time
- #flags
- #historical_axis_value(axis : Axis, history, pointer = pointer_index)
- #historical_event_time(history)
- #historical_orientation(history, pointer = pointer_index)
- #historical_pressure(history, pointer = pointer_index)
- #historical_raw_x(history, pointer = pointer_index)
- #historical_raw_y(history, pointer = pointer_index)
- #historical_size(history, pointer = pointer_index)
- #historical_tool_major(history, pointer = pointer_index)
- #historical_tool_minor(history, pointer = pointer_index)
- #historical_touch_major(history, pointer = pointer_index)
- #historical_touch_minor(history, pointer = pointer_index)
- #historical_x(history, pointer = pointer_index)
- #historical_y(history, pointer = pointer_index)
- #history_size(history)
- #inspect(io)
- #meta_state
- #orientation(pointer = pointer_index)
- #pointer_count
- #pointer_id(pointer = pointer_index)
-
#pointer_index
In case of a non primary pointer even (i.e.,
POINTER_UP
andPOINTER_DOWN
), returns the finger index for the event. - #pressure(pointer = pointer_index)
- #raw_x(pointer = pointer_index)
- #raw_y(pointer = pointer_index)
- #size(pointer = pointer_index)
- #tool_major(pointer = pointer_index)
- #tool_minor(pointer = pointer_index)
- #tool_type(pointer = pointer_index)
- #touch_major(pointer = pointer_index)
- #touch_minor(pointer = pointer_index)
- #x(pointer = pointer_index)
- #x_offset
- #x_precision
- #y(pointer = pointer_index)
- #y_offset
- #y_precision
Instance methods inherited from class Android::InputEvent
device_id
device_id,
source
source,
to_unsafe : Pointer(LibAndroid::InputEvent)
to_unsafe,
type
type
Instance Method Detail
def pointer_index
#
In case of a non primary pointer even (i.e., POINTER_UP
and
POINTER_DOWN
), returns the finger index for the event.