Skip to content
This repository has been archived by the owner on Mar 26, 2019. It is now read-only.

Commit

Permalink
projects/Amlogic/devices/HD18Q: Update remote control config
Browse files Browse the repository at this point in the history
  • Loading branch information
kszaq committed Feb 2, 2016
1 parent aacfda6 commit 558dd8e
Showing 1 changed file with 94 additions and 50 deletions.
144 changes: 94 additions & 50 deletions projects/Amlogic/devices/HD18Q/filesystem/etc/amremote/remote.conf
Original file line number Diff line number Diff line change
@@ -1,53 +1,97 @@
# ZAP-A10 NEC remote
factory_code = 0xfe010001
work_mode = 0
repeat_enable = 1
release_delay = 121
debug_enable = 1
reg_control = 0xfbe40
#*********************************************************************************************************
#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 = 39
release_delay = 121
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 = 0x55
pagedown_key_scancode = 0x54

key_begin
0x4e 2 ;NUM_1
0x0d 3 ;NUM_2
0x0c 4 ;NUM_3
0x4a 5 ;NUM_4
0x09 6 ;NUM_5
0x08 7 ;NUM_6
0x46 8 ;NUM_7
0x05 9 ;NUM_8
0x04 10 ;NUM_9
0x01 11 ;NUM_0
0x42 111 ;DEL
0x51 105 ;LEFT
0x16 103 ;UP
0x50 106 ;RIGHT
0x1a 108 ;DOWN
0x13 28 ;OK
0x10 74 ;VOL-
0x41 66 ;MUTE
0x11 172 ;HOME
0x4c 46 ;MENU
0x18 78 ;VOL+
0x19 14 ;EXIT
0x40 116 ;POWER
mouse_begin
0 0x51
1 0x50
2 0x16
3 0x1a
mouse_end

0x5a 119
0x59 122
0x52 128
0x58 123
0x54 120
0x55 121
0x45 130
0x49 134
0x0a 133
0x48 138
0x4d 70
0x0e 136
0x0f 135
0x43 132
0x03 127
0x06 139
0x44 140
0x00 63
key_end
key_begin
0x01 11
0x4e 2
0x0d 3
0x0c 4
0x4a 5
0x09 6
0x08 7
0x46 8
0x05 9
0x04 10
0x13 28
0x19 14
0x42 111
0x16 103
0x1a 108
0x51 105
0x50 106
0x11 172
0x18 78
0x10 74
0x4c 46
0x5a 119
0x59 122
0x52 128
0x58 123
0x54 120
0x55 121
0x40 116
0x41 113
0x45 130
0x49 134
0x0a 133
0x48 138
0x4d 70
0x0e 136
0x0f 135
0x43 132
0x03 127
0x06 139
0x44 140
0x00 63
0x02 395
key_end

0 comments on commit 558dd8e

Please sign in to comment.