mirror of
https://github.com/dborth/snes9xgx.git
synced 2025-01-13 03:39:08 +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)
|
else if(mapMenuCtrl == CTRLR_WIIDRC)
|
||||||
{
|
{
|
||||||
pressed = userInput[0].wiidrcdata.btns_d;
|
pressed = userInput[0].wiidrcdata.btns_d;
|
||||||
|
|
||||||
if(pressed == WIIDRC_BUTTON_HOME)
|
|
||||||
pressed = WPAD_CLASSIC_BUTTON_HOME;
|
|
||||||
}
|
}
|
||||||
else
|
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;
|
pressed = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if(pressed == WPAD_BUTTON_HOME || pressed == WPAD_CLASSIC_BUTTON_HOME) {
|
||||||
|
pressed = 0;
|
||||||
|
}
|
||||||
|
|
||||||
HaltGui();
|
HaltGui();
|
||||||
mainWindow->Remove(&promptWindow);
|
mainWindow->Remove(&promptWindow);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user