Skip to content

Commit 36bfb88

Browse files
authored
Joy-Con Compatibility
1 parent 5703dbc commit 36bfb88

2 files changed

Lines changed: 36 additions & 0 deletions

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
key 309 BUTTON_MODE
2+
key 314 BUTTON_SELECT
3+
key 317 BUTTON_THUMBL
4+
key 310 BUTTON_L1
5+
key 312 BUTTON_L2
6+
key 544 DPAD_UP
7+
key 545 DPAD_DOWN
8+
key 546 DPAD_LEFT
9+
key 547 DPAD_RIGHT
10+
11+
axis 0x00 X
12+
axis 0x01 Y
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Device name: Nintendo Switch Right Joy-Con
2+
# Device id : Vendor_057e_Product_2007
3+
4+
# key <scancode> <action_button>
5+
# key 304 BUTTON_A
6+
key 304 BUTTON_B
7+
# key 305 BUTTON_B
8+
key 305 BUTTON_A
9+
# key 307 BUTTON_X
10+
key 307 BUTTON_X
11+
# key 308 BUTTON_Y
12+
key 308 BUTTON_Y
13+
key 311 BUTTON_R1
14+
key 313 BUTTON_R2
15+
key 318 BUTTON_THUMBR
16+
key 315 BUTTON_START
17+
key 316 HOME
18+
19+
# axis <scancode> <axis_name>
20+
axis 0x03 Z
21+
axis 0x04 RZ
22+
23+
# keyboard
24+
# key <scancode> <action_button>

0 commit comments

Comments
 (0)