oxide icon indicating copy to clipboard operation
oxide copied to clipboard

No touch input for apps when external keyboard is plugged in

Open matteodelabre opened this issue 2 years ago • 5 comments

Describe the bug Oxide doesn’t behave well when an external keyboard is plugged in before boot. Most apps do not receive touch input (but Xochitl does). The buttons below the screen have no effect and cannot be used to go back to Oxide or to launch the task manager.

To Reproduce Steps to reproduce the behavior:

  1. Plug in an external keyboard in the micro-USB port.
  2. Enable tarnish to start at boot.
  3. Reboot.
  4. Start KOReader, harmony, …
  5. Notice that the app doesn’t respond to touch input (even though Oxide itself does respond).
  6. Notice that one cannot use the left, home and right buttons below the screen.

Expected behavior Apps should respond to touch input, one should be able to go back to Oxide or to start the process manager through the buttons.

Version Information:

  • Device: rM1
  • OS: 2.12.3.606
  • Version 2.3

matteodelabre avatar Apr 23 '22 03:04 matteodelabre

Could you please attach a tarnish log from this?

Eeems avatar Apr 23 '22 03:04 Eeems

Sure! I'll do this tomorrow.

matteodelabre avatar Apr 23 '22 04:04 matteodelabre

What I'm guessing is happening is that my code to determine what the buttons input is and grab it, is also grabbing the keyboard.

Eeems avatar Apr 23 '22 14:04 Eeems

Here’s a log obtained by following the repro steps above. tarnish-external-kbd.log

matteodelabre avatar Apr 24 '22 03:04 matteodelabre

Apr 24 03:18:06 reMarkable tarnish[171]: Looking for input devices...
Apr 24 03:18:06 reMarkable tarnish[171]:   Checking event0...
Apr 24 03:18:06 reMarkable tarnish[171]:     Wacom input device detected
Apr 24 03:18:06 reMarkable tarnish[171]:   Checking event1...
Apr 24 03:18:06 reMarkable tarnish[171]:     Buttons input device detected
Apr 24 03:18:06 reMarkable tarnish[171]:   Checking event2...
Apr 24 03:18:06 reMarkable tarnish[171]:     Buttons input device detected
Apr 24 03:18:06 reMarkable tarnish[171]:   Checking event3...
Apr 24 03:18:06 reMarkable tarnish[171]:     Buttons input device detected
Apr 24 03:18:06 reMarkable tarnish[171]:   Checking event4...
Apr 24 03:18:06 reMarkable tarnish[171]:     Buttons input device detected
Apr 24 03:18:06 reMarkable tarnish[171]:   Checking event5...
Apr 24 03:18:06 reMarkable tarnish[171]:     Touch input device detected

Yup, it detected four button input devices

Eeems avatar Apr 24 '22 03:04 Eeems