Skip to content

Instantly share code, notes, and snippets.

@audriusrudalevicius
Created March 2, 2019 23:43
Show Gist options
  • Save audriusrudalevicius/47116dc3d7c2e413da1b1eb117f42f41 to your computer and use it in GitHub Desktop.
Save audriusrudalevicius/47116dc3d7c2e413da1b1eb117f42f41 to your computer and use it in GitHub Desktop.
kodi with Nuvoton w836x7hg Infrared Remote Transceiver
# sudo ir-keytable -c -p RC6 -w /home/d3trax/Docker/media_center/remote_keymap
# cp /usr/share/kodi/system/Lircmap.xml ~/.kodi/userdata/
# sudo apt install lirc
# irw #- For testing
# sudo ir-keytable -t #- For testing low level
# sudo systemctl disable lircd-uinput.service #- Fix repeated keys confilct
# Rename Lircmap.xml device to lirc device name
#
#
0x270c KEY_STOP
0x2701 KEY_NUMERIC_1
0x2702 KEY_NUMERIC_2
0x2703 KEY_NUMERIC_3
0x2704 KEY_NUMERIC_4
0x2705 KEY_NUMERIC_5
0x2706 KEY_NUMERIC_6
0x2707 KEY_NUMERIC_7
0x2708 KEY_NUMERIC_8
0x2709 KEY_NUMERIC_9
0x2700 KEY_NUMERIC_0
0x27cb KEY_INFO
0x27cc KEY_EPG
0x2755 KEY_EXIT
0x270a KEY_BACK
0x2758 KEY_UP
0x275c KEY_OK
0x275a KEY_LEFT
0x275b KEY_RIGHT
0x2759 KEY_DOWN
0x2710 KEY_VOLUMEUP
0x2711 KEY_VOLUMEDOWN
0x270d KEY_PAUSE
0x2720 KEY_CHANNELUP
0x2721 KEY_CHANNELDOWN
0x2754 KEY_MENU
0x2784 KEY_HOME
0x2775 KEY_REC
0x276d KEY_RED
0x276e KEY_GREEN
0x276f KEY_YELLOW
0x2770 KEY_BLUE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment