Kodi Community Forum
v20 Is there a keymap file repository for popular remotes? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: v20 Is there a keymap file repository for popular remotes? (/showthread.php?tid=376372)



Is there a keymap file repository for popular remotes? - frankvw - 2024-02-21

I've looked for this but I can't find anything so I'm recklessly assuming this is not a FAQ. On my own head be it. Laugh

I'm messing around with the keymap editor extension to get this remote working with Kodi:
Image
I'm slowly winning, but it's weird - for some reason the 'OK' button is not mapped to the 'Enter' button function; the 'Back arrow' button is not mapped to backspace, et cetera. Not what I expected.

It has no 'info' button so I mapped the magnifying glass button to do that, and it has no 'stop' button so I mapped the 'play/pause' button to do that using the 'longpress' feature:
Quote:<keymap>
  <global>
    <keyboard>
      <key id="61620">info</key>
    </keyboard>
  </global>
  <videos>
    <keyboard>
      <play_pause mod="longpress">stop</play_pause>
    </keyboard>
  </videos>
  <fullscreenlivetv>
    <keyboard>
      <play_pause mod="longpress">stop</play_pause>
    </keyboard>
  </fullscreenlivetv>
  <fullscreenvideo>
    <keyboard>
      <play_pause mod="longpress">stop</play_pause>
    </keyboard>
  </fullscreenvideo>
</keymap>

So far so good, and this all works fine, but there's still a lot to do, and it's also a bit of a pain that these key mappings have to be done separately for different features (video, fullscreen video, live tv, etc.). Yet this is a fairly common remote and I simply can't be the the only one trying to get it to work properly. So I'm reinventing the wheel here.

Is there any repository of keymap files for popular remotes somewhere? Doing this once and then sharing the results would make sense, especially given the community-oriented character of Kodi.

So what am I missing?

// FvW


RE: Is there a keymap file repository for popular remotes? - frankvw - 2024-02-21

Update: It looks like my remote is a little flakey... Sometimes the 'OK' button works, sometimes it doesn't. My question remains though: is there a gen.xml repo somewhere?


RE: Is there a keymap file repository for popular remotes? - jjd-uk - 2024-02-21

No there isn't, the closest to this is the wiki.

This is probably the appropiate page https://kodi.wiki/view/RF_remote_controls and as you can see no keymaps have been shared, see this page for the Firestick remote to show what can be done https://kodi.wiki/view/Alternative_keymaps_for_Fire_TV_remote

Also see https://kodi.wiki/view/Category:Remotes for the listing of all wiki pages to do with remotes.

Maybe @Karellen has thoughts on the best way to do this if you were willing to edit/add something on the wiki.


RE: Is there a keymap file repository for popular remotes? - PatK - 2024-04-08

(2024-02-21, 13:24)frankvw Wrote: looks like my remote is a little flakey...
I've dealt with flaky remotes in a physical way using foil https://forum.kodi.tv/showthread.php?tid=345180&highlight=repair+remote