mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-03-21 23:50:45 +01:00
tablet: Don't swap X and Y in evcode_to_axis()
Signed-off-by: Stephen Chandler Paul <thatslyude@gmail.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
43356a2979
commit
7444926b29
1 changed files with 2 additions and 2 deletions
|
|
@ -75,10 +75,10 @@ evcode_to_axis(const uint32_t evcode)
|
|||
axis = LIBINPUT_TABLET_AXIS_PRESSURE;
|
||||
break;
|
||||
case ABS_TILT_X:
|
||||
axis = LIBINPUT_TABLET_AXIS_TILT_Y;
|
||||
axis = LIBINPUT_TABLET_AXIS_TILT_X;
|
||||
break;
|
||||
case ABS_TILT_Y:
|
||||
axis = LIBINPUT_TABLET_AXIS_TILT_X;
|
||||
axis = LIBINPUT_TABLET_AXIS_TILT_Y;
|
||||
break;
|
||||
default:
|
||||
axis = LIBINPUT_TABLET_AXIS_NONE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue