File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6226,15 +6226,14 @@ static void input_keys_pressed(
62266226 }
62276227 }
62286228
6229- /* Read autoconf menu toggle regardless of 'enable_hotkey'
6230- * unless 'enable_hotkey' is set in autoconf. */
6229+ /* Allow menu toggle to bypass 'enable_hotkey' when it is
6230+ * not part of the usual buttons, unless 'enable_hotkey'
6231+ * is set in autoconf. */
62316232 if ( !any_pressed
62326233 && !(input_st -> flags & INP_FLAG_WAIT_INPUT_RELEASE )
6233- && (input_autoconf_binds [joy_idx ][RARCH_MENU_TOGGLE ].joykey != NO_BTN )
6234- && ( input_autoconf_binds [joy_idx ][RARCH_ENABLE_HOTKEY ].joykey == input_autoconf_binds [joy_idx ][RARCH_MENU_TOGGLE ].joykey
6235- || input_autoconf_binds [joy_idx ][RARCH_ENABLE_HOTKEY ].joykey == NO_BTN )
6236- && ( binds [port ][RARCH_MENU_TOGGLE ].joykey == input_autoconf_binds [joy_idx ][RARCH_MENU_TOGGLE ].joykey
6237- || binds [port ][RARCH_MENU_TOGGLE ].joykey == NO_BTN ))
6234+ && (binds [port ][RARCH_MENU_TOGGLE ].joykey != NO_BTN )
6235+ && ( input_autoconf_binds [joy_idx ][RARCH_ENABLE_HOTKEY ].joykey == binds [port ][RARCH_MENU_TOGGLE ].joykey
6236+ || input_autoconf_binds [joy_idx ][RARCH_ENABLE_HOTKEY ].joykey == NO_BTN ))
62386237 {
62396238 /* Ignore keyboard menu toggle button and check
62406239 * joypad menu toggle button for pressing
You can’t perform that action at this time.
0 commit comments