j'ai trouvé cet article intéressant Using an Xbox One Controller with Unity on Windows 10, je poste le tableau ici pour mémoire.
(au passage, le texte brut récupéré depuis le web par copier-coller a été remis en forme par chat GPT, qui a même pris l'initiative de mettre un titre aux 3 colonnes).
Bouton | Joystick | Valeur |
---|---|---|
A | Joystick button 0 | |
B | Joystick button 1 | |
X | Joystick button 2 | |
Y | Joystick button 3 | |
Left Bumper | Joystick button 4 | |
Right Bumper | Joystick button 5 | |
View (Back) | Joystick button 6 | |
Menu (Start) | Joystick button 7 | |
Left Stick Button | Joystick button 8 | |
Right Stick Button | Joystick button 9 | |
Left Stick "Horizontal" | X Axis | -1 to 1 |
Left Stick "Vertical" | Y Axis | 1 to -1 |
Right Stick "HorizontalTurn" | 4th Axis | -1 to 1 |
Right Stick "VerticalTurn" | 5th Axis | 1 to -1 |
DPAD – Horizontal | 6th Axis | -1 (.64) 1 |
DPAD – Vertical | 7th Axis | -1 (.64) 1 |
Left Trigger | 9th Axis | 0 to 1 |
Right Trigger | 10th Axis | 0 to 1 |
Left Trigger Shared Axis | 3rd Axis | 0 to 1 |
Right Trigger Shared Axis | 3rd Axis | 0 to -1 |