Skip to content

Commit

Permalink
assets: joystick-profiles: Add XboxController_360
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick José Pereira <[email protected]>
  • Loading branch information
patrickelectric committed Oct 18, 2023
1 parent c38bfe0 commit 4302428
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/assets/joystick-profiles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@ export const availableGamepadToCockpitMaps: { [key in JoystickModel]: GamepadToC
axes: [0, 1, 2, 3],
buttons: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16],
},
[JoystickModel.XboxController_360]: {
name: JoystickModel.XboxController_360,
axes: [0, 1, 2, 3],
buttons: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16],
},
[JoystickModel.Unknown]: {
name: 'Standard gamepad',
axes: [0, 1, 2, 3, 4, 5, 6, 7],
Expand Down

0 comments on commit 4302428

Please sign in to comment.