Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Android: ignore touchscreen by user request (using a hardware key) #5164
Right now the behaviour is hardcoded to AKEYCODE_CAMERA but can be changed easily by generating a new event_map.
To test the behaviour, since both the emulator and my phone lack the proper hardware key, I'm using
A toast will be shown to give feedback to the user about the new touchscreen state (enabled/disabled).
Yup, I got rid of the showToast hardcoded stuff and now the toast is shown via