From 2abc9c7ef9364b1e1f17045590c58e4dbe3e69c6 Mon Sep 17 00:00:00 2001 From: aliaspider Date: Tue, 8 Nov 2016 09:31:46 +0100 Subject: [PATCH] (WIIU) Home button can now trigger the main menu too. --- input/drivers_joypad/wiiu_joypad.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/input/drivers_joypad/wiiu_joypad.c b/input/drivers_joypad/wiiu_joypad.c index a0be7a5359..fab2c525d3 100644 --- a/input/drivers_joypad/wiiu_joypad.c +++ b/input/drivers_joypad/wiiu_joypad.c @@ -154,7 +154,8 @@ static void wiiu_joypad_poll(void) 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); /* panic button */