mirror of
https://github.com/wiiu-env/WiiUPluginLoaderGUI.git
synced 2024-11-25 18:46:54 +01:00
add support for shoulder buttons in config menu
This commit is contained in:
parent
ad759ff269
commit
993b328f4c
@ -167,6 +167,18 @@ void ConfigUtils::configMenuOpenedCallback(wups_overlay_options_type_t screen, v
|
|||||||
if(vpad_data.btns_d & VPAD_BUTTON_RIGHT) {
|
if(vpad_data.btns_d & VPAD_BUTTON_RIGHT) {
|
||||||
pressedButtons |= WUPS_CONFIG_BUTTON_RIGHT;
|
pressedButtons |= WUPS_CONFIG_BUTTON_RIGHT;
|
||||||
}
|
}
|
||||||
|
if(vpad_data.btns_d & VPAD_BUTTON_L) {
|
||||||
|
pressedButtons |= WUPS_CONFIG_BUTTON_L;
|
||||||
|
}
|
||||||
|
if(vpad_data.btns_d & VPAD_BUTTON_R) {
|
||||||
|
pressedButtons |= WUPS_CONFIG_BUTTON_R;
|
||||||
|
}
|
||||||
|
if(vpad_data.btns_d & VPAD_BUTTON_ZL) {
|
||||||
|
pressedButtons |= WUPS_CONFIG_BUTTON_ZL;
|
||||||
|
}
|
||||||
|
if(vpad_data.btns_d & VPAD_BUTTON_ZR) {
|
||||||
|
pressedButtons |= WUPS_CONFIG_BUTTON_ZR;
|
||||||
|
}
|
||||||
|
|
||||||
if(vpad_data.btns_r & VPAD_BUTTON_DOWN) {
|
if(vpad_data.btns_r & VPAD_BUTTON_DOWN) {
|
||||||
newSelect++;
|
newSelect++;
|
||||||
|
Loading…
Reference in New Issue
Block a user