Added iOS/tvOS hidapi 0.14.0 support
This commit is contained in:
parent
bb12c6e03e
commit
0487621ec4
2 changed files with 1039 additions and 0 deletions
|
@ -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
Loading…
Add table
Add a link
Reference in a new issue