Home
last modified time | relevance | path

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

/third_party/libinput/src/
Devdev.h724 double lag_x, lag_y; in evdev_hysteresis() local
755 lag_x = margin_distance / sqrt(gradient * gradient + 1); in evdev_hysteresis()
756 lag_y = sqrt((margin_distance + lag_x) * in evdev_hysteresis()
757 (margin_distance - lag_x)); in evdev_hysteresis()
759 lag_x = 0.0; in evdev_hysteresis()
768 result.x = (dx >= 0) ? in->x - lag_x : in->x + lag_x; in evdev_hysteresis()