Wii: Z/Home for GUI_INPUT_CANCEL

This commit is contained in:
Jeffrey Pfau 2015-08-23 02:10:49 -07:00
parent fcb4429f12
commit 1525eee8d2
1 changed files with 4 additions and 0 deletions

View File

@ -387,6 +387,10 @@ static int _pollInput(void) {
((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;