Hi,
I want to customize my remote and add additional buttons but my configuration does not work.
I'm running libreELEC 8.0.0 and my remote uses the default configuration for devinput.
The shell command irw gives me the button names for every remote button:
For example:
69 0 KEY_LEFT devinput
6c 0 KEY_DOWN devinput
1c 0 KEY_ENTER devinput
18b 0 KEY_LIST devinput
8d 0 KEY_SETUP devinput
177 0 KEY_SCREEN devinput
176 0 KEY_KEYBOARD devinput
b0 0 KEY_EDIT devinput
e3 0 KEY_SWITCHVIDEOMODE devinput
So I created /storage/.kodi/userdata/Lircmap.xml containing
<?xml version="1.0" encoding="UTF-8"?>
<lircmap>
<remote>
<setup>KEY_SETUP</setup>
<fullscreen>KEY_SWITCHVIDEOMODE</fullscreen>
<processinfo>KEY_KEYBOARD</processinfo>
<info>KEY_SCREEN</info>
<list>KEY_LIST</list>
</remote>
</lircmap>
and /storage/.kodi/userdata/keymaps/remote.xml containing
<?xml version="1.0" encoding="UTF-8"?>
<keymap>
<global>
<remote>
<power></power>
<power mod="longpress">ShutDown()</power>
<setup>ActivateWindow(Settings)</setup>
</remote>
</global>
<FullscreenVideo>
<remote>
<up>Seek(60)</up>
<down>Seek(-60)</down>
<pageplus>Seek(600)</pageplus>
<pageminus>Seek(-600)</pageminus>
<clear>Seek(-3)</clear>
<processinfo>PlayerProcessInfo</processinfo>
<fullscreen>Fullscreen</fullscreen>
<info>Info</info>
<red>PlayerDebug</red>
<green>AudioDelay</green>
<yellow></yellow>
<blue>AspectRatio</blue>
<teletext>NextSubtitle</teletext>
<list>Playlist</list>
</remote>
</FullscreenVideo>
</keymap>
Display More
New actions for buttons that are already defined in default configurationxbmc/Lircmap.xml at master · xbmc/xbmc · GitHub for devinput (like buttons for red, green, blue...) are working with new actions. All buttons not defined by default but defined in my Lircmap.xml are not working.
Any ideas what's wrong? Is the path /storage/.kodi/userdata/Lircmap.xml correct? Where can I enable some more logs for lirc for deeper debugging?
Thanks!