mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-11-01 08:25:18 +01:00
fix ZL button mapping for Wii U GamePad
This commit is contained in:
parent
0f771aaf7a
commit
ff33041e31
@ -2732,9 +2732,6 @@ ButtonMappingWindow()
|
||||
else if(mapMenuCtrl == CTRLR_WIIDRC)
|
||||
{
|
||||
pressed = userInput[0].wiidrcdata.btns_d;
|
||||
|
||||
if(pressed == WIIDRC_BUTTON_HOME)
|
||||
pressed = WPAD_CLASSIC_BUTTON_HOME;
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -2772,8 +2769,14 @@ ButtonMappingWindow()
|
||||
}
|
||||
}
|
||||
|
||||
if(pressed == WPAD_BUTTON_HOME || pressed == WPAD_CLASSIC_BUTTON_HOME)
|
||||
if(mapMenuCtrl == CTRLR_WIIDRC) {
|
||||
if(pressed == WIIDRC_BUTTON_HOME) {
|
||||
pressed = 0;
|
||||
}
|
||||
}
|
||||
else if(pressed == WPAD_BUTTON_HOME || pressed == WPAD_CLASSIC_BUTTON_HOME) {
|
||||
pressed = 0;
|
||||
}
|
||||
|
||||
HaltGui();
|
||||
mainWindow->Remove(&promptWindow);
|
||||
|
Loading…
Reference in New Issue
Block a user