#********************************************************************************************** # # this file is configuration for each factory remote device # # factory_code each device has it's unique factory code. # pattern: custom_code(16bit) + index_code(16bit) # examble: 0xff000001 = 0xff00(custom_code) + 0001(index_code) # # work_mode 0 :software mode 1 :hardware mode # repeat_enable 0 :disable repeat 1 :enable repeat # # 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 enable # # 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 #********************************************************************************************** #Videostrong - Custom mapping for LibreELEC PilsFree Dagon #********************************************************************************************** factory_code = 0xff000001 work_mode = 0 repeat_enable = 1 repeat_delay = 40 repeat_peroid = 39 release_delay = 121 debug_enable = 0 #fn_key_scancode = 0x12 #cursor_left_scancode = 0x5a #cursor_right_scancode = 0x1b #cursor_up_scancode = 0x06 #cursor_down_scancode = 0x16 #cursor_ok_scancode = 0x1a key_begin 0x59 116 # power 0x19 113 # mute 0x0d 102 # home 0x45 46 # C = Context menu 0x51 24 # O = Kodi codec info 0x05 158 # exit/back 0x06 103 # up 0x5a 105 # left 0x1a 28 # enter/OK Long Press = Pause 0x1b 106 # right 0x16 108 # down 0x08 104 # page+ 0x0b 109 # page- 0x52 2 # 1 0x50 3 # 2 0x10 4 # 3 0x56 5 # 4 0x54 6 # 5 0x14 7 # 6 0x4e 8 # 7 0x4c 9 # 8 0x0c 10 # 9 0x0f 11 # 0 0x22 23 # info 0x12 128 # stop 0x13 115 # vol+ 0x17 114 # vol- 0x18 20 # subtitle key_end repeat_key_begin 0x13 115 # vol+ 0x17 114 # vol- 0x1a 28 # enter/OK Long Press = Pause 0x05 158 # exit/back Long Press = Stop repeat_key_end