Added support for a variant of the PowerA FUSION Pro Controller
authorSam Lantinga <slouken@libsdl.org>
Tue, 26 Nov 2019 08:35:41 -0800
changeset 132911fa66206f89f
parent 13290 d470fa5477b7
child 13292 e44f39971ff7
Added support for a variant of the PowerA FUSION Pro Controller
src/joystick/controller_type.h
src/joystick/hidapi/SDL_hidapijoystick.c
     1.1 --- a/src/joystick/controller_type.h	Mon Nov 25 16:29:12 2019 -0800
     1.2 +++ b/src/joystick/controller_type.h	Tue Nov 26 08:35:41 2019 -0800
     1.3 @@ -318,6 +318,7 @@
     1.4  	{ MAKE_CONTROLLER_ID( 0x24c6, 0x550e ), k_eControllerType_XBox360Controller },	// Hori Real Arcade Pro V Kai 360
     1.5  	{ MAKE_CONTROLLER_ID( 0x24c6, 0x551a ), k_eControllerType_XBoxOneController },	// PowerA FUSION Pro Controller
     1.6  	{ MAKE_CONTROLLER_ID( 0x24c6, 0x561a ), k_eControllerType_XBoxOneController },	// PowerA FUSION Controller
     1.7 +	{ MAKE_CONTROLLER_ID( 0x24c6, 0x591a ), k_eControllerType_XBoxOneController },	// PowerA FUSION Pro Controller
     1.8  	{ MAKE_CONTROLLER_ID( 0x24c6, 0x5b00 ), k_eControllerType_XBox360Controller },	// ThrustMaster Ferrari Italia 458 Racing Wheel
     1.9  	{ MAKE_CONTROLLER_ID( 0x24c6, 0x5b02 ), k_eControllerType_XBox360Controller },	// Thrustmaster, Inc. GPX Controller
    1.10  	{ MAKE_CONTROLLER_ID( 0x24c6, 0x5b03 ), k_eControllerType_XBox360Controller },	// Thrustmaster Ferrari 458 Racing Wheel
     2.1 --- a/src/joystick/hidapi/SDL_hidapijoystick.c	Mon Nov 25 16:29:12 2019 -0800
     2.2 +++ b/src/joystick/hidapi/SDL_hidapijoystick.c	Tue Nov 26 08:35:41 2019 -0800
     2.3 @@ -555,6 +555,7 @@
     2.4          { MAKE_VIDPID(0x24c6, 0x550e), "Hori Real Arcade Pro V Kai 360" },
     2.5          { MAKE_VIDPID(0x24c6, 0x551a), "PowerA FUSION Pro Controller" },
     2.6          { MAKE_VIDPID(0x24c6, 0x561a), "PowerA FUSION Controller" },
     2.7 +        { MAKE_VIDPID(0x24c6, 0x591a), "PowerA FUSION Pro Controller" },
     2.8          { MAKE_VIDPID(0x24c6, 0x5b00), "ThrustMaster Ferrari 458 Racing Wheel" },
     2.9          { MAKE_VIDPID(0x24c6, 0x5b02), "Thrustmaster, Inc. GPX Controller" },
    2.10          { MAKE_VIDPID(0x24c6, 0x5b03), "Thrustmaster Ferrari 458 Racing Wheel" },