ZOOM Remote command not working

  • Hi, on my RPI 5 with LibreELEC-RPi5.aarch64-11.95.2 release installed I am unable to use the zoom button on my xbox one remote the ZOOM function does not work. In the first place I did not touch anything as I read and know that these remotes work out of the box. I even checked against my "toml" file on my older RPI running Libreelec 9.2.

    I can map every other function to the button (the upperst left) which works or use any other button for the KEY_ZOOM, no chance, I can not switch to fullscreen when I am on any other screen. Anyone got this working?

    Thanks in advance

  • Ok, I fixed it:
    I created "/storage/.config/rc_keymaps/xbox_one.toml" with the following content (please get rid of the space between [ [ before protocols):
    [syntax] [ [protocols]]
    name = "Xbox One"
    protocol = "nec"
    variant = "necx"
    [protocols.scancodes]
    0x80d864 = "KEY_HOME"
    0x80d820 = "KEY_LEFT"
    0x80d821 = "KEY_RIGHT"
    0x80d81e = "KEY_UP"
    0x80d81f = "KEY_DOWN"
    0x80d822 = "KEY_OK"
    0x80d823 = "KEY_EXIT"
    0x80d80e = "KEY_MUTE"
    0x80d810 = "KEY_VOLUMEUP"
    0x80d811 = "KEY_VOLUMEDOWN"
    0x80d812 = "KEY_CHANNELUP"
    0x80d813 = "KEY_CHANNELDOWN"
    0x80d814 = "KEY_FASTFORWARD"
    0x80d815 = "KEY_REWIND"
    0x80d870 = "KEY_PLAYPAUSE"
    0x80d819 = "KEY_STOP"
    0x80d81a = "KEY_NEXT"
    0x80d81b = "KEY_PREVIOUS"
    0x80d826 = "KEY_INFO"
    0x80d86e = "KEY_FULL_SCREEN"
    0x80d86f = "KEY_CONTEXT_MENU" [/syntax]

    and "/storage/.kodi/userdata/Lircmap.xml" with:
    [syntax]<?xml version="1.0" encoding="UTF-8"?>
    <!-- This file contains the mapping of LIRC keys to XBMC keys used in Keymap.xml -->
    <!-- -->
    <!-- How to add remotes -->
    <!-- <remote device="name_Lirc_calls_the_remote"> -->
    <!-- -->
    <!-- For the commands the layout following layout is used -->
    <!-- <XBMC_COMMAND>LircButtonName</XBMC_COMMAND> -->
    <!-- -->
    <!-- For a list of XBMC_COMMAND's check out the <remote> sections of keymap.xml -->

    <lircmap>
    <remote device="devinput">
    <left>KEY_LEFT</left>
    <right>KEY_RIGHT</right>
    <up>KEY_UP</up>
    <down>KEY_DOWN</down>
    <select>KEY_OK</select>
    <start>KEY_HOME</start>
    <back>KEY_EXIT</back>
    <play>KEY_PLAYPAUSE</play>
    <stop>KEY_STOP</stop>
    <forward>KEY_FASTFORWARD</forward>
    <reverse>KEY_REWIND</reverse>
    <volumeplus>KEY_VOLUMEUP</volumeplus>
    <volumeminus>KEY_VOLUMEDOWN</volumeminus>
    <pageplus>KEY_CHANNELUP</pageplus>
    <pageminus>KEY_CHANNELDOWN</pageminus>
    <skipplus>KEY_NEXT</skipplus>
    <skipminus>KEY_PREVIOUS</skipminus>
    <title>KEY_CONTEXT_MENU</title>
    <info>KEY_INFO</info>
    <mute>KEY_MUTE</mute>
    <display>KEY_FULL_SCREEN</display>
    </remote>
    </lircmap>[/syntax]