v4l-utils: Add wetek_play_2 to libreelec_multi_amlogic

This commit is contained in:
Radostan Riedel 2018-01-30 09:02:24 +01:00
parent b72acb8816
commit f93a20a6fc
2 changed files with 45 additions and 1 deletions

View File

@ -0,0 +1,44 @@
# table wetek_play_2, type: NEC
0x5e5f02 KEY_POWER
0x5e5f46 KEY_SLEEP
0x5e5f10 KEY_MUTE
0x5e5f22 KEY_1
0x5e5f23 KEY_2
0x5e5f24 KEY_3
0x5e5f25 KEY_4
0x5e5f26 KEY_5
0x5e5f27 KEY_6
0x5e5f28 KEY_7
0x5e5f29 KEY_8
0x5e5f30 KEY_9
0x5e5f71 KEY_ESC
0x5e5f21 KEY_0
0x5e5f72 KEY_CAPSLOCK
0x5e5f03 KEY_HOMEPAGE
0x5e5f48 KEY_MENU
0x5e5f61 KEY_BACKSPACE
0x5e5f83 KEY_EPG
0x5e5f84 KEY_COMPOSE
0x5e5f77 KEY_CONFIG
0x5e5f50 KEY_UP
0x5e5f4b KEY_DOWN
0x5e5f4c KEY_LEFT
0x5e5f4d KEY_RIGHT
0x5e5f47 KEY_ENTER
0x5e5f44 KEY_VOLUMEUP
0x5e5f43 KEY_VOLUMEDOWN
0x5e5f41 KEY_PAGEUP
0x5e5f42 KEY_PAGEDOWN
0x5e5f4f KEY_FAVORITES
0x5e5f82 KEY_TEXT
0x5e5f73 KEY_RED
0x5e5f74 KEY_GREEN
0x5e5f75 KEY_YELLOW
0x5e5f76 KEY_BLUE
0x5e5f67 KEY_PREVIOUSSONG
0x5e5f79 KEY_REWIND
0x5e5f80 KEY_FASTFORWARD
0x5e5f81 KEY_NEXTSONG
0x5e5f04 KEY_RECORD
0x5e5f2c KEY_PLAYPAUSE
0x5e5f2b KEY_STOP

View File

@ -98,7 +98,7 @@ post_makeinstall_target() {
create_multi_keymap libreelec_multi "RC6 NEC" $default_multi_maps
create_multi_keymap libreelec_multi_amlogic "RC6 NEC" $default_multi_maps \
odroid wetek_hub
odroid wetek_hub wetek_play_2
# use multi-keymap instead of default one
sed -i '/^\*\s*rc-rc6-mce\s*rc6_mce/d' $INSTALL/etc/rc_maps.cfg