Home
last modified time | relevance | path

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

/third_party/libinput/src/
Dfilter-flat.c76 double speed_adjustment) in accelerator_set_speed_flat() argument
81 assert(speed_adjustment >= -1.0 && speed_adjustment <= 1.0); in accelerator_set_speed_flat()
88 accel_filter->factor = max(0.005, 1 + speed_adjustment); in accelerator_set_speed_flat()
89 filter->speed_adjustment = speed_adjustment; in accelerator_set_speed_flat()
Dfilter-touchpad-flat.c84 double speed_adjustment) in accelerator_set_speed_touchpad_flat() argument
89 assert(speed_adjustment >= -1.0 && speed_adjustment <= 1.0); in accelerator_set_speed_touchpad_flat()
91 accel_filter->factor = max(0.005, 1 + speed_adjustment); in accelerator_set_speed_touchpad_flat()
92 filter->speed_adjustment = speed_adjustment; in accelerator_set_speed_touchpad_flat()
Dfilter-low-dpi.c201 double speed_adjustment) in accelerator_set_speed() argument
206 assert(speed_adjustment >= -1.0 && speed_adjustment <= 1.0); in accelerator_set_speed()
213 v_ms2us(0.25) * speed_adjustment; in accelerator_set_speed()
218 accel_filter->accel = DEFAULT_ACCELERATION + speed_adjustment * 1.5; in accelerator_set_speed()
221 accel_filter->incline = DEFAULT_INCLINE + speed_adjustment * 0.75; in accelerator_set_speed()
223 filter->speed_adjustment = speed_adjustment; in accelerator_set_speed()
Dfilter-mouse.c199 double speed_adjustment) in accelerator_set_speed() argument
204 assert(speed_adjustment >= -1.0 && speed_adjustment <= 1.0); in accelerator_set_speed()
211 v_ms2us(0.25) * speed_adjustment; in accelerator_set_speed()
216 accel_filter->accel = DEFAULT_ACCELERATION + speed_adjustment * 1.5; in accelerator_set_speed()
219 accel_filter->incline = DEFAULT_INCLINE + speed_adjustment * 0.75; in accelerator_set_speed()
221 filter->speed_adjustment = speed_adjustment; in accelerator_set_speed()
Dfilter-touchpad-x230.c221 double speed_adjustment) in accelerator_set_speed_x230() argument
226 assert(speed_adjustment >= -1.0 && speed_adjustment <= 1.0); in accelerator_set_speed_x230()
233 v_ms2us(0.25) * speed_adjustment; in accelerator_set_speed_x230()
238 accel_filter->accel = DEFAULT_ACCELERATION + speed_adjustment * 1.5; in accelerator_set_speed_x230()
241 accel_filter->incline = DEFAULT_INCLINE + speed_adjustment * 0.75; in accelerator_set_speed_x230()
243 filter->speed_adjustment = speed_adjustment; in accelerator_set_speed_x230()
Dfilter-trackpoint.c139 double speed_adjustment) in trackpoint_accelerator_set_speed() argument
144 assert(speed_adjustment >= -1.0 && speed_adjustment <= 1.0); in trackpoint_accelerator_set_speed()
146 filter->speed_adjustment = speed_adjustment; in trackpoint_accelerator_set_speed()
147 accel_filter->speed_factor = speed_factor(speed_adjustment); in trackpoint_accelerator_set_speed()
Dfilter-touchpad.c169 double speed_adjustment) in touchpad_accelerator_set_speed() argument
174 assert(speed_adjustment >= -1.0 && speed_adjustment <= 1.0); in touchpad_accelerator_set_speed()
176 filter->speed_adjustment = speed_adjustment; in touchpad_accelerator_set_speed()
177 accel_filter->speed_factor = speed_factor(speed_adjustment); in touchpad_accelerator_set_speed()
Dfilter-tablet.c125 double speed_adjustment) in tablet_accelerator_set_speed() argument
130 assert(speed_adjustment >= -1.0 && speed_adjustment <= 1.0); in tablet_accelerator_set_speed()
132 accel_filter->factor = speed_adjustment + 1.0; in tablet_accelerator_set_speed()
Dfilter-private.h46 double speed_adjustment);
50 double speed_adjustment; /* normalized [-1, 1] */ member
Dfilter.c75 double speed_adjustment) in filter_set_speed() argument
77 return filter->interface->set_speed(filter, speed_adjustment); in filter_set_speed()
83 return filter->speed_adjustment; in filter_get_speed()