mirror of
https://github.com/dborth/fceugx.git
synced 2024-10-31 22:45:05 +01:00
fix ZL button mapping for Wii U GamePad
This commit is contained in:
parent
668e5c3308
commit
6238b3ee37
@ -2686,9 +2686,6 @@ ButtonMappingWindow()
|
||||
else if(mapMenuCtrl == CTRLR_WIIDRC)
|
||||
{
|
||||
pressed = userInput[0].wiidrcdata.btns_d;
|
||||
|
||||
if(pressed == WIIDRC_BUTTON_HOME)
|
||||
pressed = WPAD_CLASSIC_BUTTON_HOME;
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -2726,8 +2723,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