Commit 08eff56a5b4dfcc40a85acf1ce319515cc5bdd54

Sam Lantinga 2021-06-18T18:10:22

ControllerList: add Brooks Mars controller to PS4 controller list

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/joystick/controller_type.h b/src/joystick/controller_type.h
index 531bc29..830d753 100644
--- a/src/joystick/controller_type.h
+++ b/src/joystick/controller_type.h
@@ -175,6 +175,7 @@ static const ControllerDescription_t arrControllers[] = {
 	{ MAKE_CONTROLLER_ID( 0x146b, 0x1103 ), k_eControllerType_PS4Controller, NULL },	// NACON Asymetrical Controller -- on windows this doesn't enumerate
 	{ MAKE_CONTROLLER_ID( 0x0f0d, 0x0123 ), k_eControllerType_PS4Controller, NULL },	// HORI Wireless Controller Light (Japan only) - only over bt- over usb is xbox and pid 0x0124
 	{ MAKE_CONTROLLER_ID( 0x146b, 0x0d13 ), k_eControllerType_PS4Controller, NULL },	// NACON Revolution 3
+	{ MAKE_CONTROLLER_ID( 0x0c12, 0x0e20 ), k_eControllerType_PS4Controller, NULL },	// Brook Mars Controller - needs FW update to show up as Ps4 controller on PC. Has Gyro but touchpad is a single button.
 
 	{ MAKE_CONTROLLER_ID( 0x054c, 0x0ce6 ), k_eControllerType_PS5Controller, NULL },	// Sony PS5 Controller