Hi,
I'm running LibreELEC 7 with Kodi 16.1 that has the new feature for long pressing keys. I'm fine with the default configuration for my remote in LibreELEC/Kodi except the shutdown key. I want to change only this key behaviour to shutdown LibreELEC if the key is pressed for a longer time.
For that I created a file /storage/.kodi/userdata/keymaps/remote.xml with
XML
<?xml version="1.0" encoding="UTF-8"?>
<keymap>
<global>
<remote>
<power mod="longpress">ShutDown()</power>
</remote>
</global>
</keymap>
and rebooted the machine.
Unfortunately Kodi still shuts down after one short key press on the power button. lirc (irw) detects the key KEY_POWER.
Is there still something missing that my configuration does not overwrite the default configuration for the power button?
Thanks!