SDL_HINT_VITA_TOUCH_MOUSE_DEVICE(3)

πŸ’– NAME πŸ’–

SDL_HINT_VITA_TOUCH_MOUSE_DEVICE β€” bestie, this is the lil variable that decides which touchpad on your PS Vita gets to pretend it's a mouse ✨


🌸 SYNOPSIS 🌸

#include <SDL3/SDL_hints.h>

#define SDL_HINT_VITA_TOUCH_MOUSE_DEVICE "SDL_VITA_TOUCH_MOUSE_DEVICE"

πŸŽ€ DESCRIPTION πŸŽ€

okay so. You know how the Vita has a front touchpad AND a back touchpad? And you know how sometimes you want touch input to just… become mouse events? Yeah. This hint is the girlboss in charge of that πŸ’…

You can set the variable to these values, no cap:

  • "0" β€” only the front touchpad generates mouse events. This is the default, so if you say nothing, this is the vibe you get 🫢
  • "1" β€” only the back touchpad generates mouse events.
  • "2" β€” both touchpads generate mouse events. Iconic. Chaotic. Both.
This hint can be set anytime β€” not me being flexible or whatever 😌

⭐ AVAILABILITY ⭐

This hint is available since SDL 3.2.0. So if you're on something older, it's giving nothing, sorry bestie 😭


mwah πŸ’‹ that's the whole page! This lil slice of documentation came to you courtesy of Simple Directmedia Layer, straight out of SDL 3.4.18 β€” go forth and touchpad responsibly, queen πŸ‘‘βœ¨

πŸ“¦ where this page comes from