-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This closes #15.
- Loading branch information
Showing
2 changed files
with
86 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
# | ||
# ********************************************************************************************************* | ||
# 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 * for original Ugoos UR-02 remote | ||
# | ||
factory_code = 0xe6190001 | ||
|
||
work_mode = 0 | ||
repeat_enable = 1 | ||
repeat_delay = 130 | ||
repeat_peroid = 120 | ||
release_delay = 20 | ||
debug_enable = 1 | ||
|
||
key_begin | ||
|
||
0x0e 14 # del | ||
0x74 116 # power | ||
0x41 582 # voice | ||
0x67 103 # up | ||
0x6c 108 # down | ||
0x69 105 # left | ||
0x6a 106 # right | ||
0x61 97 # ok | ||
0x9e 158 # back | ||
0xac 102 # home | ||
0x8b 139 # menu | ||
0x73 115 # vol+ | ||
0x72 114 # vol- | ||
0x71 113 # mute | ||
0x92 146 # ch+ | ||
0x93 147 # ch- | ||
0xa4 119 # play/pause | ||
0xa3 123 # next | ||
0xa5 122 # previous | ||
0xd9 217 # search | ||
0xab 171 # music | ||
0x17 140 # mouse | ||
0x96 70 # browser | ||
|
||
key_end | ||
|
||
repeat_key_begin | ||
|
||
0x0e 14 # del | ||
0x73 115 # vol+ | ||
0x72 114 # vol- | ||
|
||
0x67 103 # up | ||
0x6c 108 # down | ||
0x69 105 # left | ||
0x6a 106 # right | ||
|
||
repeat_key_end |