Posts by bingo

    Hi !

    I'm very happy with this addon and it works perfectly for my use case.
    The only problem I have left is that I don't know how to cleanly exit the addon ? Closing the browser windows does not seem to kill chrome, so it prevents relaunching it (because the launcher script tests whether chrome is running or not I think). What is the clean way of exiting the addon ? In a shell I actuallu run pkill chrome, but htere is probably another way.
    Also, I use chrome with my IR remote in kiosk mode, so if there is a key mapping that can be used I could try this.

    OK, I finally got it to work, and as expected all the problems where in fact due to a stupid mistake I made.

    In the libreelec toml file, there are multiple scancodes mapped to the same key, and the first ones are the "short" version. I had changed them and did not understand why the mapping was not reflected in the output of "ir-keytable -t", but as soon as I realised this and change the correct scancode mapping it worked instantly !

    So the "only" needed operation is to stop eventlircd to prevent interception of ir commands and it works (systemctl stop eventlircd).

    I made a very small progress in this.

    Stopping eventlircd disables (if I get this correctly ?) interception of ir events and they are correctly seen when chrome is running. More precisely, when chrome is running and I run ir-keytable -t, I do see keycodes but not their mappings. When I stop evenlircd, I suddenly see the keycodes and their correct mappings (KEY_XX down and KE_XX up, etc.)

    Now the problem I have is that the mapping are the default ones, ie the "OK" key on my remote is converted to "KEY_OK". Perfectly fine in Kodi of course, but in the browser I'd like to map it to KEY_ENTER and to map my back key (KEY_NUMERIC_POUND in kodi) to KEY_ESC.

    But changing them in libreelec toml file does nothing, and I do not understand why. Is it because this file is used only by eventlircd ?

    I don't understand the chain of events between the kernel, eventlircd, lircd... this is quite cryptic to me...

    Maybe I should start another thread if I want to get some attention, but this is spot on topic so I'll keep this here ;)

    This is more or less expected, we run Chrome while Kodi is closed, that is far away from optimal.

    You could likely make it work if you translate your remote input into keyboard signals. Afaik there is no general solution to this.

    Hi. I am in the exact same situation. Any pointer to get me started ? I have an intel NUC with a perfectly working remote with LE, it just does not work under chrome while keyboard navigation works fine.


    rix81's solution looked promising but this addon only maps very specific functions, while I need the most obvious ones (arrows, esc and enter).


    Thanks !