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
ReMarkable: When half asleep, short press on middle button launches KOReader (should require 3 second press) #6029
Comments
@Thra11: the helper used to launch KOReader is hosted in https://github.com/koreader/koreader-base/blob/master/button-listen.c. Probably ev.time isn't updated during suspend and any key event will pass the threeshold. |
If it misses the press completely (because it's asleep) then |
@Thra11: feel free to play with the code. I don't have a device to tinker with. |
And since I don't recall if the system ships with a strace binary, here's one ;). |
Turns out I had my GutHub email notifications disabled so didn't see this until now. Looked into it, should be fixed by koreader/koreader-base#1145 |
Issue
Short press on middle button when sleeping launches KOReader.
Steps to reproduce
What actually happens is that KOReader is launched, despite the press being less than 3 seconds.
It's possible to avoid the issue by using the button on the top of the device to wake it instead of the middle button.
The text was updated successfully, but these errors were encountered: