Kodi Community Forum
Cannot map remote key to action - 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: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: Cannot map remote key to action (/showthread.php?tid=377658)



Cannot map remote key to action - eXcyleNL - 2024-05-24

I am kinda stuck with configuring my remote and could use some help. I am using an Logitech Harmony configured as an generic MCE remote for kodi. everything is working as it should, but i cannot get two of the buttons to behave.

I have defined the buttons in a lircd.conf, i named the remote "Harmony" and the buttons are named "Guide" and "Info" with the correct codes, and "irw" on the commandline is detecting them :
 
Code:
kodi@mce:~# irw
0000000077e1d099 00 Info Harmony
0000000077e1d099 01 Info Harmony
0000000077e1a0b9 00 Guide Harmony
0000000077e1a0b9 01 Guide Harmony
0000000077e1a0b9 02 Guide Harmony

On the kodi side, they are defined in a lircmap.xml
 
Code:
<lircmap>
  <remote device="Harmony">
.....
    <Guide>Guide</Guide>
    <Info>Info</Info>
.....
  </remote>
</lircmap>

Kodi seems to detect the button press according to the kodi.log with debugging enabled:
 
Code:
2024-05-23 23:24:01.049 T:13      debug <general>: LIRC: - NEW 0000000077e1d099 00 Info Harmony (Info)
2024-05-23 23:24:01.055 T:7       debug <general>: HandleKey: 0 (0x0, obc255) pressed, window 10025, action is

and i have added them to a harmony.xml keymap using the name "info" and the obc255 displayed in the logging
 
Code:
<keymap>
  <!-- Blue toggles watched indicator -->
  <!-- Yellow will toggle the library views between 'show everything' and 'show watched only' -->
  <Global>
    <remote>
      <blue>ToggleWatched</blue>
      <yellow>SendClick(25,14)</yellow>
      <info>ContextMenu</info>
      <guide>ContextMenu</guide>
    </remote>
    <universalremote>
      <obc255>ContextMenu</obc255>
    </universalremote>
  </Global>
</keymap>

but the contextmenu is not activated when i press the info button (the red button does open the menu, so i know the keymap is working.)