diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-12-15 08:55:32 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-12-15 08:55:32 +1000 |
commit | fed454192ddc4ad94226040c657deb6abea3df88 (patch) | |
tree | a8a90db034ea56d63d421d866b7f854bd2b952ff | |
parent | Don't send pointer events for multitouch touchscreen devices (diff) | |
download | xf86-input-evdev-fed454192ddc4ad94226040c657deb6abea3df88.tar.gz xf86-input-evdev-fed454192ddc4ad94226040c657deb6abea3df88.tar.bz2 xf86-input-evdev-fed454192ddc4ad94226040c657deb6abea3df88.zip |
Use xf86InitValuatorAxisStruct, the touch-specific version was dropped
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | src/evdev.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/evdev.c b/src/evdev.c index 760f3ce..8adfefd 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -1275,11 +1275,12 @@ EvdevAddAbsValuatorClass(DeviceIntPtr device) if (pEvdev->absinfo[axis].resolution) resolution = pEvdev->absinfo[axis].resolution * 1000; - xf86InitTouchValuatorAxisStruct(device, axnum, - atoms[axnum + pEvdev->num_vals], - pEvdev->absinfo[axis].minimum, - pEvdev->absinfo[axis].maximum, - pEvdev->absinfo[axis].resolution); + xf86InitValuatorAxisStruct(device, axnum, + atoms[axnum + pEvdev->num_vals], + pEvdev->absinfo[axis].minimum, + pEvdev->absinfo[axis].maximum, + resolution, 0, resolution, + Absolute); } #endif |