Wiki Page Content

DRAFT

SDL_HINT_APPLE_TV_CONTROLLER_UI_EVENTS

A hint that specifies whether controllers used with the Apple TV generate UI events.

Values

0

controller input does not generate UI events

1

controller input generates UI events

Default

By default controller input does not generate UI events.

Code Examples

You can add your code example here

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/

Version

This hint is available since SDL 2.0.5.


CategoryDefine, CategoryHints

None: SDL_HINT_APPLE_TV_CONTROLLER_UI_EVENTS (last edited 2016-09-29 21:24:20 by PhilippWiesemann)

Feedback
Please include your contact information if you'd like to receive a reply.
Submit