This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#10733 - Touchscreen targets: software hold also locks touchscreen
Attached to Project:
Rockbox
Opened by Yann Muller (jasio) - Wednesday, 28 October 2009, 22:12 GMT+2
Last edited by Maurus Cuelenaere (mcuelenaere) - Wednesday, 28 October 2009, 22:36 GMT+2
Opened by Yann Muller (jasio) - Wednesday, 28 October 2009, 22:12 GMT+2
Last edited by Maurus Cuelenaere (mcuelenaere) - Wednesday, 28 October 2009, 22:36 GMT+2
|
DetailsWhen the software lock is on, the touchscreen should be locked too. This is what this tiny patch does.
In action.c function get_action_worker() handles the lock by discarding the button events before they are processed. The same doesn't happen for touchscreen events because the code is placed before the lock handling. I have moved the HAVE_TOUCHSCREEN section just after the HAS_BUTTON_HOLD section and the touchscreen actions are now blocked when the lock is active. |
This task depends upon
Closed by Maurus Cuelenaere (mcuelenaere)
Wednesday, 28 October 2009, 22:36 GMT+2
Reason for closing: Accepted
Additional comments about closing: Thanks! In r23384.
Wednesday, 28 October 2009, 22:36 GMT+2
Reason for closing: Accepted
Additional comments about closing: Thanks! In r23384.
First patch added a space. Removed!