From f5705572869348931e909a04fbd27cf3bf17a916 Mon Sep 17 00:00:00 2001 From: Nose Date: Tue, 3 Feb 2026 18:35:36 -0800 Subject: [PATCH] Add alternative 'z' keybinding for menu (workaround for UOSC claiming right-click) Due to UOSC loading after input.conf with force flags, it claims mbtn_right globally. Added 'z' key as alternative menu trigger that UOSC doesn't control. Also kept 'm' key binding as primary menu trigger. input.conf still attempts mbtn_right routing but UOSC overrides it. Test with: Press 'm' or 'z' to open menu --- MPV/LUA/main.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/MPV/LUA/main.lua b/MPV/LUA/main.lua index 65b7657..89523a5 100644 --- a/MPV/LUA/main.lua +++ b/MPV/LUA/main.lua @@ -2903,6 +2903,11 @@ mp.add_key_binding("m", "medios-menu", function() M.show_menu() end) +mp.add_key_binding("z", "medios-menu-alt", function() + _lua_log('[KEY] z pressed (alternative menu trigger)') + M.show_menu() +end) + -- NOTE: mbtn_right is claimed by UOSC globally, so we can't override it here. -- Instead, use script-message handler below for alternative routing. mp.add_key_binding("ctrl+i", "medios-info", M.get_file_info)