5773 shaares
wire up GPIO receiver:
http://kodi.wiki/view/Raspberry_Pi#Remote_controls
enable lirc in Config.txt: http://wiki.openelec.tv/index.php/Config.txt
dtoverlay=lirc-rpi
check input:
mode2 -d /dev/lirc0
list namespaces:
irrecord -l
record ir codes:
killall lircd
irrecord -d /dev/lirc0 /storage/.config/lircd.conf
reboot
test input:
irw
maping of functions in openelec:
/usr/share/kodi/system/keymaps/remote.xml
/usr/share/kodi/system/Lircmap.xml
context menu key
KEY_EPG