SDL_SendAndroidBackButton(3)
π SDL_SendAndroidBackButton π
okay bestie, welcome to the SDL3 FUNCTIONS corner of the manual, where today's main character is a function that just... presses the back button for you. no cap.
β¨ NAME β¨
SDL_SendAndroidBackButton β trigger the Android system back button behavior. that's it. that's the whole job. iconic.
πΈ SYNOPSIS πΈ
#include <SDL3/SDL_system.h>
void SDL_SendAndroidBackButton(void);
so you pull in SDL3/SDL_system.h, you call the thing with no arguments, it returns void β nothing back, no drama, just vibes. π¦
π«Ά THREAD SAFETY π«Ά
bestie you can call this from any thread. literally any of them. go feral. thread-safe fr fr. β¨
β AVAILABILITY β
this one has been around since SDL 3.2.0 β so if you're on anything older, it's giving "not yet, babe". π
and that's the whole page, no filler, no secret extra flags hiding in the back, just one tiny function with impeccable energy.
Simple Directmedia Layer π SDL 3.4.18 π SDL_SendAndroidBackButton(3) β mwah, thanks for reading, ily, go press some back buttons πβ¨
π¦ 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