How to remap FireTV remote keys in MrMC
Posted: 12 Sep 2020, 16:22
MrMC allows for modified keymaps by adding an appropriate xml file in the /storage/self/primary/Android/data/tv.mrmc.mrmc/files/.mrmc/userdata/keymaps directory. The problem is generating a correct xml file that works with the FireTV remote.
The examples on the Kodi Wiki page for the FireTV don't seem to work: https://kodi.wiki/view/Alternative_keym ... _TV_remote
I don't think the Keymap Editor Addon is an option for MrMC, so we'll have to install Kodi and the Keymap Editor addon.
Once you remapped all the buttons, use adb to grab the resulting xml file:
adb pull /storage/self/primary/Android/data/org.xbmc.kodi/files/.kodi/userdata/keymaps/gen.xml
and push to MrMC:
adb push gen.xml /storage/self/primary/Android/data/tv.mrmc.mrmc/files/.mrmc/userdata/keymaps/gen.xml
It worked for me. Here's my xml file:
<keymap><fullscreenvideo><keyboard><key id="61656">nextsubtitle</key></keyboard></fullscreenvideo></keymap>
All I needed was to cycle the subtitles using the context key.
The examples on the Kodi Wiki page for the FireTV don't seem to work: https://kodi.wiki/view/Alternative_keym ... _TV_remote
I don't think the Keymap Editor Addon is an option for MrMC, so we'll have to install Kodi and the Keymap Editor addon.
Once you remapped all the buttons, use adb to grab the resulting xml file:
adb pull /storage/self/primary/Android/data/org.xbmc.kodi/files/.kodi/userdata/keymaps/gen.xml
and push to MrMC:
adb push gen.xml /storage/self/primary/Android/data/tv.mrmc.mrmc/files/.mrmc/userdata/keymaps/gen.xml
It worked for me. Here's my xml file:
<keymap><fullscreenvideo><keyboard><key id="61656">nextsubtitle</key></keyboard></fullscreenvideo></keymap>
All I needed was to cycle the subtitles using the context key.