Skip to content

Commit

Permalink
feat: add Black Shark Green Ghost controller support
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Görgens authored and paroj committed Nov 24, 2023
1 parent eddb513 commit 3a21582
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xpad.c
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@ static const struct xpad_device {
{ 0x3285, 0x0607, "Nacon GC-100", 0, XTYPE_XBOX360 },
{ 0x3285, 0x0614, "Nacon Pro Compact", 0, XTYPE_XBOXONE },
{ 0x3767, 0x0101, "Fanatec Speedster 3 Forceshock Wheel", 0, XTYPE_XBOX },
{ 0x413d, 0x2104, "Black Shark Green Ghost Gamepad", 0, XTYPE_XBOX360 },
{ 0xffff, 0xffff, "Chinese-made Xbox Controller", 0, XTYPE_XBOX },
{ 0x0000, 0x0000, "Generic X-Box pad", 0, XTYPE_UNKNOWN }
};
Expand Down Expand Up @@ -529,6 +530,7 @@ static const struct usb_device_id xpad_table[] = {
XPAD_XBOX360_VENDOR(0x31e3), /* Wooting Keyboards */
XPAD_XBOX360_VENDOR(0x3285), /* Nacon GC-100 */
XPAD_XBOXONE_VENDOR(0x3285), /* Nacon XBOX Series S/X Controllers */
XPAD_XBOX360_VENDOR(0x413d), /* Black Shark Green Ghost Controller */
{ }
};

Expand Down

0 comments on commit 3a21582

Please sign in to comment.