TouchpadEvent

class TouchpadEvent(*args, **kwargs)

Superclasses: Event

Constructors:

TouchpadEvent(**properties)

Methods

class TouchpadEvent
get_deltas() tuple[float, float]

Extracts delta information from a touchpad event.

get_gesture_phase() TouchpadGesturePhase

Extracts the touchpad gesture phase from a touchpad event.

get_n_fingers() int

Extracts the number of fingers from a touchpad event.

get_pinch_angle_delta() float

Extracts the angle delta from a touchpad pinch event.

get_pinch_scale() float

Extracts the scale from a touchpad pinch event.