mirror of
https://github.com/libretro/RetroArch
synced 2025-02-16 03:40:12 +00:00
(WIIU) Home button can now trigger the main menu too.
This commit is contained in:
parent
b8330e2a73
commit
2abc9c7ef9
@ -154,7 +154,8 @@ static void wiiu_joypad_poll(void)
|
|||||||
|
|
||||||
BIT64_CLEAR(lifecycle_state, RARCH_MENU_TOGGLE);
|
BIT64_CLEAR(lifecycle_state, RARCH_MENU_TOGGLE);
|
||||||
|
|
||||||
if((vpad.tpNormal.touched) && (vpad.tpNormal.x > 200) && (vpad.tpNormal.validity) == 0)
|
if(((vpad.tpNormal.touched) && (vpad.tpNormal.x > 200) && (vpad.tpNormal.validity) == 0) ||
|
||||||
|
(vpad.trigger & VPAD_BUTTON_HOME))
|
||||||
BIT64_SET(lifecycle_state, RARCH_MENU_TOGGLE);
|
BIT64_SET(lifecycle_state, RARCH_MENU_TOGGLE);
|
||||||
|
|
||||||
/* panic button */
|
/* panic button */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user