Table of Contents

Class Hint.AppleTV

Namespace
Sdl3Sharp
Assembly
Sdl3Sharp.dll

SDL_HINT_APPLE_TV_*

public static class Hint.AppleTV
Inheritance
Hint.AppleTV
Inherited Members

Properties

ControllerUIEvents

Gets a hint controlling whether controllers used with the Apple TV generate UI events

public static Hint ControllerUIEvents { get; }

Property Value

Hint

A hint controlling whether controllers used with the Apple TV generate UI events

Remarks

When UI events are generated by controller input, the app will be backgrounded when the Apple TV remote's menu button is pressed, and when the pause or B buttons on gamepads are pressed.

More information about properly making use of controllers for the Apple TV can be found here: https://developer.apple.com/tvos/human-interface-guidelines/remote-and-controllers/.

The hint can be set to the following values:

  • "0"Controller input does not generate UI events (default)
  • "1"Controller input generates UI events

This hint can be set anytime.

See Also

RemoteAllowRotation

Gets a hint controlling whether the Apple TV remote's joystick axes will automatically match the rotation of the remote

public static Hint RemoteAllowRotation { get; }

Property Value

Hint

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

Remarks

The hint 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.

See Also