Function miral::toolkit::mir_input_event_get_event_time¶
Defined in File toolkit_event.h
Function Documentation¶
-
int64_t miral::toolkit::mir_input_event_get_event_time(MirInputEvent const *event)¶
Retrieves the device id responsible for generating an input event.
- Parameters:
event – [in] The input event
event – [in] The input event
- Returns:
The id of the generating device Retrieve the time at which an input event occurred.
- Returns:
A timestamp in nanoseconds-since-epoch