Soooo, at the risk of resurrecting an old thread, I find it is still relevant as I just acquired a Fire TV and this thread is the only place I could find that dealt with the issue at hand of granular control of Kodi on the AFTV.
I tried lots of these approaches.... but ultimately ended up adding a Windows PC as a Harmony Device. I never could get it working, but at one point I rebooted the Harmony hub and then everything worked great... I had already paired the Harmony with the AFTV, and I didn't have to do any further pairing, not did I need to install the settings.apk mentioned earlier in this thread.
At this point, I had lots of available commands to map to Kodi actions. The most crucial to me were the channel up/down buttons to use as Page Up/Down (I mapped them to the Windows PC Channel Up/Down commands) and being able to control toggling and selection of subtitles, which I did via "Subtitles" and "Aspect" commands mapped to "Show Subtitles" and "Next Subtitles" actions in Kodi (I did this using the key mapper addon).
One thing I never found a solution for in this thread was the "JumpSMS" feature in Kodi. This feature allows you to jump to a specific letter of the alphabet in a long list. So if I'm looking at a list of 300 musical artists, and I press the 4 button, I want to jump to the G's in the list. If I press the 4 button twice I want to jump to the H's, and if I press it three times I want to jump to the I's. If I press the 5 button, it similarly would take me to the J's, K's or L's. This is like olde school texting on flip phones.
I also coded the 1 button so it jumps from one letter to the next.
Here's how I did it. I assigned Windows PC keys of F1 - F9 to the Harmony buttons numbered 1 through 9. Then I created my keymap.xml file as follows:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<keymap>
<global>
<keyboard>
<f1>nextletter</f1>
<f2>jumpsms2</f2>
<f3>jumpsms3</f3>
<f4>jumpsms4</f4>
<f5>jumpsms5</f5>
<f6>jumpsms6</f6>
<f7>jumpsms7</f7>
<f8>jumpsms8</f8>
<f9>jumpsms9</f9>
</keyboard>
</global>
</keymap>
Hopefully this helps someone else out further down the line. Good luck!
And here's some further Kodi info on keymaps:
http://kodi.wiki/view/keymap