Struct

PhocEvent

since: 0

Description [src]

struct PhocEvent {
  PhocEventType type;
}

Input events.

Structure members
type
No description available.

Available since: 0

Constructors

phoc_event_new

Creates a new PhocEvent of the specified type.

since: 0

Instance methods

phoc_event_copy

Copies event.

since: 0

phoc_event_free

Frees all resources used by event.

since: 0

phoc_event_get_device

Retrieves the input device the event came from.

since: 0

phoc_event_get_event_sequence

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

since: 0

phoc_event_get_time

Returns the timestamp of event in milliseconds.

since: 0

phoc_event_get_touchpad_gesture_deltas

Extracts delta information from a touchpad event.

since: 0

phoc_event_get_touchpad_gesture_n_fingers

Extracts the number of fingers from a touchpad event.

since: 0

phoc_event_get_touchpad_gesture_phase
No description available.

since: 0

phoc_event_is_touchpad_gesture
No description available.

since: 0