Posts by cybtrash

    Hello,

    I have this remote:

    The IR receiver is connected via USB to the RaspberryPi4. I want to map the remote keys to other functions.

    I tried by creating this file (and rebooting after this):

    LibreELEC:~ # nano .kodi/userdata/keymaps/remote.xml

    Code
    <keymap>
        <global>
            <remote>
                <blue>ContextMenu</blue>
            </remote>
        </global>
    </keymap>

    But the "blue" key still doesn't show the context menu. So this doesn't work.

    What am I doing wrong?

    I tried to find out, which keymap file is being used (/usr/lib/udev/rc_keymaps). Where can I find this information?

    Output of "ir-keytable"

    Code
    No devices found.

    Output of "cat /proc/bus/input/devices"

    A long, long time ago (when using XBMC) I made it work by using a command to first create my own keymap file by "reading" every IR code of all remote keys (because some keys like "blue", "red" weren't even recognized with the default settings), then creating a second file where I assigned the functions to each key. But "ir-keytable" doesn't find any devices. So something must have changed.

    Can somebody please give me some steps/hints how I can do this in LibreElec?

    Thank you

    EDIT: I just found

    https://wiki.libreelec.tv/configuration/ir-remotes

    I'll try it with this information