Home
last modified time | relevance | path

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

/third_party/libinput/src/
Devdev.h706 double lag_x, lag_y; in evdev_hysteresis() local
737 lag_x = margin_distance / sqrt(gradient * gradient + 1); in evdev_hysteresis()
738 lag_y = sqrt((margin_distance + lag_x) * in evdev_hysteresis()
739 (margin_distance - lag_x)); in evdev_hysteresis()
741 lag_x = 0.0; in evdev_hysteresis()
750 result.x = (dx >= 0) ? in->x - lag_x : in->x + lag_x; in evdev_hysteresis()