Obtains the motion history for a device; given a starting and ending timestamp, return all events in the motion history for the device in the given range of time.
Obtains the motion history for a device; given a starting and ending timestamp, return all events in the motion history for the device in the given range of time.
Some windowing systems do not support motion history, in which case, false will be returned. (This is not distinguishable from the case where motion history is supported and no events were found.)
Parameters:
window
The window with respect to which which the event coordinates will be reported.
start
Starting timestamp for range of events to return.
stop
Ending timestamp for the range of events to return.
events
Location to store a newly-allocated array of Gdk::TimeCoord, or 0.
n_events
Location to store the length of events , or 0.
Returns:
true if the windowing system supports motion history and at least one event was found.