Signed-off-by: Stephen Chandler Paul <[email protected]>
---
 src/evdev-tablet.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/evdev-tablet.h b/src/evdev-tablet.h
index 74447bd..1b53d20 100644
--- a/src/evdev-tablet.h
+++ b/src/evdev-tablet.h
@@ -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;
-- 
1.8.5.5

_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to