zwp_input_timestamps_v1¤
wayland.zwp_input_timestamps_v1 ¤
Context object for input timestamps
Provides high-resolution timestamp events for a set of subscribed input events. The set of subscribed input events is determined by the zwp_input_timestamps_manager_v1 request used to create this object.
Methods:
-
destroy
–Destroy the input timestamps object
-
on_timestamp
–High-resolution timestamp event.
events
timestamp ¤
High-resolution timestamp event
The timestamp event is associated with the first subsequent input event carrying a timestamp which belongs to the set of input events this object is subscribed to.
The timestamp provided by this event is a high-resolution version of the timestamp argument of the associated input event. The provided timestamp is in the same clock domain and is at least as accurate as the associated input event timestamp.
The timestamp is expressed as tv_sec_hi, tv_sec_lo, tv_nsec triples, each component being an unsigned 32-bit value. Whole seconds are in tv_sec which is a 64-bit value combined from tv_sec_hi and tv_sec_lo, and the additional fractional part in tv_nsec as nanoseconds. Hence, for valid timestamps tv_nsec must be in [0, 999999999].
Parameters:
destroy ¤
destroy() -> None
Destroy the input timestamps object
Informs the server that the client will no longer be using this protocol object. After the server processes the request, no more timestamp events will be emitted.
on_timestamp ¤
High-resolution timestamp event.
Override to handle wayland.zwp_input_timestamps_v1.events.timestamp
.