Skip to content

Commit f366caa

Browse files
authored
Nintendo switch Joy-con (L/R)
1 parent 25b9fb3 commit f366caa

File tree

1 file changed

+39
-2
lines changed

1 file changed

+39
-2
lines changed

docs/reST/ref/joystick.rst

Lines changed: 39 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -415,8 +415,8 @@ Nintendo Switch Right Joy-Con (pygame 2.x)
415415
******************************************
416416

417417
The Nintendo Switch Right Joy-Con has 4 axes, 11 buttons, and 0 hats. The values for the 4 axes never change.
418-
The controller is recognized as "Wireless Gamepad"
419-
418+
The controller is recognized as "Wireless Gamepad".
419+
After SDL 2.24.0, The controller is recognized as "Nintendo Switch Joy-Con (R)".
420420

421421
* **Buttons**::
422422

@@ -438,6 +438,43 @@ The controller is recognized as "Wireless Gamepad"
438438
Down -> Up - Y Axis
439439
Left -> Right - X Axis
440440

441+
Nintendo Switch Left/Right Joy-Con (pygame **2.3.0** / after SDL **2.24.0**)
442+
*********************************************************************
443+
The Nintendo Switch Left/Right Joy-Con has 6 axes, 20 buttons, and 0 hats. The values for the 6 axes never change.
444+
The controller is recognized as "Nintendo Switch Joy-Con (L/R)".
445+
446+
* **Left Stick**::
447+
448+
Left -> Right - Axis 0
449+
Up -> Down - Axis 1
450+
451+
* **Right Stick**::
452+
453+
Left -> Right - Axis 2
454+
Up -> Down - Axis 3
455+
456+
* **Buttons**::
457+
458+
A Button - Button 0
459+
B Button - Button 1
460+
X Button - Button 2
461+
Y Button - Button 3
462+
- Button - Button 4
463+
Home Button - Button 5
464+
+ Button - Button 6
465+
ZL - Button ? Missing
466+
ZR - Button ? Missing
467+
L. Stick In - Button 9
468+
R. Stick In - Button 10
469+
D-pad Up - Button 11
470+
D-pad Down - Button 12
471+
D-pad Left - Button 13
472+
D-pad Right - Button 14
473+
Capture Button - Button 15
474+
Right SR - Button 16
475+
Left SR - Button 17
476+
Right SL - Button 18
477+
Left SL - Button 19
441478

442479
Nintendo Switch Pro Controller (pygame 2.x)
443480
*******************************************

0 commit comments

Comments
 (0)