#********************************************************************************************************* #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 = 0xfe010001 work_mode = 0 repeat_enable = 1 repeat_delay = 40 repeat_peroid = 50 release_delay = 100 debug_enable = 1 left_key_scancode = 0x47 right_key_scancode = 0x15 up_key_scancode = 0x46 down_key_scancode = 0x16 ok_key_scancode = 0x55 key_begin 0x47 105 #DPAD_LEFT 0x15 106 #DPAD_RIGHT 0x46 103 #DPAD_UP 0x16 108 #DPAD_DOWN 0x55 97 #ENTER 0x40 1 #BACK 0x04 125 #MENU 0x14 115 #VOLUME_UP 0x10 114 #VOLUME_DOWN 0x0d 102 #HOME 0x18 116 #POWER WAKE 0x12 243 #SETTING_MENU 0x20 131 #ZOOM_OUT 0x21 130 #ZOOM_IN 0x22 217 #SEARCH 0x23 113 #VOLUME_MUTE 0x24 208 #MEDIA_FAST_FORWARD 0x25 168 #MEDIA_REWIND 0x26 164 #MEDIA_PLAY_PAUSE 0x27 128 #MEDIA_STOP 0x28 163 #MEDIA_NEXT 0x29 165 #MEDIA_PREVIOUS 0x30 2 #1 0x31 3 #2 0x32 4 #3 0x33 5 #4 0x34 6 #5 0x35 7 #6 0x36 8 #7 0x37 9 #8 0x38 10 #9 0x39 11 #0 0x41 14 #DEL 0x3a 52 #dot 0x3b 28 #ENTER 0x3c 359 #RECORD 0x3d 94 #prog1 0x3e 95 #prog2 0x3f 514 #prog3 0x41 515 #prog4 0x42 177 #pageup 0x43 178 #pagedown 0x44 23 #info 0x45 24 #guide 0x48 402 #CH+ 0x49 403 #CH- key_end