mirror of https://github.com/mgba-emu/mgba.git
Wii: Z/Home for GUI_INPUT_CANCEL
This commit is contained in:
parent
fcb4429f12
commit
1525eee8d2
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue