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

Commit 033d5c7a authored by Steve Kondik's avatar Steve Kondik Committed by Gerrit Code Review
Browse files

Merge "Legacy touchscreen: Fix B key issue" into ics

parents 2918f487 59bfe635
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -967,7 +967,7 @@ void InputDevice::process(const RawEvent* rawEvents, size_t count) {


            // Old touchscreen sensors need to send a fake BTN_TOUCH (BTN_LEFT)
            // Old touchscreen sensors need to send a fake BTN_TOUCH (BTN_LEFT)


            if (rawEvent->scanCode == ABS_MT_TOUCH_MAJOR) {
            if (rawEvent->scanCode == ABS_MT_TOUCH_MAJOR && rawEvent->type == EV_ABS) {


                z_data = rawEvent->value;
                z_data = rawEvent->value;
                touched = (0 != z_data);
                touched = (0 != z_data);