Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Cannot map remote key to action
#1
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.)
Reply

Logout Mark Read Team Forum Stats Members Help
Cannot map remote key to action0