Commit d9c4be06485d93b699a9ac0d72c5d2b69d9e8288

Sam Lantinga 2020-01-01T08:13:40

Added support for the Hyperkin Duke controller

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 92cef60..ab3452c 100644
--- a/src/joystick/controller_type.h
+++ b/src/joystick/controller_type.h
@@ -386,6 +386,7 @@ static const ControllerDescription_t arrControllers[] = {
 	{ MAKE_CONTROLLER_ID( 0x24c6, 0x591a ), k_eControllerType_XBoxOneController, NULL },	// PowerA FUSION Pro Controller
 	{ MAKE_CONTROLLER_ID( 0x24c6, 0x592a ), k_eControllerType_XBoxOneController, NULL },	// BDA XB1 Spectra Pro
 	{ MAKE_CONTROLLER_ID( 0x24c6, 0x791a ), k_eControllerType_XBoxOneController, NULL },	// PowerA Fusion Fight Pad
+	{ MAKE_CONTROLLER_ID( 0x2e24, 0x0652 ), k_eControllerType_XBoxOneController, NULL },	// Hyperkin Duke
 	{ MAKE_CONTROLLER_ID( 0x2e24, 0x1688 ), k_eControllerType_XBoxOneController, NULL },	// Hyperkin X91
 
 	// These have been added via Minidump for unrecognized Xinput controller assert