SDL_UpdateJoysticks(3)
โจ SDL3 FUNCTIONS โจ
okay bestie, welcome to the manual page for SDL_UpdateJoysticks ๐
this one is short and sweet, so let's get into it.
๐ NAME ๐
SDL_UpdateJoysticks โ update the current state of the open joysticks. that's literally it, that's the whole vibe. ๐ฎโจ
๐ SYNOPSIS ๐
#include <SDL3/SDL_joystick.h>
void SDL_UpdateJoysticks(void);
no arguments, no return value, just a little function doing its thing. iconic. ๐
๐ธ DESCRIPTION ๐ธ
so like, this function is called automatically by the event loop if any joystick events are enabled. fr fr. so if you've got joystick events turned on, the event loop is already handling this for you, no cap. ๐ฆ
๐งต THREAD SAFETY ๐งต
it is safe to call this function from any thread. periodt. so go off, call it from wherever, it's not gonna be messy. ๐
โญ AVAILABILITY โญ
this function is available since SDL 3.2.0. so if you're on something older, bestie, it's giving not yet. ๐
this page is from Simple Directmedia Layer, version SDL 3.4.18, and the date? there's literally no date on this one, it's giving timeless. SDL_UpdateJoysticks(3) out. ๐
๐ซถ
๐ฆ 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