@@ -384,22 +384,26 @@ Nintendo Switch Left Joy-Con (pygame 2.x)
384384*****************************************
385385
386386The Nintendo Switch Left Joy-Con has 4 axes, 11 buttons, and 0 hats. The values for the 4 axes never change.
387- The controller is recognized as "Wireless Gamepad"
387+ The controller is recognized as "Wireless Gamepad".
388+ After SDL 2.24.0, The controller is recognized as "Nintendo Switch Joy-Con (L)".
388389
389390
390391* **Buttons **::
391392
392- D-pad Up - Button 0
393- D-pad Down - Button 1
394- D-pad Left - Button 2
395- D-pad Right - Button 3
396- SL - Button 4
397- SR - Button 5
398- - - Button 8
399- Stick In - Button 10
400- Capture - Button 13
401- L - Button 14
402- ZL - Button 15
393+ After SDL 2.24.0 Before SDL 2.24.0
394+ D-pad Up Button 2 Button 3
395+ D-pad Down Button 1 Button 0
396+ D-pad Left Button 3 Button 2
397+ D-pad Right Button 0 Button 1
398+ SL Button 9 Button 4
399+ SR Button 10 Button 5
400+ - Button 6 Button 8
401+ Stick In Button 7 Button 10
402+ Capture Button 5 Button 13
403+ L Button 17 Button 14
404+ ZL Button 19 Button 15
405+
406+ Reference : D-pad Up points toward SL and SR buttons.
403407
404408* **Hat/JoyStick **::
405409
@@ -411,28 +415,67 @@ Nintendo Switch Right Joy-Con (pygame 2.x)
411415******************************************
412416
413417The Nintendo Switch Right Joy-Con has 4 axes, 11 buttons, and 0 hats. The values for the 4 axes never change.
414- The controller is recognized as "Wireless Gamepad"
415-
418+ The controller is recognized as "Wireless Gamepad".
419+ After SDL 2.24.0, The controller is recognized as "Nintendo Switch Joy-Con (R)".
416420
417421* **Buttons **::
418422
419- A Button - Button 0
420- B Button - Button 1
421- X Button - Button 2
422- Y Button - Button 3
423- SL - Button 4
424- SR - Button 5
425- + - Button 9
426- Stick In - Button 11
427- Home - Button 12
428- R - Button 14
429- ZR - Button 15
423+ After SDL 2.24.0 Before SDL 2.24.0
424+ A Button Button 1 Button 0
425+ B Button Button 3 Button 2
426+ X Button Button 0 Button 1
427+ Y Button Button 2 Button 3
428+ SL Button 9 Button 4
429+ SR Button 10 Button 5
430+ + Button 6 Button 9
431+ Stick In Button 7 Button 11
432+ Home Button 5 Button 12
433+ R Button 16 Button 14
434+ ZR Button 18 Button 15
430435
431436* **Hat/JoyStick **::
432437
433438 Down -> Up - Y Axis
434439 Left -> Right - X Axis
435440
441+ Nintendo Switch Left/Right Joy-Con (pygame **2.3.0 ** / after SDL **2.24.0 **)
442+ *********************************************************************
443+ This device is created, if Nintendo Switch Joy-con Left and Nintendo Switch Joy-con Right are connected (these two devices are removed).
444+ The Nintendo Switch Left/Right Joy-Con has 6 axes, 20 buttons, and 0 hats. The values for the 6 axes never change.
445+ The controller is recognized as "Nintendo Switch Joy-Con (L/R)".
446+
447+ * **Left Stick **::
448+
449+ Left -> Right - Axis 0
450+ Up -> Down - Axis 1
451+
452+ * **Right Stick **::
453+
454+ Left -> Right - Axis 2
455+ Up -> Down - Axis 3
456+
457+ * **Buttons **::
458+
459+ A Button - Button 0
460+ B Button - Button 1
461+ X Button - Button 2
462+ Y Button - Button 3
463+ - Button - Button 4
464+ Home Button - Button 5
465+ + Button - Button 6
466+ ZL - Button ? Missing
467+ ZR - Button ? Missing
468+ L. Stick In - Button 9
469+ R. Stick In - Button 10
470+ D-pad Up - Button 11
471+ D-pad Down - Button 12
472+ D-pad Left - Button 13
473+ D-pad Right - Button 14
474+ Capture Button - Button 15
475+ Right SR - Button 16
476+ Left SR - Button 17
477+ Right SL - Button 18
478+ Left SL - Button 19
436479
437480Nintendo Switch Pro Controller (pygame 2.x)
438481*******************************************
0 commit comments