remote.conf for mutant hd 2400 on logitech harmony 900, work great with libreelec 7.0.3.012a on leelbox S1 1gb/8gb on SD card (at the time)
just need to learn the real ir code for create function power on harmony screen.... the function on/off provided by logitech is monitored by the event code 116
(key record Ok with userdata/keymap/gen.xml and remaped key_a for fonction audionextlanguage)
#*********************************************************************************************************
#this file is configuration for each factory remote device
# work_mode 0 :software mode 1 :hardware mode
# repeat_enable 0 :disable repeat 1 :enable repeat
#
# factory_code each device has it's unique factory code.
# pattern:custom_code(16bit)+index_code(16bit)
# examble: 0xff000001 = 0xff00(custom cod) 0001 (index)
#
# release_delay unit:ms.release will report from kernel to user layer after this period of time
# from press or repeat triggered.
#
# debug_enable 0 :debug disable 1 :debug disable
#
# SW MODE:
# bit_count how many bits in each frame
# tw_leader_act time window for leader active
# tw_bit0 time window for bit0 time.
# tw_bit1 time window for bit1 time
# tw_repeat_leader time window for repeat leader
# REG
# reg_base_gen set value for PREG_IR_DEC_BASE_GEN
# reg_control set value for PREG_IR_DEC_CONTROL
# reg_leader_act set value for PREG_IR_DEC_LEADER_ACTIVE
# reg_leader_idle set value for PREG_IR_DEC_LEADER_IDLE
# reg_repeat_leader set value for PREG_IR_DEC_REPEAT_IDLE
# reg_bit0_time set value for PREG_IR_DEC_BIT0_TIME
#*************************************************************************************************************
#amlogic NEC remote
factory_code = 0x1f000001
work_mode = 0
repeat_enable = 1
repeat_delay = 40
repeat_peroid = 39
release_delay = 121
debug_enable = 1
key_begin
0x1d 103 #up
0x23 108 #Down
0x21 106 #droite
0x1f 105 #gauche
0x20 97 #ok
0x28 115 #vol+
0x2b 114 #vol-
0x22 1 #esc
0x1c 14 #back
0x0c 116 #power
0x0f 57 #play aussi pausse
0x25 102 # menu HOME
0x1e 23 # Info key_I
0x24 18 # guide key_E
0x0d 113 # mute key_Mute
0x01 2 # key_1
0x02 3 # key_2
0x03 4 # key_3
0x04 5 # key_4
0x05 6 # key_5
0x06 7 # key_6
0x07 8 # key_7
0x08 9 # key_8
0x09 10 # key_9
0x00 11 # key_0
0x13 128 # key stop
0x2a 103 #ch+ idem touche up
0x2d 108 #ch- idem touche down
0x31 398 #key_red
0x32 399 #key_green
0x33 400 #key_yellow
0x34 401 #key_blue
0x14 19 #key_R
0x15 33 #key_F
0x10 108 #key_down
0x11 103 #key_up
0x0e 167 #key_rec->userdata/gen.xml
0x12 48 #key_B
0x16 38 #key_L
0x17 24 #key_O
0x18 30 #key_A->userdata/gen.xml
0x19 47 #key_V
0x1b 37 #key_K
0x35 35 #key_H
0x29 46 #key_C
key_end
Display More
userdata/keymap/gen.xml
<keymap><global><keyboard><key id="0xf0c6">record</key><key id="61505">audionextlanguage</key></keyboard></global><pvr><keyboard><key id="61505">audionextlanguage</key></keyboard></pvr><fullscreenlivetv><keyboard><key id="61505">audionextlanguage</key></keyboard></fullscreenlivetv><fullscreenvideo><keyboard><key id="61505">audionextlanguage</key></keyboard></fullscreenvideo></keymap>
key on the logitech screen not mapped (because unnecessary for me)...
button on screen logitech-> ir code send
favoris -> 0x1a
radio -> 0x36
user -> 0x2c
F1 -> 0x2e
F2 -> 0x2f
F3 -> 0x30
navigation left -> 0x0a
navigation right -> 0x0b
however i did not understand how to translate key_record to key id=61638,... where are you find it
, only the debug mode can provide the key id for key pressed ?