mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-05-12 11:43:16 -04:00
[Bugfix] FS#13857 - Keylock with USB bug (Fiio M3K)
1. Lock buttons 2. Lock indicator turns on 3. Plug USB 4. Lock indicator still turned on 5. Unplug USB 6. Lock indicator turns off but buttons still locked and if you press lock button you see "Buttons locked" splash pretty sure this is an issue with the touchpad on this device probably applies to other touchscreen targets too Change-Id: Ia0afee7d737f3a5a2755f53d176bd53dd57d87c5
This commit is contained in:
parent
1068433d5b
commit
121c65b32a
1 changed files with 3 additions and 0 deletions
|
|
@ -1440,6 +1440,9 @@ bool is_keys_locked(void)
|
|||
void set_selective_softlock_actions(bool selective, unsigned int mask)
|
||||
{
|
||||
action_last.keys_locked = false;
|
||||
#if defined(HAVE_TOUCHPAD) || defined(HAVE_TOUCHSCREEN)
|
||||
button_enable_touch(true);
|
||||
#endif
|
||||
if (selective)
|
||||
{
|
||||
action_last.softlock_mask = mask | SEL_ACTION_ENABLED;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue