SDL_HINT_VITA_ENABLE_FRONT_TOUCH(3)

πŸ’– SDL_HINT_VITA_ENABLE_FRONT_TOUCH πŸ’–

okay bestie, welcome to the SDL3 FUNCTIONS corner of the manual, this one's all about the PlayStation Vita and its lil front touch panel πŸŽ€


✨ NAME ✨

SDL_HINT_VITA_ENABLE_FRONT_TOUCH β€” a variable controlling whether touch should be enabled on the front panel of the PlayStation Vita 🫢


🌸 SYNOPSIS 🌸

#include <SDL3/SDL_hints.h>

#define SDL_HINT_VITA_ENABLE_FRONT_TOUCH "SDL_VITA_ENABLE_FRONT_TOUCH"

like yes, that's the whole thing, she's cute and she's simple πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so the variable can be set to the following values, and honestly? there are only two, we love a low-effort decision:

  • "0" β€” Disable touch on the front panel. no touch for you πŸ™ˆ
  • "1" β€” Enable touch on the front panel. (default) ✨
⚠️ bestie listen β€” this hint should be set before SDL is initialized. if you're setting it after, you're literally doing it for nothing, it's giving too late πŸ’€

🌈 AVAILABILITY 🌈

this hint is available since SDL 3.2.0 πŸ‘‘ so if you're on anything older, no she's not there yet, sorry πŸŽ€


and that's the whole page, mwah πŸ’‹

signing off from the Simple Directmedia Layer girlies β€” this was SDL 3.4.18, documented with love, stay slay, set your hints early, periodt πŸ«Άβœ¨πŸ’–

πŸ“¦ where this page comes from