Just did this for a BT remote from a "Nvidia Shield TV" (from around ~2015) and it works as expected with latest LibreELEC.
It seems like multiple Android-box remotes use KEY_SELECT for the "ok" button while Kodi expects "Enter" for selecting things.
Maybe LibreELEC should add a default config for BT remotes so c0041 gets mapped "enter"?
Code
LibreELEC:~ # cat /storage/.config/hwdb.d/70-local-keyboard.hwdb
evdev:input:b0005v0955p7213e0002*
KEYBOARD_KEY_c0041=enter
Code
I: Bus=0005 Vendor=0955 Product=7213 Version=0002
N: Name="SHIELD Remote"
P: Phys=**************
S: Sysfs=/devices/virtual/misc/uhid/0005:0955:7213.0002/input/input1
U: Uniq=**************
H: Handlers=kbd event0
B: PROP=0
B: EV=13
B: KEY=600 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 2000000 1010 40000000 c1680 0 0 0
B: MSC=10
# /storage/.kodi/addons/virtual.system-tools/bin/evtest
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0: SHIELD Remote
Select the device event number [0-0]: 0
Input driver version is 1.0.1
Input device ID: bus 0x5 vendor 0x955 product 0x7213 version 0x2
Input device name: "SHIELD Remote"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 103 (KEY_UP)
Event code 105 (KEY_LEFT)
Event code 106 (KEY_RIGHT)
Event code 108 (KEY_DOWN)
Event code 114 (KEY_VOLUMEDOWN)
Event code 115 (KEY_VOLUMEUP)
Event code 158 (KEY_BACK)
Event code 164 (KEY_PLAYPAUSE)
Event code 172 (KEY_HOMEPAGE)
Event code 217 (KEY_SEARCH)
Event code 353 (KEY_SELECT)
Event code 713 (BTN_TRIGGER_HAPPY10)
Event code 714 (BTN_TRIGGER_HAPPY11)
Event type 4 (EV_MSC)
Event code 4 (MSC_SCAN)
Properties:
Testing ... (interrupt to exit)
Event: time 1670266030.397679, type 4 (EV_MSC), code 4 (MSC_SCAN), value c0041
Event: time 1670266030.397679, type 1 (EV_KEY), code 353 (KEY_SELECT), value 1
Display More