mirror of
https://github.com/X11Libre/xf86-video-nested.git
synced 2026-04-14 11:04:16 +00:00
Don't scale the absolute axis valuators.
Peter Hutterer told me I needed to set the valuator ranges, but I don't want the input core to scale the coordinates. Setting the min and max to -1 apparently has the right effect. Signed-off-by: Jamey Sharp <jamey@minilop.net>
This commit is contained in:
@@ -197,7 +197,7 @@ _nested_input_init_axes(DeviceIntPtr device) {
|
||||
|
||||
int i;
|
||||
for (i = 0; i < NUM_MOUSE_AXES; i++) {
|
||||
xf86InitValuatorAxisStruct(device, i, (Atom)0, 0, 640, 1, 1, 1, Absolute);
|
||||
xf86InitValuatorAxisStruct(device, i, (Atom)0, -1, -1, 1, 1, 1, Absolute);
|
||||
xf86InitValuatorDefaults(device, i);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user