draft-reMarkable
draft-reMarkable copied to clipboard
Can't get back to Draft; add button capture to work by default
Replication steps for the issue:
- Install Draft from opkg
- Install Keywriter form opkg
- Configure Draft to launch Keywriter
- Go into Keywriter
- Can't get back to the Draft launcher, tried tapping on each corner and each button in read and write Keywriter mode
Suggested options: Similarly to Remux and Oxide add a default button capture event, so on one of the button presses the user can get back to the Draft launcher.
Thanks for the consideration.
I believe @dixonary is working on a complete rewrite of draft so this likely wont happen as part of it's current form. What you (or another person) could do is open a PR to add this in. Likely something like populating /etc/draft/.terminate
with kill <pid>
of the started process if a stop command isn't provided. Although with how it's running the process I'm not sure how easy that would be to do without rewriting how applications are started.
Thanks Eeems! As noted in the readme, as of the current version of draft the termination logic is handled by button-capture, a separate binary. This binary is not included as part of the draft package.
So an alternative solution may be to augment the draft package in Toltec to include and enable button-capture by default.
(naturally these problems will be solved in the next major version!)
@dixonary & @Eeems Thank you both for comments. I was filing an issue as a suggestion for a future inclusion to make the package installation and wider use a bit easier. Since there is a new version in the works, seems like that would be the most logical place. Looking forward to it once it comes out. Thank you for creating and maintaining the code.