(This is the legacy documentation for SDL2, the previous stable version; SDL3 is the current stable version.)
SDL_HINT_APPLE_TV_REMOTE_ALLOW_ROTATION
A variable controlling whether the Apple TV remote's joystick axes will automatically match the rotation of the remote.
Defined in SDL_hints.h
Syntax
#define SDL_HINT_APPLE_TV_REMOTE_ALLOW_ROTATION "SDL_APPLE_TV_REMOTE_ALLOW_ROTATION"
This variable can be set to the following values:
- "0": Remote orientation does not affect joystick axes (the default).
- "1": Joystick axes are based on the orientation of the remote.
CategoryAPI, CategoryAPIMacro, CategoryHints