07-03-2021 02:09 - edited 07-03-2021 02:11
07-03-2021 02:09 - edited 07-03-2021 02:11
Is it possible to disable the system "long press" of the left button in an App, so the App can detect it?
What constitutes a "long press" of the left button, in milliseconds ?
Author | ch, passion for improvement.
07-03-2021 13:31
07-03-2021 13:31
Untested: try listening for document.onkeypress and call preventDefault() on the event.
07-03-2021 21:11
07-03-2021 21:11
Thanks, the preventDefault() only disables exit unfortunately. It doesn't disable the long press of the left button.
Author | ch, passion for improvement.