Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No touch input for apps when external keyboard is plugged in #259

Closed
matteodelabre opened this issue Apr 23, 2022 · 5 comments · Fixed by #337
Closed

No touch input for apps when external keyboard is plugged in #259

matteodelabre opened this issue Apr 23, 2022 · 5 comments · Fixed by #337
Assignees
Labels
bug Something isn't working to-triage This needs to be triaged
Milestone

Comments

@matteodelabre
Copy link
Contributor

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
@Eeems
Copy link
Collaborator

Eeems commented Apr 23, 2022

Could you please attach a tarnish log from this?

@matteodelabre
Copy link
Contributor Author

Sure! I'll do this tomorrow.

@Eeems
Copy link
Collaborator

Eeems commented Apr 23, 2022

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.

@matteodelabre
Copy link
Contributor Author

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

@Eeems
Copy link
Collaborator

Eeems commented Apr 24, 2022

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 Eeems added this to the v2.8 milestone Jan 14, 2024
@Eeems Eeems added this to Oxide Jan 14, 2024
@Eeems Eeems linked a pull request Jan 14, 2024 that will close this issue
11 tasks
@Eeems Eeems moved this to Todo in Oxide Jan 14, 2024
@Eeems Eeems moved this from Todo to In Progress in Oxide Jan 14, 2024
@Eeems Eeems moved this from In Progress to Done in Oxide Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working to-triage This needs to be triaged
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants