EDIT: I managed to make it work.
I think the solution is to add the KEYMAP file as a different format by saving a copy with the “.toml” extention.
Also add 2 lines:
[[protocols]]
[protocols.scancodes]
Source (end of article): 03. Meson IR: Creating a KEYMAP file from scratch · CoreELEC/remotes Wiki · GitHub
Sidenote;
I also replaced the entries “NOKIA” with “KEYMAP” in rc_maps.cfg.
Below current config for Nokia 8010 remote for CoreElec;
Meson_IR:
copy KEYMAP file to /storage/.config/rc_keymaps copy rc_maps.cfg to /storage/.config/
rc_maps.cfg
#
# Keymaps table
#
# This table creates an association between a keycode file and a kernel driver.
# It can be used to automatically override a keycode definition.
#
#
# Format:
#
# driver - name of the driver provided via uevent - use * for any driver
# table - RC keymap table, provided via uevent - use * for any table
# file - file name. If directory is not specified, it is first looked up in:
# /storage/.config/rc_keymaps, then /usr/lib/udev/rc_keymaps
#
# Example:
#
# Driver Table File
#
# gpio-rc-recv rc-streamzap streamzap
# gpio-rc-recv * justboom
# * rc-rc6-mce rc6_mce_new
# * * hauppauge_new
#
meson-ir * KEYMAP
#
KEYMAP.toml
# table KEYMAP, type: nec
0x1d0213 KEY_1
0x1d0212 KEY_2
0x1d0210 KEY_3
0x1d0217 KEY_4
0x1d0216 KEY_5
0x1d0214 KEY_6
0x1d021b KEY_7
0x1d021a KEY_8
0x1d0218 KEY_9
0x1d021e KEY_0
0x1d021c KEY_MENU
0x1d0204 KEY_CHANNELUP
0x1d0206 KEY_CHANNELDOWN
0x402 KEY_VOLUMEUP
0x403 KEY_VOLUMEDOWN
0x1d025c KEY_HOME
0x1d0215 KEY_RIGHT
0x1d0254 KEY_LEFT
0x1d0259 KEY_UP
0x1d0251 KEY_DOWN
0x1d0255 KEY_ENTER
0x1d0241 KEY_MUTE
0x1d0219 KEY_BACK
0x1d0208 KEY_INFO
0x1d0201 KEY_STOP
0x1d021f KEY_PREVIOUSSONG
0x1d0202 KEY_NEXTSONG
0x408 KEY_POWER
0x1d0250 KEY_REWIND
0x1d024c KEY_FASTFORWARD
0x1d0203 KEY_PLAYPAUSE
0x1d0211 KEY_FAVORITES
0x1d020a KEY_RED
0x1d024d KEY_GREEN
0x1d020e KEY_YELLOW
0x1d020c KEY_BLUE
[[protocols]]
[protocols.scancodes]
KEYMAP
# table KEYMAP, type: nec
0x1d0213 KEY_1
0x1d0212 KEY_2
0x1d0210 KEY_3
0x1d0217 KEY_4
0x1d0216 KEY_5
0x1d0214 KEY_6
0x1d021b KEY_7
0x1d021a KEY_8
0x1d0218 KEY_9
0x1d021e KEY_0
0x1d021c KEY_MENU
0x1d0204 KEY_CHANNELUP
0x1d0206 KEY_CHANNELDOWN
0x402 KEY_VOLUMEUP
0x403 KEY_VOLUMEDOWN
0x1d025c KEY_HOME
0x1d0215 KEY_RIGHT
0x1d0254 KEY_LEFT
0x1d0259 KEY_UP
0x1d0251 KEY_DOWN
0x1d0255 KEY_ENTER
0x1d0241 KEY_MUTE
0x1d0219 KEY_BACK
0x1d0208 KEY_INFO
0x1d0201 KEY_STOP
0x1d021f KEY_PREVIOUSSONG
0x1d0202 KEY_NEXTSONG
0x408 KEY_POWER
0x1d0250 KEY_REWIND
0x1d024c KEY_FASTFORWARD
0x1d0203 KEY_PLAYPAUSE
0x1d0211 KEY_FAVORITES
0x1d020a KEY_RED
0x1d024d KEY_GREEN
0x1d020e KEY_YELLOW
0x1d020c KEY_BLUE