mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-27 20:56:55 +00:00
WeTek_Play_2: Disable amremote utility, now IR remote map is defined in device tree
This commit is contained in:
parent
2acda93f04
commit
4322a99df1
@ -1,140 +0,0 @@
|
|||||||
#*********************************************************************************************************
|
|
||||||
#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 = 0x5f5e0001
|
|
||||||
work_mode = 0
|
|
||||||
repeat_enable = 1
|
|
||||||
repeat_delay = 40
|
|
||||||
repeat_peroid = 39
|
|
||||||
release_delay = 121
|
|
||||||
debug_enable = 1
|
|
||||||
|
|
||||||
fn_key_scancode = 0x84
|
|
||||||
up_key_scancode = 0x50
|
|
||||||
down_key_scancode = 0x4b
|
|
||||||
left_key_scancode = 0x4c
|
|
||||||
right_key_scancode = 0x4d
|
|
||||||
ok_key_scancode = 0x47
|
|
||||||
|
|
||||||
mouse_begin
|
|
||||||
0 0x4c
|
|
||||||
1 0x4d
|
|
||||||
2 0x50
|
|
||||||
3 0x4b
|
|
||||||
mouse_end
|
|
||||||
|
|
||||||
key_begin
|
|
||||||
0x02 116 # power
|
|
||||||
0x46 88 # 2nd power button (F12, ends WeTV)
|
|
||||||
0x10 113 # volume mute
|
|
||||||
0x22 2 # 1
|
|
||||||
0x23 3 # 2
|
|
||||||
0x24 4 # 3
|
|
||||||
0x25 5 # 4
|
|
||||||
0x26 6 # 5
|
|
||||||
0x27 7 # 6
|
|
||||||
0x28 8 # 7
|
|
||||||
0x29 9 # 8
|
|
||||||
0x30 10 # 9
|
|
||||||
0x71 14 # delete
|
|
||||||
0x21 11 # 0
|
|
||||||
0x72 58 # caps lock
|
|
||||||
0x48 127 # menu
|
|
||||||
0x03 102 # home
|
|
||||||
0x61 158 # back
|
|
||||||
0x83 139 # app_switch (mapped as KEY_MENU)
|
|
||||||
0x77 138 # assist (mapped as KEY_HELP)
|
|
||||||
0x50 103 # up
|
|
||||||
0x4b 108 # down
|
|
||||||
0x4c 105 # left
|
|
||||||
0x4d 106 # right
|
|
||||||
0x47 28 # ok
|
|
||||||
0x44 115 # volume up
|
|
||||||
0x43 114 # volume down
|
|
||||||
0x41 104 # channel up (mapped as PageUp)
|
|
||||||
0x42 109 # channel down (mapped as PageDown)
|
|
||||||
0x4f 85 # *
|
|
||||||
0x82 388 # teletext
|
|
||||||
0x73 398 # red
|
|
||||||
0x74 399 # green
|
|
||||||
0x75 400 # yellow
|
|
||||||
0x76 401 # blue
|
|
||||||
0x67 165 # previous
|
|
||||||
0x79 168 # rewind
|
|
||||||
0x80 208 # fast fprward
|
|
||||||
0x81 163 # next
|
|
||||||
0x04 167 # record
|
|
||||||
0x2c 164 # play/pause
|
|
||||||
0x2b 166 # stop
|
|
||||||
key_end
|
|
||||||
|
|
||||||
repeat_key_begin
|
|
||||||
0x02 116 # power
|
|
||||||
0x46 88 # 2nd power button (F12, ends WeTV)
|
|
||||||
0x10 113 # volume mute
|
|
||||||
0x22 2 # 1
|
|
||||||
0x23 3 # 2
|
|
||||||
0x24 4 # 3
|
|
||||||
0x25 5 # 4
|
|
||||||
0x26 6 # 5
|
|
||||||
0x27 7 # 6
|
|
||||||
0x28 8 # 7
|
|
||||||
0x29 9 # 8
|
|
||||||
0x30 10 # 9
|
|
||||||
0x71 14 # delete
|
|
||||||
0x21 11 # 0
|
|
||||||
0x72 58 # caps lock
|
|
||||||
0x48 127 # menu
|
|
||||||
0x03 102 # home
|
|
||||||
0x61 158 # back
|
|
||||||
0x83 139 # app_switch (mapped as KEY_MENU)
|
|
||||||
0x77 138 # assist (mapped as KEY_HELP)
|
|
||||||
0x50 103 # up
|
|
||||||
0x4b 108 # down
|
|
||||||
0x4c 105 # left
|
|
||||||
0x4d 106 # right
|
|
||||||
0x47 28 # ok
|
|
||||||
0x44 115 # volume up
|
|
||||||
0x43 114 # volume down
|
|
||||||
0x41 104 # channel up (mapped as PageUp)
|
|
||||||
0x42 109 # channel down (mapped as PageDown)
|
|
||||||
0x4f 85 # *
|
|
||||||
0x82 388 # teletext
|
|
||||||
0x73 398 # red
|
|
||||||
0x74 399 # green
|
|
||||||
0x75 400 # yellow
|
|
||||||
0x76 401 # blue
|
|
||||||
0x67 165 # previous
|
|
||||||
0x79 168 # rewind
|
|
||||||
0x80 208 # fast fprward
|
|
||||||
0x81 163 # next
|
|
||||||
0x04 167 # record
|
|
||||||
0x2c 164 # play/pause
|
|
||||||
0x2b 166 # stop
|
|
||||||
repeat_key_end
|
|
@ -125,9 +125,6 @@
|
|||||||
# build and install ATV IR remote support (yes / no)
|
# build and install ATV IR remote support (yes / no)
|
||||||
ATVCLIENT_SUPPORT="no"
|
ATVCLIENT_SUPPORT="no"
|
||||||
|
|
||||||
# Amlogic IR remote support (yes / no)
|
|
||||||
AMREMOTE_SUPPORT="yes"
|
|
||||||
|
|
||||||
# build with installer (yes / no)
|
# build with installer (yes / no)
|
||||||
INSTALLER_SUPPORT="no"
|
INSTALLER_SUPPORT="no"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user