Added support for the PowerA XB1 Fusion Fight Pad
authorSam Lantinga <slouken@libsdl.org>
Wed, 27 Nov 2019 12:38:48 -0800
changeset 13293300990a9134b
parent 13292 e44f39971ff7
child 13294 1ea92e841920
Added support for the PowerA XB1 Fusion Fight Pad
src/joystick/controller_type.h
src/joystick/hidapi/SDL_hidapijoystick.c
     1.1 --- a/src/joystick/controller_type.h	Tue Nov 26 20:41:00 2019 +0300
     1.2 +++ b/src/joystick/controller_type.h	Wed Nov 27 12:38:48 2019 -0800
     1.3 @@ -323,6 +323,7 @@
     1.4  	{ MAKE_CONTROLLER_ID( 0x24c6, 0x5b02 ), k_eControllerType_XBox360Controller },	// Thrustmaster, Inc. GPX Controller
     1.5  	{ MAKE_CONTROLLER_ID( 0x24c6, 0x5b03 ), k_eControllerType_XBox360Controller },	// Thrustmaster Ferrari 458 Racing Wheel
     1.6  	{ MAKE_CONTROLLER_ID( 0x24c6, 0x5d04 ), k_eControllerType_XBox360Controller },	// Razer Sabertooth
     1.7 +	{ MAKE_CONTROLLER_ID( 0x24c6, 0x791a ), k_eControllerType_XBoxOneController },	// PowerA Fusion Fight Pad
     1.8  	{ MAKE_CONTROLLER_ID( 0x24c6, 0xfafa ), k_eControllerType_XBox360Controller },	// Aplay Controller
     1.9  	{ MAKE_CONTROLLER_ID( 0x24c6, 0xfafb ), k_eControllerType_XBox360Controller },	// Aplay Controller
    1.10  	{ MAKE_CONTROLLER_ID( 0x24c6, 0xfafc ), k_eControllerType_XBox360Controller },	// Afterglow Gamepad 1
     2.1 --- a/src/joystick/hidapi/SDL_hidapijoystick.c	Tue Nov 26 20:41:00 2019 +0300
     2.2 +++ b/src/joystick/hidapi/SDL_hidapijoystick.c	Wed Nov 27 12:38:48 2019 -0800
     2.3 @@ -560,6 +560,7 @@
     2.4          { MAKE_VIDPID(0x24c6, 0x5b02), "Thrustmaster, Inc. GPX Controller" },
     2.5          { MAKE_VIDPID(0x24c6, 0x5b03), "Thrustmaster Ferrari 458 Racing Wheel" },
     2.6          { MAKE_VIDPID(0x24c6, 0x5d04), "Razer Sabertooth" },
     2.7 +        { MAKE_VIDPID(0x24c6, 0x791a), "PowerA Fusion Fight Pad" },
     2.8          { MAKE_VIDPID(0x24c6, 0xfafe), "Rock Candy Gamepad for Xbox 360" },
     2.9          { MAKE_VIDPID(0x2e24, 0x1688), "Hyperkin X91" },
    2.10      };