1
0
Fork 0
mirror of https://github.com/CTCaer/hekate.git synced 2024-11-09 20:11:50 +00:00

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:
CTCaer 2020-11-15 13:10:44 +02:00
parent 5a6608dff4
commit bbc3f41493

View file

@ -58,7 +58,7 @@
#define JC_HID_SUBCMD_SND_RUMBLE 0xFF
#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_R 2