Update the SDL HIDAPI API to match upstream hidapi 0.14.0

This commit is contained in:
Sam Lantinga 2023-05-24 15:16:49 -07:00
parent 003a9b9666
commit af45ae7296
6 changed files with 176 additions and 25 deletions

View file

@ -887,3 +887,6 @@
#define SDL_wcstol SDL_wcstol_REAL
#define SDL_swprintf SDL_swprintf_REAL
#define SDL_vswprintf SDL_vswprintf_REAL
#define SDL_hid_get_input_report SDL_hid_get_input_report_REAL
#define SDL_hid_get_device_info SDL_hid_get_device_info_REAL
#define SDL_hid_get_report_descriptor SDL_hid_get_report_descriptor_REAL