Skip to content

Commit

Permalink
libs: joystick: manager: 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 4302428 commit df8ae96
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libs/joystick/manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export enum JoystickModel {
XboxOneS_Bluetooth = 'Xbox One S (bluetooth)',
XboxController_Bluetooth = 'Xbox controller (bluetooth)',
XboxController_Wired = 'Xbox controller (wired)',
XboxController_360 = 'Xbox 360 controller',
Unknown = 'Unknown Joystick Model',
}

Expand All @@ -31,6 +32,7 @@ const JoystickMapVidPid: Map<string, JoystickModel> = new Map([
['045e:02e0', JoystickModel.XboxOneS_Bluetooth],
['045e:0b13', JoystickModel.XboxController_Bluetooth],
['045e:0b12', JoystickModel.XboxController_Wired],
['28de:11ff', JoystickModel.XboxController_360],
])

// Necessary to add functions
Expand Down

0 comments on commit df8ae96

Please sign in to comment.