View: 4133|Reply: 0

Lirc - unable to use some keys

[Copy link]

13

threads

197

posts

791

credits

Senior member

Rank: 4

credits
791
Published in 2017-4-24 03:00:40 | Show all floors |Read mode
I'm confused. First, this is my lircd.conf:


  1. name  /storage/.config/lircd.conf
  2.   bits           16
  3.   flags SPACE_ENC
  4.   eps            30
  5.   aeps          100

  6.   header       8979  4495
  7.   one           555  1696
  8.   zero          555   571
  9.   ptrail        555
  10.   repeat       8980  2260
  11.   pre_data_bits   16
  12.   pre_data       0x202
  13.   gap          79385
  14.   repeat_gap   129096
  15.   toggle_bit_mask 0x0

  16.       begin codes
  17.           KEY_SLEEP                0xB24D
  18.           KEY_VOLUMEUP             0xA857
  19.           KEY_VOLUMEDOWN           0x38C7
  20.           KEY_MUTE                 0xC23D
  21.           KEY_E                    0xCA35
  22.           KEY_O                    0x58A7
  23.           KEY_LEFT                 0x08F7
  24.           KEY_UP                   0xD02F
  25.           KEY_RIGHT                0x8877
  26.           KEY_DOWN                 0x708F
  27.           KEY_ENTER                0xB04F
  28.           KEY_ESC                  0x42BD
  29.           KEY_I                    0xA25D
  30.           KEY_PREVIOUS             0x9A65
  31.           KEY_SPACE                0x1AE5
  32.           KEY_NEXT                 0xB847
  33.           KEY_STOP                 0x22DD
  34.           KEY_0                    0x00FF
  35.           KEY_1                    0x807F
  36.           KEY_BACKSPACE            0xC837
  37.           KEY_2                    0x40BF
  38.           KEY_3                    0xC03F
  39.           KEY_4                    0x20DF
  40.           KEY_5                    0xA05F
  41.           KEY_6                    0x609F
  42.           KEY_7                    0xE01F
  43.           KEY_8                    0x10EF
  44.           KEY_9                    0x906F
  45.       end codes

  46. end remote

Copy code

But some mappings don't work as expected. I tested with irw app and pressed appropriate keys on my remote, it lookks fine:


  1. OpenELEC:~/.config # irw
  2. 18 0 KEY_O devinput
  3. 18 1 KEY_O devinput
  4. 18 0 KEY_O_UP devinput
  5. 12 0 KEY_E devinput
  6. 12 1 KEY_E devinput
  7. 12 0 KEY_E_UP devinput

Copy code

So, there should be key "O" send to Kodi (open info) and key "E" - open EPG. But it acutually does not happen and I can't understand why. If I press 'E" or 'O' on my conneced USB keyboard, Kodi responds correctly. Bot not from remote.

Do you have any idea?
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list