mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 00:32:49 +00:00
(winraw_input) Fix game focus toggle for winraw_input
This commit is contained in:
parent
d50850762b
commit
98190294db
@ -403,8 +403,9 @@ static bool winraw_is_pressed(winraw_input_t *wr,
|
||||
{
|
||||
const struct retro_keybind *bind = &binds[id];
|
||||
|
||||
if (!wr->kbd_mapp_block && (bind->key < RETROK_LAST) && winraw_keyboard_pressed(wr, bind->key))
|
||||
return true;
|
||||
if ((bind->key < RETROK_LAST) && winraw_keyboard_pressed(wr, bind->key))
|
||||
if ((id == RARCH_GAME_FOCUS_TOGGLE) || !wr->kbd_mapp_block)
|
||||
return true;
|
||||
if (binds && binds[id].valid)
|
||||
{
|
||||
if (winraw_mbutton_pressed(wr, port, bind->mbutton))
|
||||
|
Loading…
x
Reference in New Issue
Block a user