Add joycon-python source code

This commit is contained in:
redphx 2022-04-29 09:00:46 +07:00
parent 749a2a92fe
commit 3d00015607
7 changed files with 995 additions and 0 deletions

4
pycon/constants.py Normal file
View file

@ -0,0 +1,4 @@
JOYCON_VENDOR_ID = 0x057E
JOYCON_L_PRODUCT_ID = 0x2006
JOYCON_R_PRODUCT_ID = 0x2007
JOYCON_PRODUCT_IDS = (JOYCON_L_PRODUCT_ID, JOYCON_R_PRODUCT_ID)