mirror of
https://github.com/dborth/vbagx.git
synced 2024-12-27 11:11:50 +01:00
Seperate WUPC and CC in mapping assignment
This commit is contained in:
parent
950d7a522a
commit
e53146d0f9
@ -2342,15 +2342,18 @@ ButtonMappingWindow()
|
||||
if(pressed > 0x1000)
|
||||
pressed = 0; // not a valid input
|
||||
break;
|
||||
|
||||
case CTRLR_CLASSIC:
|
||||
case CTRLR_WUPC:
|
||||
if(userInput[0].wpad->exp.type != WPAD_EXP_CLASSIC)
|
||||
if(userInput[0].wpad->exp.type != WPAD_EXP_CLASSIC && userInput[0].wpad->exp.classic.type < 2)
|
||||
pressed = 0; // not a valid input
|
||||
else if(pressed <= 0x1000)
|
||||
pressed = 0;
|
||||
break;
|
||||
case CTRLR_WUPC:
|
||||
if(userInput[0].wpad->exp.type != WPAD_EXP_CLASSIC && userInput[0].wpad->exp.classic.type == 2)
|
||||
pressed = 0; // not a valid input
|
||||
else if(pressed <= 0x1000)
|
||||
pressed = 0;
|
||||
break;
|
||||
|
||||
case CTRLR_NUNCHUK:
|
||||
if(userInput[0].wpad->exp.type != WPAD_EXP_NUNCHUK)
|
||||
pressed = 0; // not a valid input
|
||||
|
Loading…
Reference in New Issue
Block a user