From 121c65b32a01ad1f135bb0baf0d491f9c7a34fbe Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Wed, 29 Apr 2026 10:30:54 -0400 Subject: [PATCH] [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 --- apps/action.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/action.c b/apps/action.c index aa21a61222..bd52e8177a 100644 --- a/apps/action.c +++ b/apps/action.c @@ -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;