-
Notifications
You must be signed in to change notification settings - Fork 21
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
Can long-press/gestures be reassigned? #359
Comments
Screenshot taking is one of the few gestures you can have something else take over. It's managed by the screenshot tool, so you can just disable this application and write your own to handle the gesture: https://github.com/Eeems-Org/oxide/blob/master/applications%2Fscreenshot-tool%2Fmain.cpp As for adding more complex gesture handling etc, it would be nice, but it's way down the priority list for me. For now you can use https://rmkit.dev/apps/genie to handle more complex gestures and then make calls with rot, or your own applications that use the oxide API to get things done. |
Understood. It's a WIBNI/wishlist item, not a complaint. Thanks for the tip about subverting snapshot. |
Here is a bit more information on how to disable the screenshot tool:
You can then either register your own start application to handle the gesture, or have it start with another mechanism like systemd. I would recommend using an oxide application registration, to make sure it starts/stops with oxide's system service. You just need to listen to the |
I'd be open to a PR where someone adds an application that listens to all the actions and can run a configurable action. |
I am hoping not to need screen capture very often. It looks like I can turn off the gesture triggering it using
rot system call setSwipeEnabled 'int:2' 'bool:false'
(I think that's the right one?), but it might be nice to be able to have that gesture invoke a different action.Might also be nice to be able to distinguish swipes by where they occur on screen, come to think of it, to have more options available.
(I'm used to left and right swipes being next-page and previous-page in Android, or occasionally next/previous app.)
The text was updated successfully, but these errors were encountered: