mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-07 03:48:14 +00:00
Added iOS/tvOS hidapi 0.14.0 support
This commit is contained in:
@@ -1633,6 +1633,7 @@ int SDL_hid_get_report_descriptor(SDL_hid_device *device, unsigned char *buf, si
|
|||||||
void SDL_hid_ble_scan(SDL_bool active)
|
void SDL_hid_ble_scan(SDL_bool active)
|
||||||
{
|
{
|
||||||
#if !defined(SDL_HIDAPI_DISABLED) && (defined(__IOS__) || defined(__TVOS__))
|
#if !defined(SDL_HIDAPI_DISABLED) && (defined(__IOS__) || defined(__TVOS__))
|
||||||
|
extern void hid_ble_scan(int bStart);
|
||||||
hid_ble_scan(active);
|
hid_ble_scan(active);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
1038
src/hidapi/ios/hid.m
Normal file
1038
src/hidapi/ios/hid.m
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user