mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
v4l-utils: add multi keymap for Amlogic devices
This keymap supports the common remotes (MCE, Xbox 360 etc) plus the Odroid an Wetek Hub remote. It is used with the meson-ir driver unless one of the other supported keymaps was explicitly chosen in devicetree. By default meson-ir uses the rc-empty map, Odroid C2 DT sets it to rc-odroid and Wetek Hub DT sets it to rc-wetek-hub. As rc-maps.cfg doesn't contain a mapping for these the amlogic multi-map will be used. Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
parent
ac9aac9bab
commit
7b337bd25a
@ -97,6 +97,8 @@ post_makeinstall_target() {
|
||||
default_multi_maps="rc6_mce xbox_360 zotac_ad10 hp_mce xbox_one cubox_i"
|
||||
|
||||
create_multi_keymap libreelec_multi "RC6 NEC" $default_multi_maps
|
||||
create_multi_keymap libreelec_multi_amlogic "RC6 NEC" $default_multi_maps \
|
||||
odroid wetek_hub
|
||||
|
||||
# use multi-keymap instead of default one
|
||||
sed -i '/^\*\s*rc-rc6-mce\s*rc6_mce/d' $INSTALL/etc/rc_maps.cfg
|
||||
@ -105,10 +107,9 @@ post_makeinstall_target() {
|
||||
# Custom LibreELEC configuration starts here
|
||||
#
|
||||
# use combined multi-table on MCE receivers
|
||||
# * rc-rc6-mce rc6_mce
|
||||
* rc-rc6-mce libreelec_multi
|
||||
# additional non-upstreamed keymaps
|
||||
* rc-odroid odroid
|
||||
* rc-wetek-hub wetek_hub
|
||||
# * rc-rc6-mce rc6_mce
|
||||
* rc-rc6-mce libreelec_multi
|
||||
# multi-table for amlogic devices
|
||||
meson-ir * libreelec_multi_amlogic
|
||||
EOF
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user