mirror of
https://github.com/dborth/vbagx.git
synced 2025-01-13 19:19:06 +01:00
fix ZL button mapping for Wii U GamePad
This commit is contained in:
parent
cff1878679
commit
6901e668b3
@ -2436,9 +2436,6 @@ ButtonMappingWindow()
|
||||
else if(mapMenuCtrl == CTRLR_WIIDRC)
|
||||
{
|
||||
pressed = userInput[0].wiidrcdata.btns_d;
|
||||
|
||||
if(pressed == WIIDRC_BUTTON_HOME)
|
||||
pressed = WPAD_CLASSIC_BUTTON_HOME;
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -2474,8 +2471,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…
x
Reference in New Issue
Block a user