Posts by pjm.47


    Try this

    XML
    <?xml version="1.0" encoding="UTF-8"?>
    <keymap>
      <global>
        <select mod="longpress">ContextMenu</select>
      </global>
    </keymap>


    or

    XML
    <?xml version="1.0" encoding="UTF-8"?>
    <keymap>
      <global>
        <keyboard>
          <return mod="longpress">ContextMenu</return>
          <enter mod="longpress">ContextMenu</enter>
        <keyboard>
      </global>
    </keymap>

    "enter", "return" or "select" might not be the button id, but you can easily know the button id with the Keymap editor addon,
    also might not make any difference but my .xml file is called keymap.xml


    [hr]
    Thanks, I will give it a try tomorrow.

    Thanks for the replies,

    yes the guide button works but I got used to the long-press when I was running kodi in windows and I really miss it now it's gone so was trying to fix this.

    Sounds like the long press mod is what I need. From the link above I have created a new xml file:
    /storage/.kodi/userdata/keymaps/key.xml

    containing:

    <?xml version="1.0" encoding="UTF-8"?>
    <keymap>
    <global>
    <appcommand>
    <button mod="longpress">action</button>
    </appcommand>
    </global>
    </keymap>


    also tried <button mod="longpress">Enter</button>

    followed by rebooting.

    Sadly it didn't work but I don't really know what I'm doing.

    I feel this is along the right lines though so any suggestions as to what I've done wrong really appreciated.

    Hi, just discovered LibreELEC, I'm running it on raspberry pi3 and I must say it's brilliant. Just one problem I have though is that when using Kodi in Windows I can hold down the ok button on the Media Center Remote control to bring up the context menu. But on the LibreELEC Rpi build this no longer works, holding down ok button just repeats lots of ok presses. I'm actually using a Logitech remote with a Microsoft IR receiver, it may be something to do with that but like I say it worked fine on Windows with Kodi.
    So has anyone else come across this and is there a way of fixing it? (I'm ok with Linux and editing config files etc).
    Thanks
    Paul