#********************************************************************************************************* #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 work_mode = 0 repeat_enable = 1 repeat_delay = 130 repeat_peroid = 120 release_delay = 20 debug_enable = 1 fn_key_scancode = 0x00 left_key_scancode = 0x51 right_key_scancode = 0x50 up_key_scancode = 0x16 down_key_scancode = 0x1a ok_key_scancode = 0x13 #pageup_key_scancode = 0x04 #pagedown_key_scancode = 0x1b custom_begin factory_infcode = 0 factory_code = 0xfe010001 mouse_begin 0 0x51 //mouse key left 1 0x50 //mouse key right 2 0x16 //mouse key up 3 0x1a //mouse key down mouse_end key_begin 0x11 102 #HOME 0x19 158 #EXIT 0x4c 125 #MENU 0x40 116 #ON/OFF 0x18 115 #VOL+ 0x10 114 #VOL- 0x16 103 #UP 0x51 105 #LEFT 0x13 97 #DPAD_CENTER 0x50 106 #RIGHT 0x1a 108 #DOWN 0x41 113 #MUTE 0x5a 119 #PLAY_PAUSE 0x52 124 #MEDIA_PAUSE 0x0a 257 #MUSIC # 0x49 261 #PICTURE PLAYER 0x4d 263 #SHORTCUT_VIDEOPLAYER # 0x48 262 #SHORTCUT_FILEBROWSER 0x03 217 #SEARCH 0x0e 70 #267->WEBSITE #70-->EXPLORE 0x43 255 #SETTINGS 0x54 120 #FAST_FORWARD 0x55 121 #REWIND 0x59 122 #PREV 0x58 123 #NEXT 0x4e 2 #1 0x0d 3 #2 0x0c 4 #3 0x4a 5 #4 0x09 6 #5 0x08 7 #6 0x46 8 #7 0x05 9 #8 0x04 10 #9 0x01 11 #0 0x42 14 #DEL # 0x52 128 #MEDIA_STOP # 0x45 264 #ONEKEY_ZOOM 0x06 265 #SHORTCUT_SUBTITLE 0x44 266 #KODI 0x0f 233 #MAIN_MENU # 0x12 269 # F9 0x47 112 #@ AT 0x0a 111 #MUSIC 0x4d 101 # (F3)VIDEO 0x49 66 #(F1)PHOTO 0x48 77 #(F2)FILE 0x12 88 #(F9)CLEAN 0xf2 140 #F10 oritation 0x4b 140 #F10 oritation 0x45 99 #(F6)ZOOM key_end repeat_key_begin 0x11 102 #HOME 0x19 158 #EXIT 0x4c 125 #MENU 0x40 116 #ON/OFF 0x18 115 #VOL+ 0x10 114 #VOL- 0x16 103 #UP 0x51 105 #LEFT 0x13 97 #DPAD_CENTER 0x50 106 #RIGHT 0x1a 108 #DOWN 0x41 113 #MUTE 0x5a 119 #PLAY_PAUSE 0x52 124 #MEDIA_PAUSE 0x0a 257 #MUSIC # 0x49 261 #PICTURE PLAYER 0x4d 263 #SHORTCUT_VIDEOPLAYER # 0x48 262 #SHORTCUT_FILEBROWSER 0x03 217 #SEARCH 0x0e 70 #267->WEBSITE #70-->EXPLORE 0x43 255 #SETTINGS 0x54 120 #FAST_FORWARD 0x55 121 #REWIND 0x59 122 #PREV 0x58 123 #NEXT 0x4e 2 #1 0x0d 3 #2 0x0c 4 #3 0x4a 5 #4 0x09 6 #5 0x08 7 #6 0x46 8 #7 0x05 9 #8 0x04 10 #9 0x01 11 #0 0x42 14 #DEL # 0x52 128 #MEDIA_STOP # 0x45 264 #ONEKEY_ZOOM 0x06 265 #SHORTCUT_SUBTITLE 0x44 266 #KODI 0x0f 233 #MAIN_MENU # 0x12 269 # F9 0x47 112 #@ AT 0x0a 111 #MUSIC 0x4d 101 # (F3)VIDEO 0x49 66 #(F1)PHOTO 0x48 77 #(F2)FILE 0x12 88 #(F9)CLEAN 0xf2 140 #F10 oritation 0x4b 140 #F10 oritation 0x45 99 #(F6)ZOOM repeat_key_end custom_end custom_begin factory_infcode = 1 factory_code = 0xbd020001 key_begin 0xca 103 0xd2 108 0x99 105 0xc1 106 0xce 97 0x45 116 0xc5 133 0x80 113 0xd0 15 0xd6 125 0x95 102 0xdd 104 0x8c 109 0x89 131 0x9c 130 0x9a 120 0xcd 121 key_end custom_end