Fixed locking up the Logitech F310 with the PlayStation controller detection

This commit is contained in:
Sam Lantinga
2023-02-28 08:36:31 -08:00
parent c824060503
commit da134a3039
6 changed files with 56 additions and 24 deletions

View File

@@ -154,6 +154,8 @@ extern void HIDAPI_JoystickDisconnected(SDL_HIDAPI_Device *device, SDL_JoystickI
extern void HIDAPI_DumpPacket(const char *prefix, const Uint8 *data, int size);
extern SDL_bool HIDAPI_SupportsPlaystationDetection(Uint16 vendor, Uint16 product);
extern float HIDAPI_RemapVal(float val, float val_min, float val_max, float output_min, float output_max);
#endif /* SDL_JOYSTICK_HIDAPI_H */