Search Issue Tracker

Fixed

Votes

0

Found in

5.3.3p2

Issue ID

776446

Regression

No

[tvOS] Native input fields can't be used with a gamepad

tvOS

-

Fix:
In trampoline UnityAppController+ViewHandling.mm change createUnityViewControllerForTVOS to:

- (UnityViewControllerBase*)createUnityViewControllerForTVOS
{
UnityDefaultTVViewController* controller = [[UnityDefaultTVViewController alloc] init];
// This enables game controller use in on-screen keyboard
controller.controllerUserInteractionEnabled = YES;
return controller;
}

To Reproduce:

1. Attach a gamepad to you Apple TV (used Steelseries stratus).
2. Build and run the attached project.
3. Click on any of the input field.
4. Observe that the native keyboard can't be navigated/used with the gamepad (only Apple remote works).

This works in all other native apps I've tested (Search app, Youtube, Bloomberg TV etc..)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.