diff options
Diffstat (limited to 'src/evdev.c')
-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 |