We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e09d2f commit 6c2cc45Copy full SHA for 6c2cc45
1 file changed
menu/menu_driver.c
@@ -5024,6 +5024,9 @@ static bool menu_input_key_bind_iterate(
5024
5025
if (complete)
5026
{
5027
+ /* Always stop binding when not binding all */
5028
+ bool stop_binding = new_binds.order == 0 && new_binds.begin == new_binds.last;
5029
+
5030
/* Update bind */
5031
*(new_binds.output) = new_binds.buffer;
5032
@@ -5045,7 +5048,7 @@ static bool menu_input_key_bind_iterate(
5045
5048
new_binds.begin = MENU_SETTINGS_BIND_BEGIN + input_config_bind_order[new_binds.order];
5046
5049
5047
5050
if ( new_binds.order > ARRAY_SIZE(input_config_bind_order) - 1
- || new_binds.last != MENU_SETTINGS_BIND_LAST)
5051
+ || stop_binding)
5052
5053
input_st->keyboard_press_cb = NULL;
5054
input_st->keyboard_press_data = NULL;
0 commit comments