Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0a9f335e authored by Jeff Brown's avatar Jeff Brown
Browse files

Fix build.

Change-Id: Id08f3ccced1281f1c6840cc67713bcedcf9a53c0
parent 8722fba3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -863,7 +863,7 @@ int EventHub::openDevice(const char *devicePath) {
    // See if this device is a joystick.
    // Ignore touchscreens because they use the same absolute axes for other purposes.
    if (device->classes & INPUT_DEVICE_CLASS_GAMEPAD
            && !(device->classes & INPUT_DEVICE_CLASS_TOUCHSCREEN)) {
            && !(device->classes & INPUT_DEVICE_CLASS_TOUCH)) {
        if (test_bit(ABS_X, abs_bitmask)
                || test_bit(ABS_Y, abs_bitmask)
                || test_bit(ABS_HAT0X, abs_bitmask)