mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
Update input_menu_keys_pressed
This commit is contained in:
parent
5ac9905540
commit
65685c3a9d
@ -702,9 +702,19 @@ uint64_t input_menu_keys_pressed(void)
|
||||
#endif
|
||||
)
|
||||
{
|
||||
int port;
|
||||
int port_max = 1;
|
||||
#if 0
|
||||
state = input_joypad_pressed(input_driver_get_joypad_driver(),
|
||||
0, settings->input.binds[0], i);
|
||||
if (settings->input.all_users_control_menu)
|
||||
port_max = settings->input.max_users;
|
||||
|
||||
for (port = 0; port < port_max; port++)
|
||||
{
|
||||
state = input_joypad_pressed(input_driver_get_joypad_driver(),
|
||||
port, settings->input.binds[0], i);
|
||||
if (state)
|
||||
break;
|
||||
}
|
||||
#else
|
||||
state = current_input->key_pressed(current_input_data, i);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user