- Home /
Amazon Fire TV - Input.GetJoystickNames() not enumerating the remote
We are using Unity 5.0.1f1 to create a multi-platform game. To get input into the game for platforms not supporting touch screen, I'm using Unity's Input.GetJoystickNames() API. However, I'm seeing that Input.GetJoystickNames() no longer seems to return anything for the Amazon Fire TV Remote. I do get a value for the Amazon Fire Game Controller. This API used to work in Unity 4.6.x (We've since upgraded to Unity 5). I need to use this API in order to know which controller(s) are currently attached so that I can dynamically assign button and axis mappings (since not all controllers have the same mappings).
I haven't checked yet to see if there is a 'default mapping' for the Amazon Fire TV Remote (for example, is joystick 1 button 0 always the center button, even though the remote doesn't appear to be enumerated by Input.GetJoystickNames() ? ). Even if that's the case, our game can't make the assumption that joystick 1 button 0 will always map to the right button for all platforms (hopefully that makes sense).
Is anyone else seeing something like this with the Fire TV Remote and Unity 5?
=Dan
Your answer
Follow this Question
Related Questions
[Unity5] Rotate UI button with mouse/finger 2 Answers
Help In Making a SphereCast for 3D Tire! Working RayCast Script included! 0 Answers
Post a file or image into S3 using unity C# 0 Answers
Local Multiplayer Game | Input for player 2 completely broken. 0 Answers
Unity3D mouse events not working on Amazon Web Services EC2 instance in Play mode 0 Answers