mirror of
https://github.com/dborth/vbagx.git
synced 2024-12-28 03:31:49 +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)
|
if(pressed > 0x1000)
|
||||||
pressed = 0; // not a valid input
|
pressed = 0; // not a valid input
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case CTRLR_CLASSIC:
|
case CTRLR_CLASSIC:
|
||||||
case CTRLR_WUPC:
|
if(userInput[0].wpad->exp.type != WPAD_EXP_CLASSIC && userInput[0].wpad->exp.classic.type < 2)
|
||||||
if(userInput[0].wpad->exp.type != WPAD_EXP_CLASSIC)
|
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
|
pressed = 0; // not a valid input
|
||||||
else if(pressed <= 0x1000)
|
else if(pressed <= 0x1000)
|
||||||
pressed = 0;
|
pressed = 0;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case CTRLR_NUNCHUK:
|
case CTRLR_NUNCHUK:
|
||||||
if(userInput[0].wpad->exp.type != WPAD_EXP_NUNCHUK)
|
if(userInput[0].wpad->exp.type != WPAD_EXP_NUNCHUK)
|
||||||
pressed = 0; // not a valid input
|
pressed = 0; // not a valid input
|
||||||
|
Loading…
Reference in New Issue
Block a user