Wii: Z/Home for GUI_INPUT_CANCEL
Jeffrey Pfau jeffrey@endrift.com
Sun, 23 Aug 2015 02:10:49 -0700
1 files changed,
4 insertions(+),
0 deletions(-)
jump to
M
src/platform/wii/main.c
→
src/platform/wii/main.c
@@ -387,6 +387,10 @@ if ((padkeys & PAD_BUTTON_B) || (wiiPad & WPAD_BUTTON_1) ||
((ext == WPAD_EXP_CLASSIC) && (wiiPad & (WPAD_CLASSIC_BUTTON_B | WPAD_CLASSIC_BUTTON_X)))) { keys |= 1 << GUI_INPUT_BACK; } + if ((padkeys & PAD_TRIGGER_Z) || (wiiPad & WPAD_BUTTON_HOME) || + ((ext == WPAD_EXP_CLASSIC) && (wiiPad & (WPAD_CLASSIC_BUTTON_HOME)))) { + keys |= 1 << GUI_INPUT_CANCEL; + } if ((padkeys & PAD_BUTTON_LEFT)|| (wiiPad & WPAD_BUTTON_UP) || ((ext == WPAD_EXP_CLASSIC) && (wiiPad & WPAD_CLASSIC_BUTTON_LEFT))) { keys |= 1 << GUI_INPUT_LEFT;