Control LE Chrome with remote/keyboard

  • Hi all

    I managed to install the chrome add-on and it works like a charm. Thank you!

    The only "problem" I have is that I cannot control Chrome with the keyboard/multimedia controls of my remote. Particularly what I'd like to send to the chrome window are the play/pause command and control the volume.

    For reference, on my windows machine the play/pause command is sent directly to the chrome window I suppose, while the volume is managed at OS level. Can it be done in the add-on too?

    Best regards

    • Official Post

    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.

  • Still no solution for other cases , but if you're using youtube try 'improve youtube' addon. It has ability to map some commands, volume etc

  • 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 !

  • 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 ;)

  • 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).