SDL_hid_ble_scan(3)
โจ NAME โจ
SDL_hid_ble_scan โ start or stop a BLE scan on iOS and tvOS so you can pair Steam Controllers ๐
๐ธ SYNOPSIS ๐ธ
#include <SDL3/SDL_hidapi.h>
void SDL_hid_ble_scan(bool active);
๐ FUNCTION PARAMETERS ๐
activeโ passtrueto start the scan, passfalseto stop the scan. That's literally it bestie, one lil bool doing all the work ๐ซถ
๐ AVAILABILITY ๐
This function has been available since SDL 3.2.0 โจ so if you're on anything older... no scan for you, sorry ๐ญ
okay so real talk โ this one is short and sweet and it only does its thing on iOS and tvOS, it's giving very niche but very iconic ๐
BLE scan go brrr when active is true, and it chills when active is false. Steam Controllers, you are seen ๐ฎ๐
this page came to you straight from the lovely folks at Simple Directmedia Layer, running SDL 3.4.18 โ mwah, thanks for reading, ily, go pair something cute ๐ฆ๐ธ๐
๐ฆ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 ยท Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 ยท Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 ยท Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 ยท Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms