Fixed input from the Steam Virtual Gamepad on Mac OS X

This commit is contained in:
Sam Lantinga
2018-08-15 19:53:34 -07:00
parent 0903e83553
commit 63107524f6
12 changed files with 25 additions and 19 deletions

View File

@@ -206,7 +206,7 @@ static uint8_t GetPlaystationVolumeFromFloat(float fVolume)
}
static SDL_bool
HIDAPI_DriverPS4_IsSupportedDevice(Uint16 vendor_id, Uint16 product_id, int interface_number, Uint16 usage_page, Uint16 usage)
HIDAPI_DriverPS4_IsSupportedDevice(Uint16 vendor_id, Uint16 product_id, Uint16 version, int interface_number, Uint16 usage_page, Uint16 usage)
{
/* The Revolution Pro Controller exposes multiple interfaces on Windows */
const Uint16 NACON_USB_VID = 0x146b;