Man page - sdl_hint_apple_tv_remote_allow_rotation(3)

Packages contains this manual

Manual

SDL_HINT_APPLE_TV_REMOTE_ALLOW_ROTATION

NAME
HEADER FILE
SYNOPSIS
DESCRIPTION
AVAILABILITY

NAME

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.

HEADER FILE

Defined in SDL3/SDL_hints.h

SYNOPSIS

#include "SDL3/SDL.h"

#define SDL_HINT_APPLE_TV_REMOTE_ALLOW_ROTATION SDL_APPLE_TV_REMOTE_ALLOW_ROTATION"

DESCRIPTION

The variable can be set to the following values:

β€’ "0": Remote orientation does not affect joystick axes. (default)

β€’ "1": Joystick axes are based on the orientation of the remote.

This hint can be set anytime.

AVAILABILITY

This hint is available since SDL 3.2.0.