Skip to content

Commit

Permalink
Added names for some missing Xbox controllers
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Nov 18, 2019
1 parent 1449564 commit 1e24a15
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/joystick/hidapi/SDL_hidapijoystick.c
Expand Up @@ -410,11 +410,16 @@ HIDAPI_XboxControllerName(Uint16 vendor_id, Uint16 product_id)
{ MAKE_VIDPID(0x045e, 0x028e), "Microsoft X-Box 360 pad" },
{ MAKE_VIDPID(0x045e, 0x028f), "Microsoft X-Box 360 pad v2" },
{ MAKE_VIDPID(0x045e, 0x0291), "Xbox 360 Wireless Receiver (XBOX)" },
{ MAKE_VIDPID(0x045e, 0x02a1), "Microsoft X-Box 360 pad" },
{ MAKE_VIDPID(0x045e, 0x02d1), "Microsoft X-Box One pad" },
{ MAKE_VIDPID(0x045e, 0x02dd), "Microsoft X-Box One pad (Firmware 2015)" },
{ MAKE_VIDPID(0x045e, 0x02e0), "Microsoft X-Box One S pad" },
{ MAKE_VIDPID(0x045e, 0x02e3), "Microsoft X-Box One Elite pad" },
{ MAKE_VIDPID(0x045e, 0x02ea), "Microsoft X-Box One S pad" },
{ MAKE_VIDPID(0x045e, 0x02ff), "Microsoft X-Box One pad" },
{ MAKE_VIDPID(0x045e, 0x02fd), "Microsoft X-Box One S pad" },
{ MAKE_VIDPID(0x045e, 0x02ff), "Microsoft X-Box One Elite pad" },
{ MAKE_VIDPID(0x045e, 0x0b00), "Microsoft X-Box One Elite Series 2 pad" },
{ MAKE_VIDPID(0x045e, 0x0b05), "Microsoft X-Box One Elite Series 2 pad" },
{ MAKE_VIDPID(0x045e, 0x0719), "Xbox 360 Wireless Receiver" },
{ MAKE_VIDPID(0x046d, 0xc21d), "Logitech Gamepad F310" },
{ MAKE_VIDPID(0x046d, 0xc21e), "Logitech Gamepad F510" },
Expand Down

0 comments on commit 1e24a15

Please sign in to comment.