Rasplex new lirc mappings mess up my buttons

He

I have problems with the latest release (0.7.1) where the lirc mappings were updated. My remote has a button that reads “subtitles” which was working nicely so far to change the subtitles. But since the update it does something completely different and I do not exactly know what. For example if a movie is running an I press the button the movie screen vanishes and an empty page appears with a sidebar on the left (playback continues in the background). How can I get the old behaviour back?

All the best

Seems the default lirc map of RasPlex maps now the subtitle to the key “KEY_SUBTITLE” which is not the right button sent by my remote. My button is named “KEY_GREEN” thus I created now 2 files.

  1. Lircmap.xml in ~/.plexht/userdata/

with the content:

<lircmap> <remote device="devinput"> <subtitle>KEY_GREEN</subtitle> </remote> </lircmap>

  1. remote.xml in ~/.plexht/userdate/keymaps

with the content:

<keymap> <global> <remote> <subtitle>NextSubtitle</subtitle> </remote> </global> </keymap>

After that I restarted and it works again. Is this a bug? Are the button names standardized in any way?

@ctpfaff said:

After that I restarted and it works again. Is this a bug? Are the button names standardized in any way?

Not a bug, the release notes did mention that you may have to remap some keys due to the changes.

Can you please mark you own post as answered, thanks.

Regards

Oh. I missed that sentence. Thanks. Seems I cannot accept my own answer as the right answer. There is no button like the one when I hover over your answer.

Oh by the way. If I store my mapping changes. Are they save when I update. Or do I have to recreate them each time.

@ctpfaff said:
Oh by the way. If I store my mapping changes. Are they save when I update. Or do I have to recreate them each time.

If you update from within Rasplex they will be maintained, if you reflash you will have to create them again, remember to keep a backup.

Regards

That is great. Thank you. And I have another short question. Is there any source available documenting all UI actions that are available to be executed on keystroke? That would be an amazing help in creating a mapping completely on my own.

No problem, have a look at http://kodi.wiki/view/keymap

Can you please mark this as answered, thanks.

Regards

Great thank you that is exactly what I need.

This broke some other keys too on the ORC-1100 (not ones that I had custom mapped).

The “info” button as mapped on the Harmony now does nothing (previously displayed title and description). This is not the same “info” button as the original remote, which simulated a right click, although it doesn’t seem to send a valid key command when I sniff it.

The “OK” and “enter” buttons now pause and display the menu instead of just displaying the menu.

The “backspace” button used to exit to the selection screen and leave video playing. It now skips backwards.

I used this to remap the “Recorded TV” button to the info function.

<keymap>
  <global>
    <keyboard>
      <o mod="ctrl">Info</o>
    </keyboard>
  </global>
</keymap>