Vero4K & OSMC remote key mapping

I I’ve finally cut the cord and using OTA with HDHRs and the Vero4K now. I really like the OSMC remote (new one with volume buttons) but I’d like to remap some of the keys to make it a bit more live TV friendly. The first thing I’d like to get working is changing the play/pause key to send Kodi a “0” (previous TV channel). I’ve googled and tried everything I can find and after 2 days I’m no closer to making this work…

So far I’ve tried:
keymap addon - doesn’t work, the file it creates (gen.xml) is empty. I’ve use ti many times with a Pi and Kodi and it worked perfect. On the Vero4K is acts like it can’t save the file. Next I tried editing /etc/lirc/lircd.conf. Nothing i did seemed to change anything. Event tried to just remap the volume button to the play/pause with no luck. Next I tried creating ~/.kodi/userdata/keymaps/remote.xml. same deal doesn’t work. I’m at a loss after trying everything I can think of and then some.

I’ll be the first to admit, I’m not real code savvy so at this point I’m admitting I need baby steps.

Try that again and upload some debug logs if it fails

Sam

AFAIK you cannot separate off the commands during full screen playback between PVR and non-PVR content so this leads to the question of if you really want to remap the play button for this. If you really do you can try using this and see if it does what you want. I don’t have a PVR setup so I can’t test it myself.

<?xml version="1.0" encoding="UTF-8"?>
<keymap>
  <FullscreenVideo>
    <remote>
      <play>Number0</play>
    </remote>
  </FullscreenVideo>
</keymap>

Thank you!

play>Number0</play did the trick. Is there a list of the key names for the osmc remote somewhere? I found the list in lircd.conf but obviously they don’t work in the remote.xml file.

I don’t own one of those remotes so I have limited information with anything specific to them. Your best bet is probably just to use keymap editor for anything that will map correctly and just look at the gen.xml file to see what the keys are mapping to. There may be some keys that you cannot because they are active (like back/exit) but why don’t you just start there and ask if there is another specific item you want to get worked out and get stuck with.