[Android Stick & Console AMLogic based Computers] mark-1978:
remote.conf from originally rom and remote of the box:

#*********************************************************************************************************

#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

work_mode	= 0

repeat_enable = 1

repeat_delay = 130

repeat_peroid = 120

release_delay = 20

debug_enable	= 1

fn_key_scancode = 0x15

left_key_scancode = 0x1c

right_key_scancode = 0x48

up_key_scancode = 0x44

down_key_scancode = 0x1d

ok_key_scancode = 0x1e

pageup_key_scancode = 0x04

pagedown_key_scancode = 0x1b

custom_begin

factory_infcode = 0

factory_code	= 0xfb040001

mouse_begin

0 0x1c

1 0x48

2 0x44

3 0x1d

mouse_end

key_begin

0x47 11

0x13 2

0x10 3

0x11 4

0x0F 5

0x0C 6

0x0D 7

0x0B 8

0x08 9

0x09 10

0x5C 97

0x51 65

0x49 14

0x06 130

0x14 131

0x44 103

0x1D 108

0x1C 105

0x48 106

0x53 125

0x45 104

0x19 109

0x16 102

0x52 119

0x05 122

0x59 123

0x1b 120

0x04 121

0x1A 116

0x0A 15

0x0e 113

0x15 63

0x1F 102

0x1e 132

0x07 133

0x12 134

0x54 135

0x02 136

0x4f 30

0x42 48

0x5d 46

0x4c 32

0x58 137

0x55 140

key_end

repeat_key_begin

0x47 11

0x13 2

0x10 3

0x11 4

0x0F 5

0x0C 6

0x0D 7

0x0B 8

0x08 9

0x09 10

0x5C 97

0x51 65

0x49 14

0x06 130

0x14 131

0x44 103

0x1D 108

0x1C 105

0x48 106

0x53 125

0x45 104

0x19 109

0x16 102

0x52 119

0x05 122

0x59 123

0x1b 120

0x04 121

0x1A 116

0x0A 15

0x0e 113

0x15 63

0x1F 102

0x1e 132

0x07 133

0x12 134

0x54 135

0x02 136

0x4f 30

0x42 48

0x5d 46

0x4c 32

0x58 137

0x55 140

repeat_key_end

custom_end

custom_begin

factory_infcode = 1

factory_code	= 0xfb000001

mouse_begin

0 0x08

1 0x0b

2 0x17

3 0x0f

mouse_end

key_begin

# < > dn up

0x0b 105

0x17 106

0x1b 108

0x0f 103

#ok back

0x1f 232

0x03 158

#menu home

0x02 125

0x01 102

#v- mute v+

0x09 114

0x0e 113

0x06 115

#out in

0x04 130

0x05 131

#power fn del

0x0a 116

0x08 63

0x07 14

key_end

repeat_key_begin

# < > dn up

0x0b 105

0x17 106

0x1b 108

0x0f 103

#ok back

0x1f 232

0x03 158

#menu home

0x02 125

0x01 102

#v- mute v+

0x09 114

0x0e 113

0x06 115

#out in

0x04 130

0x05 131

#power fn del

0x0a 116

0x08 63

0x07 14

repeat_key_end

custom_end

custom_begin

factory_infcode = 2

factory_code	= 0x40400001

mouse_begin

0 0x10

1 0x11

2 0x0b

3 0x0e

mouse_end

key_begin

# 0 - 9

0x00 11

0x01 2

0x02 3

0x03 4

0x04 5

0x05 6

0x06 7

0x07 8

0x08 9

0x09 10

#del

0x0c 14

#recent apps

0x42 149

#web tv all_app

0x53 146

0x5b 147

0x54 145

#switch

0x44 888

# < >

0x10 105

0x11 106

0x0e 108

0x0b 103

#ok back

0x0d 232

0x42 158

#menu home

0x45 125

0x1a 102

#v- mute v+

0x17 114

0x43 113

0x18 115

#|<< >| || >>|

0x1f 122

0x40 119

0x41 128

0x1e 123

#power fn

0x4d 116

0x47 63

key_end

repeat_key_begin

# 0 - 9 del space explorer

0x00 11

0x01 2

0x02 3

0x03 4

0x04 5

0x05 6

0x06 7

0x07 8

