joycon: Fix controller button masking
Previously if the Right JC was missing it would clear the Capture button that's on the Left one
This commit is contained in:
@@ -58,7 +58,7 @@
|
|||||||
#define JC_HID_SUBCMD_SND_RUMBLE 0xFF
|
#define JC_HID_SUBCMD_SND_RUMBLE 0xFF
|
||||||
|
|
||||||
#define JC_BTN_MASK_L 0xFF2900 // 0xFFE900: with charge status.
|
#define JC_BTN_MASK_L 0xFF2900 // 0xFFE900: with charge status.
|
||||||
#define JC_BTN_MASK_R 0x76FF
|
#define JC_BTN_MASK_R 0x0056FF
|
||||||
|
|
||||||
#define JC_ID_L 1
|
#define JC_ID_L 1
|
||||||
#define JC_ID_R 2
|
#define JC_ID_R 2
|
||||||
|
|||||||
Reference in New Issue
Block a user