#********************************************************************************************************* #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 = 0x7f800001 work_mode = 0 repeat_enable = 1 repeat_delay = 130 repeat_peroid = 120 release_delay = 20 debug_enable = 1 fn_key_scancode = 0x52 left_key_scancode = 0x25 right_key_scancode = 0x27 up_key_scancode = 0x26 down_key_scancode = 0x28 ok_key_scancode = 0x0d mouse_begin 0 0x25 1 0x27 2 0x26 3 0x28 mouse_end key_begin 0x4d 113 #MUTE 0x31 2 #No.1 0x32 3 #No.2 0x33 4 #No.3 0x34 5 #No.4 0x35 6 #No.5 0x36 7 #No.6 0x37 8 #No.7 0x38 9 #No.8 0x39 10 #No.9 0x30 11 #N0.0 0x49 139 #MENU 0x1b 1 #BACK/EXIT 0x0d 28 #ENTER/OK 0x25 105 #LEFT 0x26 103 #UP 0x28 108 #DOWN 0x27 106 #RIGHT 0x4e 115 #VOL+ 0x56 114 #VOL- 0x34 14 #DEL 0x51 116 #Power 0x53 158 #home 0x58 57 #media_pause 0xff 52 #period 0xbb 123 #MEDIA_NEXT 0xbd 122 #MEDIA_PREVIOUS 0xff 140 #F10/factory_test 0xff 150 #setting 0x54 151 #PROG_YELLOW/EXPLORER 0x11 152 #PROG_BLUE/MUSIC 0x4f 153 #ALLAPP 0x09 154 #MEDIAPLAY key_end repeat_key_begin 0x4d 113 #MUTE 0x31 2 #No.1 0x32 3 #No.2 0x33 4 #No.3 0x34 5 #No.4 0x35 6 #No.5 0x36 7 #No.6 0x37 8 #No.7 0x38 9 #No.8 0x39 10 #No.9 0x30 11 #N0.0 0x49 139 #MENU 0x1b 1 #BACK/EXIT 0x0d 28 #ENTER/OK 0x25 105 #LEFT 0x26 103 #UP 0x28 108 #DOWN 0x27 106 #RIGHT 0x4e 115 #VOL+ 0x56 114 #VOL- 0x34 14 #DEL 0x51 116 #Power 0x53 158 #home 0x58 57 #media_pause 0xff 52 #period 0xbb 123 #MEDIA_NEXT 0xbd 122 #MEDIA_PREVIOUS 0xff 140 #F10/factory_test 0xff 150 #setting 0x54 151 #PROG_YELLOW/EXPLORER 0x11 152 #PROG_BLUE/MUSIC 0x4f 153 #ALLAPP 0x09 154 #MEDIAPLAY repeat_key_end