mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-14 07:30:34 +01:00
xfree86: Use different scroll increment than libinput in inputtest drv
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
This commit is contained in:
parent
58465a3dd9
commit
5e3900904d
1 changed files with 6 additions and 6 deletions
|
|
@ -331,8 +331,8 @@ init_pointer(InputInfoPtr pInfo)
|
|||
xf86InitValuatorAxisStruct(dev, 1, XIGetKnownProperty(AXIS_LABEL_PROP_REL_Y),
|
||||
min, max, res * 1000, 0, res * 1000, Relative);
|
||||
|
||||
SetScrollValuator(dev, 2, SCROLL_TYPE_HORIZONTAL, 15, 0);
|
||||
SetScrollValuator(dev, 3, SCROLL_TYPE_VERTICAL, 15, 0);
|
||||
SetScrollValuator(dev, 2, SCROLL_TYPE_HORIZONTAL, 120, 0);
|
||||
SetScrollValuator(dev, 3, SCROLL_TYPE_VERTICAL, 120, 0);
|
||||
|
||||
if (has_pressure) {
|
||||
xf86InitValuatorAxisStruct(dev, 4,
|
||||
|
|
@ -385,8 +385,8 @@ init_pointer_absolute(InputInfoPtr pInfo)
|
|||
xf86InitValuatorAxisStruct(dev, 1, XIGetKnownProperty(AXIS_LABEL_PROP_ABS_Y),
|
||||
min, max, res * 1000, 0, res * 1000, Absolute);
|
||||
|
||||
SetScrollValuator(dev, 2, SCROLL_TYPE_HORIZONTAL, 15, 0);
|
||||
SetScrollValuator(dev, 3, SCROLL_TYPE_VERTICAL, 15, 0);
|
||||
SetScrollValuator(dev, 2, SCROLL_TYPE_HORIZONTAL, 120, 0);
|
||||
SetScrollValuator(dev, 3, SCROLL_TYPE_VERTICAL, 120, 0);
|
||||
|
||||
if (has_pressure) {
|
||||
xf86InitValuatorAxisStruct(dev, 4,
|
||||
|
|
@ -462,8 +462,8 @@ init_touch(InputInfoPtr pInfo)
|
|||
XIGetKnownProperty(AXIS_LABEL_PROP_ABS_MT_POSITION_Y),
|
||||
min, max, res * 1000, 0, res * 1000, Absolute);
|
||||
|
||||
SetScrollValuator(dev, 2, SCROLL_TYPE_HORIZONTAL, 15, 0);
|
||||
SetScrollValuator(dev, 3, SCROLL_TYPE_VERTICAL, 15, 0);
|
||||
SetScrollValuator(dev, 2, SCROLL_TYPE_HORIZONTAL, 120, 0);
|
||||
SetScrollValuator(dev, 3, SCROLL_TYPE_VERTICAL, 120, 0);
|
||||
|
||||
xf86InitValuatorAxisStruct(dev, 4,
|
||||
XIGetKnownProperty(AXIS_LABEL_PROP_ABS_MT_PRESSURE),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue