mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-20 01:38:12 +00:00
initialise/clear mbutton field
This commit is contained in:
parent
25efae0630
commit
b267419551
@ -144,6 +144,7 @@ static int action_scan_input_desc(const char *path,
|
||||
target->key = RETROK_UNKNOWN;
|
||||
target->joykey = NO_BTN;
|
||||
target->joyaxis = AXIS_NONE;
|
||||
target->mbutton = NO_BTN;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
@ -1441,6 +1441,7 @@ static int setting_action_ok_bind_defaults(void *data, bool wraparound)
|
||||
target->key = def_binds[i - MENU_SETTINGS_BIND_BEGIN].key;
|
||||
target->joykey = NO_BTN;
|
||||
target->joyaxis = AXIS_NONE;
|
||||
target->mbutton = NO_BTN;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
@ -131,6 +131,8 @@ static int setting_bind_action_start(void *data)
|
||||
bind_type = setting_get_bind_type(setting);
|
||||
keybind->key = def_binds[bind_type - MENU_SETTINGS_BIND_BEGIN].key;
|
||||
|
||||
keybind->mbutton = NO_BTN;
|
||||
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user