mirror of
https://github.com/X11Libre/xf86-input-void.git
synced 2026-04-14 10:54:20 +00:00
Label the axes as absolute, not relative.
Not that it matters for this driver, but the axes are set up as absolute, so label them accordingly. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
@@ -97,8 +97,8 @@ xf86VoidControlProc(DeviceIntPtr device, int what)
|
||||
Atom btn_labels[MAXBUTTONS] = {0};
|
||||
Atom axes_labels[2] = {0};
|
||||
|
||||
axes_labels[0] = XIGetKnownProperty(AXIS_LABEL_PROP_REL_X);
|
||||
axes_labels[1] = XIGetKnownProperty(AXIS_LABEL_PROP_REL_Y);
|
||||
axes_labels[0] = XIGetKnownProperty(AXIS_LABEL_PROP_ABS_X);
|
||||
axes_labels[1] = XIGetKnownProperty(AXIS_LABEL_PROP_ABS_Y);
|
||||
|
||||
btn_labels[0] = XIGetKnownProperty(BTN_LABEL_PROP_BTN_LEFT);
|
||||
btn_labels[1] = XIGetKnownProperty(BTN_LABEL_PROP_BTN_MIDDLE);
|
||||
|
||||
Reference in New Issue
Block a user