@dmladenov try the attached device tree (remove txt extension). I haven't mapped all the keys yet, because the work is a bit tedious
However, the scancodes are identical in both cases (mainline driver vs legacy driver). The only difference is how they are stored (in addition to what I have already explained about the device tree).
The rockchip driver uses a particular encoding
- first two bytes are the identification code of the remote control and is stored in little-endian ( in your case cc1d becomes 1dcc )
- the last byte is the key code and is stored inverted. For example, the power key has code 0x00 which becomes 0xff in rockchip encoding.
Given this, in the dts source it turns out that your remote control is this one and that the keys you indicated are actually missing.
Anyway, I hope to return to the mainline driver with libreelec 11.
When I started I didn't have enough experience to create my own patches and I preferred to create a 99% working system (even at the cost of using legacy code)
Let me known