Index: format/rom.format
===================================================================
--- /branch/keyboard/customer_FW/RY_project/RY_YC1028_2mode_3ch_Project/format/rom.format	(revision 1966)
+++ /branch/keyboard/customer_FW/RY_project/RY_YC1028_2mode_3ch_Project/format/rom.format	(working copy)
@@ -10063,6 +10063,12 @@
 1 mem_keyboard_led_blink_timer
 1 mem_led_status
 1 mem_led_blink_count
+1 mem_keyboard_device_poweron_timer_count
+1 mem_keyboard_led_blink_timer_init
+1 mem_keyboard_system_switch_led_blink_timer
+
+1 mem_g_led_control
+1 mem_g_led_send_byte
 )
 
 (
Index: output/eeprom.dat
===================================================================
--- /branch/keyboard/customer_FW/RY_project/RY_YC1028_2mode_3ch_Project/output/eeprom.dat	(revision 1966)
+++ /branch/keyboard/customer_FW/RY_project/RY_YC1028_2mode_3ch_Project/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-9a
+fe
 1f
 20
 20
@@ -315,7 +315,7 @@
 c0
 66
 05
-ff
+f0
 c0
 67
 85
@@ -343,15 +343,15 @@
 c0
 6c
 05
-f7
+e8
 c0
 6c
 85
-f9
+ea
 c0
 6d
 05
-fc
+ed
 c0
 6d
 80
@@ -375,15 +375,15 @@
 c0
 4e
 06
-d7
+c8
 c0
 4f
 06
-e1
+d2
 c0
 5d
 86
-e4
+d5
 c0
 6e
 00
@@ -863,11 +863,11 @@
 20
 20
 07
-c7
+e0
 20
 40
 07
-b9
+aa
 68
 48
 c9
@@ -1075,11 +1075,11 @@
 20
 40
 03
-62
+65
 20
 40
 03
-22
+25
 20
 20
 08
@@ -1791,11 +1791,11 @@
 20
 40
 02
-65
+68
 20
 40
 02
-ed
+f0
 6f
 e0
 cc
@@ -2111,7 +2111,7 @@
 24
 5a
 02
-79
+7c
 6f
 e0
 cd
@@ -2219,11 +2219,11 @@
 c0
 0d
 02
-58
+5b
 c0
 04
 02
-5e
+61
 20
 60
 00
@@ -2393,9 +2393,21 @@
 45
 09
 70
-4c
-16
-06
+4f
+d5
+01
+6f
+e0
+cf
+da
+67
+e0
+cf
+d9
+70
+4f
+d7
+03
 58
 00
 00
@@ -2463,59 +2475,59 @@
 c0
 23
 02
-7b
+7e
 c0
 25
 82
-81
+84
 c0
 27
 02
-87
+8a
 c0
 25
 02
-89
+8c
 c0
 26
 82
-8b
+8e
 c0
 52
 82
-8d
+90
 c0
 53
 02
-94
+97
 c0
 53
 82
-96
+99
 c0
 54
 02
-98
+9b
 c0
 54
 82
-9a
+9d
 c0
 55
 02
-a5
+a8
 c0
 56
 82
-ac
+af
 c0
 55
 82
-b3
+b6
 c0
 56
 02
-be
+c1
 20
 60
 00
@@ -2567,7 +2579,7 @@
 20
 20
 02
-c7
+ca
 70
 4d
 72
@@ -2591,7 +2603,7 @@
 20
 20
 02
-c7
+ca
 70
 4d
 72
@@ -2599,7 +2611,7 @@
 20
 20
 02
-82
+85
 70
 4d
 72
@@ -2607,7 +2619,7 @@
 20
 20
 02
-82
+85
 70
 4d
 72
@@ -2615,7 +2627,7 @@
 20
 20
 02
-82
+85
 70
 4d
 72
@@ -2631,11 +2643,11 @@
 c0
 00
 02
-c7
+ca
 c0
 00
 82
-c7
+ca
 70
 4d
 71
@@ -2643,7 +2655,7 @@
 20
 20
 02
-c7
+ca
 70
 4d
 72
@@ -2651,7 +2663,7 @@
 20
 20
 02
-8e
+91
 70
 4d
 72
@@ -2659,7 +2671,7 @@
 20
 20
 02
-8e
+91
 70
 4d
 72
@@ -2667,7 +2679,7 @@
 20
 20
 02
-8e
+91
 6f
 e0
 ce
@@ -2675,11 +2687,11 @@
 c0
 00
 02
-9f
+a2
 c0
 01
 82
-a2
+a5
 58
 00
 00
@@ -2699,7 +2711,7 @@
 20
 20
 02
-c7
+ca
 70
 4d
 71
@@ -2711,7 +2723,7 @@
 20
 20
 02
-c7
+ca
 6f
 e0
 ce
@@ -2719,7 +2731,7 @@
 c0
 00
 02
-a9
+ac
 58
 00
 00
@@ -2739,7 +2751,7 @@
 20
 20
 02
-c7
+ca
 6f
 e0
 ce
@@ -2747,7 +2759,7 @@
 c0
 01
 82
-b0
+b3
 58
 00
 00
@@ -2767,7 +2779,7 @@
 20
 20
 02
-c7
+ca
 6f
 e0
 ce
@@ -2775,11 +2787,11 @@
 c0
 00
 02
-ba
+bd
 c0
 00
 82
-bc
+bf
 70
 4d
 71
@@ -2791,11 +2803,11 @@
 20
 40
 02
-75
+78
 20
 20
 02
-c7
+ca
 70
 4d
 71
@@ -2803,7 +2815,7 @@
 20
 20
 02
-b7
+ba
 70
 4d
 71
@@ -2811,7 +2823,7 @@
 20
 20
 02
-b7
+ba
 6f
 e0
 ce
@@ -2819,11 +2831,11 @@
 c0
 00
 02
-c4
+c7
 c0
 00
 82
-c4
+c7
 70
 4d
 71
@@ -2835,7 +2847,7 @@
 20
 20
 02
-c7
+ca
 70
 4d
 71
@@ -2847,7 +2859,7 @@
 20
 20
 02
-c7
+ca
 70
 4c
 a2
@@ -2859,7 +2871,7 @@
 c3
 00
 02
-ce
+d1
 6f
 e0
 cd
@@ -2867,7 +2879,7 @@
 c0
 01
 82
-da
+dd
 70
 4d
 70
@@ -2911,7 +2923,7 @@
 20
 20
 06
-41
+32
 6f
 e0
 cd
@@ -2923,7 +2935,7 @@
 20
 40
 02
-d2
+d5
 70
 4d
 70
@@ -2947,7 +2959,7 @@
 20
 20
 02
-d2
+d5
 70
 4c
 01
@@ -2963,7 +2975,7 @@
 20
 40
 02
-d2
+d5
 6f
 e0
 cd
@@ -2971,7 +2983,7 @@
 20
 3a
 02
-d0
+d3
 70
 4d
 70
@@ -2983,7 +2995,7 @@
 20
 20
 02
-d4
+d7
 70
 4d
 70
@@ -2999,7 +3011,7 @@
 20
 20
 02
-d2
+d5
 6f
 e0
 cc
@@ -3014,8 +3026,8 @@
 00
 24
 21
-02
-fe
+03
+01
 1f
 e6
 7c
@@ -3023,7 +3035,7 @@
 24
 21
 03
-1b
+1e
 1f
 e1
 7e
@@ -3039,7 +3051,7 @@
 c2
 80
 02
-fb
+fe
 6f
 e0
 cc
@@ -3067,7 +3079,7 @@
 20
 20
 02
-f9
+fc
 70
 4c
 ad
@@ -3079,7 +3091,7 @@
 c2
 80
 03
-0f
+12
 68
 48
 cc
@@ -3103,7 +3115,7 @@
 24
 22
 83
-0d
+10
 ef
 e0
 80
@@ -3131,7 +3143,7 @@
 c2
 00
 03
-04
+07
 20
 60
 00
@@ -3155,7 +3167,7 @@
 20
 3a
 03
-18
+1b
 98
 46
 7c
@@ -3167,7 +3179,7 @@
 c2
 00
 03
-12
+15
 20
 60
 00
@@ -3199,11 +3211,11 @@
 20
 40
 83
+23
 20
 20
-20
-02
-fe
+03
+01
 70
 4d
 74
@@ -3267,11 +3279,11 @@
 c2
 00
 03
-2a
+2d
 20
 40
 05
-92
+91
 6f
 e0
 cd
@@ -3287,7 +3299,7 @@
 c0
 00
 05
-8a
+89
 6f
 e1
 4c
@@ -3331,19 +3343,19 @@
 c2
 80
 03
-43
+46
 c2
 80
 83
-53
+56
 20
 40
 03
-4d
+50
 20
 20
 03
-5c
+5f
 6f
 e0
 ce
@@ -3475,19 +3487,19 @@
 20
 40
 03
-6e
+71
 20
 40
 03
-85
+87
 20
 40
 03
-9c
+9d
 20
 34
 03
-6c
+6f
 6f
 e0
 ce
@@ -3539,7 +3551,7 @@
 20
 22
 83
-78
+7b
 18
 50
 84
@@ -3551,7 +3563,7 @@
 20
 22
 83
-78
+7b
 20
 60
 00
@@ -3592,19 +3604,15 @@
 4e
 9e
 01
-70
-4f
-d5
-01
-70
-4f
-d7
-01
 20
 40
 03
 b1
 20
+40
+05
+bb
+20
 60
 00
 00
@@ -3631,7 +3639,7 @@
 20
 22
 83
-8f
+91
 18
 50
 84
@@ -3643,7 +3651,7 @@
 20
 22
 83
-8f
+91
 20
 60
 00
@@ -3684,19 +3692,15 @@
 4e
 a0
 01
-70
-4f
-d5
-01
-70
-4f
-d7
-02
 20
 40
 03
 b1
 20
+40
+05
+bb
+20
 60
 00
 00
@@ -3723,7 +3727,7 @@
 20
 22
 83
-a6
+a7
 18
 50
 84
@@ -3735,7 +3739,7 @@
 20
 22
 83
-a6
+a7
 20
 60
 00
@@ -3776,14 +3780,10 @@
 4e
 a0
 01
-70
-4f
-d5
-01
-70
-4f
-d7
-03
+20
+40
+05
+bb
 70
 4f
 d4
@@ -3915,7 +3915,7 @@
 20
 40
 05
-df
+d2
 20
 20
 47
@@ -3951,7 +3951,7 @@
 20
 20
 07
-c7
+e0
 70
 4a
 d3
@@ -3986,8 +3986,8 @@
 1a
 20
 40
-05
-d1
+07
+d2
 20
 20
 3d
@@ -4693,9 +4693,9 @@
 ce
 bd
 2f
-e1
-f0
-08
+e0
+02
+01
 24
 60
 80
@@ -5311,7 +5311,7 @@
 20
 20
 07
-c7
+e0
 70
 4e
 af
@@ -5319,7 +5319,7 @@
 20
 20
 07
-c7
+e0
 70
 4e
 af
@@ -5327,7 +5327,7 @@
 20
 20
 07
-c7
+e0
 70
 4e
 af
@@ -5335,7 +5335,7 @@
 20
 20
 07
-c7
+e0
 20
 40
 05
@@ -5355,7 +5355,7 @@
 20
 20
 07
-c7
+e0
 df
 20
 00
@@ -5415,7 +5415,7 @@
 20
 20
 07
-c7
+e0
 70
 4e
 af
@@ -5423,7 +5423,7 @@
 20
 20
 07
-c7
+e0
 6f
 e0
 c9
@@ -5475,19 +5475,11 @@
 20
 40
 05
-ad
-20
-40
-05
-b7
-20
-40
-05
-bc
+ac
 20
 40
 05
-c8
+b6
 20
 40
 44
@@ -5495,7 +5487,7 @@
 20
 40
 05
-a3
+a2
 20
 40
 44
@@ -5503,7 +5495,7 @@
 20
 40
 05
-a7
+a6
 20
 40
 44
@@ -5511,11 +5503,11 @@
 20
 40
 05
-aa
+a9
 20
 40
 05
-a0
+9f
 20
 40
 44
@@ -5531,31 +5523,35 @@
 20
 40
 05
-d5
+ca
 20
 40
 05
-81
+80
 20
 40
 05
-e5
+d6
 20
 40
 05
-ea
+db
 20
 40
 03
-3c
+3f
 20
 40
 05
-6c
+6b
+20
+40
+05
+be
 20
 20
 05
-ed
+de
 da
 60
 4f
@@ -5563,15 +5559,19 @@
 da
 40
 05
-6f
+6e
 20
 20
 31
 cf
-70
-4f
+6f
+e0
+cf
+d9
+67
+e0
+cf
 d5
-03
 6f
 e0
 cf
@@ -5579,7 +5579,7 @@
 c0
 00
 85
-77
+76
 c0
 00
 05
@@ -5589,21 +5589,17 @@
 00
 00
 70
-80
-72
-3e
-70
 4f
 d6
 01
 20
-60
-00
-00
-70
-80
-72
-3f
+20
+07
+cd
+20
+40
+07
+d2
 70
 4f
 d6
@@ -5623,7 +5619,7 @@
 20
 3a
 05
-7e
+7d
 20
 60
 00
@@ -5659,7 +5655,7 @@
 c0
 00
 05
-88
+87
 da
 40
 03
@@ -5691,7 +5687,7 @@
 20
 22
 85
-9c
+9b
 18
 50
 84
@@ -5703,7 +5699,7 @@
 20
 22
 85
-9c
+9b
 20
 20
 44
@@ -5731,7 +5727,7 @@
 20
 22
 85
-9c
+9b
 18
 50
 84
@@ -5743,7 +5739,7 @@
 20
 22
 85
-9c
+9b
 20
 20
 44
@@ -5771,7 +5767,7 @@
 da
 40
 06
-f3
+e4
 20
 20
 31
@@ -5863,7 +5859,7 @@
 da
 40
 05
-ba
+b9
 20
 20
 31
@@ -5878,6 +5874,18 @@
 00
 6f
 e0
+cb
+d2
+67
+e0
+cf
+d8
+20
+60
+00
+00
+6f
+e0
 c4
 a9
 c3
@@ -5885,14 +5893,6 @@
 80
 00
 6f
-e0
-c9
-3f
-c0
-00
-47
-e8
-6f
 e4
 4b
 bd
@@ -5902,8 +5902,8 @@
 00
 6f
 e0
-cb
-b9
+cf
+d8
 20
 7a
 00
@@ -5914,76 +5914,24 @@
 ff
 67
 e0
-cb
-b9
+cf
+d8
 20
 3a
-48
-3c
-20
-20
-48
-4a
-6f
-e1
-4a
-c4
-20
-7a
-00
-00
-6f
-e0
-cc
-16
-20
-7a
-00
-00
-1f
-e0
-ff
-ff
-67
-e0
-cc
-16
-c2
-80
 05
-d0
-20
-20
-48
-3c
+c8
 20
 20
-48
-4a
-20
-40
-48
-3c
+07
+cd
 20
 40
 05
-df
-68
-48
-cc
-13
+7e
 20
 20
-48
-55
-6f
-e0
-cc
-11
-c1
-7f
-80
-00
+07
+d2
 6f
 e1
 4a
@@ -6015,15 +5963,11 @@
 20
 21
 05
-e1
-68
-48
-cc
-11
+d3
 20
 20
-5f
-89
+07
+d2
 6f
 e0
 cd
@@ -6031,15 +5975,11 @@
 c3
 00
 85
-df
-68
-48
-cc
-11
+d2
 20
 20
-5f
-8d
+07
+cb
 da
 60
 4c
@@ -6047,7 +5987,7 @@
 da
 40
 05
-e8
+d9
 20
 20
 31
@@ -6067,7 +6007,7 @@
 da
 40
 02
-d0
+d3
 20
 20
 31
@@ -6087,7 +6027,7 @@
 da
 40
 05
-f2
+e3
 20
 20
 31
@@ -6119,7 +6059,7 @@
 20
 20
 07
-c7
+e0
 58
 00
 00
@@ -6167,23 +6107,23 @@
 c0
 00
 82
-d7
+da
 c0
 01
 02
-dc
+df
 c0
 01
 82
-dc
+df
 c0
 02
 02
-e0
+e3
 c0
 03
 02
-e9
+ec
 6f
 e0
 cc
@@ -6191,7 +6131,7 @@
 20
 3a
 06
-18
+09
 1f
 e0
 ff
@@ -6203,7 +6143,7 @@
 20
 40
 06
-28
+19
 70
 4d
 5b
@@ -6219,7 +6159,7 @@
 c0
 02
 82
-e8
+eb
 d8
 a0
 4c
@@ -6235,7 +6175,7 @@
 20
 40
 06
-2b
+1c
 70
 4c
 0b
@@ -6307,7 +6247,7 @@
 20
 20
 06
-41
+32
 70
 41
 77
@@ -6327,7 +6267,7 @@
 c0
 01
 06
-9c
+8d
 d8
 c0
 4c
@@ -6347,11 +6287,11 @@
 24
 21
 06
-50
+41
 c2
 00
 06
-2f
+20
 6f
 e0
 cc
@@ -6359,7 +6299,7 @@
 20
 5a
 06
-46
+37
 70
 4c
 01
@@ -6375,7 +6315,7 @@
 20
 22
 86
-49
+3a
 d8
 c0
 4c
@@ -6395,7 +6335,7 @@
 c0
 3f
 86
-4e
+3f
 e7
 e0
 80
@@ -6403,7 +6343,7 @@
 c2
 00
 06
-3c
+2d
 67
 e1
 4c
@@ -6411,7 +6351,7 @@
 20
 40
 06
-a6
+97
 6f
 e0
 cc
@@ -6459,7 +6399,7 @@
 20
 20
 06
-41
+32
 58
 00
 00
@@ -6467,7 +6407,7 @@
 20
 20
 06
-3e
+2f
 70
 4c
 01
@@ -6483,103 +6423,103 @@
 20
 22
 86
-9c
+8d
 c0
 74
 06
-6c
+5d
 c0
 74
 86
-6e
+5f
 c0
 75
 06
-70
+61
 c0
 75
 86
-72
+63
 c0
 76
 06
-74
+65
 c0
 76
 86
-76
+67
 c0
 77
 06
-78
+69
 c0
 77
 86
-7a
+6b
 c0
 78
 06
-7c
+6d
 c0
 78
 86
-7e
+6f
 c0
 79
 06
-80
+71
 c0
 79
 86
-82
+73
 c0
 7a
 06
-84
+75
 c0
 7a
 86
-86
+77
 c0
 7b
 06
-88
+79
 c0
 7b
 86
-8a
+7b
 c0
 7c
 06
-8c
+7d
 c0
 7c
 86
-8e
+7f
 c0
 7d
 06
-90
+81
 c0
 7d
 86
-92
+83
 c0
 7e
 06
-94
+85
 c0
 7e
 86
-96
+87
 c0
 7f
 86
-a3
+94
 20
 20
 06
-41
+32
 58
 00
 01
@@ -6587,7 +6527,7 @@
 20
 20
 06
-40
+31
 58
 00
 00
@@ -6595,7 +6535,7 @@
 20
 20
 06
-40
+31
 58
 00
 00
@@ -6603,7 +6543,7 @@
 20
 20
 06
-40
+31
 58
 00
 00
@@ -6611,7 +6551,7 @@
 20
 20
 06
-40
+31
 58
 00
 00
@@ -6619,7 +6559,7 @@
 20
 20
 06
-40
+31
 58
 00
 00
@@ -6627,7 +6567,7 @@
 20
 20
 06
-40
+31
 58
 00
 00
@@ -6635,7 +6575,7 @@
 20
 20
 06
-40
+31
 58
 00
 00
@@ -6643,7 +6583,7 @@
 20
 20
 06
-40
+31
 58
 00
 01
@@ -6651,7 +6591,7 @@
 20
 20
 06
-40
+31
 58
 00
 01
@@ -6659,7 +6599,7 @@
 20
 20
 06
-40
+31
 58
 00
 01
@@ -6667,7 +6607,7 @@
 20
 20
 06
-40
+31
 58
 00
 00
@@ -6675,7 +6615,7 @@
 20
 20
 06
-40
+31
 58
 00
 00
@@ -6683,7 +6623,7 @@
 20
 20
 06
-40
+31
 58
 00
 02
@@ -6691,7 +6631,7 @@
 20
 20
 06
-40
+31
 58
 00
 02
@@ -6699,7 +6639,7 @@
 20
 20
 06
-40
+31
 58
 00
 02
@@ -6707,7 +6647,7 @@
 20
 20
 06
-40
+31
 58
 00
 02
@@ -6715,7 +6655,7 @@
 20
 20
 06
-40
+31
 58
 00
 02
@@ -6723,7 +6663,7 @@
 20
 20
 06
-40
+31
 58
 00
 02
@@ -6731,7 +6671,7 @@
 20
 20
 06
-40
+31
 58
 00
 02
@@ -6739,7 +6679,7 @@
 20
 20
 06
-40
+31
 58
 00
 00
@@ -6747,7 +6687,7 @@
 20
 20
 06
-40
+31
 6f
 e0
 ce
@@ -6755,7 +6695,7 @@
 c0
 00
 86
-9a
+8b
 58
 00
 01
@@ -6763,7 +6703,7 @@
 20
 20
 06
-40
+31
 58
 00
 03
@@ -6771,7 +6711,7 @@
 20
 20
 06
-40
+31
 70
 4c
 a1
@@ -6783,7 +6723,7 @@
 20
 5a
 06
-46
+37
 70
 4d
 74
@@ -6799,7 +6739,7 @@
 20
 20
 06
-41
+32
 70
 4c
 01
@@ -6811,7 +6751,7 @@
 20
 20
 06
-40
+31
 6f
 e0
 c9
@@ -6819,7 +6759,7 @@
 c0
 80
 06
-ad
+9e
 70
 4d
 58
@@ -6847,19 +6787,19 @@
 c0
 00
 06
-b8
+a9
 c0
 00
 86
-b3
+a4
 c0
 01
 86
-c1
+b2
 c0
 01
 06
-c9
+ba
 20
 60
 00
@@ -6891,7 +6831,7 @@
 20
 40
 06
-d1
+c2
 20
 40
 05
@@ -6927,7 +6867,7 @@
 20
 40
 06
-d1
+c2
 58
 00
 00
@@ -6959,7 +6899,7 @@
 20
 40
 06
-d1
+c2
 58
 00
 00
@@ -7067,7 +7007,7 @@
 c0
 02
 06
-e7
+d8
 20
 20
 19
@@ -7083,39 +7023,39 @@
 c0
 05
 07
-5d
+4e
 c0
 04
 07
-7d
+6e
 c0
 09
 07
-9f
+90
 c0
 29
 07
-b0
+a1
 c0
 06
 07
-48
+39
 c0
 05
 87
-40
+31
 c0
 04
 87
-27
+18
 c0
 03
-87
-01
+86
+f2
 c0
 00
-87
-0a
+86
+fb
 20
 20
 1c
@@ -7183,7 +7123,7 @@
 c0
 01
 07
-1b
+0c
 70
 4e
 55
@@ -7218,8 +7158,8 @@
 82
 c0
 01
-07
-05
+06
+f6
 70
 4e
 82
@@ -7359,7 +7299,7 @@
 20
 20
 07
-2f
+20
 18
 c0
 8c
@@ -7387,15 +7327,15 @@
 20
 22
 87
-38
+29
 c2
 00
 07
-2f
 20
 20
-07
-05
+20
+06
+f6
 da
 20
 00
@@ -7454,12 +7394,12 @@
 33
 20
 22
-87
-08
+86
+f9
 20
 20
-07
-05
+06
+f6
 ef
 e1
 00
@@ -7515,7 +7455,7 @@
 20
 20
 07
-56
+47
 d8
 c0
 4d
@@ -7555,7 +7495,7 @@
 c2
 81
 87
-77
+68
 6f
 e4
 4b
@@ -7563,11 +7503,11 @@
 c3
 0a
 07
-63
+54
 c3
 1d
 87
-65
+56
 6f
 e1
 44
@@ -7583,11 +7523,11 @@
 c0
 02
 87
-6f
+60
 c0
 08
 07
-72
+63
 68
 49
 44
@@ -7635,7 +7575,7 @@
 20
 3a
 07
-68
+59
 d8
 c0
 4e
@@ -7659,7 +7599,7 @@
 24
 22
 87
-60
+51
 20
 40
 1e
@@ -7667,7 +7607,7 @@
 24
 34
 07
-65
+56
 20
 20
 1d
@@ -7723,7 +7663,7 @@
 20
 22
 87
-8b
+7c
 20
 20
 1d
@@ -7827,7 +7767,7 @@
 20
 40
 07
-b1
+a2
 6f
 e0
 ca
@@ -7887,7 +7827,7 @@
 c0
 ff
 87
-b6
+a7
 6f
 e1
 44
@@ -7895,7 +7835,7 @@
 c0
 10
 87
-c5
+b6
 20
 60
 00
@@ -7907,7 +7847,7 @@
 c0
 12
 87
-c5
+b6
 20
 60
 00
@@ -7967,7 +7907,167 @@
 20
 20
 06
+c5
+70
+80
+72
+3e
+20
+00
+00
+9c
+20
+60
+00
+00
+70
+80
+72
+3e
+20
+00
+01
+a7
+70
+80
+72
+3f
+20
+00
+00
+b7
+20
+60
+00
+00
+70
+80
+72
+3e
+20
+00
+00
+b7
+70
+80
+72
+3f
+20
+00
+01
+a7
+20
+60
+00
+00
+58
+00
+00
+1b
+20
+20
+07
+d4
+58
+00
+00
+17
+20
+20
+07
+d4
+58
+00
+00
+0f
+20
+20
+07
+d4
+58
+00
+00
+1e
+20
+20
+07
+d4
+6f
+e0
+c9
+3f
+c0
+00
+07
+c5
+c0
+00
+87
+c7
+c0
+01
+07
+c9
+20
+60
+00
+00
+58
+00
+00
+1f
+20
+20
+07
 d4
+67
+e0
+cf
+dc
+df
+20
+00
+05
+20
+40
+07
+b8
+6f
+e0
+cf
+dc
+2f
+ef
+fe
+04
+20
+40
+87
+bb
+24
+40
+87
+c0
+6f
+e0
+cf
+dc
+1f
+e3
+fe
+00
+67
+e0
+cf
+dc
+c2
+00
+07
+d7
+20
+60
+00
+00
 68
 48
 ce
@@ -7987,7 +8087,7 @@
 20
 22
 87
-e4
+fd
 60
 48
 ce
@@ -8059,7 +8159,7 @@
 24
 22
 87
-d4
+ed
 58
 00
 0e
@@ -8092,8 +8192,8 @@
 20
 00
 01
-9e
-15
+3c
+4a
 aa
 55
 40
@@ -8840,6 +8940,13 @@
 1e
 aa
 55
+01
+00
+da
+4f
+03
+aa
+55
 02
 00
 08
@@ -8860,8 +8967,8 @@
 00
 d0
 4b
-70
-17
+b8
+0b
 aa
 55
 01
@@ -8971,9 +9078,9 @@
 52
 4d
 7f
-06
-29
-06
+ed
+7f
+e8
 aa
 55
 01
@@ -8989,13 +9096,13 @@
 4e
 01
 7f
-1e
+e8
 01
 7f
-1f
+ed
 01
 7f
-20
+ee
 01
 7f
 21
@@ -9269,7 +9376,7 @@
 01
 01
 01
-00
+01
 aa
 55
 01
@@ -9476,15 +9583,15 @@
 00
 b5
 4e
-10
+7b
 29
 00
 55
 aa
 aa
 55
-c3
-96
+1c
+9e
 ff
 20
 20
@@ -9557,7 +9664,7 @@
 20
 40
 85
-f5
+e6
 58
 00
 00
@@ -9573,7 +9680,7 @@
 20
 40
 05
-df
+d2
 70
 4e
 55
@@ -10010,10 +10117,6 @@
 60
 00
 00
-20
-40
-05
-bc
 6f
 e4
 4b
@@ -10021,7 +10124,7 @@
 c3
 0a
 00
-11
+10
 20
 40
 5f
@@ -10254,6 +10357,10 @@
 00
 00
 00
+00
+00
+00
+00
 20
 20
 00
@@ -10296,8 +10403,8 @@
 89
 20
 40
-05
-d1
+07
+d2
 20
 40
 00
@@ -10514,5 +10621,5 @@
 00
 00
 00
-af
-c7
+2a
+9e
Index: output/memmap.format
===================================================================
--- /branch/keyboard/customer_FW/RY_project/RY_YC1028_2mode_3ch_Project/output/memmap.format	(revision 1966)
+++ /branch/keyboard/customer_FW/RY_project/RY_YC1028_2mode_3ch_Project/output/memmap.format	(working copy)
@@ -2366,6 +2366,11 @@
 0x4fd5 mem_keyboard_led_blink_timer
 0x4fd6 mem_led_status
 0x4fd7 mem_led_blink_count
+0x4fd8 mem_keyboard_device_poweron_timer_count
+0x4fd9 mem_keyboard_led_blink_timer_init
+0x4fda mem_keyboard_system_switch_led_blink_timer
+0x4fdb mem_g_led_control
+0x4fdc mem_g_led_send_byte
 0x48d8 mem_remote_car_hard_soft_switch
 0x48d9 mem_remote_car_queue_each_size
 0x48da mem_remote_car_queue_length
Index: output/otp.dat
===================================================================
--- /branch/keyboard/customer_FW/RY_project/RY_YC1028_2mode_3ch_Project/output/otp.dat	(revision 1966)
+++ /branch/keyboard/customer_FW/RY_project/RY_YC1028_2mode_3ch_Project/output/otp.dat	(working copy)
@@ -2,7 +2,7 @@
 01
 aa
 55
-9a
+fe
 1f
 20
 20
@@ -315,7 +315,7 @@
 c0
 66
 05
-ff
+f0
 c0
 67
 85
@@ -343,15 +343,15 @@
 c0
 6c
 05
-f7
+e8
 c0
 6c
 85
-f9
+ea
 c0
 6d
 05
-fc
+ed
 c0
 6d
 80
@@ -375,15 +375,15 @@
 c0
 4e
 06
-d7
+c8
 c0
 4f
 06
-e1
+d2
 c0
 5d
 86
-e4
+d5
 c0
 6e
 00
@@ -863,11 +863,11 @@
 20
 20
 07
-c7
+e0
 20
 40
 07
-b9
+aa
 68
 48
 c9
@@ -1075,11 +1075,11 @@
 20
 40
 03
-62
+65
 20
 40
 03
-22
+25
 20
 20
 08
@@ -1791,11 +1791,11 @@
 20
 40
 02
-65
+68
 20
 40
 02
-ed
+f0
 6f
 e0
 cc
@@ -2111,7 +2111,7 @@
 24
 5a
 02
-79
+7c
 6f
 e0
 cd
@@ -2219,11 +2219,11 @@
 c0
 0d
 02
-58
+5b
 c0
 04
 02
-5e
+61
 20
 60
 00
@@ -2393,9 +2393,21 @@
 45
 09
 70
-4c
-16
-06
+4f
+d5
+01
+6f
+e0
+cf
+da
+67
+e0
+cf
+d9
+70
+4f
+d7
+03
 58
 00
 00
@@ -2463,59 +2475,59 @@
 c0
 23
 02
-7b
+7e
 c0
 25
 82
-81
+84
 c0
 27
 02
-87
+8a
 c0
 25
 02
-89
+8c
 c0
 26
 82
-8b
+8e
 c0
 52
 82
-8d
+90
 c0
 53
 02
-94
+97
 c0
 53
 82
-96
+99
 c0
 54
 02
-98
+9b
 c0
 54
 82
-9a
+9d
 c0
 55
 02
-a5
+a8
 c0
 56
 82
-ac
+af
 c0
 55
 82
-b3
+b6
 c0
 56
 02
-be
+c1
 20
 60
 00
@@ -2567,7 +2579,7 @@
 20
 20
 02
-c7
+ca
 70
 4d
 72
@@ -2591,7 +2603,7 @@
 20
 20
 02
-c7
+ca
 70
 4d
 72
@@ -2599,7 +2611,7 @@
 20
 20
 02
-82
+85
 70
 4d
 72
@@ -2607,7 +2619,7 @@
 20
 20
 02
-82
+85
 70
 4d
 72
@@ -2615,7 +2627,7 @@
 20
 20
 02
-82
+85
 70
 4d
 72
@@ -2631,11 +2643,11 @@
 c0
 00
 02
-c7
+ca
 c0
 00
 82
-c7
+ca
 70
 4d
 71
@@ -2643,7 +2655,7 @@
 20
 20
 02
-c7
+ca
 70
 4d
 72
@@ -2651,7 +2663,7 @@
 20
 20
 02
-8e
+91
 70
 4d
 72
@@ -2659,7 +2671,7 @@
 20
 20
 02
-8e
+91
 70
 4d
 72
@@ -2667,7 +2679,7 @@
 20
 20
 02
-8e
+91
 6f
 e0
 ce
@@ -2675,11 +2687,11 @@
 c0
 00
 02
-9f
+a2
 c0
 01
 82
-a2
+a5
 58
 00
 00
@@ -2699,7 +2711,7 @@
 20
 20
 02
-c7
+ca
 70
 4d
 71
@@ -2711,7 +2723,7 @@
 20
 20
 02
-c7
+ca
 6f
 e0
 ce
@@ -2719,7 +2731,7 @@
 c0
 00
 02
-a9
+ac
 58
 00
 00
@@ -2739,7 +2751,7 @@
 20
 20
 02
-c7
+ca
 6f
 e0
 ce
@@ -2747,7 +2759,7 @@
 c0
 01
 82
-b0
+b3
 58
 00
 00
@@ -2767,7 +2779,7 @@
 20
 20
 02
-c7
+ca
 6f
 e0
 ce
@@ -2775,11 +2787,11 @@
 c0
 00
 02
-ba
+bd
 c0
 00
 82
-bc
+bf
 70
 4d
 71
@@ -2791,11 +2803,11 @@
 20
 40
 02
-75
+78
 20
 20
 02
-c7
+ca
 70
 4d
 71
@@ -2803,7 +2815,7 @@
 20
 20
 02
-b7
+ba
 70
 4d
 71
@@ -2811,7 +2823,7 @@
 20
 20
 02
-b7
+ba
 6f
 e0
 ce
@@ -2819,11 +2831,11 @@
 c0
 00
 02
-c4
+c7
 c0
 00
 82
-c4
+c7
 70
 4d
 71
@@ -2835,7 +2847,7 @@
 20
 20
 02
-c7
+ca
 70
 4d
 71
@@ -2847,7 +2859,7 @@
 20
 20
 02
-c7
+ca
 70
 4c
 a2
@@ -2859,7 +2871,7 @@
 c3
 00
 02
-ce
+d1
 6f
 e0
 cd
@@ -2867,7 +2879,7 @@
 c0
 01
 82
-da
+dd
 70
 4d
 70
@@ -2911,7 +2923,7 @@
 20
 20
 06
-41
+32
 6f
 e0
 cd
@@ -2923,7 +2935,7 @@
 20
 40
 02
-d2
+d5
 70
 4d
 70
@@ -2947,7 +2959,7 @@
 20
 20
 02
-d2
+d5
 70
 4c
 01
@@ -2963,7 +2975,7 @@
 20
 40
 02
-d2
+d5
 6f
 e0
 cd
@@ -2971,7 +2983,7 @@
 20
 3a
 02
-d0
+d3
 70
 4d
 70
@@ -2983,7 +2995,7 @@
 20
 20
 02
-d4
+d7
 70
 4d
 70
@@ -2999,7 +3011,7 @@
 20
 20
 02
-d2
+d5
 6f
 e0
 cc
@@ -3014,8 +3026,8 @@
 00
 24
 21
-02
-fe
+03
+01
 1f
 e6
 7c
@@ -3023,7 +3035,7 @@
 24
 21
 03
-1b
+1e
 1f
 e1
 7e
@@ -3039,7 +3051,7 @@
 c2
 80
 02
-fb
+fe
 6f
 e0
 cc
@@ -3067,7 +3079,7 @@
 20
 20
 02
-f9
+fc
 70
 4c
 ad
@@ -3079,7 +3091,7 @@
 c2
 80
 03
-0f
+12
 68
 48
 cc
@@ -3103,7 +3115,7 @@
 24
 22
 83
-0d
+10
 ef
 e0
 80
@@ -3131,7 +3143,7 @@
 c2
 00
 03
-04
+07
 20
 60
 00
@@ -3155,7 +3167,7 @@
 20
 3a
 03
-18
+1b
 98
 46
 7c
@@ -3167,7 +3179,7 @@
 c2
 00
 03
-12
+15
 20
 60
 00
@@ -3199,11 +3211,11 @@
 20
 40
 83
+23
 20
 20
-20
-02
-fe
+03
+01
 70
 4d
 74
@@ -3267,11 +3279,11 @@
 c2
 00
 03
-2a
+2d
 20
 40
 05
-92
+91
 6f
 e0
 cd
@@ -3287,7 +3299,7 @@
 c0
 00
 05
-8a
+89
 6f
 e1
 4c
@@ -3331,19 +3343,19 @@
 c2
 80
 03
-43
+46
 c2
 80
 83
-53
+56
 20
 40
 03
-4d
+50
 20
 20
 03
-5c
+5f
 6f
 e0
 ce
@@ -3475,19 +3487,19 @@
 20
 40
 03
-6e
+71
 20
 40
 03
-85
+87
 20
 40
 03
-9c
+9d
 20
 34
 03
-6c
+6f
 6f
 e0
 ce
@@ -3539,7 +3551,7 @@
 20
 22
 83
-78
+7b
 18
 50
 84
@@ -3551,7 +3563,7 @@
 20
 22
 83
-78
+7b
 20
 60
 00
@@ -3592,19 +3604,15 @@
 4e
 9e
 01
-70
-4f
-d5
-01
-70
-4f
-d7
-01
 20
 40
 03
 b1
 20
+40
+05
+bb
+20
 60
 00
 00
@@ -3631,7 +3639,7 @@
 20
 22
 83
-8f
+91
 18
 50
 84
@@ -3643,7 +3651,7 @@
 20
 22
 83
-8f
+91
 20
 60
 00
@@ -3684,19 +3692,15 @@
 4e
 a0
 01
-70
-4f
-d5
-01
-70
-4f
-d7
-02
 20
 40
 03
 b1
 20
+40
+05
+bb
+20
 60
 00
 00
@@ -3723,7 +3727,7 @@
 20
 22
 83
-a6
+a7
 18
 50
 84
@@ -3735,7 +3739,7 @@
 20
 22
 83
-a6
+a7
 20
 60
 00
@@ -3776,14 +3780,10 @@
 4e
 a0
 01
-70
-4f
-d5
-01
-70
-4f
-d7
-03
+20
+40
+05
+bb
 70
 4f
 d4
@@ -3915,7 +3915,7 @@
 20
 40
 05
-df
+d2
 20
 20
 47
@@ -3951,7 +3951,7 @@
 20
 20
 07
-c7
+e0
 70
 4a
 d3
@@ -3986,8 +3986,8 @@
 1a
 20
 40
-05
-d1
+07
+d2
 20
 20
 3d
@@ -4693,9 +4693,9 @@
 ce
 bd
 2f
-e1
-f0
-08
+e0
+02
+01
 24
 60
 80
@@ -5311,7 +5311,7 @@
 20
 20
 07
-c7
+e0
 70
 4e
 af
@@ -5319,7 +5319,7 @@
 20
 20
 07
-c7
+e0
 70
 4e
 af
@@ -5327,7 +5327,7 @@
 20
 20
 07
-c7
+e0
 70
 4e
 af
@@ -5335,7 +5335,7 @@
 20
 20
 07
-c7
+e0
 20
 40
 05
@@ -5355,7 +5355,7 @@
 20
 20
 07
-c7
+e0
 df
 20
 00
@@ -5415,7 +5415,7 @@
 20
 20
 07
-c7
+e0
 70
 4e
 af
@@ -5423,7 +5423,7 @@
 20
 20
 07
-c7
+e0
 6f
 e0
 c9
@@ -5475,19 +5475,11 @@
 20
 40
 05
-ad
-20
-40
-05
-b7
-20
-40
-05
-bc
+ac
 20
 40
 05
-c8
+b6
 20
 40
 44
@@ -5495,7 +5487,7 @@
 20
 40
 05
-a3
+a2
 20
 40
 44
@@ -5503,7 +5495,7 @@
 20
 40
 05
-a7
+a6
 20
 40
 44
@@ -5511,11 +5503,11 @@
 20
 40
 05
-aa
+a9
 20
 40
 05
-a0
+9f
 20
 40
 44
@@ -5531,31 +5523,35 @@
 20
 40
 05
-d5
+ca
 20
 40
 05
-81
+80
 20
 40
 05
-e5
+d6
 20
 40
 05
-ea
+db
 20
 40
 03
-3c
+3f
 20
 40
 05
-6c
+6b
+20
+40
+05
+be
 20
 20
 05
-ed
+de
 da
 60
 4f
@@ -5563,15 +5559,19 @@
 da
 40
 05
-6f
+6e
 20
 20
 31
 cf
-70
-4f
+6f
+e0
+cf
+d9
+67
+e0
+cf
 d5
-03
 6f
 e0
 cf
@@ -5579,7 +5579,7 @@
 c0
 00
 85
-77
+76
 c0
 00
 05
@@ -5589,21 +5589,17 @@
 00
 00
 70
-80
-72
-3e
-70
 4f
 d6
 01
 20
-60
-00
-00
-70
-80
-72
-3f
+20
+07
+cd
+20
+40
+07
+d2
 70
 4f
 d6
@@ -5623,7 +5619,7 @@
 20
 3a
 05
-7e
+7d
 20
 60
 00
@@ -5659,7 +5655,7 @@
 c0
 00
 05
-88
+87
 da
 40
 03
@@ -5691,7 +5687,7 @@
 20
 22
 85
-9c
+9b
 18
 50
 84
@@ -5703,7 +5699,7 @@
 20
 22
 85
-9c
+9b
 20
 20
 44
@@ -5731,7 +5727,7 @@
 20
 22
 85
-9c
+9b
 18
 50
 84
@@ -5743,7 +5739,7 @@
 20
 22
 85
-9c
+9b
 20
 20
 44
@@ -5771,7 +5767,7 @@
 da
 40
 06
-f3
+e4
 20
 20
 31
@@ -5863,7 +5859,7 @@
 da
 40
 05
-ba
+b9
 20
 20
 31
@@ -5878,6 +5874,18 @@
 00
 6f
 e0
+cb
+d2
+67
+e0
+cf
+d8
+20
+60
+00
+00
+6f
+e0
 c4
 a9
 c3
@@ -5885,14 +5893,6 @@
 80
 00
 6f
-e0
-c9
-3f
-c0
-00
-47
-e8
-6f
 e4
 4b
 bd
@@ -5902,8 +5902,8 @@
 00
 6f
 e0
-cb
-b9
+cf
+d8
 20
 7a
 00
@@ -5914,76 +5914,24 @@
 ff
 67
 e0
-cb
-b9
+cf
+d8
 20
 3a
-48
-3c
-20
-20
-48
-4a
-6f
-e1
-4a
-c4
-20
-7a
-00
-00
-6f
-e0
-cc
-16
-20
-7a
-00
-00
-1f
-e0
-ff
-ff
-67
-e0
-cc
-16
-c2
-80
 05
-d0
-20
-20
-48
-3c
+c8
 20
 20
-48
-4a
-20
-40
-48
-3c
+07
+cd
 20
 40
 05
-df
-68
-48
-cc
-13
+7e
 20
 20
-48
-55
-6f
-e0
-cc
-11
-c1
-7f
-80
-00
+07
+d2
 6f
 e1
 4a
@@ -6015,15 +5963,11 @@
 20
 21
 05
-e1
-68
-48
-cc
-11
+d3
 20
 20
-5f
-89
+07
+d2
 6f
 e0
 cd
@@ -6031,15 +5975,11 @@
 c3
 00
 85
-df
-68
-48
-cc
-11
+d2
 20
 20
-5f
-8d
+07
+cb
 da
 60
 4c
@@ -6047,7 +5987,7 @@
 da
 40
 05
-e8
+d9
 20
 20
 31
@@ -6067,7 +6007,7 @@
 da
 40
 02
-d0
+d3
 20
 20
 31
@@ -6087,7 +6027,7 @@
 da
 40
 05
-f2
+e3
 20
 20
 31
@@ -6119,7 +6059,7 @@
 20
 20
 07
-c7
+e0
 58
 00
 00
@@ -6167,23 +6107,23 @@
 c0
 00
 82
-d7
+da
 c0
 01
 02
-dc
+df
 c0
 01
 82
-dc
+df
 c0
 02
 02
-e0
+e3
 c0
 03
 02
-e9
+ec
 6f
 e0
 cc
@@ -6191,7 +6131,7 @@
 20
 3a
 06
-18
+09
 1f
 e0
 ff
@@ -6203,7 +6143,7 @@
 20
 40
 06
-28
+19
 70
 4d
 5b
@@ -6219,7 +6159,7 @@
 c0
 02
 82
-e8
+eb
 d8
 a0
 4c
@@ -6235,7 +6175,7 @@
 20
 40
 06
-2b
+1c
 70
 4c
 0b
@@ -6307,7 +6247,7 @@
 20
 20
 06
-41
+32
 70
 41
 77
@@ -6327,7 +6267,7 @@
 c0
 01
 06
-9c
+8d
 d8
 c0
 4c
@@ -6347,11 +6287,11 @@
 24
 21
 06
-50
+41
 c2
 00
 06
-2f
+20
 6f
 e0
 cc
@@ -6359,7 +6299,7 @@
 20
 5a
 06
-46
+37
 70
 4c
 01
@@ -6375,7 +6315,7 @@
 20
 22
 86
-49
+3a
 d8
 c0
 4c
@@ -6395,7 +6335,7 @@
 c0
 3f
 86
-4e
+3f
 e7
 e0
 80
@@ -6403,7 +6343,7 @@
 c2
 00
 06
-3c
+2d
 67
 e1
 4c
@@ -6411,7 +6351,7 @@
 20
 40
 06
-a6
+97
 6f
 e0
 cc
@@ -6459,7 +6399,7 @@
 20
 20
 06
-41
+32
 58
 00
 00
@@ -6467,7 +6407,7 @@
 20
 20
 06
-3e
+2f
 70
 4c
 01
@@ -6483,103 +6423,103 @@
 20
 22
 86
-9c
+8d
 c0
 74
 06
-6c
+5d
 c0
 74
 86
-6e
+5f
 c0
 75
 06
-70
+61
 c0
 75
 86
-72
+63
 c0
 76
 06
-74
+65
 c0
 76
 86
-76
+67
 c0
 77
 06
-78
+69
 c0
 77
 86
-7a
+6b
 c0
 78
 06
-7c
+6d
 c0
 78
 86
-7e
+6f
 c0
 79
 06
-80
+71
 c0
 79
 86
-82
+73
 c0
 7a
 06
-84
+75
 c0
 7a
 86
-86
+77
 c0
 7b
 06
-88
+79
 c0
 7b
 86
-8a
+7b
 c0
 7c
 06
-8c
+7d
 c0
 7c
 86
-8e
+7f
 c0
 7d
 06
-90
+81
 c0
 7d
 86
-92
+83
 c0
 7e
 06
-94
+85
 c0
 7e
 86
-96
+87
 c0
 7f
 86
-a3
+94
 20
 20
 06
-41
+32
 58
 00
 01
@@ -6587,7 +6527,7 @@
 20
 20
 06
-40
+31
 58
 00
 00
@@ -6595,7 +6535,7 @@
 20
 20
 06
-40
+31
 58
 00
 00
@@ -6603,7 +6543,7 @@
 20
 20
 06
-40
+31
 58
 00
 00
@@ -6611,7 +6551,7 @@
 20
 20
 06
-40
+31
 58
 00
 00
@@ -6619,7 +6559,7 @@
 20
 20
 06
-40
+31
 58
 00
 00
@@ -6627,7 +6567,7 @@
 20
 20
 06
-40
+31
 58
 00
 00
@@ -6635,7 +6575,7 @@
 20
 20
 06
-40
+31
 58
 00
 00
@@ -6643,7 +6583,7 @@
 20
 20
 06
-40
+31
 58
 00
 01
@@ -6651,7 +6591,7 @@
 20
 20
 06
-40
+31
 58
 00
 01
@@ -6659,7 +6599,7 @@
 20
 20
 06
-40
+31
 58
 00
 01
@@ -6667,7 +6607,7 @@
 20
 20
 06
-40
+31
 58
 00
 00
@@ -6675,7 +6615,7 @@
 20
 20
 06
-40
+31
 58
 00
 00
@@ -6683,7 +6623,7 @@
 20
 20
 06
-40
+31
 58
 00
 02
@@ -6691,7 +6631,7 @@
 20
 20
 06
-40
+31
 58
 00
 02
@@ -6699,7 +6639,7 @@
 20
 20
 06
-40
+31
 58
 00
 02
@@ -6707,7 +6647,7 @@
 20
 20
 06
-40
+31
 58
 00
 02
@@ -6715,7 +6655,7 @@
 20
 20
 06
-40
+31
 58
 00
 02
@@ -6723,7 +6663,7 @@
 20
 20
 06
-40
+31
 58
 00
 02
@@ -6731,7 +6671,7 @@
 20
 20
 06
-40
+31
 58
 00
 02
@@ -6739,7 +6679,7 @@
 20
 20
 06
-40
+31
 58
 00
 00
@@ -6747,7 +6687,7 @@
 20
 20
 06
-40
+31
 6f
 e0
 ce
@@ -6755,7 +6695,7 @@
 c0
 00
 86
-9a
+8b
 58
 00
 01
@@ -6763,7 +6703,7 @@
 20
 20
 06
-40
+31
 58
 00
 03
@@ -6771,7 +6711,7 @@
 20
 20
 06
-40
+31
 70
 4c
 a1
@@ -6783,7 +6723,7 @@
 20
 5a
 06
-46
+37
 70
 4d
 74
@@ -6799,7 +6739,7 @@
 20
 20
 06
-41
+32
 70
 4c
 01
@@ -6811,7 +6751,7 @@
 20
 20
 06
-40
+31
 6f
 e0
 c9
@@ -6819,7 +6759,7 @@
 c0
 80
 06
-ad
+9e
 70
 4d
 58
@@ -6847,19 +6787,19 @@
 c0
 00
 06
-b8
+a9
 c0
 00
 86
-b3
+a4
 c0
 01
 86
-c1
+b2
 c0
 01
 06
-c9
+ba
 20
 60
 00
@@ -6891,7 +6831,7 @@
 20
 40
 06
-d1
+c2
 20
 40
 05
@@ -6927,7 +6867,7 @@
 20
 40
 06
-d1
+c2
 58
 00
 00
@@ -6959,7 +6899,7 @@
 20
 40
 06
-d1
+c2
 58
 00
 00
@@ -7067,7 +7007,7 @@
 c0
 02
 06
-e7
+d8
 20
 20
 19
@@ -7083,39 +7023,39 @@
 c0
 05
 07
-5d
+4e
 c0
 04
 07
-7d
+6e
 c0
 09
 07
-9f
+90
 c0
 29
 07
-b0
+a1
 c0
 06
 07
-48
+39
 c0
 05
 87
-40
+31
 c0
 04
 87
-27
+18
 c0
 03
-87
-01
+86
+f2
 c0
 00
-87
-0a
+86
+fb
 20
 20
 1c
@@ -7183,7 +7123,7 @@
 c0
 01
 07
-1b
+0c
 70
 4e
 55
@@ -7218,8 +7158,8 @@
 82
 c0
 01
-07
-05
+06
+f6
 70
 4e
 82
@@ -7359,7 +7299,7 @@
 20
 20
 07
-2f
+20
 18
 c0
 8c
@@ -7387,15 +7327,15 @@
 20
 22
 87
-38
+29
 c2
 00
 07
-2f
 20
 20
-07
-05
+20
+06
+f6
 da
 20
 00
@@ -7454,12 +7394,12 @@
 33
 20
 22
-87
-08
+86
+f9
 20
 20
-07
-05
+06
+f6
 ef
 e1
 00
@@ -7515,7 +7455,7 @@
 20
 20
 07
-56
+47
 d8
 c0
 4d
@@ -7555,7 +7495,7 @@
 c2
 81
 87
-77
+68
 6f
 e4
 4b
@@ -7563,11 +7503,11 @@
 c3
 0a
 07
-63
+54
 c3
 1d
 87
-65
+56
 6f
 e1
 44
@@ -7583,11 +7523,11 @@
 c0
 02
 87
-6f
+60
 c0
 08
 07
-72
+63
 68
 49
 44
@@ -7635,7 +7575,7 @@
 20
 3a
 07
-68
+59
 d8
 c0
 4e
@@ -7659,7 +7599,7 @@
 24
 22
 87
-60
+51
 20
 40
 1e
@@ -7667,7 +7607,7 @@
 24
 34
 07
-65
+56
 20
 20
 1d
@@ -7723,7 +7663,7 @@
 20
 22
 87
-8b
+7c
 20
 20
 1d
@@ -7827,7 +7767,7 @@
 20
 40
 07
-b1
+a2
 6f
 e0
 ca
@@ -7887,7 +7827,7 @@
 c0
 ff
 87
-b6
+a7
 6f
 e1
 44
@@ -7895,7 +7835,7 @@
 c0
 10
 87
-c5
+b6
 20
 60
 00
@@ -7907,7 +7847,7 @@
 c0
 12
 87
-c5
+b6
 20
 60
 00
@@ -7967,7 +7907,167 @@
 20
 20
 06
+c5
+70
+80
+72
+3e
+20
+00
+00
+9c
+20
+60
+00
+00
+70
+80
+72
+3e
+20
+00
+01
+a7
+70
+80
+72
+3f
+20
+00
+00
+b7
+20
+60
+00
+00
+70
+80
+72
+3e
+20
+00
+00
+b7
+70
+80
+72
+3f
+20
+00
+01
+a7
+20
+60
+00
+00
+58
+00
+00
+1b
+20
+20
+07
+d4
+58
+00
+00
+17
+20
+20
+07
+d4
+58
+00
+00
+0f
+20
+20
+07
+d4
+58
+00
+00
+1e
+20
+20
+07
+d4
+6f
+e0
+c9
+3f
+c0
+00
+07
+c5
+c0
+00
+87
+c7
+c0
+01
+07
+c9
+20
+60
+00
+00
+58
+00
+00
+1f
+20
+20
+07
 d4
+67
+e0
+cf
+dc
+df
+20
+00
+05
+20
+40
+07
+b8
+6f
+e0
+cf
+dc
+2f
+ef
+fe
+04
+20
+40
+87
+bb
+24
+40
+87
+c0
+6f
+e0
+cf
+dc
+1f
+e3
+fe
+00
+67
+e0
+cf
+dc
+c2
+00
+07
+d7
+20
+60
+00
+00
 68
 48
 ce
@@ -7987,7 +8087,7 @@
 20
 22
 87
-e4
+fd
 60
 48
 ce
@@ -8059,7 +8159,7 @@
 24
 22
 87
-d4
+ed
 58
 00
 0e
@@ -8092,8 +8192,8 @@
 20
 00
 01
-9e
-15
+3c
+4a
 aa
 55
 40
@@ -8840,6 +8940,13 @@
 1e
 aa
 55
+01
+00
+da
+4f
+03
+aa
+55
 02
 00
 08
@@ -8860,8 +8967,8 @@
 00
 d0
 4b
-70
-17
+b8
+0b
 aa
 55
 01
@@ -8971,9 +9078,9 @@
 52
 4d
 7f
-06
-29
-06
+ed
+7f
+e8
 aa
 55
 01
@@ -8989,13 +9096,13 @@
 4e
 01
 7f
-1e
+e8
 01
 7f
-1f
+ed
 01
 7f
-20
+ee
 01
 7f
 21
@@ -9269,7 +9376,7 @@
 01
 01
 01
-00
+01
 aa
 55
 01
@@ -9476,15 +9583,15 @@
 00
 b5
 4e
-10
+7b
 29
 00
 55
 aa
 aa
 55
-c3
-96
+1c
+9e
 ff
 20
 20
@@ -9557,7 +9664,7 @@
 20
 40
 85
-f5
+e6
 58
 00
 00
@@ -9573,7 +9680,7 @@
 20
 40
 05
-df
+d2
 70
 4e
 55
@@ -10010,10 +10117,6 @@
 60
 00
 00
-20
-40
-05
-bc
 6f
 e4
 4b
@@ -10021,7 +10124,7 @@
 c3
 0a
 00
-11
+10
 20
 40
 5f
@@ -10254,6 +10357,10 @@
 00
 00
 00
+00
+00
+00
+00
 20
 20
 00
@@ -10296,8 +10403,8 @@
 89
 20
 40
-05
-d1
+07
+d2
 20
 40
 00
@@ -10514,5 +10621,5 @@
 00
 00
 00
-af
-c7
+2a
+9e
Index: output/program.lis
===================================================================
--- /branch/keyboard/customer_FW/RY_project/RY_YC1028_2mode_3ch_Project/output/program.lis	(revision 1966)
+++ /branch/keyboard/customer_FW/RY_project/RY_YC1028_2mode_3ch_Project/output/program.lis	(working copy)
@@ -83,16 +83,16 @@
 004a c06303e0 beq patch18_6 ,p_mouse_before_hibernate 
 004b c06383e2 beq patch18_7 ,p_mouse_setgpio_hibernate 
 004c c06403e5 beq patch19_0 ,p_mouse_lpm_before_common 
-004d c06605ff beq patch19_4 ,p_keyboard_motion 
+004d c06605f0 beq patch19_4 ,p_keyboard_motion 
 004e c067851b beq patch19_7 ,p_mouse_check_key_gpio 
 004f c068851c beq patch1a_1 ,p_mouse_init_sunt 
 0050 c069051c beq patch1a_2 ,p_mouse_sensor_poweron 
 0051 c0698074 beq patch1a_3 ,p_mouse_buletooth_fast_conn_end 
 0052 c06a0524 beq patch1a_4 ,p_mouse_priority_bb_event 
 0053 c06b8551 beq patch1a_7 ,p_mouse_bb_event_timer 
-0054 c06c05f7 beq patch1b_0 ,p_mouse_start_discovery 
-0055 c06c85f9 beq patch1b_1 ,p_mouse_stop_discovery 
-0056 c06d05fc beq patch1b_2 ,p_mouse_store_remote_bdaddr 
+0054 c06c05e8 beq patch1b_0 ,p_mouse_start_discovery 
+0055 c06c85ea beq patch1b_1 ,p_mouse_stop_discovery 
+0056 c06d05ed beq patch1b_2 ,p_mouse_store_remote_bdaddr 
 0057 c06d80c0 beq patch1b_3 ,p_mouse_store_device_info 
 0058 c06e051d beq patch1b_4 ,p_mouse_idle 
 0059 2020137c branch loop 
@@ -100,9 +100,9 @@
 pf_patch_ext:
 005a c17f8000 rtneq patch3f_7 
 005b c0410520 beq patch30_2 ,p_ui_timer_check 
-005c c04e06d7 beq patch33_4 ,p_le_slave_match 
-005d c04f06e1 beq patch33_6 ,p_le_slave_unsync 
-005e c05d86e4 beq patch37_3 ,p_le_parse_l2cap 
+005c c04e06c8 beq patch33_4 ,p_le_slave_match 
+005d c04f06d2 beq patch33_6 ,p_le_slave_unsync 
+005e c05d86d5 beq patch37_3 ,p_le_parse_l2cap 
 005f c06e0077 beq patch3b_4 ,p_g24_receive_update_rxbuff 
 0060 c06f008c beq patch3b_6 ,p_g24_transmit 
 0061 c06f83fe beq patch3b_7 ,p_g24_pair_dispatch 
@@ -258,10 +258,10 @@
 p_mouse_setting_config:
 00d4 20758000 rtn wake 
 00d5 704eaf10 jam zcode_10 ,mem_zcode_temp_param0 
-00d6 202007c7 branch p_zcode_entrance 
+00d6 202007e0 branch p_zcode_entrance 
 
 p_keyboard_gpio_init:
-00d7 204007b9 call p_le_exchange_hid_map 
+00d7 204007aa call p_le_exchange_hid_map 
 00d8 6848c919 fetcht 1 ,mem_whee_a_data_gpio 
 00d9 20403e71 call mouse_gpio_config_input_pu 
 00da 6848c91a fetcht 1 ,mem_whee_b_data_gpio 
@@ -331,8 +331,8 @@
 p_main_loop:
 0109 2040010e call p_keyboard_keyscan 
 010a 20400199 call p_keyboard_key_process 
-010b 20400362 call p_keyboard_mode_key_switch_check 
-010c 20400322 call p_keyboard_special_key_check 
+010b 20400365 call p_keyboard_mode_key_switch_check 
+010c 20400325 call p_keyboard_special_key_check 
 010d 20200813 branch main_loop + 1 
 
 p_keyboard_keyscan:
@@ -564,8 +564,8 @@
 01bb efe08006 ifetch 1 ,contr 
 01bc 67e0cca2 store 1 ,mem_keyboard_keyvalue_temp 
 01bd 2040020d call p_keyboard_keyvalue_fn_replace 
-01be 20400265 call p_keyboard_keyvalue_commbination_replace 
-01bf 204002ed call p_keyboard_keyvalue_in_out 
+01be 20400268 call p_keyboard_keyvalue_commbination_replace 
+01bf 204002f0 call p_keyboard_keyvalue_in_out 
 
 p_keyboard_keyvalue_change_loop:
 01c0 6fe0cc93 fetch 1 ,mem_keyscan_value_temp 
@@ -664,7 +664,7 @@
 
 p_keyboard_keyvalue_fn_replace:
 020d 6fe0cca3 fetch 1 ,mem_keyboard_press_flag_temp 
-020e 245a0279 ncall p_keyboard_commbination_delay_release_clear ,blank 
+020e 245a027c ncall p_keyboard_commbination_delay_release_clear ,blank 
 020f 6fe0cd4e fetch 1 ,mem_keyboard_fn_flag 
 0210 245a0221 ncall p_keyboard_keyvalue_fn_replace_press ,blank 
 0211 6fe0cd5d fetch 1 ,mem_keyboard_fn_first 
@@ -693,8 +693,8 @@
 0226 c0700242 beq hid_key_left_ctrl ,p_keyboard_keyvalue_fn_left_ctrl 
 0227 c016024a beq hid_key_space ,p_keyboard_keyvalue_fn_space 
 0228 c00a024f beq hid_key_q ,p_keyboard_keyvalue_os_andriod 
-0229 c00d0258 beq hid_key_w ,p_keyboard_keyvalue_os_windows 
-022a c004025e beq hid_key_e ,p_keyboard_keyvalue_os_ios 
+0229 c00d025b beq hid_key_w ,p_keyboard_keyvalue_os_windows 
+022a c0040261 beq hid_key_e ,p_keyboard_keyvalue_os_ios 
 022b 20600000 rtn 
 
 p_keyboard_keyvalue_clear:
@@ -763,492 +763,492 @@
 0254 20404509 call mouse_store_device_info_delay 
 
 p_keyboard_keyvalue_clear_temp:
-0255 704c1606 jam 6 ,mem_keyboard_mode_led_on_timer 
-0256 58000000 setarg 0 
-0257 2020024d branch p_keyboard_keyvalue_store_temp 
+0255 704fd501 jam 1 ,mem_keyboard_led_blink_timer 
+0256 6fe0cfda fetch 1 ,mem_keyboard_system_switch_led_blink_timer 
+0257 67e0cfd9 store 1 ,mem_keyboard_led_blink_timer_init 
+0258 704fd703 jam 3 ,mem_led_blink_count 
+0259 58000000 setarg 0 
+025a 2020024d branch p_keyboard_keyvalue_store_temp 
 
 p_keyboard_keyvalue_os_windows:
-0258 6fe0cd6f fetch 1 ,mem_keyboard_fn_system_switch_enable_flag 
-0259 207a0000 rtn blank 
-025a 6fe0cca3 fetch 1 ,mem_keyboard_press_flag_temp 
-025b c300024e bbit0 0 ,p_keyboard_keyvalue_store_temp + 1 
-025c 704e5500 jam system_os_windows ,mem_kb_computer_system 
-025d 20200255 branch p_keyboard_keyvalue_clear_temp 
+025b 6fe0cd6f fetch 1 ,mem_keyboard_fn_system_switch_enable_flag 
+025c 207a0000 rtn blank 
+025d 6fe0cca3 fetch 1 ,mem_keyboard_press_flag_temp 
+025e c300024e bbit0 0 ,p_keyboard_keyvalue_store_temp + 1 
+025f 704e5500 jam system_os_windows ,mem_kb_computer_system 
+0260 20200255 branch p_keyboard_keyvalue_clear_temp 
 
 p_keyboard_keyvalue_os_ios:
-025e 6fe0cd6f fetch 1 ,mem_keyboard_fn_system_switch_enable_flag 
-025f 207a0000 rtn blank 
-0260 6fe0cca3 fetch 1 ,mem_keyboard_press_flag_temp 
-0261 c300024e bbit0 0 ,p_keyboard_keyvalue_store_temp + 1 
-0262 704e5502 jam system_os_ios ,mem_kb_computer_system 
-0263 20404509 call mouse_store_device_info_delay 
-0264 20200255 branch p_keyboard_keyvalue_clear_temp 
+0261 6fe0cd6f fetch 1 ,mem_keyboard_fn_system_switch_enable_flag 
+0262 207a0000 rtn blank 
+0263 6fe0cca3 fetch 1 ,mem_keyboard_press_flag_temp 
+0264 c300024e bbit0 0 ,p_keyboard_keyvalue_store_temp + 1 
+0265 704e5502 jam system_os_ios ,mem_kb_computer_system 
+0266 20404509 call mouse_store_device_info_delay 
+0267 20200255 branch p_keyboard_keyvalue_clear_temp 
 
 p_keyboard_keyvalue_commbination_replace:
-0265 6fe0cca2 fetch 1 ,mem_keyboard_keyvalue_temp 
-0266 c023027b beq hid_key_print_screen ,p_keyboard_commination_screen_shot_replace 
-0267 c0258281 beq hid_key_page_up ,p_keyboard_commination_pageup_replace 
-0268 c0270287 beq hid_key_page_down ,p_keyboard_commination_pagedown_replace 
-0269 c0250289 beq hid_key_home ,p_keyboard_commination_home_replace 
-026a c026828b beq hid_key_end ,p_keyboard_commination_end_replace 
-026b c052828d beq hid_key_select_all ,p_keyboard_commination_select_all 
-026c c0530294 beq hid_key_copy ,p_keyboard_commbination_copy 
-026d c0538296 beq hid_key_paste ,p_keyboard_commbination_paste 
-026e c0540298 beq hid_key_cut ,p_keyboard_commbination_cut 
-026f c054829a beq hid_key_all_os_lock ,p_keyboard_commination_os_lock 
-0270 c05502a5 beq hid_key_osk ,p_keyboard_commbination_osk 
-0271 c05682ac beq hid_key_search ,p_keyboard_commbination_search 
-0272 c05582b3 beq hid_key_language ,p_keyboard_commbination_language 
-0273 c05602be beq hid_key_app_tiling ,p_keyboard_commbination_app_tiling 
-0274 20600000 rtn 
+0268 6fe0cca2 fetch 1 ,mem_keyboard_keyvalue_temp 
+0269 c023027e beq hid_key_print_screen ,p_keyboard_commination_screen_shot_replace 
+026a c0258284 beq hid_key_page_up ,p_keyboard_commination_pageup_replace 
+026b c027028a beq hid_key_page_down ,p_keyboard_commination_pagedown_replace 
+026c c025028c beq hid_key_home ,p_keyboard_commination_home_replace 
+026d c026828e beq hid_key_end ,p_keyboard_commination_end_replace 
+026e c0528290 beq hid_key_select_all ,p_keyboard_commination_select_all 
+026f c0530297 beq hid_key_copy ,p_keyboard_commbination_copy 
+0270 c0538299 beq hid_key_paste ,p_keyboard_commbination_paste 
+0271 c054029b beq hid_key_cut ,p_keyboard_commbination_cut 
+0272 c054829d beq hid_key_all_os_lock ,p_keyboard_commination_os_lock 
+0273 c05502a8 beq hid_key_osk ,p_keyboard_commbination_osk 
+0274 c05682af beq hid_key_search ,p_keyboard_commbination_search 
+0275 c05582b6 beq hid_key_language ,p_keyboard_commbination_language 
+0276 c05602c1 beq hid_key_app_tiling ,p_keyboard_commbination_app_tiling 
+0277 20600000 rtn 
 
 p_keyboard_commbination_delay_release_set:
-0275 6fe0cca3 fetch 1 ,mem_keyboard_press_flag_temp 
-0276 c4000000 rtnbit0 0 
-0277 704d730a jam 10 ,mem_keyboard_commbination_control_key_delay_release_timer 
-0278 20600000 rtn 
+0278 6fe0cca3 fetch 1 ,mem_keyboard_press_flag_temp 
+0279 c4000000 rtnbit0 0 
+027a 704d730a jam 10 ,mem_keyboard_commbination_control_key_delay_release_timer 
+027b 20600000 rtn 
 
 p_keyboard_commbination_delay_release_clear:
-0279 704d7300 jam 0 ,mem_keyboard_commbination_control_key_delay_release_timer 
-027a 20600000 rtn 
+027c 704d7300 jam 0 ,mem_keyboard_commbination_control_key_delay_release_timer 
+027d 20600000 rtn 
 
 p_keyboard_commination_screen_shot_replace:
-027b 6fe0ce55 fetch 1 ,mem_kb_computer_system 
-027c c1000000 rtneq system_os_windows 
-027d c1008000 rtneq system_os_andriod 
-027e 704d710a jam left_shift_gui ,mem_keyboard_commbination_control_key_value 
-027f 704d7220 jam hid_key_3 ,mem_keyboard_commbination_standard_key_value 
-0280 202002c7 branch p_keyboard_commbination_keypress 
+027e 6fe0ce55 fetch 1 ,mem_kb_computer_system 
+027f c1000000 rtneq system_os_windows 
+0280 c1008000 rtneq system_os_andriod 
+0281 704d710a jam left_shift_gui ,mem_keyboard_commbination_control_key_value 
+0282 704d7220 jam hid_key_3 ,mem_keyboard_commbination_standard_key_value 
+0283 202002ca branch p_keyboard_commbination_keypress 
 
 p_keyboard_commination_pageup_replace:
-0281 704d7252 jam hid_key_up_arrow ,mem_keyboard_commbination_standard_key_value 
+0284 704d7252 jam hid_key_up_arrow ,mem_keyboard_commbination_standard_key_value 
 
 p_keyboard_commination_ios_mac_command_commiation:
-0282 6fe0ce55 fetch 1 ,mem_kb_computer_system 
-0283 c1000000 rtneq system_os_windows 
-0284 c1008000 rtneq system_os_andriod 
-0285 704d7108 jam left_gui ,mem_keyboard_commbination_control_key_value 
-0286 202002c7 branch p_keyboard_commbination_keypress 
+0285 6fe0ce55 fetch 1 ,mem_kb_computer_system 
+0286 c1000000 rtneq system_os_windows 
+0287 c1008000 rtneq system_os_andriod 
+0288 704d7108 jam left_gui ,mem_keyboard_commbination_control_key_value 
+0289 202002ca branch p_keyboard_commbination_keypress 
 
 p_keyboard_commination_pagedown_replace:
-0287 704d7251 jam hid_key_down_arrow ,mem_keyboard_commbination_standard_key_value 
-0288 20200282 branch p_keyboard_commination_ios_mac_command_commiation 
+028a 704d7251 jam hid_key_down_arrow ,mem_keyboard_commbination_standard_key_value 
+028b 20200285 branch p_keyboard_commination_ios_mac_command_commiation 
 
 p_keyboard_commination_home_replace:
-0289 704d7250 jam hid_key_left_arrow ,mem_keyboard_commbination_standard_key_value 
-028a 20200282 branch p_keyboard_commination_ios_mac_command_commiation 
+028c 704d7250 jam hid_key_left_arrow ,mem_keyboard_commbination_standard_key_value 
+028d 20200285 branch p_keyboard_commination_ios_mac_command_commiation 
 
 p_keyboard_commination_end_replace:
-028b 704d724f jam hid_key_right_arrow ,mem_keyboard_commbination_standard_key_value 
-028c 20200282 branch p_keyboard_commination_ios_mac_command_commiation 
+028e 704d724f jam hid_key_right_arrow ,mem_keyboard_commbination_standard_key_value 
+028f 20200285 branch p_keyboard_commination_ios_mac_command_commiation 
 
 p_keyboard_commination_select_all:
-028d 704d7204 jam hid_key_a ,mem_keyboard_commbination_standard_key_value 
+0290 704d7204 jam hid_key_a ,mem_keyboard_commbination_standard_key_value 
 
 p_keyboard_commbination_text_edit:
-028e 704d7101 jam left_control ,mem_keyboard_commbination_control_key_value 
-028f 6fe0ce55 fetch 1 ,mem_kb_computer_system 
-0290 c00002c7 beq system_os_windows ,p_keyboard_commbination_keypress 
-0291 c00082c7 beq system_os_andriod ,p_keyboard_commbination_keypress 
-0292 704d7108 jam left_gui ,mem_keyboard_commbination_control_key_value 
-0293 202002c7 branch p_keyboard_commbination_keypress 
+0291 704d7101 jam left_control ,mem_keyboard_commbination_control_key_value 
+0292 6fe0ce55 fetch 1 ,mem_kb_computer_system 
+0293 c00002ca beq system_os_windows ,p_keyboard_commbination_keypress 
+0294 c00082ca beq system_os_andriod ,p_keyboard_commbination_keypress 
+0295 704d7108 jam left_gui ,mem_keyboard_commbination_control_key_value 
+0296 202002ca branch p_keyboard_commbination_keypress 
 
 p_keyboard_commbination_copy:
-0294 704d7206 jam hid_key_c ,mem_keyboard_commbination_standard_key_value 
-0295 2020028e branch p_keyboard_commbination_text_edit 
+0297 704d7206 jam hid_key_c ,mem_keyboard_commbination_standard_key_value 
+0298 20200291 branch p_keyboard_commbination_text_edit 
 
 p_keyboard_commbination_paste:
-0296 704d7219 jam hid_key_v ,mem_keyboard_commbination_standard_key_value 
-0297 2020028e branch p_keyboard_commbination_text_edit 
+0299 704d7219 jam hid_key_v ,mem_keyboard_commbination_standard_key_value 
+029a 20200291 branch p_keyboard_commbination_text_edit 
 
 p_keyboard_commbination_cut:
-0298 704d721b jam hid_key_x ,mem_keyboard_commbination_standard_key_value 
-0299 2020028e branch p_keyboard_commbination_text_edit 
+029b 704d721b jam hid_key_x ,mem_keyboard_commbination_standard_key_value 
+029c 20200291 branch p_keyboard_commbination_text_edit 
 
 p_keyboard_commination_os_lock:
-029a 6fe0ce55 fetch 1 ,mem_kb_computer_system 
-029b c000029f beq system_os_windows ,p_keyboard_commination_windows_lock 
-029c c00182a2 beq system_os_mac ,p_keyboard_commination_mac_lock 
-029d 580000fc setarg hid_key_ios_android_os_lock 
-029e 2020024d branch p_keyboard_keyvalue_store_temp 
+029d 6fe0ce55 fetch 1 ,mem_kb_computer_system 
+029e c00002a2 beq system_os_windows ,p_keyboard_commination_windows_lock 
+029f c00182a5 beq system_os_mac ,p_keyboard_commination_mac_lock 
+02a0 580000fc setarg hid_key_ios_android_os_lock 
+02a1 2020024d branch p_keyboard_keyvalue_store_temp 
 
 p_keyboard_commination_windows_lock:
-029f 704d7108 jam left_gui ,mem_keyboard_commbination_control_key_value 
-02a0 704d720f jam hid_key_l ,mem_keyboard_commbination_standard_key_value 
-02a1 202002c7 branch p_keyboard_commbination_keypress 
+02a2 704d7108 jam left_gui ,mem_keyboard_commbination_control_key_value 
+02a3 704d720f jam hid_key_l ,mem_keyboard_commbination_standard_key_value 
+02a4 202002ca branch p_keyboard_commbination_keypress 
 
 p_keyboard_commination_mac_lock:
-02a2 704d7109 jam left_gui_control ,mem_keyboard_commbination_control_key_value 
-02a3 704d7214 jam hid_key_q ,mem_keyboard_commbination_standard_key_value 
-02a4 202002c7 branch p_keyboard_commbination_keypress 
+02a5 704d7109 jam left_gui_control ,mem_keyboard_commbination_control_key_value 
+02a6 704d7214 jam hid_key_q ,mem_keyboard_commbination_standard_key_value 
+02a7 202002ca branch p_keyboard_commbination_keypress 
 
 p_keyboard_commbination_osk:
-02a5 6fe0ce55 fetch 1 ,mem_kb_computer_system 
-02a6 c00002a9 beq system_os_windows ,p_keyboard_commbination_windows_osk 
-02a7 580000fd setarg hid_key_os_soft_kb 
-02a8 2020024d branch p_keyboard_keyvalue_store_temp 
+02a8 6fe0ce55 fetch 1 ,mem_kb_computer_system 
+02a9 c00002ac beq system_os_windows ,p_keyboard_commbination_windows_osk 
+02aa 580000fd setarg hid_key_os_soft_kb 
+02ab 2020024d branch p_keyboard_keyvalue_store_temp 
 
 p_keyboard_commbination_windows_osk:
-02a9 704d7109 jam left_gui_control ,mem_keyboard_commbination_control_key_value 
-02aa 704d7212 jam hid_key_o ,mem_keyboard_commbination_standard_key_value 
-02ab 202002c7 branch p_keyboard_commbination_keypress 
+02ac 704d7109 jam left_gui_control ,mem_keyboard_commbination_control_key_value 
+02ad 704d7212 jam hid_key_o ,mem_keyboard_commbination_standard_key_value 
+02ae 202002ca branch p_keyboard_commbination_keypress 
 
 p_keyboard_commbination_search:
-02ac 6fe0ce55 fetch 1 ,mem_kb_computer_system 
-02ad c00182b0 beq system_os_mac ,p_keyboard_commbination_mac_search 
-02ae 580000fa setarg hid_key_ac_search 
-02af 2020024d branch p_keyboard_keyvalue_store_temp 
+02af 6fe0ce55 fetch 1 ,mem_kb_computer_system 
+02b0 c00182b3 beq system_os_mac ,p_keyboard_commbination_mac_search 
+02b1 580000fa setarg hid_key_ac_search 
+02b2 2020024d branch p_keyboard_keyvalue_store_temp 
 
 p_keyboard_commbination_mac_search:
-02b0 704d7108 jam left_gui ,mem_keyboard_commbination_control_key_value 
-02b1 704d722c jam hid_key_space ,mem_keyboard_commbination_standard_key_value 
-02b2 202002c7 branch p_keyboard_commbination_keypress 
+02b3 704d7108 jam left_gui ,mem_keyboard_commbination_control_key_value 
+02b4 704d722c jam hid_key_space ,mem_keyboard_commbination_standard_key_value 
+02b5 202002ca branch p_keyboard_commbination_keypress 
 
 p_keyboard_commbination_language:
-02b3 6fe0ce55 fetch 1 ,mem_kb_computer_system 
-02b4 c00002ba beq system_os_windows ,p_keyboard_commbination_language_windows 
-02b5 c00082bc beq system_os_andriod ,p_keyboard_commbination_language_andriod 
-02b6 704d7101 jam left_control ,mem_keyboard_commbination_control_key_value 
+02b6 6fe0ce55 fetch 1 ,mem_kb_computer_system 
+02b7 c00002bd beq system_os_windows ,p_keyboard_commbination_language_windows 
+02b8 c00082bf beq system_os_andriod ,p_keyboard_commbination_language_andriod 
+02b9 704d7101 jam left_control ,mem_keyboard_commbination_control_key_value 
 
 p_keyboard_commbination_language_next:
-02b7 704d722c jam hid_key_space ,mem_keyboard_commbination_standard_key_value 
-02b8 20400275 call p_keyboard_commbination_delay_release_set 
-02b9 202002c7 branch p_keyboard_commbination_keypress 
+02ba 704d722c jam hid_key_space ,mem_keyboard_commbination_standard_key_value 
+02bb 20400278 call p_keyboard_commbination_delay_release_set 
+02bc 202002ca branch p_keyboard_commbination_keypress 
 
 p_keyboard_commbination_language_windows:
-02ba 704d7108 jam left_gui ,mem_keyboard_commbination_control_key_value 
-02bb 202002b7 branch p_keyboard_commbination_language_next 
+02bd 704d7108 jam left_gui ,mem_keyboard_commbination_control_key_value 
+02be 202002ba branch p_keyboard_commbination_language_next 
 
 p_keyboard_commbination_language_andriod:
-02bc 704d7102 jam left_shift ,mem_keyboard_commbination_control_key_value 
-02bd 202002b7 branch p_keyboard_commbination_language_next 
+02bf 704d7102 jam left_shift ,mem_keyboard_commbination_control_key_value 
+02c0 202002ba branch p_keyboard_commbination_language_next 
 
 p_keyboard_commbination_app_tiling:
-02be 6fe0ce55 fetch 1 ,mem_kb_computer_system 
-02bf c00002c4 beq system_os_windows ,p_keyboard_commbination_app_tiling_windows_android 
-02c0 c00082c4 beq system_os_andriod ,p_keyboard_commbination_app_tiling_windows_android 
-02c1 704d7101 jam left_control ,mem_keyboard_commbination_control_key_value 
-02c2 704d7252 jam hid_key_up_arrow ,mem_keyboard_commbination_standard_key_value 
-02c3 202002c7 branch p_keyboard_commbination_keypress 
+02c1 6fe0ce55 fetch 1 ,mem_kb_computer_system 
+02c2 c00002c7 beq system_os_windows ,p_keyboard_commbination_app_tiling_windows_android 
+02c3 c00082c7 beq system_os_andriod ,p_keyboard_commbination_app_tiling_windows_android 
+02c4 704d7101 jam left_control ,mem_keyboard_commbination_control_key_value 
+02c5 704d7252 jam hid_key_up_arrow ,mem_keyboard_commbination_standard_key_value 
+02c6 202002ca branch p_keyboard_commbination_keypress 
 
 p_keyboard_commbination_app_tiling_windows_android:
-02c4 704d7108 jam left_gui ,mem_keyboard_commbination_control_key_value 
-02c5 704d722b jam hid_key_tab ,mem_keyboard_commbination_standard_key_value 
-02c6 202002c7 branch p_keyboard_commbination_keypress 
+02c7 704d7108 jam left_gui ,mem_keyboard_commbination_control_key_value 
+02c8 704d722b jam hid_key_tab ,mem_keyboard_commbination_standard_key_value 
+02c9 202002ca branch p_keyboard_commbination_keypress 
 
 p_keyboard_commbination_keypress:
-02c7 704ca200 jam 0 ,mem_keyboard_keyvalue_temp 
-02c8 6fe0cca3 fetch 1 ,mem_keyboard_press_flag_temp 
-02c9 c30002ce bbit0 0 ,p_keyboard_commbination_key_wait_release_set 
-02ca 6fe0cd70 fetch 1 ,mem_keyboard_commbination_key_step 
-02cb c00182da beq cammbination_key_complete ,p_keyboard_commbination_key_hold_set 
+02ca 704ca200 jam 0 ,mem_keyboard_keyvalue_temp 
+02cb 6fe0cca3 fetch 1 ,mem_keyboard_press_flag_temp 
+02cc c30002d1 bbit0 0 ,p_keyboard_commbination_key_wait_release_set 
+02cd 6fe0cd70 fetch 1 ,mem_keyboard_commbination_key_step 
+02ce c00182dd beq cammbination_key_complete ,p_keyboard_commbination_key_hold_set 
 
 p_keyboard_commbination_key_press_set:
-02cc 704d7001 jam cammbination_key_press ,mem_keyboard_commbination_key_step 
-02cd 20600000 rtn 
+02cf 704d7001 jam cammbination_key_press ,mem_keyboard_commbination_key_step 
+02d0 20600000 rtn 
 
 p_keyboard_commbination_key_wait_release_set:
-02ce 704d7004 jam cammbination_key_wait_release ,mem_keyboard_commbination_key_step 
-02cf 20600000 rtn 
+02d1 704d7004 jam cammbination_key_wait_release ,mem_keyboard_commbination_key_step 
+02d2 20600000 rtn 
 
 p_keyboard_commbination_key_null_set:
-02d0 704d7006 jam cammbination_key_null ,mem_keyboard_commbination_key_step 
-02d1 20600000 rtn 
+02d3 704d7006 jam cammbination_key_null ,mem_keyboard_commbination_key_step 
+02d4 20600000 rtn 
 
 p_keyboard_commbination_key_value_store:
-02d2 67e0cc02 store 1 ,mem_keyboard_tx_data + 1 
-02d3 6048cc04 storet 1 ,mem_keyboard_tx_data + 3 
-02d4 20407d92 call enable_user 
-02d5 704c0100 jam hid_reportid_key_standard ,mem_keyboard_tx_data 
-02d6 20200641 branch p_keyboard_motion_data_check_next 
+02d5 67e0cc02 store 1 ,mem_keyboard_tx_data + 1 
+02d6 6048cc04 storet 1 ,mem_keyboard_tx_data + 3 
+02d7 20407d92 call enable_user 
+02d8 704c0100 jam hid_reportid_key_standard ,mem_keyboard_tx_data 
+02d9 20200632 branch p_keyboard_motion_data_check_next 
 
 p_keyboard_commbination_key_press_process:
-02d7 6fe0cd71 fetch 1 ,mem_keyboard_commbination_control_key_value 
-02d8 d8400000 arg 0 ,temp 
-02d9 204002d2 call p_keyboard_commbination_key_value_store 
+02da 6fe0cd71 fetch 1 ,mem_keyboard_commbination_control_key_value 
+02db d8400000 arg 0 ,temp 
+02dc 204002d5 call p_keyboard_commbination_key_value_store 
 
 p_keyboard_commbination_key_hold_set:
-02da 704d7002 jam cammbination_key_hold ,mem_keyboard_commbination_key_step 
-02db 20600000 rtn 
+02dd 704d7002 jam cammbination_key_hold ,mem_keyboard_commbination_key_step 
+02de 20600000 rtn 
 
 p_keyboard_commbination_key_hold_process:
-02dc 704d7003 jam cammbination_key_complete ,mem_keyboard_commbination_key_step 
-02dd 6fe0cd71 fetch 1 ,mem_keyboard_commbination_control_key_value 
-02de 6848cd72 fetcht 1 ,mem_keyboard_commbination_standard_key_value 
-02df 202002d2 branch p_keyboard_commbination_key_value_store 
+02df 704d7003 jam cammbination_key_complete ,mem_keyboard_commbination_key_step 
+02e0 6fe0cd71 fetch 1 ,mem_keyboard_commbination_control_key_value 
+02e1 6848cd72 fetcht 1 ,mem_keyboard_commbination_standard_key_value 
+02e2 202002d5 branch p_keyboard_commbination_key_value_store 
 
 p_keyboard_commbination_key_wait_release_process:
-02e0 704c0100 jam hid_reportid_key_standard ,mem_keyboard_tx_data 
-02e1 6fe0cd71 fetch 1 ,mem_keyboard_commbination_control_key_value 
-02e2 d8400000 arg 0 ,temp 
-02e3 204002d2 call p_keyboard_commbination_key_value_store 
-02e4 6fe0cd73 fetch 1 ,mem_keyboard_commbination_control_key_delay_release_timer 
-02e5 203a02d0 branch p_keyboard_commbination_key_null_set ,blank 
+02e3 704c0100 jam hid_reportid_key_standard ,mem_keyboard_tx_data 
+02e4 6fe0cd71 fetch 1 ,mem_keyboard_commbination_control_key_value 
+02e5 d8400000 arg 0 ,temp 
+02e6 204002d5 call p_keyboard_commbination_key_value_store 
+02e7 6fe0cd73 fetch 1 ,mem_keyboard_commbination_control_key_delay_release_timer 
+02e8 203a02d3 branch p_keyboard_commbination_key_null_set ,blank 
 
 p_keyboard_commbination_key_release_set:
-02e6 704d7005 jam cammbination_key_release ,mem_keyboard_commbination_key_step 
-02e7 20600000 rtn 
+02e9 704d7005 jam cammbination_key_release ,mem_keyboard_commbination_key_step 
+02ea 20600000 rtn 
 
 p_keyboard_commbination_key_release_process:
-02e8 202002d4 branch p_keyboard_commbination_key_value_store + 2 
+02eb 202002d7 branch p_keyboard_commbination_key_value_store + 2 
 
 p_keyboard_commbination_key_null_process:
-02e9 704d7000 jam cammbination_key_free ,mem_keyboard_commbination_key_step 
-02ea dfe00000 arg 0 ,pdata 
-02eb d8400000 arg 0 ,temp 
-02ec 202002d2 branch p_keyboard_commbination_key_value_store 
+02ec 704d7000 jam cammbination_key_free ,mem_keyboard_commbination_key_step 
+02ed dfe00000 arg 0 ,pdata 
+02ee d8400000 arg 0 ,temp 
+02ef 202002d5 branch p_keyboard_commbination_key_value_store 
 
 p_keyboard_keyvalue_in_out:
-02ed 6fe0cca2 fetch 1 ,mem_keyboard_keyvalue_temp 
-02ee d84000e0 arg hid_key_left_ctrl ,temp 
-02ef 98467c00 isub temp ,null 
-02f0 242102fe nbranch p_keyboard_keyvalue_standard ,positive 
-02f1 1fe67ce7 sub pdata ,hid_key_right_gui ,null 
-02f2 2421031b nbranch p_keyboard_keyvalue_consumer ,positive 
-02f3 1fe17e07 and_into 0x07 ,pdata 
-02f4 1fe20e00 copy pdata ,queue 
-02f5 6fe0cca3 fetch 1 ,mem_keyboard_press_flag_temp 
-02f6 c28002fb bbit1 0 ,p_keyboard_keyvalue_control_key_in 
+02f0 6fe0cca2 fetch 1 ,mem_keyboard_keyvalue_temp 
+02f1 d84000e0 arg hid_key_left_ctrl ,temp 
+02f2 98467c00 isub temp ,null 
+02f3 24210301 nbranch p_keyboard_keyvalue_standard ,positive 
+02f4 1fe67ce7 sub pdata ,hid_key_right_gui ,null 
+02f5 2421031e nbranch p_keyboard_keyvalue_consumer ,positive 
+02f6 1fe17e07 and_into 0x07 ,pdata 
+02f7 1fe20e00 copy pdata ,queue 
+02f8 6fe0cca3 fetch 1 ,mem_keyboard_press_flag_temp 
+02f9 c28002fe bbit1 0 ,p_keyboard_keyvalue_control_key_in 
 
 p_keyboard_keyvalue_control_key_out:
-02f7 6fe0cca5 fetch 1 ,mem_keyboard_keyvalue_buffer 
-02f8 f93ffe00 qset0 pdata 
+02fa 6fe0cca5 fetch 1 ,mem_keyboard_keyvalue_buffer 
+02fb f93ffe00 qset0 pdata 
 
 p_keyboard_keyvalue_buffer_store:
-02f9 67e0cca5 store 1 ,mem_keyboard_keyvalue_buffer 
-02fa 20600000 rtn 
+02fc 67e0cca5 store 1 ,mem_keyboard_keyvalue_buffer 
+02fd 20600000 rtn 
 
 p_keyboard_keyvalue_control_key_in:
-02fb 6fe0cca5 fetch 1 ,mem_keyboard_keyvalue_buffer 
-02fc f9207e00 qset1 pdata 
-02fd 202002f9 branch p_keyboard_keyvalue_buffer_store 
+02fe 6fe0cca5 fetch 1 ,mem_keyboard_keyvalue_buffer 
+02ff f9207e00 qset1 pdata 
+0300 202002fc branch p_keyboard_keyvalue_buffer_store 
 
 p_keyboard_keyvalue_standard:
-02fe 704cad00 jam 0 ,mem_keyboard_keyvalue_buffer + 8 
-02ff 6fe0cca3 fetch 1 ,mem_keyboard_press_flag_temp 
-0300 c280030f bbit1 0 ,p_keyboard_keyvalue_standard_in 
+0301 704cad00 jam 0 ,mem_keyboard_keyvalue_buffer + 8 
+0302 6fe0cca3 fetch 1 ,mem_keyboard_press_flag_temp 
+0303 c2800312 bbit1 0 ,p_keyboard_keyvalue_standard_in 
 
 p_keyboard_keyvalue_standard_out:
-0301 6848cca2 fetcht 1 ,mem_keyboard_keyvalue_temp 
-0302 df200006 arg 6 ,loopcnt 
-0303 d8c04ca7 arg mem_keyboard_keyvalue_buffer + 2 ,contr 
+0304 6848cca2 fetcht 1 ,mem_keyboard_keyvalue_temp 
+0305 df200006 arg 6 ,loopcnt 
+0306 d8c04ca7 arg mem_keyboard_keyvalue_buffer + 2 ,contr 
 
 p_keyboard_keyvalue_standard_out_loop:
-0304 efe08006 ifetch 1 ,contr 
-0305 98467c00 isub temp ,null 
-0306 2422830d nbranch p_keyboard_keyvalue_standard_out_next ,zero 
 0307 efe08006 ifetch 1 ,contr 
-0308 18c08dfe increase -2 ,contr 
-0309 e7e08006 istore 1 ,contr 
-030a 207a0000 rtn blank 
-030b 18c08c01 increase 1 ,contr 
-030c e0408006 istoret 1 ,contr 
+0308 98467c00 isub temp ,null 
+0309 24228310 nbranch p_keyboard_keyvalue_standard_out_next ,zero 
+030a efe08006 ifetch 1 ,contr 
+030b 18c08dfe increase -2 ,contr 
+030c e7e08006 istore 1 ,contr 
+030d 207a0000 rtn blank 
+030e 18c08c01 increase 1 ,contr 
+030f e0408006 istoret 1 ,contr 
 
 p_keyboard_keyvalue_standard_out_next:
-030d c2000304 loop p_keyboard_keyvalue_standard_out_loop 
-030e 20600000 rtn 
+0310 c2000307 loop p_keyboard_keyvalue_standard_out_loop 
+0311 20600000 rtn 
 
 p_keyboard_keyvalue_standard_in:
-030f 6848cca2 fetcht 1 ,mem_keyboard_keyvalue_temp 
-0310 df200006 arg 6 ,loopcnt 
-0311 d8c04ca7 arg mem_keyboard_keyvalue_buffer + 2 ,contr 
+0312 6848cca2 fetcht 1 ,mem_keyboard_keyvalue_temp 
+0313 df200006 arg 6 ,loopcnt 
+0314 d8c04ca7 arg mem_keyboard_keyvalue_buffer + 2 ,contr 
 
 p_keyboard_keyvalue_standard_in_loop:
-0312 efe08006 ifetch 1 ,contr 
-0313 203a0318 branch p_keyboard_keyvalue_standard_in_data ,blank 
-0314 98467c00 isub temp ,null 
-0315 20628000 rtn zero 
-0316 c2000312 loop p_keyboard_keyvalue_standard_in_loop 
-0317 20600000 rtn 
+0315 efe08006 ifetch 1 ,contr 
+0316 203a031b branch p_keyboard_keyvalue_standard_in_data ,blank 
+0317 98467c00 isub temp ,null 
+0318 20628000 rtn zero 
+0319 c2000315 loop p_keyboard_keyvalue_standard_in_loop 
+031a 20600000 rtn 
 
 p_keyboard_keyvalue_standard_in_data:
-0318 18c08dff increase -1 ,contr 
-0319 e0408006 istoret 1 ,contr 
-031a 20600000 rtn 
+031b 18c08dff increase -1 ,contr 
+031c e0408006 istoret 1 ,contr 
+031d 20600000 rtn 
 
 p_keyboard_keyvalue_consumer:
-031b 704d7401 jam keyboard_consumer_key_press ,mem_keyboard_consumer_key_status 
-031c 6fe0cca3 fetch 1 ,mem_keyboard_press_flag_temp 
-031d 2fec0000 isolate0 0 ,pdata 
-031e 20408320 call p_keyboard_consumer_key_release ,true 
-031f 202002fe branch p_keyboard_keyvalue_standard 
+031e 704d7401 jam keyboard_consumer_key_press ,mem_keyboard_consumer_key_status 
+031f 6fe0cca3 fetch 1 ,mem_keyboard_press_flag_temp 
+0320 2fec0000 isolate0 0 ,pdata 
+0321 20408323 call p_keyboard_consumer_key_release ,true 
+0322 20200301 branch p_keyboard_keyvalue_standard 
 
 p_keyboard_consumer_key_release:
-0320 704d7402 jam keyboard_consumer_key_release ,mem_keyboard_consumer_key_status 
-0321 20600000 rtn 
+0323 704d7402 jam keyboard_consumer_key_release ,mem_keyboard_consumer_key_status 
+0324 20600000 rtn 
 
 p_keyboard_special_key_check:
-0322 204003b3 call p_keyboard_pairing_button_check 
-0323 704d4e00 jam 0 ,mem_keyboard_fn_flag 
-0324 704d4f00 jam 0 ,mem_keyboard_control_key_flag 
-0325 704d5000 jam 0 ,mem_keyboard_bt_button_flag 
-0326 6fe0cca5 fetch 1 ,mem_keyboard_keyvalue_buffer 
-0327 245a03d3 ncall p_keyborad_control_key_set ,blank 
-0328 d8c04ca7 arg mem_keyboard_keyvalue_buffer + 2 ,contr 
-0329 df200006 arg 6 ,loopcnt 
+0325 204003b3 call p_keyboard_pairing_button_check 
+0326 704d4e00 jam 0 ,mem_keyboard_fn_flag 
+0327 704d4f00 jam 0 ,mem_keyboard_control_key_flag 
+0328 704d5000 jam 0 ,mem_keyboard_bt_button_flag 
+0329 6fe0cca5 fetch 1 ,mem_keyboard_keyvalue_buffer 
+032a 245a03d3 ncall p_keyborad_control_key_set ,blank 
+032b d8c04ca7 arg mem_keyboard_keyvalue_buffer + 2 ,contr 
+032c df200006 arg 6 ,loopcnt 
 
 p_keyboard_special_key_check_loop:
-032a efe08006 ifetch 1 ,contr 
-032b 1fe67c7f sub pdata ,hid_key_fn ,null 
-032c 204283d5 call p_keyboard_fn_set ,zero 
-032d 1fe67cde sub pdata ,hid_key_pb ,null 
-032e 204283d7 call p_keyboard_pb_set ,zero 
-032f c200032a loop p_keyboard_special_key_check_loop 
-0330 20400592 call p_keyboard_commbination_fast_conn_bt_check 
-0331 6fe0cd51 fetch 1 ,mem_keyboard_pairing_type 
-0332 203a03c3 branch p_keyboard_enable_bt_button_pairing ,blank 
-0333 6fe0c93f fetch 1 ,mem_device_flag 
-0334 c000058a beq mode_24g_device ,p_keyboard_commbination_pairing_24g_check 
-0335 6fe14ca7 fetch 2 ,mem_keyboard_keyvalue_buffer + 2 
-0336 68494d52 fetcht 2 ,mem_keyboard_commbination_key_bt 
-0337 98467c00 isub temp ,null 
-0338 202283c7 branch p_mouse_long_button_bt_discovery ,zero 
-0339 18508400 byteswap temp ,temp 
+032d efe08006 ifetch 1 ,contr 
+032e 1fe67c7f sub pdata ,hid_key_fn ,null 
+032f 204283d5 call p_keyboard_fn_set ,zero 
+0330 1fe67cde sub pdata ,hid_key_pb ,null 
+0331 204283d7 call p_keyboard_pb_set ,zero 
+0332 c200032d loop p_keyboard_special_key_check_loop 
+0333 20400591 call p_keyboard_commbination_fast_conn_bt_check 
+0334 6fe0cd51 fetch 1 ,mem_keyboard_pairing_type 
+0335 203a03c3 branch p_keyboard_enable_bt_button_pairing ,blank 
+0336 6fe0c93f fetch 1 ,mem_device_flag 
+0337 c0000589 beq mode_24g_device ,p_keyboard_commbination_pairing_24g_check 
+0338 6fe14ca7 fetch 2 ,mem_keyboard_keyvalue_buffer + 2 
+0339 68494d52 fetcht 2 ,mem_keyboard_commbination_key_bt 
 033a 98467c00 isub temp ,null 
 033b 202283c7 branch p_mouse_long_button_bt_discovery ,zero 
+033c 18508400 byteswap temp ,temp 
+033d 98467c00 isub temp ,null 
+033e 202283c7 branch p_mouse_long_button_bt_discovery ,zero 
 
 p_keyboard_key_press_timer:
-033c 6fe0cfd4 fetch 1 ,mem_keyboard_key_press_disable_flag 
-033d 247a0000 nrtn blank 
-033e 6fe0ce9c fetch 1 ,mem_keyboard_switch_device_flag 
-033f c2800343 bbit1 keyboard_flag_g24_device_button ,p_keyboard_device_select_g24_press_timer 
-0340 c2808353 bbit1 keyboard_flag_bt_device_button ,p_keyboard_device_select_bt_press_timer 
-0341 2040034d call p_keyboard_device_select_g24_nopress_timer 
-0342 2020035c branch p_keyboard_device_select_bt_nopress_timer 
+033f 6fe0cfd4 fetch 1 ,mem_keyboard_key_press_disable_flag 
+0340 247a0000 nrtn blank 
+0341 6fe0ce9c fetch 1 ,mem_keyboard_switch_device_flag 
+0342 c2800346 bbit1 keyboard_flag_g24_device_button ,p_keyboard_device_select_g24_press_timer 
+0343 c2808356 bbit1 keyboard_flag_bt_device_button ,p_keyboard_device_select_bt_press_timer 
+0344 20400350 call p_keyboard_device_select_g24_nopress_timer 
+0345 2020035f branch p_keyboard_device_select_bt_nopress_timer 
 
 p_keyboard_device_select_g24_press_timer:
-0343 6fe0ce9f fetch 1 ,mem_keyboard_switch_g24_press_timer 
-0344 1fe67c64 sub pdata ,100 ,null 
-0345 24610000 nrtn positive 
-0346 1fe0fe01 increase 1 ,pdata 
-0347 67e0ce9f store 1 ,mem_keyboard_switch_g24_press_timer 
-0348 c18c8000 rtnne 25 
-0349 704e9e00 jam 0 ,mem_keyboard_switch_g24_enable 
-034a 6fe0c93f fetch 1 ,mem_device_flag 
-034b 20404231 call mouse_stop_bluetooth_mode 
-034c 202003cb branch p_mouse_24g_start_pair_mode 
+0346 6fe0ce9f fetch 1 ,mem_keyboard_switch_g24_press_timer 
+0347 1fe67c64 sub pdata ,100 ,null 
+0348 24610000 nrtn positive 
+0349 1fe0fe01 increase 1 ,pdata 
+034a 67e0ce9f store 1 ,mem_keyboard_switch_g24_press_timer 
+034b c18c8000 rtnne 25 
+034c 704e9e00 jam 0 ,mem_keyboard_switch_g24_enable 
+034d 6fe0c93f fetch 1 ,mem_device_flag 
+034e 20404231 call mouse_stop_bluetooth_mode 
+034f 202003cb branch p_mouse_24g_start_pair_mode 
 
 p_keyboard_device_select_g24_nopress_timer:
-034d 704e9f00 jam 0 ,mem_keyboard_switch_g24_press_timer 
-034e 6fe0ce9e fetch 1 ,mem_keyboard_switch_g24_enable 
-034f 207a0000 rtn blank 
-0350 704e9e00 jam 0 ,mem_keyboard_switch_g24_enable 
-0351 204000c0 call p_mouse_store_device_info 
-0352 202045d9 branch mouse_soft_reset 
+0350 704e9f00 jam 0 ,mem_keyboard_switch_g24_press_timer 
+0351 6fe0ce9e fetch 1 ,mem_keyboard_switch_g24_enable 
+0352 207a0000 rtn blank 
+0353 704e9e00 jam 0 ,mem_keyboard_switch_g24_enable 
+0354 204000c0 call p_mouse_store_device_info 
+0355 202045d9 branch mouse_soft_reset 
 
 p_keyboard_device_select_bt_press_timer:
-0353 6fe0cea1 fetch 1 ,mem_keyboard_switch_bt_press_timer 
-0354 1fe67c64 sub pdata ,100 ,null 
-0355 24610000 nrtn positive 
-0356 1fe0fe01 increase 1 ,pdata 
-0357 67e0cea1 store 1 ,mem_keyboard_switch_bt_press_timer 
-0358 c18c8000 rtnne 25 
-0359 704ea000 jam 0 ,mem_keyboard_switch_bt_enable 
-035a 6fe0c93f fetch 1 ,mem_device_flag 
-035b 202043f2 branch mouse_long_button_bt_discovery + 3 
+0356 6fe0cea1 fetch 1 ,mem_keyboard_switch_bt_press_timer 
+0357 1fe67c64 sub pdata ,100 ,null 
+0358 24610000 nrtn positive 
+0359 1fe0fe01 increase 1 ,pdata 
+035a 67e0cea1 store 1 ,mem_keyboard_switch_bt_press_timer 
+035b c18c8000 rtnne 25 
+035c 704ea000 jam 0 ,mem_keyboard_switch_bt_enable 
+035d 6fe0c93f fetch 1 ,mem_device_flag 
+035e 202043f2 branch mouse_long_button_bt_discovery + 3 
 
 p_keyboard_device_select_bt_nopress_timer:
-035c 704ea100 jam 0 ,mem_keyboard_switch_bt_press_timer 
-035d 6fe0cea0 fetch 1 ,mem_keyboard_switch_bt_enable 
-035e 207a0000 rtn blank 
-035f 704ea000 jam 0 ,mem_keyboard_switch_bt_enable 
-0360 204000c0 call p_mouse_store_device_info 
-0361 202045d9 branch mouse_soft_reset 
+035f 704ea100 jam 0 ,mem_keyboard_switch_bt_press_timer 
+0360 6fe0cea0 fetch 1 ,mem_keyboard_switch_bt_enable 
+0361 207a0000 rtn blank 
+0362 704ea000 jam 0 ,mem_keyboard_switch_bt_enable 
+0363 204000c0 call p_mouse_store_device_info 
+0364 202045d9 branch mouse_soft_reset 
 
 p_keyboard_mode_key_switch_check:
-0362 20407d94 call disable_user 
-0363 2040036e call p_keyboard_device_select_g24 
-0364 20400385 call p_keyboard_device_select_bt1 
-0365 2040039c call p_keyboard_device_select_bt2 
-0366 2034036c branch p_keyboard_clear_change_flag ,user 
-0367 6fe0ce9c fetch 1 ,mem_keyboard_switch_device_flag 
-0368 793ffe00 set0 keyboard_flag_g24_device_button ,pdata 
-0369 793ffe01 set0 keyboard_flag_bt_device_button ,pdata 
-036a 67e0ce9c store 1 ,mem_keyboard_switch_device_flag 
-036b 20600000 rtn 
+0365 20407d94 call disable_user 
+0366 20400371 call p_keyboard_device_select_g24 
+0367 20400387 call p_keyboard_device_select_bt1 
+0368 2040039d call p_keyboard_device_select_bt2 
+0369 2034036f branch p_keyboard_clear_change_flag ,user 
+036a 6fe0ce9c fetch 1 ,mem_keyboard_switch_device_flag 
+036b 793ffe00 set0 keyboard_flag_g24_device_button ,pdata 
+036c 793ffe01 set0 keyboard_flag_bt_device_button ,pdata 
+036d 67e0ce9c store 1 ,mem_keyboard_switch_device_flag 
+036e 20600000 rtn 
 
 p_keyboard_clear_change_flag:
-036c 704ca100 jam 0 ,mem_keyboard_data_change_flag 
-036d 20600000 rtn 
+036f 704ca100 jam 0 ,mem_keyboard_data_change_flag 
+0370 20600000 rtn 
 
 p_keyboard_device_select_g24:
-036e 6fe0cea3 fetch 1 ,mem_keyboard_switch_device_to_g24 
-036f 207a0000 rtn blank 
-0370 6fe14ca7 fetch 2 ,mem_keyboard_keyvalue_buffer + 2 
-0371 68494ea4 fetcht 2 ,mem_keyboard_switch_device_to_g24 + 1 
-0372 98467c00 isub temp ,null 
-0373 20228378 branch p_keyboard_device_select_g24_press ,zero 
-0374 18508400 byteswap temp ,temp 
+0371 6fe0cea3 fetch 1 ,mem_keyboard_switch_device_to_g24 
+0372 207a0000 rtn blank 
+0373 6fe14ca7 fetch 2 ,mem_keyboard_keyvalue_buffer + 2 
+0374 68494ea4 fetcht 2 ,mem_keyboard_switch_device_to_g24 + 1 
 0375 98467c00 isub temp ,null 
-0376 20228378 branch p_keyboard_device_select_g24_press ,zero 
-0377 20600000 rtn 
+0376 2022837b branch p_keyboard_device_select_g24_press ,zero 
+0377 18508400 byteswap temp ,temp 
+0378 98467c00 isub temp ,null 
+0379 2022837b branch p_keyboard_device_select_g24_press ,zero 
+037a 20600000 rtn 
 
 p_keyboard_device_select_g24_press:
-0378 20407d92 call enable_user 
-0379 6fe0ce9c fetch 1 ,mem_keyboard_switch_device_flag 
-037a 79207e00 set1 keyboard_flag_g24_device_button ,pdata 
-037b 793ffe01 set0 keyboard_flag_bt_device_button ,pdata 
-037c 67e0ce9c store 1 ,mem_keyboard_switch_device_flag 
-037d 6fe0c93f fetch 1 ,mem_device_flag 
-037e c1000000 rtneq mode_24g_device 
-037f 70493f00 jam mode_24g_device ,mem_device_flag 
-0380 704e9e01 jam 1 ,mem_keyboard_switch_g24_enable 
-0381 704fd501 jam 1 ,mem_keyboard_led_blink_timer 
-0382 704fd701 jam 1 ,mem_led_blink_count 
-0383 204003b1 call p_key_press_diable 
-0384 20600000 rtn 
+037b 20407d92 call enable_user 
+037c 6fe0ce9c fetch 1 ,mem_keyboard_switch_device_flag 
+037d 79207e00 set1 keyboard_flag_g24_device_button ,pdata 
+037e 793ffe01 set0 keyboard_flag_bt_device_button ,pdata 
+037f 67e0ce9c store 1 ,mem_keyboard_switch_device_flag 
+0380 6fe0c93f fetch 1 ,mem_device_flag 
+0381 c1000000 rtneq mode_24g_device 
+0382 70493f00 jam mode_24g_device ,mem_device_flag 
+0383 704e9e01 jam 1 ,mem_keyboard_switch_g24_enable 
+0384 204003b1 call p_key_press_diable 
+0385 204005bb call p_keyboard_poweron_timer_init 
+0386 20600000 rtn 
 
 p_keyboard_device_select_bt1:
-0385 6fe0cea6 fetch 1 ,mem_keyboard_switch_device_to_bt1 
-0386 207a0000 rtn blank 
-0387 6fe14ca7 fetch 2 ,mem_keyboard_keyvalue_buffer + 2 
-0388 68494ea7 fetcht 2 ,mem_keyboard_switch_device_to_bt1 + 1 
-0389 98467c00 isub temp ,null 
-038a 2022838f branch p_keyboard_device_select_bt1_press ,zero 
-038b 18508400 byteswap temp ,temp 
-038c 98467c00 isub temp ,null 
-038d 2022838f branch p_keyboard_device_select_bt1_press ,zero 
-038e 20600000 rtn 
+0387 6fe0cea6 fetch 1 ,mem_keyboard_switch_device_to_bt1 
+0388 207a0000 rtn blank 
+0389 6fe14ca7 fetch 2 ,mem_keyboard_keyvalue_buffer + 2 
+038a 68494ea7 fetcht 2 ,mem_keyboard_switch_device_to_bt1 + 1 
+038b 98467c00 isub temp ,null 
+038c 20228391 branch p_keyboard_device_select_bt1_press ,zero 
+038d 18508400 byteswap temp ,temp 
+038e 98467c00 isub temp ,null 
+038f 20228391 branch p_keyboard_device_select_bt1_press ,zero 
+0390 20600000 rtn 
 
 p_keyboard_device_select_bt1_press:
-038f 20407d92 call enable_user 
-0390 6fe0ce9c fetch 1 ,mem_keyboard_switch_device_flag 
-0391 793ffe00 set0 keyboard_flag_g24_device_button ,pdata 
-0392 79207e01 set1 keyboard_flag_bt_device_button ,pdata 
-0393 67e0ce9c store 1 ,mem_keyboard_switch_device_flag 
-0394 6fe0c93f fetch 1 ,mem_device_flag 
-0395 c1008000 rtneq mode_bt_device1 
-0396 70493f01 jam mode_bt_device1 ,mem_device_flag 
-0397 704ea001 jam 1 ,mem_keyboard_switch_bt_enable 
-0398 704fd501 jam 1 ,mem_keyboard_led_blink_timer 
-0399 704fd702 jam 2 ,mem_led_blink_count 
+0391 20407d92 call enable_user 
+0392 6fe0ce9c fetch 1 ,mem_keyboard_switch_device_flag 
+0393 793ffe00 set0 keyboard_flag_g24_device_button ,pdata 
+0394 79207e01 set1 keyboard_flag_bt_device_button ,pdata 
+0395 67e0ce9c store 1 ,mem_keyboard_switch_device_flag 
+0396 6fe0c93f fetch 1 ,mem_device_flag 
+0397 c1008000 rtneq mode_bt_device1 
+0398 70493f01 jam mode_bt_device1 ,mem_device_flag 
+0399 704ea001 jam 1 ,mem_keyboard_switch_bt_enable 
 039a 204003b1 call p_key_press_diable 
-039b 20600000 rtn 
+039b 204005bb call p_keyboard_poweron_timer_init 
+039c 20600000 rtn 
 
 p_keyboard_device_select_bt2:
-039c 6fe0cea9 fetch 1 ,mem_keyboard_switch_device_to_bt2 
-039d 207a0000 rtn blank 
-039e 6fe14ca7 fetch 2 ,mem_keyboard_keyvalue_buffer + 2 
-039f 68494eaa fetcht 2 ,mem_keyboard_switch_device_to_bt2 + 1 
-03a0 98467c00 isub temp ,null 
-03a1 202283a6 branch p_keyboard_device_select_bt2_press ,zero 
-03a2 18508400 byteswap temp ,temp 
-03a3 98467c00 isub temp ,null 
-03a4 202283a6 branch p_keyboard_device_select_bt2_press ,zero 
-03a5 20600000 rtn 
+039d 6fe0cea9 fetch 1 ,mem_keyboard_switch_device_to_bt2 
+039e 207a0000 rtn blank 
+039f 6fe14ca7 fetch 2 ,mem_keyboard_keyvalue_buffer + 2 
+03a0 68494eaa fetcht 2 ,mem_keyboard_switch_device_to_bt2 + 1 
+03a1 98467c00 isub temp ,null 
+03a2 202283a7 branch p_keyboard_device_select_bt2_press ,zero 
+03a3 18508400 byteswap temp ,temp 
+03a4 98467c00 isub temp ,null 
+03a5 202283a7 branch p_keyboard_device_select_bt2_press ,zero 
+03a6 20600000 rtn 
 
 p_keyboard_device_select_bt2_press:
-03a6 20407d92 call enable_user 
-03a7 6fe0ce9c fetch 1 ,mem_keyboard_switch_device_flag 
-03a8 793ffe00 set0 keyboard_flag_g24_device_button ,pdata 
-03a9 79207e01 set1 keyboard_flag_bt_device_button ,pdata 
-03aa 67e0ce9c store 1 ,mem_keyboard_switch_device_flag 
-03ab 6fe0c93f fetch 1 ,mem_device_flag 
-03ac c1010000 rtneq mode_bt_device2 
-03ad 70493f02 jam mode_bt_device2 ,mem_device_flag 
-03ae 704ea001 jam 1 ,mem_keyboard_switch_bt_enable 
-03af 704fd501 jam 1 ,mem_keyboard_led_blink_timer 
-03b0 704fd703 jam 3 ,mem_led_blink_count 
+03a7 20407d92 call enable_user 
+03a8 6fe0ce9c fetch 1 ,mem_keyboard_switch_device_flag 
+03a9 793ffe00 set0 keyboard_flag_g24_device_button ,pdata 
+03aa 79207e01 set1 keyboard_flag_bt_device_button ,pdata 
+03ab 67e0ce9c store 1 ,mem_keyboard_switch_device_flag 
+03ac 6fe0c93f fetch 1 ,mem_device_flag 
+03ad c1010000 rtneq mode_bt_device2 
+03ae 70493f02 jam mode_bt_device2 ,mem_device_flag 
+03af 704ea001 jam 1 ,mem_keyboard_switch_bt_enable 
+03b0 204005bb call p_keyboard_poweron_timer_init 
 
 p_key_press_diable:
 03b1 704fd401 jam 1 ,mem_keyboard_key_press_disable_flag 
@@ -1297,7 +1297,7 @@
 03ce 247a0000 nrtn blank 
 03cf 58000000 setarg 0 
 03d0 67e14ac4 store 2 ,mem_mouse_no_data_timer 
-03d1 204005df call p_keyboard_capslock_led_off 
+03d1 204005d2 call p_keyboard_capslock_led_off 
 03d2 20204741 branch mouse_24g_start_pair_mode 
 
 p_keyborad_control_key_set:
@@ -1314,7 +1314,7 @@
 
 p_keyboard_start_work:
 03d9 704eaf20 jam zcode_20 ,mem_zcode_temp_param0 
-03da 202007c7 branch p_zcode_entrance 
+03da 202007e0 branch p_zcode_entrance 
 
 p_mouse_buletooth_fast_conn_init:
 03db 704ad3ff jam 0xff ,mem_mouse_bluetooth_fast_conn_flag 
@@ -1329,7 +1329,7 @@
 
 p_mouse_setgpio_hibernate:
 03e2 20407f1a call clear_wake 
-03e3 204005d1 call p_mouse_device_led_off 
+03e3 204007d2 call p_led_all_off 
 03e4 20203d43 branch mouse_setgpio_hibernate + 3 
 
 p_mouse_lpm_before_common:
@@ -1560,7 +1560,7 @@
 p_g24_ackpayload_parse:
 0492 2040049a call p_g24_ackpayload_parse_new 
 0493 6fe0cebd fetch 1 ,mem_24g_rxbuf_new + 1 
-0494 2fe1f008 compare 0x08 ,pdata ,0xf8 
+0494 2fe00201 compare 0x01 ,pdata ,0x01 
 0495 24608000 nrtn true 
 0496 6fe0cebe fetch 1 ,mem_24g_rxbuf_new + 2 
 0497 c07f8549 beq 0xff ,p_mouse_24g_hibernate_set 
@@ -1772,19 +1772,19 @@
 
 p_mouse_le_bb_disconnected:
 052d 704eaf32 jam zcode_32 ,mem_zcode_temp_param0 
-052e 202007c7 branch p_zcode_entrance 
+052e 202007e0 branch p_zcode_entrance 
 
 p_mouse_le_ll_start_encryt:
 052f 704eaf33 jam zcode_33 ,mem_zcode_temp_param0 
-0530 202007c7 branch p_zcode_entrance 
+0530 202007e0 branch p_zcode_entrance 
 
 p_mouse_le_parse_conn_param_accepted:
 0531 704eaf30 jam zcode_30 ,mem_zcode_temp_param0 
-0532 202007c7 branch p_zcode_entrance 
+0532 202007e0 branch p_zcode_entrance 
 
 p_mouse_le_conn_param_update_rsp_recieved:
 0533 704eaf31 jam zcode_31 ,mem_zcode_temp_param0 
-0534 202007c7 branch p_zcode_entrance 
+0534 202007e0 branch p_zcode_entrance 
 
 p_mouse_24g_pairing_complete:
 0535 20400542 call p_keyboard_get_24g_led_enable 
@@ -1793,7 +1793,7 @@
 
 p_mouse_24g_attempt_success:
 0538 704eaf34 jam zcode_34 ,mem_zcode_temp_param0 
-0539 202007c7 branch p_zcode_entrance 
+0539 202007e0 branch p_zcode_entrance 
 
 p_keyboard_24g_led_get_status_check:
 053a df200006 arg 6 ,loopcnt 
@@ -1818,11 +1818,11 @@
 
 p_mouse_24g_attempt_fail:
 0547 704eaf35 jam zcode_35 ,mem_zcode_temp_param0 
-0548 202007c7 branch p_zcode_entrance 
+0548 202007e0 branch p_zcode_entrance 
 
 p_mouse_24g_hibernate_set:
 0549 704eaf40 jam zcode_40 ,mem_zcode_temp_param0 
-054a 202007c7 branch p_zcode_entrance 
+054a 202007e0 branch p_zcode_entrance 
 
 p_keyboard_low_voltage_param_set:
 054b 6fe0c902 fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
@@ -1841,903 +1841,950 @@
 0554 204022c2 call g24_pair_timeout_timer 
 0555 20402542 call g24_reconn_timeout_timer 
 0556 204046e6 call mouse_24g_long_sleep_param_update_timer 
-0557 204005ad call p_keyboard_24g_repeat_send_data 
-0558 204005b7 call p_keyboard_24g_led_status_get_timer 
-0559 204005bc call p_mouse_device_poweron_timer 
-055a 204005c8 call p_keyboard_mode_led_timer 
-055b 2040441a call mouse_check_discovery_timeout_timer 
-055c 204005a3 call p_mouse_check_direct_timeout_timer 
-055d 2040442d call mouse_le_enable_att_list_timer 
-055e 204005a7 call p_mouse_le_battery_updata_timer 
-055f 20404430 call mouse_le_send_smp_security_request_timer 
-0560 204005aa call p_mouse_le_send_conn_param_update_timer 
-0561 204005a0 call p_keyboard_le_auto_recognize_timer 
-0562 20404450 call mouse_current_mult_update_timer 
-0563 20403f3d call mouse_wheel_trigger_timer 
-0564 20404462 call mouse_store_information_delay_timer 
-0565 204005d5 call p_keyboard_capslock_led_on_timer 
-0566 20400581 call p_keyboard_commbination_key_process 
-0567 204005e5 call p_keyboard_long_press_timer 
-0568 204005ea call p_keyboard_commbination_delay_release_timer 
-0569 2040033c call p_keyboard_key_press_timer 
-056a 2040056c call p_keyboard_mode_led_blink_timer 
-056b 202005ed branch p_mouse_check_no_data_timeout_timer 
+0557 204005ac call p_keyboard_24g_repeat_send_data 
+0558 204005b6 call p_keyboard_24g_led_status_get_timer 
+0559 2040441a call mouse_check_discovery_timeout_timer 
+055a 204005a2 call p_mouse_check_direct_timeout_timer 
+055b 2040442d call mouse_le_enable_att_list_timer 
+055c 204005a6 call p_mouse_le_battery_updata_timer 
+055d 20404430 call mouse_le_send_smp_security_request_timer 
+055e 204005a9 call p_mouse_le_send_conn_param_update_timer 
+055f 2040059f call p_keyboard_le_auto_recognize_timer 
+0560 20404450 call mouse_current_mult_update_timer 
+0561 20403f3d call mouse_wheel_trigger_timer 
+0562 20404462 call mouse_store_information_delay_timer 
+0563 204005ca call p_keyboard_capslock_led_on_timer 
+0564 20400580 call p_keyboard_commbination_key_process 
+0565 204005d6 call p_keyboard_long_press_timer 
+0566 204005db call p_keyboard_commbination_delay_release_timer 
+0567 2040033f call p_keyboard_key_press_timer 
+0568 2040056b call p_keyboard_mode_led_blink_timer 
+0569 204005be call p_mouse_device_poweron_timer 
+056a 202005de branch p_mouse_check_no_data_timeout_timer 
 
 p_keyboard_mode_led_blink_timer:
-056c da604fd5 arg mem_keyboard_led_blink_timer ,regc 
-056d da40056f arg p_led_status_switch ,regb 
-056e 202031cf branch timer_single_step 
+056b da604fd5 arg mem_keyboard_led_blink_timer ,regc 
+056c da40056e arg p_led_status_switch ,regb 
+056d 202031cf branch timer_single_step 
 
 p_led_status_switch:
-056f 704fd503 jam 3 ,mem_keyboard_led_blink_timer 
+056e 6fe0cfd9 fetch 1 ,mem_keyboard_led_blink_timer_init 
+056f 67e0cfd5 store 1 ,mem_keyboard_led_blink_timer 
 0570 6fe0cfd6 fetch 1 ,mem_led_status 
-0571 c0008577 beq on ,p_led_off 
-0572 c0000574 beq off ,p_led_on 
+0571 c0008576 beq on ,p_led_off_start 
+0572 c0000574 beq off ,p_led_on_start 
 0573 20600000 rtn 
 
-p_led_on:
-0574 7080723e jam 0x3e ,0x8072 
-0575 704fd601 jam on ,mem_led_status 
-0576 20600000 rtn 
-
-p_led_off:
-0577 7080723f jam 0x3f ,0x8072 
-0578 704fd600 jam off ,mem_led_status 
-0579 6fe0cfd7 fetch 1 ,mem_led_blink_count 
-057a 1fe0ffff increase -1 ,pdata 
-057b 67e0cfd7 store 1 ,mem_led_blink_count 
-057c 203a057e branch p_led_blink_exit ,blank 
-057d 20600000 rtn 
+p_led_on_start:
+0574 704fd601 jam on ,mem_led_status 
+0575 202007cd branch p_led_on 
+
+p_led_off_start:
+0576 204007d2 call p_led_off 
+0577 704fd600 jam off ,mem_led_status 
+0578 6fe0cfd7 fetch 1 ,mem_led_blink_count 
+0579 1fe0ffff increase -1 ,pdata 
+057a 67e0cfd7 store 1 ,mem_led_blink_count 
+057b 203a057d branch p_led_blink_exit ,blank 
+057c 20600000 rtn 
 
 p_led_blink_exit:
-057e 704fd500 jam 0 ,mem_keyboard_led_blink_timer 
-057f 704fd400 jam 0 ,mem_keyboard_key_press_disable_flag 
-0580 20600000 rtn 
+057d 704fd500 jam 0 ,mem_keyboard_led_blink_timer 
+
+p_keyboard_key_press_check_enable:
+057e 704fd400 jam 0 ,mem_keyboard_key_press_disable_flag 
+057f 20600000 rtn 
 
 p_keyboard_commbination_key_process:
-0581 6fe0cbb1 fetch 1 ,mem_commbination_key_statue 
-0582 c1808000 rtnne commbination_key_state_down 
-0583 da604bb2 arg mem_combination_ui_button_count ,regc 
-0584 6fe0c93f fetch 1 ,mem_device_flag 
-0585 c0000588 beq mode_24g_device ,p_keyboard_commbination_key_process_24g 
-0586 da4003db arg p_mouse_buletooth_fast_conn_init ,regb 
-0587 202031cf branch timer_single_step 
+0580 6fe0cbb1 fetch 1 ,mem_commbination_key_statue 
+0581 c1808000 rtnne commbination_key_state_down 
+0582 da604bb2 arg mem_combination_ui_button_count ,regc 
+0583 6fe0c93f fetch 1 ,mem_device_flag 
+0584 c0000587 beq mode_24g_device ,p_keyboard_commbination_key_process_24g 
+0585 da4003db arg p_mouse_buletooth_fast_conn_init ,regb 
+0586 202031cf branch timer_single_step 
 
 p_keyboard_commbination_key_process_24g:
-0588 da4003c9 arg p_mouse_24g_commbination_pair_check ,regb 
-0589 202031cf branch timer_single_step 
+0587 da4003c9 arg p_mouse_24g_commbination_pair_check ,regb 
+0588 202031cf branch timer_single_step 
 
 p_keyboard_commbination_pairing_24g_check:
-058a 6fe14ca7 fetch 2 ,mem_keyboard_keyvalue_buffer + 2 
-058b 68494d54 fetcht 2 ,mem_keyboard_commbination_key_24g 
-058c 98467c00 isub temp ,null 
-058d 2022859c branch p_mouse_commbination_key_down ,zero 
-058e 18508400 byteswap temp ,temp 
-058f 98467c00 isub temp ,null 
-0590 2022859c branch p_mouse_commbination_key_down ,zero 
-0591 20204406 branch mouse_commbination_key_up 
+0589 6fe14ca7 fetch 2 ,mem_keyboard_keyvalue_buffer + 2 
+058a 68494d54 fetcht 2 ,mem_keyboard_commbination_key_24g 
+058b 98467c00 isub temp ,null 
+058c 2022859b branch p_mouse_commbination_key_down ,zero 
+058d 18508400 byteswap temp ,temp 
+058e 98467c00 isub temp ,null 
+058f 2022859b branch p_mouse_commbination_key_down ,zero 
+0590 20204406 branch mouse_commbination_key_up 
 
 p_keyboard_commbination_fast_conn_bt_check:
-0592 6fe0c93f fetch 1 ,mem_device_flag 
-0593 c1000000 rtneq mode_24g_device 
-0594 6fe14ca7 fetch 2 ,mem_keyboard_keyvalue_buffer + 2 
-0595 68494d56 fetcht 2 ,mem_keyboard_commbination_fast_conn_bt 
-0596 98467c00 isub temp ,null 
-0597 2022859c branch p_mouse_commbination_key_down ,zero 
-0598 18508400 byteswap temp ,temp 
-0599 98467c00 isub temp ,null 
-059a 2022859c branch p_mouse_commbination_key_down ,zero 
-059b 20204406 branch mouse_commbination_key_up 
+0591 6fe0c93f fetch 1 ,mem_device_flag 
+0592 c1000000 rtneq mode_24g_device 
+0593 6fe14ca7 fetch 2 ,mem_keyboard_keyvalue_buffer + 2 
+0594 68494d56 fetcht 2 ,mem_keyboard_commbination_fast_conn_bt 
+0595 98467c00 isub temp ,null 
+0596 2022859b branch p_mouse_commbination_key_down ,zero 
+0597 18508400 byteswap temp ,temp 
+0598 98467c00 isub temp ,null 
+0599 2022859b branch p_mouse_commbination_key_down ,zero 
+059a 20204406 branch mouse_commbination_key_up 
 
 p_mouse_commbination_key_down:
-059c 6fe0cbb1 fetch 1 ,mem_commbination_key_statue 
-059d c1008000 rtneq commbination_key_state_down 
-059e 704bb101 jam commbination_key_state_down ,mem_commbination_key_statue 
-059f 20600000 rtn 
+059b 6fe0cbb1 fetch 1 ,mem_commbination_key_statue 
+059c c1008000 rtneq commbination_key_state_down 
+059d 704bb101 jam commbination_key_state_down ,mem_commbination_key_statue 
+059e 20600000 rtn 
 
 p_keyboard_le_auto_recognize_timer:
-05a0 da604e8e arg mem_le_start_auto_reco_timer ,regc 
-05a1 da4006f3 arg p_le_send_att_find_by_type_value_request_ancs ,regb 
-05a2 202031cf branch timer_single_step 
+059f da604e8e arg mem_le_start_auto_reco_timer ,regc 
+05a0 da4006e4 arg p_le_send_att_find_by_type_value_request_ancs ,regb 
+05a1 202031cf branch timer_single_step 
 
 p_mouse_check_direct_timeout_timer:
-05a3 da604b89 arg mem_mouse_direct_timer ,regc 
-05a4 da404425 arg mouse_check_direct_timeout ,regb 
-05a5 204031cf call timer_single_step 
-05a6 20204422 branch mouse_check_direct_timeout_timer + 3 
+05a2 da604b89 arg mem_mouse_direct_timer ,regc 
+05a3 da404425 arg mouse_check_direct_timeout ,regb 
+05a4 204031cf call timer_single_step 
+05a5 20204422 branch mouse_check_direct_timeout_timer + 3 
 
 p_mouse_le_battery_updata_timer:
-05a7 6fe44bbd fetch mouse_flag_len ,mem_mouse_flag 
-05a8 c39d8000 rtnbit1 mouse_enable_le_battery_service_cancel 
-05a9 2020443a branch mouse_le_battery_updata_timer 
+05a6 6fe44bbd fetch mouse_flag_len ,mem_mouse_flag 
+05a7 c39d8000 rtnbit1 mouse_enable_le_battery_service_cancel 
+05a8 2020443a branch mouse_le_battery_updata_timer 
 
 p_mouse_le_send_conn_param_update_timer:
-05aa da604c0d arg mem_mouse_le_send_conn_param_update_timer ,regc 
-05ab da404287 arg mouse_updata_le_param ,regb 
-05ac 202031cf branch timer_single_step 
+05a9 da604c0d arg mem_mouse_le_send_conn_param_update_timer ,regc 
+05aa da404287 arg mouse_updata_le_param ,regb 
+05ab 202031cf branch timer_single_step 
 
 p_keyboard_24g_repeat_send_data:
-05ad 6fe0c93f fetch 1 ,mem_device_flag 
-05ae c1800000 rtnne mode_24g_device 
-05af 6fe0cd58 fetch 1 ,mem_24g_repeat_send_flag 
-05b0 207a0000 rtn blank 
-05b1 704d5800 jam 0 ,mem_24g_repeat_send_flag 
-05b2 6fe0c8a9 fetch 1 ,mem_24g_conn_sm 
-05b3 247a0000 nrtn blank 
-05b4 704ca101 jam 1 ,mem_keyboard_data_change_flag 
-05b5 204004af call p_g24_txdata_prep 
-05b6 202004cd branch p_g24_transmit_process 
+05ac 6fe0c93f fetch 1 ,mem_device_flag 
+05ad c1800000 rtnne mode_24g_device 
+05ae 6fe0cd58 fetch 1 ,mem_24g_repeat_send_flag 
+05af 207a0000 rtn blank 
+05b0 704d5800 jam 0 ,mem_24g_repeat_send_flag 
+05b1 6fe0c8a9 fetch 1 ,mem_24g_conn_sm 
+05b2 247a0000 nrtn blank 
+05b3 704ca101 jam 1 ,mem_keyboard_data_change_flag 
+05b4 204004af call p_g24_txdata_prep 
+05b5 202004cd branch p_g24_transmit_process 
 
 p_keyboard_24g_led_status_get_timer:
-05b7 da604d5b arg mem_keyboard_led_status_get_timer ,regc 
-05b8 da4005ba arg p_keyboard_24g_led_status_clear ,regb 
-05b9 202031cf branch timer_single_step 
+05b6 da604d5b arg mem_keyboard_led_status_get_timer ,regc 
+05b7 da4005b9 arg p_keyboard_24g_led_status_clear ,regb 
+05b8 202031cf branch timer_single_step 
 
 p_keyboard_24g_led_status_clear:
-05ba 704d5a00 jam 0 ,mem_keyboard_led_status_get 
-05bb 20600000 rtn 
+05b9 704d5a00 jam 0 ,mem_keyboard_led_status_get 
+05ba 20600000 rtn 
+
+p_keyboard_poweron_timer_init:
+05bb 6fe0cbd2 fetch 1 ,mem_mouse_device_poweron_timer_count_init 
+05bc 67e0cfd8 store 1 ,mem_keyboard_device_poweron_timer_count 
+05bd 20600000 rtn 
 
 p_mouse_device_poweron_timer:
-05bc 6fe0c4a9 fetch 1 ,mem_adc_power_flag 
-05bd c3808000 rtnbit1 1 
-05be 6fe0c93f fetch 1 ,mem_device_flag 
-05bf c00047e8 beq mode_24g_device ,mouse_device_poweron_timer 
+05be 6fe0c4a9 fetch 1 ,mem_adc_power_flag 
+05bf c3808000 rtnbit1 1 
 05c0 6fe44bbd fetch mouse_flag_len ,mem_mouse_flag 
 05c1 c4100000 rtnbit0 mouse_enable_power_on_led 
-05c2 6fe0cbb9 fetch 1 ,mem_mouse_device_poweron_timer_count 
+05c2 6fe0cfd8 fetch 1 ,mem_keyboard_device_poweron_timer_count 
 05c3 207a0000 rtn blank 
 05c4 1fe0ffff increase -1 ,pdata 
-05c5 67e0cbb9 store 1 ,mem_mouse_device_poweron_timer_count 
-05c6 203a483c branch mouse_device_led_off ,blank 
+05c5 67e0cfd8 store 1 ,mem_keyboard_device_poweron_timer_count 
+05c6 203a05c8 branch p_poweron_led_off_before ,blank 
 
 p_keyboard_power_led_on:
-05c7 2020484a branch mouse_device_led_on 
+05c7 202007cd branch p_led_on 
 
-p_keyboard_mode_led_timer:
-05c8 6fe14ac4 fetch 2 ,mem_mouse_no_data_timer 
-05c9 207a0000 rtn blank 
-05ca 6fe0cc16 fetch 1 ,mem_keyboard_mode_led_on_timer 
-05cb 207a0000 rtn blank 
-05cc 1fe0ffff increase -1 ,pdata 
-05cd 67e0cc16 store 1 ,mem_keyboard_mode_led_on_timer 
-05ce c28005d0 bbit1 0 ,p_mouse_device_led_on_new 
-
-p_mouse_device_led_off_new:
-05cf 2020483c branch mouse_device_led_off 
-
-p_mouse_device_led_on_new:
-05d0 2020484a branch mouse_device_led_on 
-
-p_mouse_device_led_off:
-05d1 2040483c call mouse_device_led_off 
-05d2 204005df call p_keyboard_capslock_led_off 
-
-p_keyboard_power_led_off:
-05d3 6848cc13 fetcht 1 ,mem_keyboard_power_led_gpio 
-05d4 20204855 branch mouse_led_off 
+p_poweron_led_off_before:
+05c8 2040057e call p_keyboard_key_press_check_enable 
+05c9 202007d2 branch p_led_off 
 
 p_keyboard_capslock_led_on_timer:
-05d5 6fe0cc11 fetch 1 ,mem_keyboard_caps_led_gpio 
-05d6 c17f8000 rtneq gpio_disable 
-05d7 6fe14ac4 fetch 2 ,mem_mouse_no_data_timer 
-05d8 207a0000 rtn blank 
-05d9 6fe14bd0 fetch 2 ,mem_mouse_no_data_timeout 
-05da 68494ac4 fetcht 2 ,mem_mouse_no_data_timer 
-05db 98460400 isub temp ,temp 
-05dc 6fe14c14 fetch 2 ,mem_keyboard_caps_led_on_timer 
-05dd 98467e00 isub temp ,pdata 
-05de 202105e1 branch p_keyboard_num_cap_led_on ,positive 
+05ca 6fe14ac4 fetch 2 ,mem_mouse_no_data_timer 
+05cb 207a0000 rtn blank 
+05cc 6fe14bd0 fetch 2 ,mem_mouse_no_data_timeout 
+05cd 68494ac4 fetcht 2 ,mem_mouse_no_data_timer 
+05ce 98460400 isub temp ,temp 
+05cf 6fe14c14 fetch 2 ,mem_keyboard_caps_led_on_timer 
+05d0 98467e00 isub temp ,pdata 
+05d1 202105d3 branch p_keyboard_num_cap_led_on ,positive 
 
 p_keyboard_capslock_led_off:
-05df 6848cc11 fetcht 1 ,mem_keyboard_caps_led_gpio 
-05e0 20205f89 branch gpio_out_inactive 
+05d2 202007d2 branch p_caps_led_off 
 
 p_keyboard_num_cap_led_on:
 
 p_keyboard_capslock_led_check_on:
-05e1 6fe0cd59 fetch 1 ,mem_keyboard_led_status 
-05e2 c30085df bbit0 kb_pc_keysel_capslock ,p_keyboard_capslock_led_off 
-05e3 6848cc11 fetcht 1 ,mem_keyboard_caps_led_gpio 
-05e4 20205f8d branch gpio_out_active 
+05d3 6fe0cd59 fetch 1 ,mem_keyboard_led_status 
+05d4 c30085d2 bbit0 kb_pc_keysel_capslock ,p_keyboard_capslock_led_off 
+05d5 202007cb branch p_caps_led_on 
 
 p_keyboard_long_press_timer:
-05e5 da604c9b arg mem_same_keyvalue_timer ,regc 
-05e6 da4005e8 arg p_keyboard_long_press_timerout ,regb 
-05e7 202031d6 branch timer_single_step_2b 
+05d6 da604c9b arg mem_same_keyvalue_timer ,regc 
+05d7 da4005d9 arg p_keyboard_long_press_timerout ,regb 
+05d8 202031d6 branch timer_single_step_2b 
 
 p_keyboard_long_press_timerout:
-05e8 704c9801 jam 1 ,mem_same_keyvalue_timerout_flag 
-05e9 2020325c branch app_enter_hibernate 
+05d9 704c9801 jam 1 ,mem_same_keyvalue_timerout_flag 
+05da 2020325c branch app_enter_hibernate 
 
 p_keyboard_commbination_delay_release_timer:
-05ea da604d73 arg mem_keyboard_commbination_control_key_delay_release_timer ,regc 
-05eb da4002d0 arg p_keyboard_commbination_key_null_set ,regb 
-05ec 202031cf branch timer_single_step 
+05db da604d73 arg mem_keyboard_commbination_control_key_delay_release_timer ,regc 
+05dc da4002d3 arg p_keyboard_commbination_key_null_set ,regb 
+05dd 202031cf branch timer_single_step 
 
 p_mouse_check_no_data_timeout_timer:
-05ed 6fe0c93f fetch 1 ,mem_device_flag 
-05ee c0804457 bne mode_24g_device ,mouse_check_no_data_timeout_timer 
-05ef da604ac4 arg mem_mouse_no_data_timer ,regc 
-05f0 da4005f2 arg p_mouse_check_no_data_timeout ,regb 
-05f1 202031d6 branch timer_single_step_2b 
+05de 6fe0c93f fetch 1 ,mem_device_flag 
+05df c0804457 bne mode_24g_device ,mouse_check_no_data_timeout_timer 
+05e0 da604ac4 arg mem_mouse_no_data_timer ,regc 
+05e1 da4005e3 arg p_mouse_check_no_data_timeout ,regb 
+05e2 202031d6 branch timer_single_step_2b 
 
 p_mouse_check_no_data_timeout:
-05f2 6fe0c93f fetch 1 ,mem_device_flag 
-05f3 c0000549 beq mode_24g_device ,p_mouse_24g_hibernate_set 
-05f4 20204236 branch mouse_disconnect 
+05e3 6fe0c93f fetch 1 ,mem_device_flag 
+05e4 c0000549 beq mode_24g_device ,p_mouse_24g_hibernate_set 
+05e5 20204236 branch mouse_disconnect 
 
 p_mouse_cancel_reconnect:
-05f5 204031f7 call app_clear_reconnect_flag 
-05f6 2020423d branch mouse_cancel_reconnect 
+05e6 204031f7 call app_clear_reconnect_flag 
+05e7 2020423d branch mouse_cancel_reconnect 
 
 p_mouse_start_discovery:
-05f7 704eaf41 jam zcode_41 ,mem_zcode_temp_param0 
-05f8 202007c7 branch p_zcode_entrance 
+05e8 704eaf41 jam zcode_41 ,mem_zcode_temp_param0 
+05e9 202007e0 branch p_zcode_entrance 
 
 p_mouse_stop_discovery:
-05f9 58000000 setarg 0 
-05fa 67e14ad4 store 2 ,mem_mouse_discovery_timer 
-05fb 20204492 branch mouse_stop_discovery + 1 
+05ea 58000000 setarg 0 
+05eb 67e14ad4 store 2 ,mem_mouse_discovery_timer 
+05ec 20204492 branch mouse_stop_discovery + 1 
 
 p_mouse_store_remote_bdaddr:
-05fc 6fe44bbd fetch mouse_flag_len ,mem_mouse_flag 
-05fd c4010000 rtnbit0 mouse_store_eeprom_flag 
-05fe 202044a5 branch mouse_store_remote_bdaddr + 4 
+05ed 6fe44bbd fetch mouse_flag_len ,mem_mouse_flag 
+05ee c4010000 rtnbit0 mouse_store_eeprom_flag 
+05ef 202044a5 branch mouse_store_remote_bdaddr + 4 
 
 p_keyboard_motion:
-05ff 78547c00 disable user 
-0600 704b9d00 jam 0 ,mem_customer_key 
-0601 704b9e00 jam 0 ,mem_customer_data_trigger 
-0602 704b9f00 jam 0 ,mem_customer_data_trigger_last 
-0603 6fe0cd70 fetch 1 ,mem_keyboard_commbination_key_step 
-0604 c00082d7 beq cammbination_key_press ,p_keyboard_commbination_key_press_process 
-0605 c00102dc beq cammbination_key_hold ,p_keyboard_commbination_key_hold_process 
-0606 c00182dc beq cammbination_key_complete ,p_keyboard_commbination_key_hold_process 
-0607 c00202e0 beq cammbination_key_wait_release ,p_keyboard_commbination_key_wait_release_process 
-0608 c00302e9 beq cammbination_key_null ,p_keyboard_commbination_key_null_process 
-0609 6fe0cca1 fetch 1 ,mem_keyboard_data_change_flag 
-060a 203a0618 branch p_keyboard_no_key_press ,blank 
-060b 1fe0ffff increase -1 ,pdata 
-060c 67e0cca1 store 1 ,mem_keyboard_data_change_flag 
-060d 20400628 call p_keyboard_current_mult_update 
-060e 704d5b0a jam 10 ,mem_keyboard_led_status_get_timer 
-060f 2040445f call mouse_no_data_timer_init 
-0610 6fe0cd70 fetch 1 ,mem_keyboard_commbination_key_step 
-0611 c00282e8 beq cammbination_key_release ,p_keyboard_commbination_key_release_process 
-0612 d8a04c01 arg mem_keyboard_tx_data ,contw 
-0613 df20000a arg 10 ,loopcnt 
-0614 20407c68 call clear_mem 
-0615 2040062b call p_keyboard_motion_data_check 
-0616 704c0b00 jam 0 ,mem_keyboard_data_send_flag 
-0617 20600000 rtn 
+05f0 78547c00 disable user 
+05f1 704b9d00 jam 0 ,mem_customer_key 
+05f2 704b9e00 jam 0 ,mem_customer_data_trigger 
+05f3 704b9f00 jam 0 ,mem_customer_data_trigger_last 
+05f4 6fe0cd70 fetch 1 ,mem_keyboard_commbination_key_step 
+05f5 c00082da beq cammbination_key_press ,p_keyboard_commbination_key_press_process 
+05f6 c00102df beq cammbination_key_hold ,p_keyboard_commbination_key_hold_process 
+05f7 c00182df beq cammbination_key_complete ,p_keyboard_commbination_key_hold_process 
+05f8 c00202e3 beq cammbination_key_wait_release ,p_keyboard_commbination_key_wait_release_process 
+05f9 c00302ec beq cammbination_key_null ,p_keyboard_commbination_key_null_process 
+05fa 6fe0cca1 fetch 1 ,mem_keyboard_data_change_flag 
+05fb 203a0609 branch p_keyboard_no_key_press ,blank 
+05fc 1fe0ffff increase -1 ,pdata 
+05fd 67e0cca1 store 1 ,mem_keyboard_data_change_flag 
+05fe 20400619 call p_keyboard_current_mult_update 
+05ff 704d5b0a jam 10 ,mem_keyboard_led_status_get_timer 
+0600 2040445f call mouse_no_data_timer_init 
+0601 6fe0cd70 fetch 1 ,mem_keyboard_commbination_key_step 
+0602 c00282eb beq cammbination_key_release ,p_keyboard_commbination_key_release_process 
+0603 d8a04c01 arg mem_keyboard_tx_data ,contw 
+0604 df20000a arg 10 ,loopcnt 
+0605 20407c68 call clear_mem 
+0606 2040061c call p_keyboard_motion_data_check 
+0607 704c0b00 jam 0 ,mem_keyboard_data_send_flag 
+0608 20600000 rtn 
 
 p_keyboard_no_key_press:
-0618 6fe0c93f fetch 1 ,mem_device_flag 
-0619 c1800000 rtnne mode_24g_device 
-061a 6fe0cd5a fetch 1 ,mem_keyboard_led_status_get 
-061b 207a0000 rtn blank 
-061c 6fe0cd58 fetch 1 ,mem_24g_repeat_send_flag 
-061d 247a0000 nrtn blank 
-061e 6848cd5c fetcht 1 ,mem_keyboard_led_status_get_timer_last 
-061f 6fe0cd5b fetch 1 ,mem_keyboard_led_status_get_timer 
-0620 98467c00 isub temp ,null 
-0621 67e0cd5c store 1 ,mem_keyboard_led_status_get_timer_last 
-0622 20628000 rtn zero 
-0623 d8a04c01 arg mem_keyboard_tx_data ,contw 
-0624 df20000a arg 10 ,loopcnt 
-0625 20407c68 call clear_mem 
-0626 20407d92 call enable_user 
-0627 20200641 branch p_keyboard_motion_data_check_next 
+0609 6fe0c93f fetch 1 ,mem_device_flag 
+060a c1800000 rtnne mode_24g_device 
+060b 6fe0cd5a fetch 1 ,mem_keyboard_led_status_get 
+060c 207a0000 rtn blank 
+060d 6fe0cd58 fetch 1 ,mem_24g_repeat_send_flag 
+060e 247a0000 nrtn blank 
+060f 6848cd5c fetcht 1 ,mem_keyboard_led_status_get_timer_last 
+0610 6fe0cd5b fetch 1 ,mem_keyboard_led_status_get_timer 
+0611 98467c00 isub temp ,null 
+0612 67e0cd5c store 1 ,mem_keyboard_led_status_get_timer_last 
+0613 20628000 rtn zero 
+0614 d8a04c01 arg mem_keyboard_tx_data ,contw 
+0615 df20000a arg 10 ,loopcnt 
+0616 20407c68 call clear_mem 
+0617 20407d92 call enable_user 
+0618 20200632 branch p_keyboard_motion_data_check_next 
 
 p_keyboard_current_mult_update:
-0628 70417703 jam 3 ,mem_lpm_mult 
-0629 704ac10a jam 10 ,mem_mouse_current_mult_timer 
-062a 20600000 rtn 
+0619 70417703 jam 3 ,mem_lpm_mult 
+061a 704ac10a jam 10 ,mem_mouse_current_mult_timer 
+061b 20600000 rtn 
 
 p_keyboard_motion_data_check:
-062b 6fe0cd74 fetch 1 ,mem_keyboard_consumer_key_status 
-062c c001069c beq keyboard_consumer_key_release ,p_keyboard_value_consumer_release 
-062d d8c04ca7 arg mem_keyboard_keyvalue_buffer + 2 ,contr 
-062e df200006 arg 6 ,loopcnt 
+061c 6fe0cd74 fetch 1 ,mem_keyboard_consumer_key_status 
+061d c001068d beq keyboard_consumer_key_release ,p_keyboard_value_consumer_release 
+061e d8c04ca7 arg mem_keyboard_keyvalue_buffer + 2 ,contr 
+061f df200006 arg 6 ,loopcnt 
 
 p_keyboard_value_tpye_check:
-062f efe08006 ifetch 1 ,contr 
-0630 1fe67ce7 sub pdata ,hid_key_right_gui ,null 
-0631 24210650 nbranch p_keyboard_value_tpye_consumer_set ,positive 
+0620 efe08006 ifetch 1 ,contr 
+0621 1fe67ce7 sub pdata ,hid_key_right_gui ,null 
+0622 24210641 nbranch p_keyboard_value_tpye_consumer_set ,positive 
 
 p_keyboard_value_tpye_check_loop:
-0632 c200062f loop p_keyboard_value_tpye_check 
-0633 6fe0cc9e fetch 1 ,mem_keyboard_all_press_key_count 
-0634 205a0646 call p_keyboard_value_release_all_key ,blank 
-0635 704c0100 jam hid_reportid_key_standard ,mem_keyboard_tx_data 
-0636 6fe0cca7 fetch 1 ,mem_keyboard_keyvalue_buffer + 2 
-0637 1fe67c7f sub pdata ,hid_key_fn ,null 
-0638 20228649 branch p_keyboard_tx_data_skip_fn ,zero 
-0639 d8c04ca5 arg mem_keyboard_keyvalue_buffer ,contr 
-063a d8a04c02 arg mem_keyboard_tx_data + 1 ,contw 
-063b df200008 arg 8 ,loopcnt 
+0623 c2000620 loop p_keyboard_value_tpye_check 
+0624 6fe0cc9e fetch 1 ,mem_keyboard_all_press_key_count 
+0625 205a0637 call p_keyboard_value_release_all_key ,blank 
+0626 704c0100 jam hid_reportid_key_standard ,mem_keyboard_tx_data 
+0627 6fe0cca7 fetch 1 ,mem_keyboard_keyvalue_buffer + 2 
+0628 1fe67c7f sub pdata ,hid_key_fn ,null 
+0629 2022863a branch p_keyboard_tx_data_skip_fn ,zero 
+062a d8c04ca5 arg mem_keyboard_keyvalue_buffer ,contr 
+062b d8a04c02 arg mem_keyboard_tx_data + 1 ,contw 
+062c df200008 arg 8 ,loopcnt 
 
 p_keyboard_tx_data_store:
-063c efe08006 ifetch 1 ,contr 
-063d c03f864e beq hid_key_fn ,p_keyboard_tx_data_clear_fn 
+062d efe08006 ifetch 1 ,contr 
+062e c03f863f beq hid_key_fn ,p_keyboard_tx_data_clear_fn 
 
 p_keyboard_tx_data_store_loop:
-063e e7e08005 istore 1 ,contw 
-063f c200063c loop p_keyboard_tx_data_store 
+062f e7e08005 istore 1 ,contw 
+0630 c200062d loop p_keyboard_tx_data_store 
 
 p_keyboard_value_set:
-0640 67e14c02 store 2 ,mem_keyboard_tx_data + 1 
+0631 67e14c02 store 2 ,mem_keyboard_tx_data + 1 
 
 p_keyboard_motion_data_check_next:
-0641 204006a6 call p_keyboard_device_data_tpye_check 
-0642 6fe0cc0b fetch 1 ,mem_keyboard_data_send_flag 
-0643 c000fd92 beq device_data_tpye_mouse ,enable_user 
+0632 20400697 call p_keyboard_device_data_tpye_check 
+0633 6fe0cc0b fetch 1 ,mem_keyboard_data_send_flag 
+0634 c000fd92 beq device_data_tpye_mouse ,enable_user 
 
 p_device_send_keyboard_data:
-0644 20404095 call mouse_customerkey_press 
-0645 20207d92 branch enable_user 
+0635 20404095 call mouse_customerkey_press 
+0636 20207d92 branch enable_user 
 
 p_keyboard_value_release_all_key:
-0646 d8a04ca5 arg mem_keyboard_keyvalue_buffer ,contw 
-0647 df200009 arg 9 ,loopcnt 
-0648 20207c68 branch clear_mem 
+0637 d8a04ca5 arg mem_keyboard_keyvalue_buffer ,contw 
+0638 df200009 arg 9 ,loopcnt 
+0639 20207c68 branch clear_mem 
 
 p_keyboard_tx_data_skip_fn:
-0649 6fe14ca5 fetch 2 ,mem_keyboard_keyvalue_buffer 
-064a 67e14c02 store 2 ,mem_keyboard_tx_data + 1 
-064b 6fe34ca8 fetch 6 ,mem_keyboard_keyvalue_buffer + 3 
-064c 67e34c04 store 6 ,mem_keyboard_tx_data + 3 
-064d 20200641 branch p_keyboard_motion_data_check_next 
+063a 6fe14ca5 fetch 2 ,mem_keyboard_keyvalue_buffer 
+063b 67e14c02 store 2 ,mem_keyboard_tx_data + 1 
+063c 6fe34ca8 fetch 6 ,mem_keyboard_keyvalue_buffer + 3 
+063d 67e34c04 store 6 ,mem_keyboard_tx_data + 3 
+063e 20200632 branch p_keyboard_motion_data_check_next 
 
 p_keyboard_tx_data_clear_fn:
-064e 58000000 setarg 0 
-064f 2020063e branch p_keyboard_tx_data_store_loop 
+063f 58000000 setarg 0 
+0640 2020062f branch p_keyboard_tx_data_store_loop 
 
 p_keyboard_value_tpye_consumer_set:
-0650 704c0103 jam hid_reportid_consumer_key ,mem_keyboard_tx_data 
-0651 6848cc9e fetcht 1 ,mem_keyboard_all_press_key_count 
-0652 18467c00 sub temp ,hid_key_null ,null 
-0653 2022869c branch p_keyboard_value_consumer_all_key_release ,zero 
-0654 c074066c beq hid_key_multikey_media ,p_keyboard_value_media 
-0655 c074866e beq hid_key_multikey_paly ,p_keyboard_value_play 
-0656 c0750670 beq hid_key_multikey_stop ,p_keyboard_value_stop 
-0657 c0758672 beq hid_key_multikey_pre_track ,p_keyboard_value_pre_track 
-0658 c0760674 beq hid_key_multikey_next_track ,p_keyboard_value_next_track 
-0659 c0768676 beq hid_key_multikey_vol_down ,p_keyboard_value_vol_down 
-065a c0770678 beq hid_key_multikey_vol_up ,p_keyboard_value_vol_up 
-065b c077867a beq hid_key_multikey_mute ,p_keyboard_value_mute 
-065c c078067c beq hid_key_my_computer ,p_keyboard_value_my_computer 
-065d c078867e beq hid_key_mail ,p_keyboard_value_mail 
-065e c0790680 beq hid_key_calculator ,p_keyboard_value_calculator 
-065f c0798682 beq hid_key_light_down ,p_keyboard_value_light_down 
-0660 c07a0684 beq hid_key_light_up ,p_keyboard_value_light_up 
-0661 c07a8686 beq hid_key_ac_favorites ,p_keyboard_value_ac_favorites 
-0662 c07b0688 beq hid_key_ac_forward ,p_keyboard_value_ac_forward 
-0663 c07b868a beq hid_key_ac_back ,p_keyboard_value_ac_back 
-0664 c07c068c beq hid_key_ac_stop ,p_keyboard_value_ac_stop 
-0665 c07c868e beq hid_key_ac_refresh ,p_keyboard_value_ac_refresh 
-0666 c07d0690 beq hid_key_ac_search ,p_keyboard_value_ac_search 
-0667 c07d8692 beq hid_key_ac_home ,p_keyboard_value_ac_home 
-0668 c07e0694 beq hid_key_ios_android_os_lock ,p_keyboard_value_os_lock 
-0669 c07e8696 beq hid_key_os_soft_kb ,p_keyboard_value_os_soft_kb 
-066a c07f86a3 beq hid_key_system_sleep ,p_keyboard_value_system_sleep 
-066b 20200641 branch p_keyboard_motion_data_check_next 
+0641 704c0103 jam hid_reportid_consumer_key ,mem_keyboard_tx_data 
+0642 6848cc9e fetcht 1 ,mem_keyboard_all_press_key_count 
+0643 18467c00 sub temp ,hid_key_null ,null 
+0644 2022868d branch p_keyboard_value_consumer_all_key_release ,zero 
+0645 c074065d beq hid_key_multikey_media ,p_keyboard_value_media 
+0646 c074865f beq hid_key_multikey_paly ,p_keyboard_value_play 
+0647 c0750661 beq hid_key_multikey_stop ,p_keyboard_value_stop 
+0648 c0758663 beq hid_key_multikey_pre_track ,p_keyboard_value_pre_track 
+0649 c0760665 beq hid_key_multikey_next_track ,p_keyboard_value_next_track 
+064a c0768667 beq hid_key_multikey_vol_down ,p_keyboard_value_vol_down 
+064b c0770669 beq hid_key_multikey_vol_up ,p_keyboard_value_vol_up 
+064c c077866b beq hid_key_multikey_mute ,p_keyboard_value_mute 
+064d c078066d beq hid_key_my_computer ,p_keyboard_value_my_computer 
+064e c078866f beq hid_key_mail ,p_keyboard_value_mail 
+064f c0790671 beq hid_key_calculator ,p_keyboard_value_calculator 
+0650 c0798673 beq hid_key_light_down ,p_keyboard_value_light_down 
+0651 c07a0675 beq hid_key_light_up ,p_keyboard_value_light_up 
+0652 c07a8677 beq hid_key_ac_favorites ,p_keyboard_value_ac_favorites 
+0653 c07b0679 beq hid_key_ac_forward ,p_keyboard_value_ac_forward 
+0654 c07b867b beq hid_key_ac_back ,p_keyboard_value_ac_back 
+0655 c07c067d beq hid_key_ac_stop ,p_keyboard_value_ac_stop 
+0656 c07c867f beq hid_key_ac_refresh ,p_keyboard_value_ac_refresh 
+0657 c07d0681 beq hid_key_ac_search ,p_keyboard_value_ac_search 
+0658 c07d8683 beq hid_key_ac_home ,p_keyboard_value_ac_home 
+0659 c07e0685 beq hid_key_ios_android_os_lock ,p_keyboard_value_os_lock 
+065a c07e8687 beq hid_key_os_soft_kb ,p_keyboard_value_os_soft_kb 
+065b c07f8694 beq hid_key_system_sleep ,p_keyboard_value_system_sleep 
+065c 20200632 branch p_keyboard_motion_data_check_next 
 
 p_keyboard_value_media:
-066c 58000183 setarg 0x0183 
-066d 20200640 branch p_keyboard_value_set 
+065d 58000183 setarg 0x0183 
+065e 20200631 branch p_keyboard_value_set 
 
 p_keyboard_value_play:
-066e 580000cd setarg 0x00cd 
-066f 20200640 branch p_keyboard_value_set 
+065f 580000cd setarg 0x00cd 
+0660 20200631 branch p_keyboard_value_set 
 
 p_keyboard_value_stop:
-0670 580000b7 setarg 0x00b7 
-0671 20200640 branch p_keyboard_value_set 
+0661 580000b7 setarg 0x00b7 
+0662 20200631 branch p_keyboard_value_set 
 
 p_keyboard_value_pre_track:
-0672 580000b6 setarg 0x00b6 
-0673 20200640 branch p_keyboard_value_set 
+0663 580000b6 setarg 0x00b6 
+0664 20200631 branch p_keyboard_value_set 
 
 p_keyboard_value_next_track:
-0674 580000b5 setarg 0x00b5 
-0675 20200640 branch p_keyboard_value_set 
+0665 580000b5 setarg 0x00b5 
+0666 20200631 branch p_keyboard_value_set 
 
 p_keyboard_value_vol_down:
-0676 580000ea setarg 0x00ea 
-0677 20200640 branch p_keyboard_value_set 
+0667 580000ea setarg 0x00ea 
+0668 20200631 branch p_keyboard_value_set 
 
 p_keyboard_value_vol_up:
-0678 580000e9 setarg 0x00e9 
-0679 20200640 branch p_keyboard_value_set 
+0669 580000e9 setarg 0x00e9 
+066a 20200631 branch p_keyboard_value_set 
 
 p_keyboard_value_mute:
-067a 580000e2 setarg 0x00e2 
-067b 20200640 branch p_keyboard_value_set 
+066b 580000e2 setarg 0x00e2 
+066c 20200631 branch p_keyboard_value_set 
 
 p_keyboard_value_my_computer:
-067c 58000194 setarg 0x0194 
-067d 20200640 branch p_keyboard_value_set 
+066d 58000194 setarg 0x0194 
+066e 20200631 branch p_keyboard_value_set 
 
 p_keyboard_value_mail:
-067e 5800018a setarg 0x018a 
-067f 20200640 branch p_keyboard_value_set 
+066f 5800018a setarg 0x018a 
+0670 20200631 branch p_keyboard_value_set 
 
 p_keyboard_value_calculator:
-0680 58000192 setarg 0x0192 
-0681 20200640 branch p_keyboard_value_set 
+0671 58000192 setarg 0x0192 
+0672 20200631 branch p_keyboard_value_set 
 
 p_keyboard_value_light_down:
-0682 58000070 setarg 0x0070 
-0683 20200640 branch p_keyboard_value_set 
+0673 58000070 setarg 0x0070 
+0674 20200631 branch p_keyboard_value_set 
 
 p_keyboard_value_light_up:
-0684 5800006f setarg 0x006f 
-0685 20200640 branch p_keyboard_value_set 
+0675 5800006f setarg 0x006f 
+0676 20200631 branch p_keyboard_value_set 
 
 p_keyboard_value_ac_favorites:
-0686 5800022a setarg 0x022a 
-0687 20200640 branch p_keyboard_value_set 
+0677 5800022a setarg 0x022a 
+0678 20200631 branch p_keyboard_value_set 
 
 p_keyboard_value_ac_forward:
-0688 58000225 setarg 0x0225 
-0689 20200640 branch p_keyboard_value_set 
+0679 58000225 setarg 0x0225 
+067a 20200631 branch p_keyboard_value_set 
 
 p_keyboard_value_ac_back:
-068a 58000224 setarg 0x0224 
-068b 20200640 branch p_keyboard_value_set 
+067b 58000224 setarg 0x0224 
+067c 20200631 branch p_keyboard_value_set 
 
 p_keyboard_value_ac_stop:
-068c 58000226 setarg 0x0226 
-068d 20200640 branch p_keyboard_value_set 
+067d 58000226 setarg 0x0226 
+067e 20200631 branch p_keyboard_value_set 
 
 p_keyboard_value_ac_refresh:
-068e 58000227 setarg 0x0227 
-068f 20200640 branch p_keyboard_value_set 
+067f 58000227 setarg 0x0227 
+0680 20200631 branch p_keyboard_value_set 
 
 p_keyboard_value_ac_search:
-0690 58000221 setarg 0x0221 
-0691 20200640 branch p_keyboard_value_set 
+0681 58000221 setarg 0x0221 
+0682 20200631 branch p_keyboard_value_set 
 
 p_keyboard_value_ac_home:
-0692 58000223 setarg 0x0223 
-0693 20200640 branch p_keyboard_value_set 
+0683 58000223 setarg 0x0223 
+0684 20200631 branch p_keyboard_value_set 
 
 p_keyboard_value_os_lock:
-0694 58000030 setarg 0x0030 
-0695 20200640 branch p_keyboard_value_set 
+0685 58000030 setarg 0x0030 
+0686 20200631 branch p_keyboard_value_set 
 
 p_keyboard_value_os_soft_kb:
-0696 6fe0ce55 fetch 1 ,mem_kb_computer_system 
-0697 c000869a beq system_os_andriod ,p_keyboard_value_os_soft_kb_andriod 
-0698 580001ae setarg 0x01ae 
-0699 20200640 branch p_keyboard_value_set 
+0687 6fe0ce55 fetch 1 ,mem_kb_computer_system 
+0688 c000868b beq system_os_andriod ,p_keyboard_value_os_soft_kb_andriod 
+0689 580001ae setarg 0x01ae 
+068a 20200631 branch p_keyboard_value_set 
 
 p_keyboard_value_os_soft_kb_andriod:
-069a 58000307 setarg 0x0307 
-069b 20200640 branch p_keyboard_value_set 
+068b 58000307 setarg 0x0307 
+068c 20200631 branch p_keyboard_value_set 
 
 p_keyboard_value_consumer_all_key_release:
 
 p_keyboard_value_consumer_release:
-069c 704ca102 jam 2 ,mem_keyboard_data_change_flag 
-069d 6fe0cc9e fetch 1 ,mem_keyboard_all_press_key_count 
-069e 205a0646 call p_keyboard_value_release_all_key ,blank 
-069f 704d7400 jam keyboard_consumer_key_standby ,mem_keyboard_consumer_key_status 
-06a0 58000003 setarg 0x03 
-06a1 67e1cc01 store 3 ,mem_keyboard_tx_data 
-06a2 20200641 branch p_keyboard_motion_data_check_next 
+068d 704ca102 jam 2 ,mem_keyboard_data_change_flag 
+068e 6fe0cc9e fetch 1 ,mem_keyboard_all_press_key_count 
+068f 205a0637 call p_keyboard_value_release_all_key ,blank 
+0690 704d7400 jam keyboard_consumer_key_standby ,mem_keyboard_consumer_key_status 
+0691 58000003 setarg 0x03 
+0692 67e1cc01 store 3 ,mem_keyboard_tx_data 
+0693 20200632 branch p_keyboard_motion_data_check_next 
 
 p_keyboard_value_system_sleep:
-06a3 704c0102 jam hid_reportid_system_ctrl ,mem_keyboard_tx_data 
-06a4 58000002 setarg 0x02 
-06a5 20200640 branch p_keyboard_value_set 
+0694 704c0102 jam hid_reportid_system_ctrl ,mem_keyboard_tx_data 
+0695 58000002 setarg 0x02 
+0696 20200631 branch p_keyboard_value_set 
 
 p_keyboard_device_data_tpye_check:
-06a6 6fe0c93f fetch 1 ,mem_device_flag 
-06a7 c08006ad bne mode_24g_device ,p_keyboard_device_data_tpye_check_next 
-06a8 704d5800 jam 0 ,mem_24g_repeat_send_flag 
-06a9 6fe14c01 fetch 2 ,mem_keyboard_tx_data 
-06aa 245a0545 ncall p_keyboard_set_repeat_send_flag ,blank 
-06ab 6fe34c04 fetch 6 ,mem_keyboard_tx_data + 3 
-06ac 245a0545 ncall p_keyboard_set_repeat_send_flag ,blank 
+0697 6fe0c93f fetch 1 ,mem_device_flag 
+0698 c080069e bne mode_24g_device ,p_keyboard_device_data_tpye_check_next 
+0699 704d5800 jam 0 ,mem_24g_repeat_send_flag 
+069a 6fe14c01 fetch 2 ,mem_keyboard_tx_data 
+069b 245a0545 ncall p_keyboard_set_repeat_send_flag ,blank 
+069c 6fe34c04 fetch 6 ,mem_keyboard_tx_data + 3 
+069d 245a0545 ncall p_keyboard_set_repeat_send_flag ,blank 
 
 p_keyboard_device_data_tpye_check_next:
-06ad 6fe0cc01 fetch 1 ,mem_keyboard_tx_data 
-06ae c00006b8 beq hid_reportid_key_standard ,p_standard_keyboard_data_send 
-06af c00086b3 beq hid_reportid_mouse ,p_mouse_data_send 
-06b0 c00186c1 beq hid_reportid_consumer_key ,p_consumer_data_send 
-06b1 c00106c9 beq hid_reportid_system_ctrl ,p_system_control_data_send 
-06b2 20600000 rtn 
+069e 6fe0cc01 fetch 1 ,mem_keyboard_tx_data 
+069f c00006a9 beq hid_reportid_key_standard ,p_standard_keyboard_data_send 
+06a0 c00086a4 beq hid_reportid_mouse ,p_mouse_data_send 
+06a1 c00186b2 beq hid_reportid_consumer_key ,p_consumer_data_send 
+06a2 c00106ba beq hid_reportid_system_ctrl ,p_system_control_data_send 
+06a3 20600000 rtn 
 
 p_mouse_data_send:
-06b3 704c0b01 jam device_data_tpye_mouse ,mem_keyboard_data_send_flag 
-06b4 d8c04c01 arg mem_keyboard_tx_data ,contr 
-06b5 d8a048d8 arg mem_mouse_key ,contw 
-06b6 df200007 arg 7 ,loopcnt 
-06b7 20207ca1 branch memcpy 
+06a4 704c0b01 jam device_data_tpye_mouse ,mem_keyboard_data_send_flag 
+06a5 d8c04c01 arg mem_keyboard_tx_data ,contr 
+06a6 d8a048d8 arg mem_mouse_key ,contw 
+06a7 df200007 arg 7 ,loopcnt 
+06a8 20207ca1 branch memcpy 
 
 p_standard_keyboard_data_send:
-06b8 704c0b02 jam device_data_tpye_standard_keyboard ,mem_keyboard_data_send_flag 
-06b9 204006d1 call p_clear_key_data 
-06ba 2040053a call p_keyboard_24g_led_get_status_check 
-06bb 6fe0cd5a fetch 1 ,mem_keyboard_led_status_get 
-06bc 67e0cc03 store 1 ,mem_keyboard_tx_data + 2 
-06bd d8c04c01 arg mem_keyboard_tx_data ,contr 
-06be d8a04bde arg mem_customer_key_press ,contw 
-06bf df200009 arg 9 ,loopcnt 
-06c0 20207ca1 branch memcpy 
+06a9 704c0b02 jam device_data_tpye_standard_keyboard ,mem_keyboard_data_send_flag 
+06aa 204006c2 call p_clear_key_data 
+06ab 2040053a call p_keyboard_24g_led_get_status_check 
+06ac 6fe0cd5a fetch 1 ,mem_keyboard_led_status_get 
+06ad 67e0cc03 store 1 ,mem_keyboard_tx_data + 2 
+06ae d8c04c01 arg mem_keyboard_tx_data ,contr 
+06af d8a04bde arg mem_customer_key_press ,contw 
+06b0 df200009 arg 9 ,loopcnt 
+06b1 20207ca1 branch memcpy 
 
 p_consumer_data_send:
-06c1 704c0b04 jam device_data_tpye_consumer ,mem_keyboard_data_send_flag 
-06c2 204006d1 call p_clear_key_data 
-06c3 58000003 setarg 0x03 
-06c4 20404621 call mouse_customer_media_key_set 
-06c5 d8c04c02 arg mem_keyboard_tx_data + 1 ,contr 
-06c6 d8a04bdf arg mem_customer_key_press + 1 ,contw 
-06c7 df200002 arg 2 ,loopcnt 
-06c8 20207ca1 branch memcpy 
+06b2 704c0b04 jam device_data_tpye_consumer ,mem_keyboard_data_send_flag 
+06b3 204006c2 call p_clear_key_data 
+06b4 58000003 setarg 0x03 
+06b5 20404621 call mouse_customer_media_key_set 
+06b6 d8c04c02 arg mem_keyboard_tx_data + 1 ,contr 
+06b7 d8a04bdf arg mem_customer_key_press + 1 ,contw 
+06b8 df200002 arg 2 ,loopcnt 
+06b9 20207ca1 branch memcpy 
 
 p_system_control_data_send:
-06c9 704c0b05 jam device_data_tpye_system_conctol ,mem_keyboard_data_send_flag 
-06ca 204006d1 call p_clear_key_data 
-06cb 58000002 setarg 0x02 
-06cc 67e44bde store 8 ,mem_customer_key_press 
-06cd 67e44be7 store 8 ,mem_customer_key_release 
-06ce 6fe0cc02 fetch 1 ,mem_keyboard_tx_data + 1 
-06cf 67e0cbdf store 1 ,mem_customer_key_press + 1 
-06d0 20600000 rtn 
+06ba 704c0b05 jam device_data_tpye_system_conctol ,mem_keyboard_data_send_flag 
+06bb 204006c2 call p_clear_key_data 
+06bc 58000002 setarg 0x02 
+06bd 67e44bde store 8 ,mem_customer_key_press 
+06be 67e44be7 store 8 ,mem_customer_key_release 
+06bf 6fe0cc02 fetch 1 ,mem_keyboard_tx_data + 1 
+06c0 67e0cbdf store 1 ,mem_customer_key_press + 1 
+06c1 20600000 rtn 
 
 p_clear_key_data:
-06d1 df200012 arg 18 ,loopcnt 
-06d2 d8a04bde arg mem_customer_key_press ,contw 
-06d3 20207c68 branch clear_mem 
+06c2 df200012 arg 18 ,loopcnt 
+06c3 d8a04bde arg mem_customer_key_press ,contw 
+06c4 20207c68 branch clear_mem 
 
 p_hid_rx_process_data_hid_kb:
-06d4 efe08006 ifetch 1 ,contr 
-06d5 67e0cd59 store 1 ,mem_keyboard_led_status 
-06d6 20600000 rtn 
+06c5 efe08006 ifetch 1 ,contr 
+06c6 67e0cd59 store 1 ,mem_keyboard_led_status 
+06c7 20600000 rtn 
 
 p_le_slave_match:
-06d7 6fe0c3e0 fetch 1 ,mem_le_md_count 
-06d8 1fe0fe01 pincrease 1 
-06d9 67e0c3e0 store 1 ,mem_le_md_count 
-06da c00615e7 beq le_md_max_count ,le_slave_cont 
-06db 204018a8 call le_acknowledge 
-06dc 204018f7 call le_prepare_tx 
-06dd 6fe082bd fetch 1 ,mem_le_tx_phy 
-06de 20401618 call le_enable_phy_by_pdata 
-06df 204017c5 call le_transmit 
-06e0 202015e2 branch le_slave_match + 10 
+06c8 6fe0c3e0 fetch 1 ,mem_le_md_count 
+06c9 1fe0fe01 pincrease 1 
+06ca 67e0c3e0 store 1 ,mem_le_md_count 
+06cb c00615e7 beq le_md_max_count ,le_slave_cont 
+06cc 204018a8 call le_acknowledge 
+06cd 204018f7 call le_prepare_tx 
+06ce 6fe082bd fetch 1 ,mem_le_tx_phy 
+06cf 20401618 call le_enable_phy_by_pdata 
+06d0 204017c5 call le_transmit 
+06d1 202015e2 branch le_slave_match + 10 
 
 p_le_slave_unsync:
-06e1 20400e7c call end_of_packet 
-06e2 20401a87 call le_lpm_set_mult 
-06e3 2020105d branch calc_clke_offset 
+06d2 20400e7c call end_of_packet 
+06d3 20401a87 call le_lpm_set_mult 
+06d4 2020105d branch calc_clke_offset 
 
 p_le_parse_l2cap:
-06e4 efe10006 ifetch 2 ,contr 
-06e5 c00206e7 beq le_l2cap_cid_att ,p_le_parse_att 
-06e6 20201971 branch le_parse_l2cap + 10 
+06d5 efe10006 ifetch 2 ,contr 
+06d6 c00206d8 beq le_l2cap_cid_att ,p_le_parse_att 
+06d7 20201971 branch le_parse_l2cap + 10 
 
 p_le_parse_att:
-06e7 efe18006 ifetch 3 ,contr 
-06e8 67e1c439 store 3 ,mem_le_att_opcode 
-06e9 c005075d beq attop_read_request ,p_le_parse_att_read_request 
-06ea c004077d beq attop_read_by_type_request ,p_le_parse_att_read_by_type_request 
-06eb c009079f beq attop_write_request ,p_le_parse_att_write_request 
-06ec c02907b0 beq attop_write_command ,p_le_parse_att_write_command 
-06ed c0060748 beq attop_read_blob_request ,p_le_parse_att_read_blob_request 
-06ee c0058740 beq attop_read_response ,p_le_parse_att_manu_resp 
-06ef c0048727 beq attop_read_by_type_response ,p_le_send_att_read_by_type_rsp_mac 
-06f0 c0038701 beq attop_find_by_type_value_response ,p_le_parse_att_find_by_type_value_rsp 
-06f1 c000870a beq attop_error_response ,p_le_send_att_find_by_type_value_request_mac 
-06f2 20201c60 branch le_parse_att + 2 
+06d8 efe18006 ifetch 3 ,contr 
+06d9 67e1c439 store 3 ,mem_le_att_opcode 
+06da c005074e beq attop_read_request ,p_le_parse_att_read_request 
+06db c004076e beq attop_read_by_type_request ,p_le_parse_att_read_by_type_request 
+06dc c0090790 beq attop_write_request ,p_le_parse_att_write_request 
+06dd c02907a1 beq attop_write_command ,p_le_parse_att_write_command 
+06de c0060739 beq attop_read_blob_request ,p_le_parse_att_read_blob_request 
+06df c0058731 beq attop_read_response ,p_le_parse_att_manu_resp 
+06e0 c0048718 beq attop_read_by_type_response ,p_le_send_att_read_by_type_rsp_mac 
+06e1 c00386f2 beq attop_find_by_type_value_response ,p_le_parse_att_find_by_type_value_rsp 
+06e2 c00086fb beq attop_error_response ,p_le_send_att_find_by_type_value_request_mac 
+06e3 20201c60 branch le_parse_att + 2 
 
 p_le_send_att_find_by_type_value_request_ancs:
-06f3 704e8201 jam 1 ,mem_le_connect_ios_mac_flag 
-06f4 da200017 arg 23 ,rega 
-06f5 da400004 arg le_l2cap_cid_att ,regb 
-06f6 20401ada call le_fifo_malloc_tx_l2cap 
-06f7 58000006 setarg attop_find_by_type_value_request 
-06f8 e7e08005 istore 1 ,contw 
-06f9 58000001 setarg 0x0001 
-06fa e7e10005 istore 2 ,contw 
-06fb 5800ffff setarg 0xffff 
-06fc e7e10005 istore 2 ,contw 
-06fd 58002800 setarg 0x2800 
-06fe e7e10005 istore 2 ,contw 
-06ff d8c04e72 arg mem_le_search_service_uuid ,contr 
-0700 20207c4c branch memcpy16 
+06e4 704e8201 jam 1 ,mem_le_connect_ios_mac_flag 
+06e5 da200017 arg 23 ,rega 
+06e6 da400004 arg le_l2cap_cid_att ,regb 
+06e7 20401ada call le_fifo_malloc_tx_l2cap 
+06e8 58000006 setarg attop_find_by_type_value_request 
+06e9 e7e08005 istore 1 ,contw 
+06ea 58000001 setarg 0x0001 
+06eb e7e10005 istore 2 ,contw 
+06ec 5800ffff setarg 0xffff 
+06ed e7e10005 istore 2 ,contw 
+06ee 58002800 setarg 0x2800 
+06ef e7e10005 istore 2 ,contw 
+06f0 d8c04e72 arg mem_le_search_service_uuid ,contr 
+06f1 20207c4c branch memcpy16 
 
 p_le_parse_att_find_by_type_value_rsp:
-0701 6fe0ce82 fetch 1 ,mem_le_connect_ios_mac_flag 
-0702 c001071b beq 2 ,p_le_parse_att_find_by_type_value_rsp_mac 
+06f2 6fe0ce82 fetch 1 ,mem_le_connect_ios_mac_flag 
+06f3 c001070c beq 2 ,p_le_parse_att_find_by_type_value_rsp_mac 
 
 p_le_parse_att_find_ios_report:
-0703 704e5502 jam system_os_ios ,mem_kb_computer_system 
-0704 202000c0 branch p_mouse_store_device_info 
+06f4 704e5502 jam system_os_ios ,mem_kb_computer_system 
+06f5 202000c0 branch p_mouse_store_device_info 
 
 p_le_parse_att_not_find_mac_report:
-0705 6fe0c36d fetch 1 ,mem_le_conn_peer_addr_type 
-0706 67e0ce55 store 1 ,mem_kb_computer_system 
-0707 202000c0 branch p_mouse_store_device_info 
+06f6 6fe0c36d fetch 1 ,mem_le_conn_peer_addr_type 
+06f7 67e0ce55 store 1 ,mem_kb_computer_system 
+06f8 202000c0 branch p_mouse_store_device_info 
 
 p_le_parse_att_find_mac_report:
-0708 704e5503 jam system_os_mac ,mem_kb_computer_system 
-0709 202000c0 branch p_mouse_store_device_info 
+06f9 704e5503 jam system_os_mac ,mem_kb_computer_system 
+06fa 202000c0 branch p_mouse_store_device_info 
 
 p_le_send_att_find_by_type_value_request_mac:
-070a 6fe0ce82 fetch 1 ,mem_le_connect_ios_mac_flag 
-070b c0010705 beq 2 ,p_le_parse_att_not_find_mac_report 
-070c 704e8202 jam 2 ,mem_le_connect_ios_mac_flag 
-070d da200009 arg 9 ,rega 
-070e da400004 arg le_l2cap_cid_att ,regb 
-070f 20401ada call le_fifo_malloc_tx_l2cap 
-0710 58000006 setarg attop_find_by_type_value_request 
-0711 e7e08005 istore 1 ,contw 
-0712 58000001 setarg 0x0001 
-0713 e7e10005 istore 2 ,contw 
-0714 5800ffff setarg 0xffff 
-0715 e7e10005 istore 2 ,contw 
-0716 58002800 setarg 0x2800 
-0717 e7e10005 istore 2 ,contw 
-0718 df200002 arg 2 ,loopcnt 
-0719 d8c04e83 arg mem_le_search_mac_uuid ,contr 
-071a 20207ca1 branch memcpy 
+06fb 6fe0ce82 fetch 1 ,mem_le_connect_ios_mac_flag 
+06fc c00106f6 beq 2 ,p_le_parse_att_not_find_mac_report 
+06fd 704e8202 jam 2 ,mem_le_connect_ios_mac_flag 
+06fe da200009 arg 9 ,rega 
+06ff da400004 arg le_l2cap_cid_att ,regb 
+0700 20401ada call le_fifo_malloc_tx_l2cap 
+0701 58000006 setarg attop_find_by_type_value_request 
+0702 e7e08005 istore 1 ,contw 
+0703 58000001 setarg 0x0001 
+0704 e7e10005 istore 2 ,contw 
+0705 5800ffff setarg 0xffff 
+0706 e7e10005 istore 2 ,contw 
+0707 58002800 setarg 0x2800 
+0708 e7e10005 istore 2 ,contw 
+0709 df200002 arg 2 ,loopcnt 
+070a d8c04e83 arg mem_le_search_mac_uuid ,contr 
+070b 20207ca1 branch memcpy 
 
 p_le_parse_att_find_by_type_value_rsp_mac:
-071b da200007 arg 7 ,rega 
-071c da400004 arg le_l2cap_cid_att ,regb 
-071d 20401ada call le_fifo_malloc_tx_l2cap 
-071e 58000008 setarg attop_read_by_type_request 
-071f e7e08005 istore 1 ,contw 
-0720 684943db fetcht 2 ,mem_le_payload_ptr 
-0721 18408405 increase 5 ,temp 
-0722 efe20002 ifetch 4 ,temp 
-0723 e7e20005 istore 4 ,contw 
-0724 58002803 setarg 0x2803 
-0725 e7e10005 istore 2 ,contw 
-0726 20600000 rtn 
+070c da200007 arg 7 ,rega 
+070d da400004 arg le_l2cap_cid_att ,regb 
+070e 20401ada call le_fifo_malloc_tx_l2cap 
+070f 58000008 setarg attop_read_by_type_request 
+0710 e7e08005 istore 1 ,contw 
+0711 684943db fetcht 2 ,mem_le_payload_ptr 
+0712 18408405 increase 5 ,temp 
+0713 efe20002 ifetch 4 ,temp 
+0714 e7e20005 istore 4 ,contw 
+0715 58002803 setarg 0x2803 
+0716 e7e10005 istore 2 ,contw 
+0717 20600000 rtn 
 
 p_le_send_att_read_by_type_rsp_mac:
-0727 6fe143d7 fetch 2 ,mem_le_l2cap_size 
-0728 1fe0fffe increase -2 ,pdata 
-0729 1fe6fc07 div pdata ,7 
-072a 20407d31 call wait_div_end 
-072b 1807f200 quotient loopcnt 
-072c 6fe143db fetch 2 ,mem_le_payload_ptr 
-072d 1fe08c06 add pdata ,6 ,contr 
-072e 2020072f branch p_le_check_att_read_type_manu_loop 
+0718 6fe143d7 fetch 2 ,mem_le_l2cap_size 
+0719 1fe0fffe increase -2 ,pdata 
+071a 1fe6fc07 div pdata ,7 
+071b 20407d31 call wait_div_end 
+071c 1807f200 quotient loopcnt 
+071d 6fe143db fetch 2 ,mem_le_payload_ptr 
+071e 1fe08c06 add pdata ,6 ,contr 
+071f 20200720 branch p_le_check_att_read_type_manu_loop 
 
 p_le_check_att_read_type_manu_loop:
-072f 18c08c03 increase 3 ,contr 
-0730 efe10006 ifetch 2 ,contr 
-0731 1fe22600 copy pdata ,regc 
-0732 efe10006 ifetch 2 ,contr 
-0733 d8402a29 arg 0x2a29 ,temp 
-0734 98467c00 isub temp ,null 
-0735 20228738 branch p_le_send_att_read_by_type_rsp_manufactory ,zero 
-0736 c200072f loop p_le_check_att_read_type_manu_loop 
-0737 20200705 branch p_le_parse_att_not_find_mac_report 
+0720 18c08c03 increase 3 ,contr 
+0721 efe10006 ifetch 2 ,contr 
+0722 1fe22600 copy pdata ,regc 
+0723 efe10006 ifetch 2 ,contr 
+0724 d8402a29 arg 0x2a29 ,temp 
+0725 98467c00 isub temp ,null 
+0726 20228729 branch p_le_send_att_read_by_type_rsp_manufactory ,zero 
+0727 c2000720 loop p_le_check_att_read_type_manu_loop 
+0728 202006f6 branch p_le_parse_att_not_find_mac_report 
 
 p_le_send_att_read_by_type_rsp_manufactory:
-0738 da200003 arg 3 ,rega 
-0739 da400004 arg le_l2cap_cid_att ,regb 
-073a 20401ada call le_fifo_malloc_tx_l2cap 
-073b 5800000a setarg attop_read_request 
-073c e7e08005 istore 1 ,contw 
-073d 1a627e00 copy regc ,pdata 
-073e e7e10005 istore 2 ,contw 
-073f 20600000 rtn 
+0729 da200003 arg 3 ,rega 
+072a da400004 arg le_l2cap_cid_att ,regb 
+072b 20401ada call le_fifo_malloc_tx_l2cap 
+072c 5800000a setarg attop_read_request 
+072d e7e08005 istore 1 ,contw 
+072e 1a627e00 copy regc ,pdata 
+072f e7e10005 istore 2 ,contw 
+0730 20600000 rtn 
 
 p_le_parse_att_manu_resp:
-0740 6fe143d7 fetch 2 ,mem_le_l2cap_size 
-0741 df200009 arg 9 ,loopcnt 
-0742 6fe143db fetch 2 ,mem_le_payload_ptr 
-0743 1fe0a205 add pdata ,5 ,rega 
-0744 da404e85 arg mem_le_search_mac_manu_name ,regb 
-0745 20407d33 call string_compare 
-0746 20228708 branch p_le_parse_att_find_mac_report ,zero 
-0747 20200705 branch p_le_parse_att_not_find_mac_report 
+0731 6fe143d7 fetch 2 ,mem_le_l2cap_size 
+0732 df200009 arg 9 ,loopcnt 
+0733 6fe143db fetch 2 ,mem_le_payload_ptr 
+0734 1fe0a205 add pdata ,5 ,rega 
+0735 da404e85 arg mem_le_search_mac_manu_name ,regb 
+0736 20407d33 call string_compare 
+0737 202286f9 branch p_le_parse_att_find_mac_report ,zero 
+0738 202006f6 branch p_le_parse_att_not_find_mac_report 
 
 p_le_parse_att_read_blob_request:
-0748 efe10006 ifetch 2 ,contr 
-0749 67e109a2 store 2 ,mem_le_att_offset 
-074a da200014 arg 20 ,rega 
-074b 20401e61 call le_fifo_malloc_tx_l2cap_gatt 
-074c 5800000d setarg attop_read_blob_response 
-074d e7e08005 istore 1 ,contw 
-074e 6fe109a2 fetch 2 ,mem_le_att_offset 
-074f 98002200 iforce rega 
-0750 6849443a fetcht 2 ,mem_le_att_handle 
-0751 6fe143d4 fetch 2 ,mem_le_pairing_handle 
-0752 98467c00 isub temp ,null 
-0753 24229dac nbranch le_send_att_read_blob_response + 7 ,zero 
-0754 6fe14d75 fetch 2 ,mem_keyboard_le_map_len 
-0755 20200756 branch p_le_parse_att_read_blob_request2 
+0739 efe10006 ifetch 2 ,contr 
+073a 67e109a2 store 2 ,mem_le_att_offset 
+073b da200014 arg 20 ,rega 
+073c 20401e61 call le_fifo_malloc_tx_l2cap_gatt 
+073d 5800000d setarg attop_read_blob_response 
+073e e7e08005 istore 1 ,contw 
+073f 6fe109a2 fetch 2 ,mem_le_att_offset 
+0740 98002200 iforce rega 
+0741 6849443a fetcht 2 ,mem_le_att_handle 
+0742 6fe143d4 fetch 2 ,mem_le_pairing_handle 
+0743 98467c00 isub temp ,null 
+0744 24229dac nbranch le_send_att_read_blob_response + 7 ,zero 
+0745 6fe14d75 fetch 2 ,mem_keyboard_le_map_len 
+0746 20200747 branch p_le_parse_att_read_blob_request2 
 
 p_le_parse_att_read_blob_request2:
-0756 d8c04d77 arg mem_keyboard_le_hid_map ,contr 
-0757 9a267200 isub rega ,loopcnt 
-0758 24211e55 nbranch le_send_att_error_response_notfound ,positive 
-0759 1f267c16 sub loopcnt ,22 ,null 
-075a 20211db4 branch le_send_att_read_blob_response_less ,positive 
-075b 18007216 force 22 ,loopcnt 
-075c 20201db4 branch le_send_att_read_blob_response_less 
+0747 d8c04d77 arg mem_keyboard_le_hid_map ,contr 
+0748 9a267200 isub rega ,loopcnt 
+0749 24211e55 nbranch le_send_att_error_response_notfound ,positive 
+074a 1f267c16 sub loopcnt ,22 ,null 
+074b 20211db4 branch le_send_att_read_blob_response_less ,positive 
+074c 18007216 force 22 ,loopcnt 
+074d 20201db4 branch le_send_att_read_blob_response_less 
 
 p_le_parse_att_read_request:
-075d 6849443a fetcht 2 ,mem_le_att_handle 
-075e 6fe0c3c3 fetch 1 ,mem_le_configuration 
-075f c2818777 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
+074e 6849443a fetcht 2 ,mem_le_att_handle 
+074f 6fe0c3c3 fetch 1 ,mem_le_configuration 
+0750 c2818768 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
 
 p_le_send_att_read_response:
-0760 6fe44bbd fetch mouse_flag_len ,mem_mouse_flag 
-0761 c30a0763 bbit0 mouse_enable_adc ,p_le_send_att_read_response + 3 
-0762 c31d8765 bbit0 mouse_enable_le_battery_service_cancel ,p_le_send_att_read_response_next 
-0763 6fe1443a fetch 2 ,mem_le_att_handle 
-0764 c0181e55 beq 0x30 ,le_send_att_error_response_notfound 
+0751 6fe44bbd fetch mouse_flag_len ,mem_mouse_flag 
+0752 c30a0754 bbit0 mouse_enable_adc ,p_le_send_att_read_response + 3 
+0753 c31d8756 bbit0 mouse_enable_le_battery_service_cancel ,p_le_send_att_read_response_next 
+0754 6fe1443a fetch 2 ,mem_le_att_handle 
+0755 c0181e55 beq 0x30 ,le_send_att_error_response_notfound 
 
 p_le_send_att_read_response_next:
-0765 6fe1443a fetch 2 ,mem_le_att_handle 
-0766 c002876f beq 0x05 ,p_le_send_att_appearance 
-0767 c0080772 beq 0x10 ,p_le_send_att_pnp_id 
+0756 6fe1443a fetch 2 ,mem_le_att_handle 
+0757 c0028760 beq 0x05 ,p_le_send_att_appearance 
+0758 c0080763 beq 0x10 ,p_le_send_att_pnp_id 
 
 p_le_send_att_read_response_next_1:
-0768 6849443a fetcht 2 ,mem_le_att_handle 
-0769 6fe143d4 fetch 2 ,mem_le_pairing_handle 
-076a 98467c00 isub temp ,null 
-076b 24229d78 nbranch le_send_att_read_response ,zero 
-076c d8c04d77 arg mem_keyboard_le_hid_map ,contr 
-076d 18007e16 force 22 ,pdata 
-076e 20201d86 branch le_send_att_read_response_less 
+0759 6849443a fetcht 2 ,mem_le_att_handle 
+075a 6fe143d4 fetch 2 ,mem_le_pairing_handle 
+075b 98467c00 isub temp ,null 
+075c 24229d78 nbranch le_send_att_read_response ,zero 
+075d d8c04d77 arg mem_keyboard_le_hid_map ,contr 
+075e 18007e16 force 22 ,pdata 
+075f 20201d86 branch le_send_att_read_response_less 
 
 p_le_send_att_appearance:
-076f d8c04e53 arg mem_keybord_appearance ,contr 
-0770 18007e02 force 2 ,pdata 
-0771 20201d86 branch le_send_att_read_response_less 
+0760 d8c04e53 arg mem_keybord_appearance ,contr 
+0761 18007e02 force 2 ,pdata 
+0762 20201d86 branch le_send_att_read_response_less 
 
 p_le_send_att_pnp_id:
-0772 6fe0ce8f fetch 1 ,mem_keyboard_change_vid_pid_flag 
-0773 203a0768 branch p_le_send_att_read_response_next_1 ,blank 
-0774 d8c04e90 arg mem_keyboard_change_vid_pid_flag + 1 ,contr 
-0775 18007e07 force 7 ,pdata 
-0776 20201d86 branch le_send_att_read_response_less 
+0763 6fe0ce8f fetch 1 ,mem_keyboard_change_vid_pid_flag 
+0764 203a0759 branch p_le_send_att_read_response_next_1 ,blank 
+0765 d8c04e90 arg mem_keyboard_change_vid_pid_flag + 1 ,contr 
+0766 18007e07 force 7 ,pdata 
+0767 20201d86 branch le_send_att_read_response_less 
 
 p_le_send_att_read_response_check_auth:
-0777 6fe143d4 fetch 2 ,mem_le_pairing_handle 
-0778 98467c00 isub temp ,null 
-0779 24228760 nbranch p_le_send_att_read_response ,zero 
-077a 20401e1a call le_check_encrypt_state 
-077b 24340765 nbranch p_le_send_att_read_response_next ,user 
-077c 20201d9d branch le_send_att_read_response_error_insufficient_auth 
+0768 6fe143d4 fetch 2 ,mem_le_pairing_handle 
+0769 98467c00 isub temp ,null 
+076a 24228751 nbranch p_le_send_att_read_response ,zero 
+076b 20401e1a call le_check_encrypt_state 
+076c 24340756 nbranch p_le_send_att_read_response_next ,user 
+076d 20201d9d branch le_send_att_read_response_error_insufficient_auth 
 
 p_le_parse_att_read_by_type_request:
-077d 20401e91 call le_get_search_handle_start_end_common 
-077e 20401e9e call le_get_search_att_type 
+076e 20401e91 call le_get_search_handle_start_end_common 
+076f 20401e9e call le_get_search_att_type 
 
 p_le_send_att_read_by_type_response:
-077f 6849099e fetcht 2 ,mem_le_search_handle_start 
-0780 60490964 storet 2 ,mem_temp 
-0781 204019da call le_init_attlist_search 
-0782 204019f2 call le_att_get_handle_ptr2 
-0783 18c08dfe increase -2 ,contr 
-0784 18c27e00 copy contr ,pdata 
-0785 67e109b4 store 2 ,mem_le_cur_attlist_start_ptr 
-0786 684909a3 fetcht 2 ,mem_le_search_att_type 
-0787 58002a50 setarg uuid_chrctr_pnp_id 
-0788 98467c00 isub temp ,null 
-0789 2022878b branch p_le_send_att_read_by_type_res_pnp_id ,zero 
-078a 20201d01 branch le_send_att_read_by_type_response + 8 
+0770 6849099e fetcht 2 ,mem_le_search_handle_start 
+0771 60490964 storet 2 ,mem_temp 
+0772 204019da call le_init_attlist_search 
+0773 204019f2 call le_att_get_handle_ptr2 
+0774 18c08dfe increase -2 ,contr 
+0775 18c27e00 copy contr ,pdata 
+0776 67e109b4 store 2 ,mem_le_cur_attlist_start_ptr 
+0777 684909a3 fetcht 2 ,mem_le_search_att_type 
+0778 58002a50 setarg uuid_chrctr_pnp_id 
+0779 98467c00 isub temp ,null 
+077a 2022877c branch p_le_send_att_read_by_type_res_pnp_id ,zero 
+077b 20201d01 branch le_send_att_read_by_type_response + 8 
 
 p_le_send_att_read_by_type_res_pnp_id:
-078b 6fe0ce8f fetch 1 ,mem_keyboard_change_vid_pid_flag 
-078c 203a1d01 branch le_send_att_read_by_type_response + 8 ,blank 
-078d 20401a02 call le_att_get_short_uuid_ptr 
-078e 203a1e55 branch le_send_att_error_response_notfound ,blank 
-078f 18c08dfb increase -5 ,contr 
-0790 efe10006 ifetch 2 ,contr 
-0791 67e10964 store 2 ,mem_temp 
-0792 da200009 arg 9 ,rega 
-0793 20401e61 call le_fifo_malloc_tx_l2cap_gatt 
-0794 58000009 setarg attop_read_by_type_response 
-0795 e7e08005 istore 1 ,contw 
-0796 58000009 setarg 0x09 
-0797 e7e08005 istore 1 ,contw 
-0798 6fe10964 fetch 2 ,mem_temp 
-0799 e7e10005 istore 2 ,contw 
-079a d8c04e90 arg mem_keyboard_change_vid_pid_flag + 1 ,contr 
-079b df200007 arg 7 ,loopcnt 
-079c 20407c94 call memcpy_fast 
-079d 20407c26 call store_contw 
-079e 20201e84 branch le_send_auto_len_by_mem 
+077c 6fe0ce8f fetch 1 ,mem_keyboard_change_vid_pid_flag 
+077d 203a1d01 branch le_send_att_read_by_type_response + 8 ,blank 
+077e 20401a02 call le_att_get_short_uuid_ptr 
+077f 203a1e55 branch le_send_att_error_response_notfound ,blank 
+0780 18c08dfb increase -5 ,contr 
+0781 efe10006 ifetch 2 ,contr 
+0782 67e10964 store 2 ,mem_temp 
+0783 da200009 arg 9 ,rega 
+0784 20401e61 call le_fifo_malloc_tx_l2cap_gatt 
+0785 58000009 setarg attop_read_by_type_response 
+0786 e7e08005 istore 1 ,contw 
+0787 58000009 setarg 0x09 
+0788 e7e08005 istore 1 ,contw 
+0789 6fe10964 fetch 2 ,mem_temp 
+078a e7e10005 istore 2 ,contw 
+078b d8c04e90 arg mem_keyboard_change_vid_pid_flag + 1 ,contr 
+078c df200007 arg 7 ,loopcnt 
+078d 20407c94 call memcpy_fast 
+078e 20407c26 call store_contw 
+078f 20201e84 branch le_send_auto_len_by_mem 
 
 p_le_parse_att_write_request:
-079f 18c22200 copy contr ,rega 
-07a0 6fe143d7 fetch 2 ,mem_le_l2cap_size 
-07a1 1fe0a5fd add pdata ,-3 ,regb 
-07a2 204019b2 call le_writeatt_cb 
-07a3 204007b1 call p_le_parse_att_write_command + 1 
-07a4 6fe0cad3 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-07a5 c07f9e00 beq 0xff ,le_send_att_write_response_check_auth 
-07a6 6fe0cad9 fetch 1 ,mem_mouse_le_reconnect_flag 
-07a7 203a1e00 branch le_send_att_write_response_check_auth ,blank 
-07a8 6fe0cb87 fetch 1 ,mem_le_connect_status_flag 
-07a9 c2809e00 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
-07aa 5800001a setarg 0x001a 
-07ab 6849443a fetcht 2 ,mem_le_att_handle 
-07ac 98467c00 isub temp ,null 
-07ad 24229e00 nbranch le_send_att_write_response_check_auth ,zero 
-07ae 7002d805 jam att_err_insufficient_authentication ,mem_le_err_code 
-07af 20201e56 branch le_send_att_error_response 
+0790 18c22200 copy contr ,rega 
+0791 6fe143d7 fetch 2 ,mem_le_l2cap_size 
+0792 1fe0a5fd add pdata ,-3 ,regb 
+0793 204019b2 call le_writeatt_cb 
+0794 204007a2 call p_le_parse_att_write_command + 1 
+0795 6fe0cad3 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+0796 c07f9e00 beq 0xff ,le_send_att_write_response_check_auth 
+0797 6fe0cad9 fetch 1 ,mem_mouse_le_reconnect_flag 
+0798 203a1e00 branch le_send_att_write_response_check_auth ,blank 
+0799 6fe0cb87 fetch 1 ,mem_le_connect_status_flag 
+079a c2809e00 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
+079b 5800001a setarg 0x001a 
+079c 6849443a fetcht 2 ,mem_le_att_handle 
+079d 98467c00 isub temp ,null 
+079e 24229e00 nbranch le_send_att_write_response_check_auth ,zero 
+079f 7002d805 jam att_err_insufficient_authentication ,mem_le_err_code 
+07a0 20201e56 branch le_send_att_error_response 
 
 p_le_parse_att_write_command:
-07b0 20401e3c call le_parse_att_write_command 
-07b1 6fe0cad3 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-07b2 c0ff87b6 bne 0xff ,p_le_handle_num 
-07b3 6fe1443a fetch 2 ,mem_le_att_handle 
-07b4 c01087c5 beq 0x21 ,p_handle_num 
-07b5 20600000 rtn 
+07a1 20401e3c call le_parse_att_write_command 
+07a2 6fe0cad3 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+07a3 c0ff87a7 bne 0xff ,p_le_handle_num 
+07a4 6fe1443a fetch 2 ,mem_le_att_handle 
+07a5 c01087b6 beq 0x21 ,p_handle_num 
+07a6 20600000 rtn 
 
 p_le_handle_num:
-07b6 6fe1443a fetch 2 ,mem_le_att_handle 
-07b7 c01287c5 beq 0x25 ,p_handle_num 
-07b8 20600000 rtn 
+07a7 6fe1443a fetch 2 ,mem_le_att_handle 
+07a8 c01287b6 beq 0x25 ,p_handle_num 
+07a9 20600000 rtn 
 
 p_le_exchange_hid_map:
-07b9 d8c0988c arg 0x988c ,contr 
-07ba d8a04db9 arg mem_keyboard_le_hid_map + 66 ,contw 
-07bb df200045 arg 69 ,loopcnt 
-07bc 20407ca1 call memcpy 
-07bd d8c098d1 arg 0x98d1 ,contr 
-07be d8a04d77 arg mem_keyboard_le_hid_map ,contw 
-07bf df200042 arg 66 ,loopcnt 
-07c0 20407ca1 call memcpy 
-07c1 d8c09913 arg 0x9913 ,contr 
-07c2 d8a04dfe arg mem_keyboard_le_hid_map + 135 ,contw 
-07c3 df200036 arg 54 ,loopcnt 
-07c4 20207ca1 branch memcpy 
+07aa d8c0988c arg 0x988c ,contr 
+07ab d8a04db9 arg mem_keyboard_le_hid_map + 66 ,contw 
+07ac df200045 arg 69 ,loopcnt 
+07ad 20407ca1 call memcpy 
+07ae d8c098d1 arg 0x98d1 ,contr 
+07af d8a04d77 arg mem_keyboard_le_hid_map ,contw 
+07b0 df200042 arg 66 ,loopcnt 
+07b1 20407ca1 call memcpy 
+07b2 d8c09913 arg 0x9913 ,contr 
+07b3 d8a04dfe arg mem_keyboard_le_hid_map + 135 ,contw 
+07b4 df200036 arg 54 ,loopcnt 
+07b5 20207ca1 branch memcpy 
 
 p_handle_num:
-07c5 d8c00174 arg mem_le_rxbuf + 9 ,contr 
-07c6 202006d4 branch p_hid_rx_process_data_hid_kb 
+07b6 d8c00174 arg mem_le_rxbuf + 9 ,contr 
+07b7 202006c5 branch p_hid_rx_process_data_hid_kb 
+
+p_led_send_wakeup:
+07b8 7080723e jam 0x3e ,0x8072 
+07b9 2000009c nop 156 
+07ba 20600000 rtn 
+
+p_led_send_bit1:
+07bb 7080723e jam 0x3e ,0x8072 
+07bc 200001a7 nop 423 
+07bd 7080723f jam 0x3f ,0x8072 
+07be 200000b7 nop 183 
+07bf 20600000 rtn 
+
+p_led_send_bit0:
+07c0 7080723e jam 0x3e ,0x8072 
+07c1 200000b7 nop 183 
+07c2 7080723f jam 0x3f ,0x8072 
+07c3 200001a7 nop 423 
+07c4 20600000 rtn 
+
+p_24g_led_on:
+07c5 5800001b setarg 0x1b 
+07c6 202007d4 branch p_led_control_start 
+
+p_bt1_led_on:
+07c7 58000017 setarg 0x17 
+07c8 202007d4 branch p_led_control_start 
+
+p_bt2_led_on:
+07c9 5800000f setarg 0x0f 
+07ca 202007d4 branch p_led_control_start 
+
+p_caps_led_on:
+07cb 5800001e setarg 0x1e 
+07cc 202007d4 branch p_led_control_start 
+
+p_led_on:
+07cd 6fe0c93f fetch 1 ,mem_device_flag 
+07ce c00007c5 beq mode_24g_device ,p_24g_led_on 
+07cf c00087c7 beq mode_bt_device1 ,p_bt1_led_on 
+07d0 c00107c9 beq mode_bt_device2 ,p_bt2_led_on 
+07d1 20600000 rtn 
+
+p_led_off:
+
+p_led_all_off:
+
+p_caps_led_off:
+07d2 5800001f setarg 0x1f 
+07d3 202007d4 branch p_led_control_start 
+
+p_led_control_start:
+07d4 67e0cfdc store 1 ,mem_g_led_send_byte 
+07d5 df200005 arg 5 ,loopcnt 
+07d6 204007b8 call p_led_send_wakeup 
+
+p_led_control_loop:
+07d7 6fe0cfdc fetch 1 ,mem_g_led_send_byte 
+07d8 2feffe04 isolate1 4 ,pdata 
+07d9 204087bb call p_led_send_bit1 ,true 
+07da 244087c0 ncall p_led_send_bit0 ,true 
+07db 6fe0cfdc fetch 1 ,mem_g_led_send_byte 
+07dc 1fe3fe00 lshift pdata ,pdata 
+07dd 67e0cfdc store 1 ,mem_g_led_send_byte 
+07de c20007d7 loop p_led_control_loop 
+07df 20600000 rtn 
 
 p_zcode_entrance:
-07c7 6848ceaf fetcht 1 ,mem_zcode_temp_param0 
-07c8 18518400 rshift4 temp ,temp 
-07c9 6fe0ceb0 fetch 1 ,mem_zcode_current_number 
-07ca 98467c00 isub temp ,null 
-07cb 202287e4 branch p_zcode_run ,zero 
-07cc 6048ceb0 storet 1 ,mem_zcode_current_number 
-07cd 58000100 setarg zcode_buff_size 
-07ce 984f8400 imul32 temp ,temp 
-07cf 6fe14eb5 fetch 2 ,mem_xip_flash_offset 
-07d0 98467e00 isub temp ,pdata 
-07d1 68494eb1 fetcht 2 ,mem_eeprom_start_addr 
-07d2 9840fe00 iadd temp ,pdata 
-07d3 67e14eb3 store 2 ,mem_eeprom_address 
+07e0 6848ceaf fetcht 1 ,mem_zcode_temp_param0 
+07e1 18518400 rshift4 temp ,temp 
+07e2 6fe0ceb0 fetch 1 ,mem_zcode_current_number 
+07e3 98467c00 isub temp ,null 
+07e4 202287fd branch p_zcode_run ,zero 
+07e5 6048ceb0 storet 1 ,mem_zcode_current_number 
+07e6 58000100 setarg zcode_buff_size 
+07e7 984f8400 imul32 temp ,temp 
+07e8 6fe14eb5 fetch 2 ,mem_xip_flash_offset 
+07e9 98467e00 isub temp ,pdata 
+07ea 68494eb1 fetcht 2 ,mem_eeprom_start_addr 
+07eb 9840fe00 iadd temp ,pdata 
+07ec 67e14eb3 store 2 ,mem_eeprom_address 
 
 p_zcode_read_loop:
-07d4 6fe14eb3 fetch 2 ,mem_eeprom_address 
-07d5 1ff0fe00 byteswap pdata ,pdata 
-07d6 67e102e4 store 2 ,mem_addr_mi 
-07d7 d8400100 arg zcode_buff_size ,temp 
-07d8 da200e00 arg mem_zcode_buff ,rega 
-07d9 20405cd1 call iicd_read_eep 
-07da 6fe20e00 fetch 4 ,mem_zcode_buff 
-07db 684a4eb8 fetcht 4 ,mem_zcode_head 
-07dc 98467c00 isub temp ,null 
-07dd 242287d4 nbranch p_zcode_read_loop ,zero 
-07de 58000e00 setarg mem_zcode_buff 
-07df 67e141a9 store 2 ,mem_patch_ptr 
-07e0 7041ab40 jam zcode_code_size ,mem_patch_len 
-07e1 20405b2c call load_ucode 
-07e2 58000000 setarg 0 
-07e3 67e241a9 store 4 ,mem_patch_ptr 
+07ed 6fe14eb3 fetch 2 ,mem_eeprom_address 
+07ee 1ff0fe00 byteswap pdata ,pdata 
+07ef 67e102e4 store 2 ,mem_addr_mi 
+07f0 d8400100 arg zcode_buff_size ,temp 
+07f1 da200e00 arg mem_zcode_buff ,rega 
+07f2 20405cd1 call iicd_read_eep 
+07f3 6fe20e00 fetch 4 ,mem_zcode_buff 
+07f4 684a4eb8 fetcht 4 ,mem_zcode_head 
+07f5 98467c00 isub temp ,null 
+07f6 242287ed nbranch p_zcode_read_loop ,zero 
+07f7 58000e00 setarg mem_zcode_buff 
+07f8 67e141a9 store 2 ,mem_patch_ptr 
+07f9 7041ab40 jam zcode_code_size ,mem_patch_len 
+07fa 20405b2c call load_ucode 
+07fb 58000000 setarg 0 
+07fc 67e241a9 store 4 ,mem_patch_ptr 
 
 p_zcode_run:
-07e4 6fe0ceaf fetch 1 ,mem_zcode_temp_param0 
-07e5 20200001 branch p_zcode 
+07fd 6fe0ceaf fetch 1 ,mem_zcode_temp_param0 
+07fe 20200001 branch p_zcode 
               org 0x10001
 
 z_entrance1:
@@ -2752,7 +2799,7 @@
 10007 2040001e call z_keyboard_param_init 
 10008 6848cc10 fetcht 1 ,mem_mcu_rstb_gpio 
 10009 20405f89 call gpio_out_inactive 
-1000a 204005d1 call p_mouse_device_led_off 
+1000a 204007d2 call p_led_all_off 
 1000b 2040001a call z_keyboard_ble_device_ch_init 
 1000c 20401aa3 call le_set_config_fixed_ltk 
 1000d 20401acc call le_set_justwork 
@@ -2816,32 +2863,31 @@
 20002 20600000 rtn 
 
 z_keyboard_start_work:
-20003 204005bc call p_mouse_device_poweron_timer 
-20004 6fe44bbd fetch mouse_flag_len ,mem_mouse_flag 
-20005 c30a0011 bbit0 mouse_enable_adc ,z_keyboard_start_work_next 
-20006 20405ff1 call enable_adc 
-20007 20406018 call vdd_calculate_by_mode 
-20008 67e148f1 store 2 ,mem_mouse_vdd_now_vol 
-20009 68494499 fetcht 2 ,mem_2v_adc_vinlpm_data 
-2000a 6fe144a7 fetch 2 ,mem_adc_current_value 
-2000b 98467c00 isub temp ,null 
-2000c 20210004 branch z_keyboard_start_work + 1 ,positive 
-2000d da2048eb arg mem_mouse_vdd_calculate_set ,rega 
-2000e 20403df5 call mouse_adc_bat_percent_lowpower_out 
-2000f 6fe0c4a9 fetch 1 ,mem_adc_power_flag 
-20010 c280be39 bbit1 1 ,mouse_power_down 
+20003 6fe44bbd fetch mouse_flag_len ,mem_mouse_flag 
+20004 c30a0010 bbit0 mouse_enable_adc ,z_keyboard_start_work_next 
+20005 20405ff1 call enable_adc 
+20006 20406018 call vdd_calculate_by_mode 
+20007 67e148f1 store 2 ,mem_mouse_vdd_now_vol 
+20008 68494499 fetcht 2 ,mem_2v_adc_vinlpm_data 
+20009 6fe144a7 fetch 2 ,mem_adc_current_value 
+2000a 98467c00 isub temp ,null 
+2000b 20210004 branch z_keyboard_start_work + 1 ,positive 
+2000c da2048eb arg mem_mouse_vdd_calculate_set ,rega 
+2000d 20403df5 call mouse_adc_bat_percent_lowpower_out 
+2000e 6fe0c4a9 fetch 1 ,mem_adc_power_flag 
+2000f c280be39 bbit1 1 ,mouse_power_down 
 
 z_keyboard_start_work_next:
-20011 6fe0cd51 fetch 1 ,mem_keyboard_pairing_type 
-20012 205a03c3 call p_keyboard_enable_bt_button_pairing ,blank 
-20013 6fe0cd50 fetch 1 ,mem_keyboard_bt_button_flag 
-20014 247a0000 nrtn blank 
-20015 6fe0c93f fetch 1 ,mem_device_flag 
-20016 c0004726 beq mode_24g_device ,mouse_24g_reconn_general_dongle 
-20017 2040422f call mouse_bluetooth_fast_conn_disable 
-20018 6fe34941 fetch 6 ,mem_device1_addr 
-20019 203a03db branch p_mouse_buletooth_fast_conn_init ,blank 
-2001a 20203cf2 branch mouse_start_reconnect_device 
+20010 6fe0cd51 fetch 1 ,mem_keyboard_pairing_type 
+20011 205a03c3 call p_keyboard_enable_bt_button_pairing ,blank 
+20012 6fe0cd50 fetch 1 ,mem_keyboard_bt_button_flag 
+20013 247a0000 nrtn blank 
+20014 6fe0c93f fetch 1 ,mem_device_flag 
+20015 c0004726 beq mode_24g_device ,mouse_24g_reconn_general_dongle 
+20016 2040422f call mouse_bluetooth_fast_conn_disable 
+20017 6fe34941 fetch 6 ,mem_device1_addr 
+20018 203a03db branch p_mouse_buletooth_fast_conn_init ,blank 
+20019 20203cf2 branch mouse_start_reconnect_device 
               org 0x30001
 
 z_entrance3:
@@ -2941,11 +2987,11 @@
 4000e 2040c49c call mouse_stop_le_adv ,true 
 4000f 6fe14793 fetch 2 ,mem_ui_state_map 
 40010 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
-40011 204085f5 call p_mouse_cancel_reconnect ,true 
+40011 204085e6 call p_mouse_cancel_reconnect ,true 
 40012 58000000 setarg 0 
 40013 67e14b04 store 2 ,mem_le_battery_level_updata_timer 
 40014 67e14e70 store 2 ,mem_otp_store_device_info_flag 
-40015 204005df call p_keyboard_capslock_led_off 
+40015 204005d2 call p_keyboard_capslock_led_off 
 40016 704e55ff jam 0xff ,mem_kb_computer_system 
 40017 2020446f branch mouse_start_discovery + 1 
 
Index: output/romcode.rom
===================================================================
--- /branch/keyboard/customer_FW/RY_project/RY_YC1028_2mode_3ch_Project/output/romcode.rom	(revision 1966)
+++ /branch/keyboard/customer_FW/RY_project/RY_YC1028_2mode_3ch_Project/output/romcode.rom	(working copy)
@@ -7,7 +7,7 @@
 2040001e
 6848cc10
 20405f89
-204005d1
+204007d2
 2040001a
 20401aa3
 20401acc
@@ -56,9 +56,8 @@
 20600000
 c0100003
 20600000
-204005bc
 6fe44bbd
-c30a0011
+c30a0010
 20405ff1
 20406018
 67e148f1
@@ -153,11 +152,11 @@
 2040c49c
 6fe14793
 2feffe07
-204085f5
+204085e6
 58000000
 67e14b04
 67e14e70
-204005df
+204005d2
 704e55ff
 2020446f
-00009b7c
+00001d38
Index: output/zcode.rom
===================================================================
--- /branch/keyboard/customer_FW/RY_project/RY_YC1028_2mode_3ch_Project/output/zcode.rom	(revision 1966)
+++ /branch/keyboard/customer_FW/RY_project/RY_YC1028_2mode_3ch_Project/output/zcode.rom	(working copy)
@@ -15,11 +15,11 @@
 2040c49c
 6fe14793
 2feffe07
-204085f5
+204085e6
 58000000
 67e14b04
 67e14e70
-204005df
+204005d2
 704e55ff
 2020446f
 00000000
@@ -129,9 +129,8 @@
 20200040
 c0100003
 20600000
-204005bc
 6fe44bbd
-c30a0011
+c30a0010
 20405ff1
 20406018
 67e148f1
@@ -190,6 +189,7 @@
 00000000
 00000000
 00000000
+00000000
 20200040
 c0080003
 20600000
@@ -200,7 +200,7 @@
 2040001e
 6848cc10
 20405f89
-204005d1
+204007d2
 2040001a
 20401aa3
 20401acc
Index: program/patch.prog
===================================================================
--- /branch/keyboard/customer_FW/RY_project/RY_YC1028_2mode_3ch_Project/program/patch.prog	(revision 1966)
+++ /branch/keyboard/customer_FW/RY_project/RY_YC1028_2mode_3ch_Project/program/patch.prog	(working copy)
@@ -4,8 +4,8 @@
 define ex_eeprom
 define BLEMORE_CH
 define ZCODE
-define MODE_LED
-
+define LED_FUNCTION
+//define LED_TEST
 
 
 p_start:
@@ -398,7 +398,9 @@
 	call p_keyboard_key_process
 	call p_keyboard_mode_key_switch_check
 	call p_keyboard_special_key_check
-	
+ifdef LED_TEST
+	call p_ext_led_control
+endif	
 	branch main_loop+1
 //stb low--stb high = 10us; wait exmcu wakeup/reset = 301.9us; exmcu keyscan = 250.1us;mcu keyscan = 131.7us;value copy = 78.3us
 // keyboard keyscan = 772us
@@ -817,12 +819,17 @@
 	rtn blank
 	fetch 1,mem_keyboard_press_flag_temp
 	bbit0 0,p_keyboard_keyvalue_store_temp+1	
-	jam SYSTEM_OS_ANDRIOD,mem_kb_computer_system
+	jam SYSTEM_OS_ANDRIOD,mem_kb_computer_system	
 ifdef ex_eeprom	
 	call mouse_store_device_info_delay
 endif
 p_keyboard_keyvalue_clear_temp:
-	jam 6,mem_keyboard_mode_led_on_timer
+ifdef LED_FUNCTION
+	jam 1,mem_keyboard_led_blink_timer
+	fetch 1,mem_keyboard_system_switch_led_blink_timer
+	store 1,mem_keyboard_led_blink_timer_init
+	jam 3,mem_led_blink_count
+endif
 	setarg 0
 	branch p_keyboard_keyvalue_store_temp
 
@@ -1158,7 +1165,7 @@
 	branch p_mouse_long_button_bt_discovery,zero
 
 p_keyboard_key_press_timer:
-ifdef MODE_LED
+ifdef LED_FUNCTION
 	fetch 1,mem_keyboard_key_press_disable_flag
 	nrtn blank
 endif
@@ -1251,10 +1258,9 @@
 	rtneq MODE_24G_DEVICE
 	jam MODE_24G_DEVICE,mem_device_flag
 	jam 1,mem_keyboard_switch_g24_enable
-ifdef MODE_LED
-	jam 1,mem_keyboard_led_blink_timer
-	jam 1,mem_led_blink_count
+ifdef LED_FUNCTION
 	call p_key_press_diable
+	call p_keyboard_poweron_timer_init
 endif
 	rtn
 
@@ -1280,10 +1286,9 @@
 	rtneq MODE_BT_DEVICE1
 	jam MODE_BT_DEVICE1,mem_device_flag
 	jam 1,mem_keyboard_switch_bt_enable
-ifdef MODE_LED
-	jam 1,mem_keyboard_led_blink_timer
-	jam 2,mem_led_blink_count
+ifdef LED_FUNCTION
 	call p_key_press_diable
+	call p_keyboard_poweron_timer_init
 endif
 	rtn
 	
@@ -1309,9 +1314,8 @@
 	rtneq MODE_BT_DEVICE2
 	jam MODE_BT_DEVICE2,mem_device_flag
 	jam 1,mem_keyboard_switch_bt_enable
-ifdef MODE_LED
-	jam 1,mem_keyboard_led_blink_timer
-	jam 3,mem_led_blink_count
+ifdef LED_FUNCTION
+	call p_keyboard_poweron_timer_init
 p_key_press_diable:
 	jam 1,mem_keyboard_key_press_disable_flag
 endif
@@ -1435,7 +1439,7 @@
 
 p_mouse_setgpio_hibernate:
 	call clear_wake
-	call p_mouse_device_led_off
+	call p_led_all_off
 	branch mouse_setgpio_hibernate+3
 
 p_mouse_lpm_before_common:
@@ -1669,7 +1673,7 @@
 p_g24_ackpayload_parse:
 	call p_g24_ackpayload_parse_new
 	fetch 1,mem_24g_rxbuf_new+1
-	compare 0x08,pdata,0xf8
+	compare 0x01,pdata,0x01
 	nrtn true
 	fetch 1,mem_24g_rxbuf_new+2
 	beq 0xff,p_mouse_24g_hibernate_set
@@ -1971,9 +1975,6 @@
 	call p_keyboard_24g_repeat_send_data
 	call p_keyboard_24g_led_status_get_timer
 
-	//led
-	call p_mouse_device_poweron_timer
-	call p_keyboard_mode_led_timer
 	call mouse_check_discovery_timeout_timer
 ifdef BLE
 	call p_mouse_check_direct_timeout_timer
@@ -1992,32 +1993,33 @@
 	call p_keyboard_long_press_timer
 	call p_keyboard_commbination_delay_release_timer
 	call p_keyboard_key_press_timer
-ifdef MODE_LED
+ifdef LED_FUNCTION
 	call p_keyboard_mode_led_blink_timer
+	call p_mouse_device_poweron_timer
 endif
 	branch p_mouse_check_no_data_timeout_timer
 
 
-ifdef MODE_LED
+ifdef LED_FUNCTION
 p_keyboard_mode_led_blink_timer:
 	arg mem_keyboard_led_blink_timer,regc
 	arg p_led_status_switch,regb
 	branch timer_single_step
 
 p_led_status_switch:
-	jam 3,mem_keyboard_led_blink_timer
+	fetch 1,mem_keyboard_led_blink_timer_init
+	store 1,mem_keyboard_led_blink_timer
 	fetch 1,mem_led_status
-	beq ON,p_led_off
-	beq OFF,p_led_on
+	beq ON,p_led_off_start
+	beq OFF,p_led_on_start
 	rtn
 
-p_led_on:
-	jam 0x3e,0x8072
+p_led_on_start:
 	jam ON,mem_led_status
-	rtn
+	branch p_led_on
 
-p_led_off:
-	jam 0x3f,0x8072
+p_led_off_start:
+	call p_led_off
 	jam OFF,mem_led_status
 	fetch 1,mem_led_blink_count
 	increase -1,pdata
@@ -2027,8 +2029,10 @@
 
 p_led_blink_exit:
 	jam 0,mem_keyboard_led_blink_timer
+p_keyboard_key_press_check_enable:
 	jam 0,mem_keyboard_key_press_disable_flag
 	rtn
+	
 endif
 
 p_keyboard_commbination_key_process:
@@ -2121,66 +2125,41 @@
 	jam 0,mem_keyboard_led_status_get
 	rtn
 
+p_keyboard_poweron_timer_init:
+	fetch 1,mem_mouse_device_poweron_timer_count_init
+	store 1,mem_keyboard_device_poweron_timer_count
+	rtn
 
 p_mouse_device_poweron_timer:
 	fetch 1,mem_adc_power_flag
 	rtnbit1 1
-
-	fetch 1,mem_device_flag
-	beq MODE_24G_DEVICE,mouse_device_poweron_timer
-
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
 	rtnbit0 MOUSE_ENABLE_POWER_ON_LED
-	fetch 1,mem_mouse_device_poweron_timer_count
+	fetch 1,mem_keyboard_device_poweron_timer_count
 	rtn blank
 	increase -1,pdata
-	store 1,mem_mouse_device_poweron_timer_count
-	branch mouse_device_led_off,blank
+	store 1,mem_keyboard_device_poweron_timer_count
+	branch p_poweron_led_off_before,blank
 p_keyboard_power_led_on:
-	//fetcht 1,mem_keyboard_power_led_gpio
-	branch mouse_device_led_on
+	branch p_led_on
 
-
-p_keyboard_mode_led_timer:
-	fetch 2,mem_mouse_no_data_timer
-	rtn blank
-	fetch 1,mem_keyboard_mode_led_on_timer
-	rtn blank
-	increase -1,pdata
-	store 1,mem_keyboard_mode_led_on_timer
-		
-	bbit1 0,p_mouse_device_led_on_new
-	//branch p_mouse_device_led_off_new
-p_mouse_device_led_off_new:
-//	fetch 1,mem_device_flag
-//	beq MODE_BT_DEVICE3,p_mouse_device_bt3_led_off
-	branch mouse_device_led_off
-//p_mouse_device_bt3_led_on:
-//	fetcht 1,mem_config_device_bt3_led_gpio
-//	branch mouse_led_on
-//p_mouse_device_bt3_led_off:
-//	fetcht 1,mem_config_device_bt3_led_gpio
+p_poweron_led_off_before:
+	call p_keyboard_key_press_check_enable
+	branch p_led_off
+	
+//p_mouse_device_led_off:
+//	call mouse_device_led_off
+//	call p_keyboard_capslock_led_off
+//ifdef numlock_enable	
+//	call p_keyboard_numberlock_led_off
+//endif	
+//p_keyboard_power_led_off:
+//	fetcht 1,mem_keyboard_power_led_gpio
 //	branch mouse_led_off
 
-p_mouse_device_led_on_new:
-//	fetch 1,mem_device_flag
-//	beq MODE_BT_DEVICE3,p_mouse_device_bt3_led_on
-	branch mouse_device_led_on
-
-	
-p_mouse_device_led_off:
-	call mouse_device_led_off
-	call p_keyboard_capslock_led_off
-ifdef numlock_enable	
-	call p_keyboard_numberlock_led_off
-endif	
-p_keyboard_power_led_off:
-	fetcht 1,mem_keyboard_power_led_gpio
-	branch mouse_led_off
-
 p_keyboard_capslock_led_on_timer:
-	fetch 1,mem_keyboard_caps_led_gpio
-	rtneq GPIO_DISABLE
+	//fetch 1,mem_keyboard_caps_led_gpio
+	//rtneq GPIO_DISABLE
 	fetch 2,mem_mouse_no_data_timer
 	rtn blank
 	fetch 2,mem_mouse_no_data_timeout
@@ -2193,8 +2172,8 @@
 	call p_keyboard_numberlock_led_off
 endif	
 p_keyboard_capslock_led_off:
-	fetcht 1,mem_keyboard_caps_led_gpio
-	branch gpio_out_inactive
+	branch p_caps_led_off
+	
 ifdef numlock_enable	
 p_keyboard_numberlock_led_off:
 	fetcht 1,mem_keyboard_num_led_gpio
@@ -2207,8 +2186,8 @@
 p_keyboard_capslock_led_check_on:
 	fetch 1,mem_keyboard_led_status	
 	bbit0 KB_PC_KEYSEL_CAPSLOCK,p_keyboard_capslock_led_off
-	fetcht 1,mem_keyboard_caps_led_gpio
-	branch gpio_out_active
+	branch p_caps_led_on
+	
 ifdef numlock_enable
 p_keyboard_numberlock_led_check_on:
 	fetch 1,mem_keyboard_led_status
@@ -2881,6 +2860,273 @@
 	branch p_hid_rx_process_data_hid_kb	
 endif	
 
+ifdef LED_FUNCTION
+ifdef LED_TEST
+p_ext_led_control:
+	fetch 1,mem_g_led_control
+	rtn blank
+	jam 0,mem_g_led_control
+	beq 1,p_24g_led_on
+	beq 2,p_bt1_led_on
+	beq 3,p_bt2_led_on
+	beq 4,p_caps_led_on
+	beq 5,p_led_all_off
+	rtn
+endif
+
+p_led_send_wakeup:	//13us low 
+	jam 0x3e,0x8072
+	nop 156
+	rtn
+
+p_led_send_bit1:	//35us low and 15us high
+	jam 0x3e,0x8072
+	nop 423
+	jam 0x3f,0x8072
+	nop 183
+	rtn
+
+p_led_send_bit0:	//15us low and 35us high
+	jam 0x3e,0x8072
+	nop 183
+	jam 0x3f,0x8072
+	nop 423
+	rtn
+
+p_24g_led_on:	//11011
+	setarg 0x1b
+	branch p_led_control_start
+
+p_bt1_led_on:	//10111
+	setarg 0x17
+	branch p_led_control_start
+
+p_bt2_led_on:	//01111
+	setarg 0x0f
+	branch p_led_control_start
+	
+p_caps_led_on:	//11110
+	setarg 0x1e
+	branch p_led_control_start
+
+p_led_on:
+	fetch 1,mem_device_flag
+	beq MODE_24G_DEVICE,p_24g_led_on
+	beq MODE_BT_DEVICE1,p_bt1_led_on
+	beq MODE_BT_DEVICE2,p_bt2_led_on
+	rtn
+p_led_off:
+p_led_all_off:	//11111
+p_caps_led_off:
+	setarg 0x1f
+	branch p_led_control_start
+	
+p_led_control_start:
+	store 1,mem_g_led_send_byte
+	arg 5,loopcnt
+	call p_led_send_wakeup
+p_led_control_loop:
+	fetch 1,mem_g_led_send_byte
+	isolate1 4,pdata
+	call p_led_send_bit1,true
+	ncall p_led_send_bit0,true
+
+	fetch 1,mem_g_led_send_byte
+	lshift pdata,pdata
+	store 1,mem_g_led_send_byte
+	loop p_led_control_loop
+	rtn
+	
+/*
+p_24g_led_on:	//11011
+ 	jam 0x3e,0x8072
+ 	nop 156	//13us
+
+ 	nop 424 	//15us
+ 	jam 0x3f,0x8072
+ 	nop 184	//35us
+
+	jam 0x3e,0x8072
+	nop 424 	//15us
+	jam 0x3f,0x8072
+	nop 184	//35us
+
+	jam 0x3e,0x8072
+	nop 184	//35us
+	jam 0x3f,0x8072
+	nop 424	//15us
+
+	jam 0x3e,0x8072
+	nop 424	//15us
+	jam 0x3f,0x8072
+	nop 184 	//35us
+
+	jam 0x3e,0x8072
+	nop 424	//15us
+	jam 0x3f,0x8072
+	nop 184 	//35us
+
+	rtn
+
+p_bt1_led_on:	//10111
+	jam 0x3e,0x8072
+ 	nop 156	//13us
+
+ 	nop 424 	//35us
+ 	jam 0x3f,0x8072
+ 	nop 184	//15us
+
+	jam 0x3e,0x8072
+	nop 184 	//15us
+	jam 0x3f,0x8072
+	nop 424	//35us
+
+	jam 0x3e,0x8072
+	nop 424	//35us
+	jam 0x3f,0x8072
+	nop 184	//15us
+
+	jam 0x3e,0x8072
+	nop 424	//15us
+	jam 0x3f,0x8072
+	nop 184 	//35us
+
+	jam 0x3e,0x8072
+	nop 424	//15us
+	jam 0x3f,0x8072
+	nop 184 	//35us
+
+	rtn
+
+p_bt2_led_on:	//01111
+	jam 0x3e,0x8072
+ 	nop 156	//13us
+
+ 	nop 184 	//35us
+ 	jam 0x3f,0x8072
+ 	nop 424	//15us
+
+	jam 0x3e,0x8072
+	nop 424 	//15us
+	jam 0x3f,0x8072
+	nop 184	//35us
+
+	jam 0x3e,0x8072
+	nop 424	//35us
+	jam 0x3f,0x8072
+	nop 184	//15us
+
+	jam 0x3e,0x8072
+	nop 424	//15us
+	jam 0x3f,0x8072
+	nop 184 	//35us
+
+	jam 0x3e,0x8072
+	nop 424	//15us
+	jam 0x3f,0x8072
+	nop 184 	//35us
+
+	rtn
+
+p_caps_led_on:	   //11110
+	jam 0x3e,0x8072
+ 	nop 156	//13us
+
+ 	nop 424 	//35us
+ 	jam 0x3f,0x8072
+ 	nop 184	//15us
+
+	jam 0x3e,0x8072
+	nop 424 	//15us
+	jam 0x3f,0x8072
+	nop 184	//35us
+
+	jam 0x3e,0x8072
+	nop 424	//35us
+	jam 0x3f,0x8072
+	nop 184	//15us
+
+	jam 0x3e,0x8072
+	nop 424	//15us
+	jam 0x3f,0x8072
+	nop 184 	//35us
+
+	jam 0x3e,0x8072
+	nop 184	//15us
+	jam 0x3f,0x8072
+	nop 424 	//35us
+
+	rtn
+	
+
+p_led_all_off:	//11111
+	jam 0x3e,0x8072
+ 	nop 156	//13us
+
+ 	nop 424 	//35us
+ 	jam 0x3f,0x8072
+ 	nop 184	//15us
+
+	jam 0x3e,0x8072
+	nop 424 	//35us
+	jam 0x3f,0x8072
+	nop 184	//15us
+
+	jam 0x3e,0x8072
+	nop 424	//35us
+	jam 0x3f,0x8072
+	nop 180	//15us
+
+	jam 0x3e,0x8072
+	nop 418	//35us
+	jam 0x3f,0x8072
+	nop 184 	//15us
+
+	jam 0x3e,0x8072
+	nop 418	//35us
+	jam 0x3f,0x8072
+	nop 178 	//15us
+
+	rtn
+
+	
+ 	
+
+p_led_all_on:	//00000
+	jam 0x3e,0x8072
+ 	nop 156	//13us
+
+ 	nop 180 	//15us
+ 	jam 0x3f,0x8072
+ 	nop 420	//35us
+
+	jam 0x3e,0x8072
+	nop 180 	//15us
+	jam 0x3f,0x8072
+	nop 420	//35us
+
+	jam 0x3e,0x8072
+	nop 180	//15us
+	jam 0x3f,0x8072
+	nop 420	//35us
+
+	jam 0x3e,0x8072
+	nop 180	//15us
+	jam 0x3f,0x8072
+	nop 420 	//35us
+
+	jam 0x3e,0x8072
+	nop 180	//15us
+	jam 0x3f,0x8072
+	nop 420 	//35us
+
+	rtn
+*/	
+endif
+
+
+
+
 ifdef ZCODE
 // input : mem_zcode_temp_param0 ---- zocde number(0~1f)
 p_zcode_entrance:
Index: program/z.prog
===================================================================
--- /branch/keyboard/customer_FW/RY_project/RY_YC1028_2mode_3ch_Project/program/z.prog	(revision 1966)
+++ /branch/keyboard/customer_FW/RY_project/RY_YC1028_2mode_3ch_Project/program/z.prog	(working copy)
@@ -11,7 +11,7 @@
 	call z_keyboard_param_init
 	fetcht 1,mem_mcu_rstb_gpio
 	call gpio_out_inactive
-	call p_mouse_device_led_off
+	call p_led_all_off
 	
 	call z_keyboard_ble_device_ch_init
 	call le_set_config_fixed_ltk
@@ -85,7 +85,8 @@
 	rtn
 
 z_keyboard_start_work:
-	call p_mouse_device_poweron_timer
+	//call p_keyboard_poweron_timer_init
+	//call p_mouse_device_poweron_timer
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
 	bbit0 MOUSE_ENABLE_ADC,z_keyboard_start_work_next
 	call enable_adc
Index: sched/keyboard.dat
===================================================================
--- /branch/keyboard/customer_FW/RY_project/RY_YC1028_2mode_3ch_Project/sched/keyboard.dat	(revision 1966)
+++ /branch/keyboard/customer_FW/RY_project/RY_YC1028_2mode_3ch_Project/sched/keyboard.dat	(working copy)
@@ -224,11 +224,12 @@
 mem_mouse_low_v_led_blink_time:e8 03		#200ms on 200ms off
 mem_mouse_disconvey_led_blink_time:e8 03	#500ms on 500ms off
 mem_mouse_device_poweron_timer_count_init:1e
+mem_keyboard_system_switch_led_blink_timer:03  #300ms on 300ms off
 
 #time
 mem_mouse_24g_pair_timeout_init:58 02  #1min
 mem_mouse_discovery_timeout:58 02  #1min
-mem_mouse_no_data_timeout:70 17   #10mins
+mem_mouse_no_data_timeout:b8 0b   #5mins
 mem_mouse_24g_reconn_timeout_init:64 #10s
 mem_mouse_direct_timeout:64  #10s
 mem_mouse_fast_direct_timeout:64 #10s
@@ -247,13 +248,13 @@
 ##												bt button connct gnd          bt button in matrix        two button commbination
 mem_keyboard_pairing_type:01					#                 00                                    00                                 01
 mem_config_select_device_button_gpio:ff#13    		#              00~16			               ff					ff
-mem_keyboard_commbination_key_bt:7f 06			#		 not care				   not care			     Fn+C
-mem_keyboard_commbination_key_24g:29 06		#		 not care				   not care			     Esc+Q
+mem_keyboard_commbination_key_bt:7f ed			#		 not care				   not care			     Fn+F2
+mem_keyboard_commbination_key_24g:7f e8		#		 not care				   not care			     Fn+F1
 
 mem_keyboard_usb_enable:00
-mem_keyboard_switch_device_to_g24:01 7f 1e		#enable flag + 2byte commbination key
-mem_keyboard_switch_device_to_bt1:01 7f 1f		#enable flag + 2byte commbination key
-mem_keyboard_switch_device_to_bt2:01 7f 20		#enable flag + 2byte commbination key
+mem_keyboard_switch_device_to_g24:01 7f e8		#enable flag + 2byte commbination key  #Fn+F1
+mem_keyboard_switch_device_to_bt1:01 7f ed		#enable flag + 2byte commbination key  #Fn+F2
+mem_keyboard_switch_device_to_bt2:01 7f ee		#enable flag + 2byte commbination key  #Fn+F3
 mem_keyboard_switch_device_to_bt3:01 7f 21
 
 mem_eeprom_wp_gpio:ff
@@ -358,7 +359,7 @@
 mem_keyboard_fn_arrow_enable_flag:01
 mem_keyboard_fn_left_ctrl_enable_flag:01
 mem_keyboard_fn_space_enable_flag:01
-mem_keyboard_fn_system_switch_enable_flag:00
+mem_keyboard_fn_system_switch_enable_flag:01
 
 #zcode
 mem_zcode_current_number:ff
