Controller Input with Unity

You can use the Unity development tools to create apps and games for Amazon Fire TV devices as you would any Android device.

Although we do not provide a Unity plugin for Fire TV development, there are packages in the Unity Asset Store to enable game controller support. In particular, InControl by Gallant Games is one with which our developers have had great success. InControl is a cross-platform input manager for Unity3D that standardizes control mappings for a variety of common controllers.

You can also use the Unity input manager to configure controller input for your game. Use the tables below to map the buttons on the Amazon Fire TV remotes and game controllers with the Unity input manager buttons and axes.

Note: The input references in this document apply to Unity 4.3.x and higher, but are subject to change with future Unity releases.

Remote Control Input

Use these values in Unity to map the buttons on both the Amazon Fire TV Remote and Voice Remote. See KeyCode for more details about Unity KeyCode values.

The remote controllers for Fire TV Edition has some additional buttons — such as volume up/down, power, Netflix, Amazon Prime, and other apps. However, these buttons can't be mapped to events in third-party apps, so the buttons shown in the above Fire TV remote are effectively the same available buttons for Fire TV Edition remote controllers, even if the remotes look a bit different.

Button

Unity Input Manager Value

Unity KeyCode Value

Home

one (system event)

none (system event)

Back

none (not supported)

KeyCode.Escape

Menu

none (not supported)

KeyCode.Menu

Microphone (Search)

none (system event)

none (system event)

Select (D-Pad Center)

joystick button 0

KeyCode.JoystickButton0

Left (D-Pad)

5th Axis

KeyCode.LeftArrow

Right (D-Pad)

5th Axis

KeyCode.RightArrow

Up (D-Pad)

6th Axis

KeyCode.UpArrow

Down (D-Pad)

6th Axis

KeyCode.DownArrow

Play/Pause

none (not supported)

none (not supported)

Rewind

none (not supported)

none (not supported)

Fast Forward

none (not supported)

none (not supported)

Game Controller Input

Use these values in Unity to map the buttons on the Amazon Fire Game Controller. See KeyCode for more details about Unity KeyCode values.