Home
last modified time | relevance | path

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

/dports/x11/libinput/libinput-1.12.6/src/
H A Devdev-mt-touchpad.h33 #define TOUCHPAD_HISTORY_LENGTH 4 macro
181 } samples[TOUCHPAD_HISTORY_LENGTH];
H A Devdev-mt-touchpad.c46 (t->history.index - offset + TOUCHPAD_HISTORY_LENGTH) % in tp_motion_history_offset()
47 TOUCHPAD_HISTORY_LENGTH; in tp_motion_history_offset()
133 int motion_index = (t->history.index + 1) % TOUCHPAD_HISTORY_LENGTH; in tp_motion_history_push()
135 if (t->history.count < TOUCHPAD_HISTORY_LENGTH) in tp_motion_history_push()