Struct

PhocEvent

Description [src]

struct PhocEvent {
  PhocEventType type;
}

Input events.

Structure members
type

No description available.

Constructors

phoc_event_new

Creates a new PhocEvent of the specified type.

Instance methods

phoc_event_copy

Copies event.

phoc_event_free

Frees all resources used by event.

phoc_event_get_device

Retrieves the input device the event came from.

phoc_event_get_event_sequence

Related touch events are connected in a sequence. Other events typically don’t have event sequence information.

phoc_event_get_time

Returns the timestamp of event in milliseconds.

phoc_event_get_touchpad_gesture_deltas

Extracts delta information from a touchpad event.

phoc_event_get_touchpad_gesture_n_fingers

Extracts the number of fingers from a touchpad event.

phoc_event_get_touchpad_gesture_phase
No description available.

phoc_event_is_touchpad_gesture
No description available.