Home
last modified time | relevance | path

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

/third_party/libinput/src/
H A Devdev-mt-touchpad.c162 int motion_index = (t->history.index + 1) % TOUCHPAD_HISTORY_LENGTH; in tp_motion_history_push() local
167 t->history.samples[motion_index].point = t->point; in tp_motion_history_push()
168 t->history.samples[motion_index].time = time; in tp_motion_history_push()
169 t->history.index = motion_index; in tp_motion_history_push()

Completed in 5 milliseconds