Bluetooth remote controller

  • Hi all,

    I'm not sure if i post on the good forum (Kodi / Libre elec) and / or on the good category.

    My ISP provider give me an android set to box with 2 remotes controller, one is IR and the other is bluetooth.

    I decided to use the bluetooth remote controller on my Libre elec set to box.

    I've no problem to appair it and most of buttons work fine, but, some other seems "duplicated", like, on the num pad, key 0, 1, 4 and 9 seems to return the same keycode (i use keymap editor addon to configure actions).

    Is there a way to correctly maps all buttons? Like ir-keytable do for IR remote controller?

    ================= Edit =============

    After enabling debugging on kodi i see (for 3 buttons :(

    Button 1 :

    14:18:28.004 T:1937766800 DEBUG: Keyboard: scancode: 0xb7, sym: 0x0000, unicode: 0x0000, modifier: 0x0

    14:18:28.004 T:1937766800 DEBUG: GetActionCode: Trying Hardy keycode for 0xf200

    14:18:28.004 T:1937766800 DEBUG: Previous line repeats 1 times.

    14:18:28.005 T:1937766800 DEBUG: HandleKey: 0 (0xf200, obc-61697) pressed, action is fullscreen

    Button 2 :

    14:18:59.745 T:1937766800 DEBUG: Keyboard: scancode: 0x82, sym: 0x0000, unicode: 0x0000, modifier: 0x0

    14:18:59.745 T:1937766800 DEBUG: GetActionCode: Trying Hardy keycode for 0xf200

    14:18:59.745 T:1937766800 DEBUG: Previous line repeats 1 times.

    14:18:59.745 T:1937766800 DEBUG: HandleKey: 0 (0xf200, obc-61697) pressed, action is fullscreen

    Button 3 :

    14:19:17.803 T:1937766800 DEBUG: Keyboard: scancode: 0xb9, sym: 0x0000, unicode: 0x0000, modifier: 0x0

    14:19:17.803 T:1937766800 DEBUG: GetActionCode: Trying Hardy keycode for 0xf200

    14:19:17.803 T:1937766800 DEBUG: Previous line repeats 1 times.

    14:19:17.803 T:1937766800 DEBUG: HandleKey: 0 (0xf200, obc-61697) pressed, action is fullscreen

    It seems that there is a fallback to keycode 0xf200 when the key (maybe identified by scancode) is not reconized

    =========================== End edit ================================

    Thanks in advance for your reply.

    Kevin

    Edited once, last by kevdu88 (February 19, 2019 at 1:59 PM).