0x08 9

0x09 10

#del

0x0c 14

#recent apps

0x42 149

#web tv all_app

0x53 146

0x5b 147

0x54 145

#switch

0x44 888

# < >

0x10 105

0x11 106

0x0e 108

0x0b 103

#ok back

0x0d 232

0x45 158

#menu home

0x1d 125

0x1a 102

#v- mute v+

0x17 114

0x43 113

0x18 115

#|<< >| || >>|

0x1f 122

0x40 119

0x41 128

0x1e 123

#power fn

0x4d 116

0x47 63

repeat_key_end

custom_end

custom_begin

factory_infcode = 3

factory_code	= 0xff000001

mouse_begin

0 0x47

1 0x15

2 0x46

3 0x16

mouse_end

key_begin

# < > dn up

0x0e 105

0x1a 106

0x02 108

0x03 103

#ok back

0x07 232

0x5c 158

#menu home

0x13 125

0x48 102

#mute v- v+

0x01 113

0x58 114

0x0b 115

#power

0x14 116

key_end

repeat_key_begin

# < > dn up

0x0e 105

0x1a 106

0x02 108

0x03 103

#ok back

0x07 232

0x5c 158

#menu home

0x13 125

0x48 102

#mute v- v+

0x01 113

0x58 114

0x0b 115

#power

0x14 116

repeat_key_end

custom_end

custom_begin

factory_infcode = 4

factory_code	= 0xfe010001

mouse_begin

0 0x51

1 0x50

2 0x16

3 0x1a

mouse_end

key_begin

# < > dn up

0x51 105

0x50 106

0x1a 108

0x16 103

#ok back

0x13 232

0x19 158

#menu home

0x00 125

0x11 102

#v- mute v+

0x10 114

0x45 113

0x18 115

#power fn del

0x40 116

0x4c 63

0x42 14

# 0 - 9

0x01 11

0x4e 2

0x0d 3

0x0c 4

0x4a 5

0x09 6

0x08 7

0x46 8

0x05 9

0x04 10

#|<< play stop >>| << >>

0x4b 122

#	0x5a 119

#	0x52 128

0x4f 123

#	0x55 121

#	0x54 120

#zoom setup photo music file allapp

0x14 130

0x0a 131

#	0x49 144

#	0x0a 143

#	0x48 148

#

#	0x4d 146

#	0x0e 146

#	0x0f 145

0x15 145

#setting search subtitle audio miracast browser

0x0f 142

#	0x03 127

#	0x06 149

#	0x44 150

0x43 193

0x41 146

key_end

repeat_key_begin

# < > dn up

0x51 105

0x50 106

0x1a 108

0x16 103

#ok back

0x13 232

0x19 158

#menu home

0x00 125

0x11 102

#v- mute v+

0x10 114

0x45 113

0x18 115

#power fn del

0x40 116

0x4c 63

0x42 14

# 0 - 9

0x01 11

0x4e 2

0x0d 3

0x0c 4

0x4a 5

0x09 6

0x08 7

0x46 8

0x05 9

0x04 10

#|<< play stop >>| << >>

0x4b 122

#	0x5a 119

#	0x52 128

0x4f 123

#	0x55 121

#	0x54 120

#zoom setup photo music file allapp

0x14 130

0x0a 131

#	0x49 144

#	0x0a 143

#	0x48 148

#

#	0x4d 146

#	0x0e 146

#	0x0f 145

0x15 145

#setting search subtitle audio miracast browser

0x0f 142

#	0x03 127

#	0x06 149

#	0x44 150

0x43 193

0x41 146

repeat_key_end

custom_end

custom_begin

factory_infcode = 5

factory_code	= 0xfd020001

mouse_begin

0 0x5d

1 0x5c

2 0x06

3 0x1f

mouse_end

key_begin

# < > dn up

0x5d 105

0x5c 106

0x1f 108

0x06 103

#ok back

0x1e 232

0x1b 158

#menu home

0x58 125

0x59 102

#v- mute v+

0x16 114

0x43 113

0x44 115

#power fn del

0x1a 116

0x0b 63

0x0c 14

#play << >>

0x55 119

0x54 121

0x17 120

#|<< >>|

0x14 122

0x1c 123

# 0 - 9

0x00 11

