Posts by Mister Floppy

    @Hias: Thank you very much for your response!

    I've done what you said and disabled the LIRC translation via the command you gave, and after that, "mod=longpress" is working again! With the help of the "Keymap Editor" addon it turned out that the KeyIDs which I have to write into my "keymap.xml" still differ from the ones at the time when I was using KODI 17.6, so I had to determine them all once again.

    But the really bad news is: now there are different buttons on the remote control where the "Keymap Editor" addon displays the same KeyID, for example button 7, 11 and 32 all are identified with "61952", button 22, 23, 24, 25 with "16839168" and so on :(

    I don't understand how this is possible, I mean, it's the same piece of hardware as before the upgrade from KODI 17.6 to 18...

    Regarding other configuration file(s) you mentioned ("remote keymap"), I would like to point out that under KODI v17.6 I only had to cope with "keymap.xml" and this way all was good to go, as KODI 17.6 actually recognized the remote control as a "keyboard" and not a "real" remote control.

    I'm a bit confused: has KODI 18 dropped the support for the usage of this kind of device?

    And I'm totally clueless what I would have to write into any other configuration file(s) other than "keymap..xml"...

    Could you please help me a little further with it?

    I've upgraded from KODI v17.6 to KODI v18 (RC2) using LibreELEC (Leia) v8.90.009 ALPHA and ran into the problem that my previous modified "keymap.xml" located in the "userdata" folder/"keymaps" subfolder does not work anymore with the remote control which was shipped with the WETEK PLAY 2 :(

    Gy0oeZB.png

    I found out that the codes of the remote control buttons did change from KODI v17.6 to 18, so I had to determine them all again with the help of the "Keymap Editor" AddOn. Unfortunately, the "longpress" actions are not working anymore and also prevent the "normal" behaviour of the short pressed key.

    Example 1:

    Code
    <keymap>
      <global>
        <keyboard>
          <key id='232'>ActivateWindow(TVRecordings)</key>
        </keyboard>
      </global>
    </keymap>

    When pressing the remote control button 30 in this example it works as it should (-> the window with the TV recordings pops up).

    Debug log: 03:36:06.438 T:4091061024 NOTICE: --------------------------------------------- - Pastebin.com

    At 03:36:17.816 I did press remote control button 30 for the first time

    Example 2:

    Code
    <keymap>
      <global>
        <keyboard>
          <key id='232'>ActivateWindow(TVRecordings)</key>
          <key id='232' mod="longpress">ActivateWindow(Favourites)</key>
        </keyboard>
      </global>
    </keymap>

    When long pressing the remote control button 30 in this example it does not work as it should (-> the window with the favourites does not pop up), and when short pressing the remote control button 30 the window with the TV recordings also does not pop up....

    Debug log: 03:53:18.669 T:4089094944 NOTICE: --------------------------------------------- - Pastebin.com

    At 03:53:30.332 I did press remote control button 30 for the first time

    Please fix it with a new build!

    Thank you in advance!