Closed arthus701 closed 5 hours ago
grab other keys / key combinations in the loop, i.e. just write more cases for the values of $key
By default, all volume button presses are grabbed and sent to the script. Specifying keys in the code will do nothing, the script can only ignore or not ignore them. Android intercepts this gesture before it gets into the application, so it cannot be processed. Do you have root? If so, you can disable the keys in another way.
The grabbing and sending to the script is done by your app then I guess and getting this gesture is probably a different story? I don't have root unfortunately, but maybe it's time to get it and use the other ways. Thanks for your quick response and again, thanks for sharing your work!
Hi and first of all thanks for the great project. I have an old Pixel and my volume down button is broken / constantly triggering. This nice tool allowed me to disable it, however when I use the power button the Screenshot is still triggered, as the button combination is detected.
You mention in #10 that it is not possible to use the power button...but I wonder if it is possible to grab other keys / key combinations in the loop, i.e. just write more cases for the values of
$key
here. Is that possible?Cheers, Arthus