[Solved] Remap 2x buttons, Air Mouse

  • *** UPDATE, found the answer for power, but it looks like the mouse-lock functionality may be built into the remote.

    autostart.sh

    systemd-inhibit --what=handle-power-key sleep 1000d &

    ***

    I just picked up one of these remote for my Coreelec box but i am unable to remap two of the buttons.

    Top left "Power" button and 2nd row down center; "Mouse lock"

    going back to the old IR days i would;

    1. SSH, irw; and see what code these buttons used

    2. Reference that code in the LIRCD.conf

    3. make the appropriate change in /storage/.kodi/userdata/keymaps/remote.xml

    Its the IRW step that im missing because i cant figure out what keypress the buttons are sending? I overwrite "POWER" to be "back" because i let my box run when not in use. But with POWER mapped the top left button still shuts down the box?

    What command would the "Mouse lock" button use? Thanks for any pointers. s-l1600.jpg

    Edited 3 times, last by apeg (January 31, 2020 at 5:42 PM).

  • I just picked up one of these remote for my Coreelec box but i am unable to remap two of the buttons.

    CE is 95% our codebase, but we don't bother to track what they leave out, or what special "fixes" are in-place that might break anything. So the best place to ask for support on their releases is their forum. Thanks.