-
Notifications
You must be signed in to change notification settings - Fork 0
2.1. General configuration items
LABEL | FUNCTION |
---|---|
work_mode | 0 : software mode (NEC) 1 : hardware mode (DUOKAN) |
factory_code | each device has it's own unique factory code. pattern: custom_code(16bit) + index_code(16bit) example: 0xffaa0001 = 0xffaa(custom_code) + 0001(index_code) |
repeat_enable | 0 : disable repeat 1 : enable repeat |
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 enable |
repeat_delay | unit: ms time interval from pressing button to first burst default = 250ms |
repeat_period | unit: ms time interval between two burst keys default = 33ms |
factory_infcode | unit: n(n<=20) support for 2nd remote control used in remotesecond.conf only |
The key mapping table starts with the key_begin
string and end with key_end
.
Each row corresponds to a key mapping relationship, the front is the key value of the infrared key, and the back is the corresponding standard key scan code, with a space
as separator.
Multiple key values can correspond to one key scan code, but for repeated key value positioning, only the last corresponding relationship shall prevail.
For writing format, please refer to the example in Appendix A.
The mouse direction mapping table starts with the mouse_begin
string and ends with mouse_end
.
Each line corresponds to a direction mapping relationship, the front is the direction number identifier, the back is the key value of the infrared button, with a space
as separator.
Direction Number Identifier Comparison Table
LABEL | FUNCTION |
---|---|
0 | left |
1 | right |
2 | up |
3 | down |
Multiple key values cannot correspond to one direction, only the last corresponding relationship shall prevail.
LABEL | FUNCTION |
---|---|
fn_key_scancode = 0xfe | Assign the mouse to turn on the function key |
left_key_scancode = 0x1c | Assign the left mouse button |
right_key_scancode = 0x48 | Assign the right mouse button |
up_key_scancode = 0x44 | Specify the upper mouse button |
down_key_scancode = 0x1d | Specify the lower mouse button |
ok_key_scancode = 0x5c | Specify the mouse button |
pageup_key_scancode = 0x04 | Specify the previous page key |
pagedown_key_scancode = 0x1b | Specify next page key |
For writing format, please refer to the example in Appendix A.
Custom maps start with the custom_begin
string and end with custom_end
For writing format, please refer to the example in Appendix D.