mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-02 18:07:40 +00:00
Added SDL_hid_ble_scan() for pairing Steam Controllers on iOS and tvOS
This commit is contained in:
parent
abc12a832c
commit
9c3bcf8e8a
6 changed files with 23 additions and 1 deletions
|
@ -1492,6 +1492,13 @@ int SDL_hid_get_indexed_string(SDL_hid_device *device, int string_index, wchar_t
|
|||
return result;
|
||||
}
|
||||
|
||||
void SDL_hid_ble_scan(SDL_bool active)
|
||||
{
|
||||
#if __IPHONEOS__ || __TVOS__
|
||||
hid_ble_scan(active);
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef HAVE_ENABLE_GAMECUBE_ADAPTORS
|
||||
/* This is needed to enable input for Nyko and EVORETRO GameCube adaptors */
|
||||
void SDL_EnableGameCubeAdaptors(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue