---
name: "SDL_HINT_APPLE_TV_REMOTE_ALLOW_ROTATION"
section: "3"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_HINT_APPLE_TV_REMOTE_ALLOW_ROTATION"
---

# SDL\_HINT\_APPLE\_TV\_REMOTE\_ALLOW\_ROTATION(3)

A variable controlling whether the Apple TV remote's joystick axes will automatically match the rotation of the remote.

## 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.
