I am writing a Xamarin app and have successfully deployed it to my Fire TV hardware; however, when I try to use the amazon remote my app is not responding, since the hardware does not support Tap Gestures, which makes sense.
What I have tried
After following the link on this page, it appears that there was a Fire TV Component, but when I click on the link, it turns out the component has been removed.
I found this link, but it suggests a round about work around to use the deprecated component, by ripping it out from some other random project, which is not ideal.
I saw mention that the preferred way is to use a Nuget package; however, after a bit of searching, I have yet to find any packages that seem to match what I am looking for.
I also saw mention that the latest Fire OS prefers use of the Google apis instead of custom Amazon ones, which makes me think there is a "Xamarin Google Game Input" type of nuget package out there somewhere that might work, but have had no luck in finding.
As a potential alternative to using a Nuget package that may or may not exist, I thought about manually handling keyboard input and mapping using this table that maps a button on the Amazon remote to a keyboard code, but I am unsure how to implement this for Android (Xamarin) as all the examples I have found are for Windows.
Further details
The current UI is pretty simple, tap the screen to pull up a menu, then select one of three buttons. I image translating that for the Amazon remote would be: Press the Select button (Middle circle), then us the directional pad to select one of the three buttons, then press the Select button.
I anticipate also needing to add support for the back button, which fingers crossed should come naturally once the other input needs are met.
So in summary, my question is:
For my Xamarin Android App, how can I add support for the stock Amazon remote that comes with the Fire TV hardware?