0x01 2

0x02 3

0x03 4

0x04 5

0x05 6

0x1d 7

0x07 8

0x08 9

0x09 10

#file tv web set

0x53 148

0x12 147

0x57 146

0x52 142

#PHOTO PAGE_UP PAGE_DOWN MUSIC

0x10 144

0x18 61

0x19 62

0x11 143

#info language miracast wifi

0x42 152

0x13 192

0x41 193

0x15 194

key_end

repeat_key_begin

# < > dn up

0x5d 105

0x5c 106

0x1f 108

0x06 103

#ok back

0x1e 232

0x1b 158

#menu home

0x58 125

0x59 102

#v- mute v+

0x16 114

0x43 113

0x44 115

#power fn del

0x1a 116

0x0b 63

0x0c 14

#play << >>

0x55 119

0x54 121

0x17 120

#|<< >>|

0x14 122

0x1c 123

# 0 - 9

0x00 11

0x01 2

0x02 3

0x03 4

0x04 5

0x05 6

0x1d 7

0x07 8

0x08 9

0x09 10

#file tv web set

0x53 148

0x12 147

0x57 146

0x52 142

#PHOTO PAGE_UP PAGE_DOWN MUSIC

0x10 144

0x18 61

0x19 62

0x11 143

#info language miracast wifi

0x42 152

0x13 192

0x41 193

0x15 194

repeat_key_end

custom_end

custom_begin

factory_infcode = 6

factory_code	= 0xdf000001

mouse_begin

0 0x47

1 0x07

2 0x1a

3 0x48

mouse_end

key_begin

# < > dn up

0x47 105

0x07 106

0x48 108

0x1a 103

#ok back

0x06 232

0x0a 158

#menu home

0x18 125

0x42 102

#v- mute v+

0x5c 114

0x5f 113

0x5d 115

#power fn del allapp browser

0x1c 116

0x03 63

0x10 14

0x01 145

0x41 146

#|<< >>|

0x4b 122

0x4f 123

# 0 - 9

0x0c 11

0x54 2

0x16 3

0x15 4

0x50 5

0x12 6

0x11 7

0x4c 8

0x0e 9

0x0d 10

key_end

repeat_key_begin

# < > dn up

0x47 105

0x07 106

0x48 108

0x1a 103

#ok back

0x06 232

0x0a 158

#menu home

0x18 125

0x42 102

#v- mute v+

0x5c 114

0x5f 113

0x5d 115

#power fn del allapp browser

0x1c 116

0x03 63

0x10 14

0x01 145

0x41 146

#|<< >>|

0x4b 122

0x4f 123

# 0 - 9

0x0c 11

0x54 2

0x16 3

0x15 4

0x50 5

0x12 6

0x11 7

0x4c 8

0x0e 9

0x0d 10

repeat_key_end

custom_end

custom_begin

factory_infcode = 7

factory_code	= 0x1dcc0001

mouse_begin

0 0x10

1 0x12

2 0x07

3 0x44

mouse_end

key_begin

# < > dn up

0x10 105

0x12 106

0x44 108

0x07 103

#ok back

0x11 232

0x0f 158

#menu home

0x40 125

0x03 102

#v- v+

0x02 114

0x0e 115

#power fn del tv allapp browser kodi

0x00 116

0x4c 63

0x4a 14

0x01 147

0x0d 145

0x09 146

0x05 193

#|<< >>|

0x06 122

0x0a 123

# 0 - 9

0x49 11

0x41 2

0x45 3

0x4d 4

0x42 5

0x46 6

0x4e 7

0x43 8

0x47 9

0x4f 10

key_end

repeat_key_begin

# < > dn up

0x10 105

0x12 106

0x44 108

0x07 103

#ok back

0x11 232

0x0f 158

#menu home

0x40 125

0x03 102

#v- v+

0x02 114

0x0e 115

#power fn del tv allapp browser kodi

0x00 116

0x4c 63

0x4a 14

0x01 147

0x0d 145

0x09 146

0x05 193

#|<< >>|

0x06 122

0x0a 123

# 0 - 9

0x49 11

0x41 2

0x45 3

0x4d 4

0x42 5

0x46 6

0x4e 7

0x43 8

0x47 9

0x4f 10

repeat_key_end

custom_end