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

Commit 494f49dd authored by Steve Kondik's avatar Steve Kondik Committed by Gerrit Code Review
Browse files

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

parents e2f9a141 db33f73a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1004,7 +1004,7 @@ void InputDevice::process(const RawEvent* rawEvents, size_t count) {

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

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

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