mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-08-29 01:51:37 +00:00
Corrected the Victrix FS Pro as a PS4 controller instead of a PS3 controller
This commit is contained in:
@@ -396,7 +396,8 @@ static SDL_bool HIDAPI_DriverPS4_InitDevice(SDL_HIDAPI_Device *device)
|
||||
ctx->effects_supported = (ctx->lightbar_supported || ctx->vibration_supported);
|
||||
|
||||
if (device->vendor_id == USB_VENDOR_PDP &&
|
||||
device->product_id == USB_PRODUCT_VICTRIX_FS_PRO_V2) {
|
||||
(device->product_id == USB_PRODUCT_VICTRIX_FS_PRO ||
|
||||
device->product_id == USB_PRODUCT_VICTRIX_FS_PRO_V2)) {
|
||||
/* The Victrix FS Pro V2 reports that it has lightbar support,
|
||||
* but it doesn't respond to the effects packet, and will hang
|
||||
* on reboot if we send it.
|
||||
|
||||
Reference in New Issue
Block a user