Home
last modified time | relevance | path

Searched refs:motion_index (Results 1 – 1 of 1) sorted by relevance

/dports/x11/libinput/libinput-1.12.6/src/
H A Devdev-mt-touchpad.c133 int motion_index = (t->history.index + 1) % TOUCHPAD_HISTORY_LENGTH; in tp_motion_history_push() local
138 t->history.samples[motion_index].point = t->point; in tp_motion_history_push()
139 t->history.samples[motion_index].time = t->time; in tp_motion_history_push()
140 t->history.index = motion_index; in tp_motion_history_push()