zwp_input_timestamps_manager_v1¤
wayland.zwp_input_timestamps_manager_v1 ¤
Context object for high-resolution input timestamps
A global interface used for requesting high-resolution timestamps for input events.
Methods:
-
destroy
–Destroy the input timestamps manager object
-
get_keyboard_timestamps
–Subscribe to high-resolution keyboard timestamp events
-
get_pointer_timestamps
–Subscribe to high-resolution pointer timestamp events
-
get_touch_timestamps
–Subscribe to high-resolution touch timestamp events
destroy ¤
destroy() -> None
Destroy the input timestamps manager object
Informs the server that the client will no longer be using this protocol object. Existing objects created by this object are not affected.
get_keyboard_timestamps ¤
get_keyboard_timestamps(keyboard: wl_keyboard) -> zwp_input_timestamps_v1
Subscribe to high-resolution keyboard timestamp events
Creates a new input timestamps object that represents a subscription to high-resolution timestamp events for all wl_keyboard events that carry a timestamp.
If the associated wl_keyboard object is invalidated, either through client action (e.g. release) or server-side changes, the input timestamps object becomes inert and the client should destroy it by calling zwp_input_timestamps_v1.destroy.
Parameters:
-
keyboard
¤wl_keyboard
) –The
wl_keyboard
object for which to get timestamp events
Returns:
-
zwp_input_timestamps_v1
(zwp_input_timestamps_v1
) –The created object
get_pointer_timestamps ¤
get_pointer_timestamps(pointer: wl_pointer) -> zwp_input_timestamps_v1
Subscribe to high-resolution pointer timestamp events
Creates a new input timestamps object that represents a subscription to high-resolution timestamp events for all wl_pointer events that carry a timestamp.
If the associated wl_pointer object is invalidated, either through client action (e.g. release) or server-side changes, the input timestamps object becomes inert and the client should destroy it by calling zwp_input_timestamps_v1.destroy.
Parameters:
-
pointer
¤wl_pointer
) –The
wl_pointer
object for which to get timestamp events
Returns:
-
zwp_input_timestamps_v1
(zwp_input_timestamps_v1
) –The created object
get_touch_timestamps ¤
get_touch_timestamps(touch: wl_touch) -> zwp_input_timestamps_v1
Subscribe to high-resolution touch timestamp events
Creates a new input timestamps object that represents a subscription to high-resolution timestamp events for all wl_touch events that carry a timestamp.
If the associated wl_touch object becomes invalid, either through client action (e.g. release) or server-side changes, the input timestamps object becomes inert and the client should destroy it by calling zwp_input_timestamps_v1.destroy.
Parameters:
Returns:
-
zwp_input_timestamps_v1
(zwp_input_timestamps_v1
) –The created object