Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle_pb_immediately_switch/output/eeprom.dat	(revision 4758)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle_pb_immediately_switch/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-12
+1a
 19
 c2
 84
@@ -79,19 +79,19 @@
 c0
 67
 05
-0f
+06
 c0
 67
 86
-0c
+0e
 c0
 68
 03
-67
+5e
 c0
 68
 85
-5f
+61
 c0
 69
 80
@@ -99,7 +99,7 @@
 c0
 6a
 05
-44
+47
 c0
 6b
 02
@@ -107,19 +107,19 @@
 c0
 6c
 83
-92
+89
 c0
 6d
 04
-9e
+95
 c0
 6d
 84
-ab
+a2
 c0
 6f
 05
-b1
+b3
 c0
 6f
 80
@@ -135,7 +135,7 @@
 c0
 74
 04
-b2
+a9
 20
 20
 13
@@ -143,7 +143,7 @@
 c0
 0d
 04
-c6
+bd
 c0
 10
 00
@@ -159,19 +159,19 @@
 c0
 43
 84
-ae
+a5
 c0
 50
 84
-d0
+c7
 c0
 51
 84
-da
+d1
 c0
 60
 04
-dc
+d3
 c0
 6e
 83
@@ -190,12 +190,12 @@
 c8
 c0
 76
-05
-02
+04
+f9
 c0
 76
 86
-3c
+3e
 20
 20
 13
@@ -315,7 +315,7 @@
 24
 5a
 03
-e7
+de
 20
 40
 3d
@@ -411,7 +411,7 @@
 20
 40
 04
-12
+09
 6f
 e0
 cb
@@ -430,8 +430,8 @@
 38
 20
 40
-04
-06
+03
+fd
 70
 41
 ca
@@ -1010,8 +1010,8 @@
 43
 24
 55
-84
-05
+83
+fc
 20
 40
 41
@@ -1039,7 +1039,7 @@
 20
 40
 05
-56
+58
 20
 20
 3b
@@ -1331,19 +1331,19 @@
 20
 40
 04
-37
+2e
 20
 40
 04
-1f
+16
 20
 40
 03
-8d
+84
 20
 40
 03
-dd
+d4
 20
 40
 01
@@ -1351,7 +1351,7 @@
 20
 40
 05
-93
+95
 20
 40
 01
@@ -1827,7 +1827,7 @@
 20
 20
 05
-56
+58
 20
 40
 26
@@ -2055,7 +2055,7 @@
 20
 20
 05
-be
+c0
 70
 4b
 94
@@ -2191,11 +2191,11 @@
 20
 40
 05
-4f
+51
 20
 40
 05
-56
+58
 20
 20
 3e
@@ -2211,11 +2211,11 @@
 20
 40
 04
-37
+2e
 20
 40
 03
-8d
+84
 20
 40
 40
@@ -2243,7 +2243,7 @@
 20
 40
 05
-ab
+ad
 d8
 40
 00
@@ -2263,7 +2263,7 @@
 20
 40
 04
-1f
+16
 6f
 e0
 cc
@@ -2511,7 +2511,7 @@
 20
 40
 05
-ab
+ad
 20
 20
 3e
@@ -2538,8 +2538,8 @@
 9f
 20
 40
-05
-02
+04
+f9
 24
 74
 00
@@ -2667,7 +2667,7 @@
 20
 40
 03
-db
+d2
 20
 20
 43
@@ -2679,7 +2679,7 @@
 20
 40
 03
-db
+d2
 20
 20
 43
@@ -2819,7 +2819,7 @@
 20
 40
 03
-e5
+dc
 20
 40
 48
@@ -2847,7 +2847,7 @@
 20
 40
 03
-e5
+dc
 20
 40
 45
@@ -3079,7 +3079,7 @@
 20
 40
 05
-56
+58
 20
 20
 02
@@ -3323,48 +3323,12 @@
 c0
 00
 03
-48
-20
-40
-03
-40
+3f
 20
 20
 3d
 57
 6f
-e0
-c9
-38
-c0
-00
-83
-44
-c0
-01
-03
-46
-20
-60
-00
-00
-70
-4b
-b3
-01
-20
-60
-00
-00
-70
-4b
-b3
-02
-20
-60
-00
-00
-6f
 e4
 4b
 ab
@@ -3379,7 +3343,7 @@
 20
 34
 03
-5c
+53
 6f
 e4
 4b
@@ -3387,11 +3351,11 @@
 c2
 98
 03
-5f
+56
 c3
 18
 83
-65
+5c
 20
 40
 41
@@ -3411,11 +3375,11 @@
 20
 22
 83
-55
+4c
 20
 20
 03
-65
+5c
 d8
 e0
 00
@@ -3439,7 +3403,7 @@
 20
 40
 03
-e7
+de
 20
 20
 48
@@ -3447,7 +3411,7 @@
 20
 40
 03
-e7
+de
 20
 40
 00
@@ -3459,7 +3423,7 @@
 20
 40
 03
-e7
+de
 70
 49
 38
@@ -3483,7 +3447,7 @@
 20
 40
 03
-e7
+de
 20
 20
 48
@@ -3495,7 +3459,7 @@
 20
 40
 03
-6a
+61
 20
 20
 40
@@ -3539,7 +3503,7 @@
 20
 3a
 04
-42
+39
 67
 e0
 cb
@@ -3611,15 +3575,15 @@
 24
 41
 03
-89
+80
 c0
 01
 03
-8b
+82
 c0
 03
 83
-8d
+84
 20
 60
 00
@@ -3631,7 +3595,7 @@
 20
 20
 03
-8d
+84
 68
 48
 c9
@@ -3655,7 +3619,7 @@
 20
 3a
 03
-76
+6d
 20
 60
 00
@@ -3667,7 +3631,7 @@
 20
 40
 03
-8f
+86
 20
 40
 23
@@ -3687,15 +3651,15 @@
 20
 40
 04
-3f
+36
 20
 40
 03
-ef
+e6
 20
 40
 04
-62
+59
 20
 40
 40
@@ -3707,11 +3671,11 @@
 20
 40
 03
-ba
+b1
 20
 40
 04
-7b
+72
 20
 40
 44
@@ -3719,15 +3683,15 @@
 20
 40
 03
-ca
+c1
 20
 40
 03
-d0
+c7
 20
 40
 03
-d4
+cb
 20
 40
 45
@@ -3735,7 +3699,7 @@
 20
 40
 04
-92
+89
 20
 40
 45
@@ -3743,7 +3707,7 @@
 20
 40
 04
-95
+8c
 20
 40
 45
@@ -3767,19 +3731,19 @@
 20
 40
 03
-b0
+a7
 20
 40
 04
-22
+19
 20
 40
 04
-98
+8f
 20
 20
 03
-d8
+cf
 da
 60
 49
@@ -3787,7 +3751,7 @@
 da
 40
 03
-b3
+aa
 20
 20
 31
@@ -3827,7 +3791,7 @@
 c2
 9b
 83
-bd
+b4
 20
 60
 00
@@ -3847,7 +3811,7 @@
 da
 40
 03
-c2
+b9
 20
 20
 31
@@ -3887,7 +3851,7 @@
 da
 40
 03
-cd
+c4
 da
 60
 4c
@@ -3911,7 +3875,7 @@
 da
 40
 03
-d3
+ca
 da
 60
 4c
@@ -3923,7 +3887,7 @@
 20
 20
 03
-8d
+84
 da
 60
 4b
@@ -3955,11 +3919,11 @@
 20
 40
 05
-44
+47
 20
 20
 03
-e5
+dc
 6f
 e0
 cc
@@ -3995,15 +3959,15 @@
 20
 40
 03
-dd
+d4
 20
 20
 03
-eb
+e2
 20
 20
 03
-e8
+df
 70
 4c
 41
@@ -4015,7 +3979,7 @@
 20
 20
 03
-e2
+d9
 70
 4c
 41
@@ -4047,7 +4011,7 @@
 c0
 00
 83
-ff
+f6
 6f
 e0
 cc
@@ -4055,7 +4019,7 @@
 24
 3a
 03
-f7
+ee
 70
 4c
 41
@@ -4071,7 +4035,7 @@
 20
 3a
 03
-fc
+f3
 1f
 e0
 ff
@@ -4082,8 +4046,8 @@
 47
 20
 20
-04
-06
+03
+fd
 70
 4c
 45
@@ -4095,15 +4059,15 @@
 20
 20
 04
-12
+09
 da
 60
 4c
 4d
 da
 40
-04
-02
+03
+f9
 20
 20
 31
@@ -4111,7 +4075,7 @@
 20
 40
 03
-e2
+d9
 6f
 e0
 cc
@@ -4119,7 +4083,7 @@
 c0
 00
 84
-11
+08
 70
 4c
 4e
@@ -4131,15 +4095,15 @@
 c0
 00
 04
-0b
+02
 c0
 00
 84
-0d
+04
 c0
 01
 04
-0f
+06
 20
 60
 00
@@ -4151,7 +4115,7 @@
 20
 20
 04
-10
+07
 68
 48
 cc
@@ -4159,7 +4123,7 @@
 20
 20
 04
-10
+07
 68
 48
 cc
@@ -4179,15 +4143,15 @@
 c0
 00
 04
-17
+0e
 c0
 00
 84
-19
+10
 c0
 01
 04
-1b
+12
 20
 60
 00
@@ -4199,7 +4163,7 @@
 20
 20
 04
-1c
+13
 68
 48
 cc
@@ -4207,7 +4171,7 @@
 20
 20
 04
-1c
+13
 68
 48
 cc
@@ -4227,15 +4191,15 @@
 20
 40
 04
-17
+0e
 20
 40
 04
-19
+10
 20
 20
 04
-1b
+12
 6f
 e0
 cb
@@ -4283,7 +4247,7 @@
 c2
 82
 04
-3b
+32
 70
 4c
 9b
@@ -4319,7 +4283,7 @@
 20
 21
 04
-39
+30
 68
 48
 cb
@@ -4351,7 +4315,7 @@
 20
 20
 04
-37
+2e
 da
 60
 4b
@@ -4359,7 +4323,7 @@
 da
 40
 04
-42
+39
 20
 20
 31
@@ -4379,11 +4343,11 @@
 c0
 01
 84
-51
+48
 c0
 05
 84
-51
+48
 6f
 e0
 c9
@@ -4407,11 +4371,11 @@
 20
 41
 04
-5c
+53
 24
 41
 04
-60
+57
 60
 48
 cc
@@ -4459,7 +4423,7 @@
 24
 41
 04
-60
+57
 60
 48
 cc
@@ -4535,15 +4499,15 @@
 24
 41
 04
-70
+67
 c0
 00
 84
-75
+6c
 c0
 02
 04
-78
+6f
 20
 60
 00
@@ -4599,7 +4563,7 @@
 c0
 00
 04
-81
+78
 6f
 e4
 4b
@@ -4615,7 +4579,7 @@
 20
 20
 04
-84
+7b
 6f
 e4
 4b
@@ -4651,7 +4615,7 @@
 20
 22
 84
-8b
+82
 20
 20
 44
@@ -4659,7 +4623,7 @@
 20
 40
 04
-90
+87
 6f
 e0
 cb
@@ -4715,7 +4679,7 @@
 da
 40
 04
-9b
+92
 20
 20
 31
@@ -4739,15 +4703,15 @@
 20
 40
 03
-e7
+de
 20
 40
 05
-56
+58
 20
 40
 04
-37
+2e
 6f
 e1
 47
@@ -4839,7 +4803,7 @@
 c0
 04
 84
-ba
+b1
 20
 20
 4d
@@ -4915,7 +4879,7 @@
 c0
 03
 84
-cd
+c4
 20
 20
 57
@@ -4987,7 +4951,7 @@
 c0
 02
 04
-df
+d6
 20
 20
 19
@@ -5003,11 +4967,11 @@
 c0
 05
 04
-e4
+db
 c0
 09
 04
-f3
+ea
 20
 20
 1c
@@ -5035,7 +4999,7 @@
 c2
 81
 84
-ee
+e5
 6f
 e1
 44
@@ -5063,11 +5027,11 @@
 24
 22
 84
-ea
+e1
 24
 34
 04
-ea
+e1
 20
 20
 1e
@@ -5207,7 +5171,7 @@
 20
 40
 05
-20
+17
 20
 40
 40
@@ -5223,7 +5187,7 @@
 20
 40
 05
-5d
+5f
 6f
 e0
 c8
@@ -5239,15 +5203,15 @@
 24
 34
 05
-3a
+3c
 20
 40
 05
-37
+39
 20
 40
 05
-41
+43
 20
 20
 45
@@ -5265,9 +5229,13 @@
 c9
 27
 c0
+05
+85
+1d
+c0
 03
 85
-25
+27
 20
 20
 42
@@ -5276,6 +5244,46 @@
 40
 42
 c4
+6f
+e0
+c9
+11
+c0
+7f
+c2
+94
+68
+48
+c9
+11
+20
+40
+60
+59
+24
+60
+80
+00
+58
+00
+00
+00
+20
+40
+5b
+0d
+c0
+ac
+41
+b2
+20
+20
+42
+79
+20
+40
+42
+c4
 78
 54
 7c
@@ -5287,7 +5295,7 @@
 c0
 7f
 85
-2c
+2e
 68
 48
 c9
@@ -5323,19 +5331,19 @@
 c3
 03
 85
-33
+35
 20
 20
 05
-36
+38
 c2
 81
 85
-36
+38
 c2
 82
 05
-36
+38
 20
 60
 00
@@ -5392,6 +5400,10 @@
 01
 80
 00
+c1
+05
+80
+00
 20
 20
 47
@@ -5407,7 +5419,7 @@
 c0
 05
 85
-4b
+4e
 20
 40
 42
@@ -5427,19 +5439,15 @@
 20
 40
 05
-52
+54
 da
 60
 4b
 e3
 20
-40
-42
-2b
-20
 20
-40
-8e
+05
+4c
 6f
 e0
 c9
@@ -5447,7 +5455,7 @@
 c0
 05
 85
-52
+54
 20
 20
 42
@@ -5483,7 +5491,7 @@
 c0
 05
 85
-5b
+5d
 20
 20
 42
@@ -5499,7 +5507,7 @@
 20
 40
 05
-5f
+61
 20
 20
 40
@@ -5519,27 +5527,27 @@
 20
 40
 05
-6a
+6c
 20
 40
 05
-6f
+71
 20
 40
 05
-74
+76
 20
 40
 05
-79
+7b
 20
 40
 05
-86
+88
 20
 40
 05
-98
+9a
 1a
 22
 7e
@@ -5555,7 +5563,7 @@
 20
 40
 05
-ab
+ad
 20
 40
 41
@@ -5575,7 +5583,7 @@
 20
 40
 05
-ab
+ad
 20
 40
 41
@@ -5595,7 +5603,7 @@
 20
 40
 05
-ab
+ad
 20
 40
 41
@@ -5639,7 +5647,7 @@
 c0
 7f
 85
-82
+84
 20
 20
 41
@@ -5651,7 +5659,7 @@
 20
 40
 05
-ae
+b0
 68
 48
 c9
@@ -5691,7 +5699,7 @@
 c0
 7f
 85
-8f
+91
 20
 20
 41
@@ -5703,7 +5711,7 @@
 20
 40
 05
-ae
+b0
 68
 48
 c9
@@ -5783,7 +5791,7 @@
 20
 40
 05
-ae
+b0
 68
 48
 c9
@@ -5843,15 +5851,15 @@
 20
 40
 05
-be
+c0
 20
 40
 05
-d0
+d2
 20
 40
 05
-b7
+b9
 20
 20
 46
@@ -5863,11 +5871,11 @@
 c2
 94
 85
-bb
+bd
 c2
 9b
 85
-bb
+bd
 20
 60
 00
@@ -5907,7 +5915,7 @@
 20
 40
 05
-c5
+c7
 20
 20
 40
@@ -5935,7 +5943,7 @@
 c0
 7f
 85
-cc
+ce
 20
 20
 40
@@ -5947,7 +5955,7 @@
 20
 40
 05
-ae
+b0
 68
 48
 c9
@@ -5971,7 +5979,7 @@
 24
 3a
 05
-d9
+db
 6f
 e0
 cc
@@ -5979,11 +5987,11 @@
 20
 40
 05
-ab
+ad
 20
 40
 05
-e4
+e6
 68
 48
 cc
@@ -6007,7 +6015,7 @@
 20
 40
 05
-ae
+b0
 70
 4c
 3f
@@ -6023,11 +6031,11 @@
 20
 40
 05
-fd
+ff
 20
 40
 05
-e8
+ea
 68
 48
 cc
@@ -6051,7 +6059,7 @@
 20
 40
 05
-f3
+f5
 67
 e0
 cc
@@ -6063,7 +6071,7 @@
 20
 3a
 05
-ef
+f1
 6f
 e0
 cc
@@ -6127,11 +6135,11 @@
 c0
 03
 86
-08
+0a
 c0
 00
 06
-0a
+0c
 20
 60
 00
@@ -6171,11 +6179,11 @@
 c0
 03
 86
-08
+0a
 c0
 00
 06
-0a
+0c
 20
 60
 00
@@ -6219,7 +6227,7 @@
 c2
 9e
 86
-18
+1a
 18
 42
 7e
@@ -6251,7 +6259,7 @@
 24
 3a
 06
-35
+37
 6f
 e4
 4b
@@ -6259,7 +6267,7 @@
 c2
 8e
 06
-29
+2b
 18
 42
 7e
@@ -6271,11 +6279,11 @@
 c0
 00
 06
-25
+27
 c0
 01
 06
-23
+25
 20
 60
 00
@@ -6287,7 +6295,7 @@
 20
 20
 06
-15
+17
 58
 00
 00
@@ -6295,7 +6303,7 @@
 20
 20
 06
-15
+17
 58
 00
 00
@@ -6303,7 +6311,7 @@
 20
 20
 06
-15
+17
 58
 00
 00
@@ -6311,7 +6319,7 @@
 20
 20
 06
-15
+17
 18
 42
 7e
@@ -6323,15 +6331,15 @@
 c0
 00
 06
-25
+27
 c0
 01
 06
-27
+29
 c0
 01
 86
-23
+25
 20
 60
 00
@@ -6347,15 +6355,15 @@
 c0
 00
 06
-27
+29
 c0
 00
 86
-23
+25
 c0
 01
 86
-21
+23
 20
 60
 00
@@ -6367,7 +6375,7 @@
 c2
 8e
 06
-2f
+31
 18
 42
 7e
@@ -6379,11 +6387,11 @@
 c0
 00
 06
-21
+23
 c0
 00
 86
-23
+25
 20
 60
 00
@@ -6420,8 +6428,8 @@
 20
 26
 f6
-bf
-34
+ed
+ee
 aa
 55
 40
@@ -6644,7 +6652,7 @@
 49
 00
 00
-00
+01
 aa
 55
 03
@@ -7295,9 +7303,9 @@
 2a
 3f
 15
-14
-1b
 11
+1b
+28
 0e
 aa
 55
@@ -7415,7 +7423,7 @@
 ff
 aa
 55
-58
+5a
 00
 39
 4a
@@ -7495,6 +7503,8 @@
 a5
 46
 34
+19
+04
 60
 07
 69
@@ -7754,26 +7764,16 @@
 02
 40
 00
-57
+61
 1e
 55
 aa
 aa
 55
-58
+96
 8e
-c1
-5b
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+1f
+fd
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-9a
-84
+33
+93
Index: output/program.lis
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle_pb_immediately_switch/output/program.lis	(revision 4758)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle_pb_immediately_switch/output/program.lis	(working copy)
@@ -18,38 +18,38 @@
 000f c0648225 beq patch19_1 ,p_mouse_setgpio_hibernate 
 0010 c065026c beq patch19_2 ,p_mouse_lpm_before_common 
 0011 c06600de beq patch19_4 ,p_mouse_adc_read_start 
-0012 c067050f beq patch19_6 ,p_mouse_motion 
-0013 c067860c beq patch19_7 ,p_mouse_dpi_process 
-0014 c0680367 beq patch1a_0 ,p_mouse_seting_dpi 
-0015 c068855f beq patch1a_1 ,p_mouse_check_key_gpio 
+0012 c0670506 beq patch19_6 ,p_mouse_motion 
+0013 c067860e beq patch19_7 ,p_mouse_dpi_process 
+0014 c068035e beq patch1a_0 ,p_mouse_seting_dpi 
+0015 c0688561 beq patch1a_1 ,p_mouse_check_key_gpio 
 0016 c0698039 beq patch1a_3 ,p_mouse_init_sunt 
-0017 c06a0544 beq patch1a_4 ,p_mouse_sensor_poweron 
+0017 c06a0547 beq patch1a_4 ,p_mouse_sensor_poweron 
 0018 c06b028e beq patch1a_6 ,p_mouse_priority_bb_event 
-0019 c06c8392 beq patch1b_1 ,p_mouse_bb_event_timer 
-001a c06d049e beq patch1b_2 ,p_mouse_start_discovery 
-001b c06d84ab beq patch1b_3 ,p_mouse_stop_discovery 
-001c c06f05b1 beq patch1b_6 ,p_mouse_idle 
+0019 c06c8389 beq patch1b_1 ,p_mouse_bb_event_timer 
+001a c06d0495 beq patch1b_2 ,p_mouse_start_discovery 
+001b c06d84a2 beq patch1b_3 ,p_mouse_stop_discovery 
+001c c06f05b3 beq patch1b_6 ,p_mouse_idle 
 001d c06f8063 beq patch1b_7 ,p_mouse_ready_reconnection_by_button 
 001e c070805b beq patch1c_1 ,p_mouse_led_off 
 001f c0710057 beq patch1c_2 ,p_mouse_led_on 
-0020 c07404b2 beq patch1d_0 ,p_hid_rx_process 
+0020 c07404a9 beq patch1d_0 ,p_hid_rx_process 
 0021 2020137c branch loop 
 
 pf_patch_ext:
-0022 c00d04c6 beq patch23_2 ,p_send_lmp 
+0022 c00d04bd beq patch23_2 ,p_send_lmp 
 0023 c0100055 beq patch24_0 ,p_twspi_reset 
 0024 c01980be beq patch26_3 ,p_adc_init_data 
 0025 c01a00c3 beq patch26_4 ,p_enable_adc 
-0026 c04384ae beq patch30_7 ,p_ui_timer_check 
-0027 c05084d0 beq patch34_1 ,p_le_slave_match 
-0028 c05184da beq patch34_3 ,p_le_slave_unsync 
-0029 c06004dc beq patch38_0 ,p_le_parse_l2cap 
+0026 c04384a5 beq patch30_7 ,p_ui_timer_check 
+0027 c05084c7 beq patch34_1 ,p_le_slave_match 
+0028 c05184d1 beq patch34_3 ,p_le_slave_unsync 
+0029 c06004d3 beq patch38_0 ,p_le_parse_l2cap 
 002a c06e8336 beq patch3b_5 ,p_g24_dispatch 
 002b c0710302 beq patch3c_2 ,p_g24_pair_dispatch 
 002c c074830a beq patch3d_1 ,p_g24_reconn_dispatch 
 002d c07501c8 beq patch3d_2 ,p_g24_transmit_no_interrupt 
-002e c0760502 beq patch3d_4 ,p_g24_lpm_wait 
-002f c076863c beq patch3d_5 ,p_power_ctrl_start 
+002e c07604f9 beq patch3d_4 ,p_g24_lpm_wait 
+002f c076863e beq patch3d_5 ,p_power_ctrl_start 
 0030 2020137c branch loop 
 
 p_soft_reset:
@@ -95,7 +95,7 @@
 p_mouse_start_reconnect_device:
 004b 20400050 call p_mouse_judge_reconnect_state 
 004c 6fe0cc42 fetch 1 ,mem_mouse_bt_led_recon_effect_flag 
-004d 245a03e7 ncall p_mouse_device_discover_led_config ,blank 
+004d 245a03de ncall p_mouse_device_discover_led_config ,blank 
 004e 20403d5a call mouse_start_reconnect_device + 1 
 004f 20600000 rtn 
 
@@ -133,12 +133,12 @@
 p_mouse_ready_reconnection_by_button:
 0063 704c4100 jam 0 ,mem_mouse_multi_led_blink_enable 
 0064 704c4300 jam multi_led_on ,mem_mouse_multi_led_type 
-0065 20400412 call p_mouse_device_multi_led_off + 1 
+0065 20400409 call p_mouse_device_multi_led_off + 1 
 0066 6fe0cbb4 fetch 1 ,mem_device_number 
 0067 c1008000 rtneq 1 
 0068 204046c2 call mouse_select_device_number 
 0069 6048c938 storet 1 ,mem_device_flag 
-006a 20400406 call p_mouse_device_multi_led_on + 1 
+006a 204003fd call p_mouse_device_multi_led_on + 1 
 
 p_mouse_store_device_number_before_reset:
 006b 7041ca00 jam 0 ,mem_link_key_exists 
@@ -329,14 +329,14 @@
 00f8 793f8034 set0 mark_adc_enable ,mark 
 00f9 20406df3 call enable_authrom 
 00fa 20400143 call p_mouse_setting_config 
-00fb 24558405 ncall p_mouse_device_multi_led_on ,wake 
+00fb 245583fc ncall p_mouse_device_multi_led_on ,wake 
 00fc 204041a7 call mouse_init_sunt 
 00fd 20758000 rtn wake 
 00fe 2040408e call mouse_dpi_config 
 00ff 20403d8a call mouse_usb_check_enable 
 0100 20404728 call mouse_drawing_optima_init 
 0101 20400183 call p_mouse_cb_fuction 
-0102 20400556 call p_mouse_sensor_powerdown 
+0102 20400558 call p_mouse_sensor_powerdown 
 0103 20203bc9 branch mouse_init + 8 
 
 p_mouse_double_dpi_judge:
@@ -429,12 +429,12 @@
 0148 20403d13 call mouse_param_init 
 0149 2040016f call p_mouse_select_angle 
 014a 2040023c call p_mouse_set_sensor_gpio_sleep 
-014b 20400437 call p_mouse_logo_led_off 
-014c 2040041f call p_mouse_1io2led_all_off 
-014d 2040038d call p_mouse_low_voltage_led_off 
-014e 204003dd call p_mouse_device_multi_led_poweron_init 
+014b 2040042e call p_mouse_logo_led_off 
+014c 20400416 call p_mouse_1io2led_all_off 
+014d 20400384 call p_mouse_low_voltage_led_off 
+014e 204003d4 call p_mouse_device_multi_led_poweron_init 
 014f 20400104 call p_mouse_double_dpi_judge 
-0150 20400593 call p_mouse_customer_key_connect_vin 
+0150 20400595 call p_mouse_customer_key_connect_vin 
 0151 20400169 call p_mouse_store_normal_tx_power 
 0152 20401b16 call le_set_config_fixed_ltk 
 0153 20401b3f call le_set_justwork 
@@ -585,7 +585,7 @@
 01c4 67e0cba4 store 1 ,mem_mouse_search_dongle_action 
 01c5 6fe14bbc fetch 2 ,mem_mouse_24g_search_dongle_time_init 
 01c6 67e14ab2 store 2 ,mem_mouse_no_data_timer 
-01c7 20200556 branch p_mouse_sensor_powerdown 
+01c7 20200558 branch p_mouse_sensor_powerdown 
 
 p_g24_transmit_no_interrupt:
 01c8 20402631 call g24_txdata_prep 
@@ -662,7 +662,7 @@
 p_mouse_dpi_check_once:
 01fe 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
 01ff c4140000 rtnbit0 mouse_enable_select_device_by_dpi_button 
-0200 202005be branch p_mouse_dpi_check 
+0200 202005c0 branch p_mouse_dpi_check 
 
 p_mouse_select_device_by_pb_button_check_once:
 0201 704b9403 jam 0x03 ,mem_mouse_pbkey_press_status 
@@ -712,27 +712,27 @@
 021f 58000006 setarg pan_reg_config 
 0220 20405b0d call twspi_read 
 0221 c281be23 bbit1 3 ,mouse_app_enter_hibernate + 3 
-0222 2040054f call p_mouse_sensor_reset 
-0223 20400556 call p_mouse_sensor_powerdown 
+0222 20400551 call p_mouse_sensor_reset 
+0223 20400558 call p_mouse_sensor_powerdown 
 0224 20203e23 branch mouse_app_enter_hibernate + 3 
 
 p_mouse_setgpio_hibernate:
 0225 204042e9 call mouse_set_sdio_high 
 0226 20407fdc call clear_wake 
-0227 20400437 call p_mouse_logo_led_off 
-0228 2040038d call p_mouse_low_voltage_led_off 
+0227 2040042e call p_mouse_logo_led_off 
+0228 20400384 call p_mouse_low_voltage_led_off 
 0229 20404015 call mouse_before_hibernate_wheel_gpio_set 
 022a 6848c910 fetcht 1 ,mem_matrix_public_gpio 
 022b 20406069 call gpio_out_active 
 022c 6848c910 fetcht 1 ,mem_matrix_public_gpio 
 022d 20406042 call gpio_clr_wake 
 022e 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
-022f 204005ab call p_mouse_gpio_config_output_high 
+022f 204005ad call p_mouse_gpio_config_output_high 
 0230 d8400003 arg 3 ,temp 
 0231 20403f56 call mouse_gpio_config_input_pu 
 0232 2040026c call p_mouse_lpm_before_common 
 0233 20406082 call gpio_pd_idle 
-0234 2040041f call p_mouse_1io2led_all_off 
+0234 20400416 call p_mouse_1io2led_all_off 
 0235 6fe0cc49 fetch 1 ,mem_mouse_1io2led_multi_bt1led 
 0236 d84000c0 arg gpcfg_no_ie ,temp 
 0237 20406093 call gpio_config_function_int 
@@ -816,7 +816,7 @@
 026f 20406050 call gpio_config_input 
 0270 20403f88 call mouse_wheel_check 
 0271 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
-0272 204005ab call p_mouse_gpio_config_output_high 
+0272 204005ad call p_mouse_gpio_config_output_high 
 0273 20203e44 branch mouse_lpm_before_common + 4 
 
 p_g24_nodata_transmit:
@@ -827,7 +827,7 @@
 0278 2040269f call g24_search_receiver 
 
 p_g24_long_sleep:
-0279 20400502 call p_g24_lpm_wait 
+0279 204004f9 call p_g24_lpm_wait 
 027a 24740000 nrtn user 
 027b 204026c4 call g24_setgpio_lpm_before 
 027c 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
@@ -865,12 +865,12 @@
 0298 20204336 branch mouse_priority_bb_event + 2 
 
 p_mouse_le_bb_event_connected:
-0299 204003db call p_mouse_device_connect_init_sensor_or_led 
+0299 204003d2 call p_mouse_device_connect_init_sensor_or_led 
 029a 20204350 branch mouse_le_bb_event_connected 
 
 p_mouse_bb_event_connected:
 029b 20404544 call mouse_no_data_timer_init 
-029c 204003db call p_mouse_device_connect_init_sensor_or_led 
+029c 204003d2 call p_mouse_device_connect_init_sensor_or_led 
 029d 202043fa branch mouse_bb_event_connected 
 
 p_mouse_le_bb_disconnected:
@@ -917,7 +917,7 @@
 02bc 20404544 call mouse_no_data_timer_init 
 02bd d8e00001 arg mouse_24g_pairing_flag ,queue 
 02be 204046f4 call mouse_disable_function_flag 
-02bf 204003e5 call p_mouse_device_poweron_led_config 
+02bf 204003dc call p_mouse_device_poweron_led_config 
 02c0 204048c9 call mouse_device_poweron_timer_init + 3 
 02c1 2020485a branch mouse_24g_pairing_complete + 3 
 
@@ -926,7 +926,7 @@
 02c3 67e24891 store 4 ,mem_24g_receiver_addr 
 02c4 67e24993 store 4 ,mem_mouse_24g_addr 
 02c5 2040257e call g24_ch_syncword_crc8_init 
-02c6 204003e5 call p_mouse_device_poweron_led_config 
+02c6 204003dc call p_mouse_device_poweron_led_config 
 02c7 20404544 call mouse_no_data_timer_init 
 02c8 204042ca call mouse_init_sensor_reset 
 02c9 704aae00 jam 0 ,mem_mouse_long_mult_flag 
@@ -998,7 +998,7 @@
 02fd 58000000 setarg 0 
 02fe 67e3c8d0 store 7 ,mem_mouse_key 
 02ff 704be101 jam 1 ,mem_sensor_shutdown_flag 
-0300 20400556 call p_mouse_sensor_powerdown 
+0300 20400558 call p_mouse_sensor_powerdown 
 0301 20200279 branch p_g24_long_sleep 
 
 p_g24_pair_dispatch:
@@ -1077,1089 +1077,1091 @@
 033a 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
 033b c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
 033c 6fe0c938 fetch 1 ,mem_device_flag 
-033d c0000348 beq mode_24g_device ,p_mouse_24g_start_mode 
-033e 20400340 call p_mouse_le_adv_type_set 
-033f 20203d57 branch mouse_start_work + 5 
-
-p_mouse_le_adv_type_set:
-0340 6fe0c938 fetch 1 ,mem_device_flag 
-0341 c0008344 beq mode_bt_device1 ,p_mouse_le_adv_bt 
-0342 c0010346 beq mode_bt_device2 ,p_mouse_le_adv_ble 
-0343 20600000 rtn 
-
-p_mouse_le_adv_bt:
-0344 704bb301 jam 1 ,mem_mouse_bluetooth_type 
-0345 20600000 rtn 
-
-p_mouse_le_adv_ble:
-0346 704bb302 jam 2 ,mem_mouse_bluetooth_type 
-0347 20600000 rtn 
+033d c000033f beq mode_24g_device ,p_mouse_24g_start_mode 
+033e 20203d57 branch mouse_start_work + 5 
 
 p_mouse_24g_start_mode:
-0348 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0349 c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
-034a 20403d65 call mouse_wakeup_from_power_check 
-034b 2034035c branch p_mouse_24g_reconn_dongle_start ,user 
-034c 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-034d c298035f bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_reconn_general_dongle_and_receive 
-034e c3188365 bbit0 mouse_enable_24g_power_on_pairing ,p_mouse_24g_reconn_general_dongle 
-034f 20404110 call mouse_key_check_once 
-0350 1a217e07 and rega ,0x07 ,pdata 
-0351 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
-0352 98467c00 isub temp ,null 
-0353 20228355 branch p_mouse_24g_power_on_start_pair_mode ,zero 
-0354 20200365 branch p_mouse_24g_reconn_general_dongle 
+033f 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0340 c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
+0341 20403d65 call mouse_wakeup_from_power_check 
+0342 20340353 branch p_mouse_24g_reconn_dongle_start ,user 
+0343 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0344 c2980356 bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_reconn_general_dongle_and_receive 
+0345 c318835c bbit0 mouse_enable_24g_power_on_pairing ,p_mouse_24g_reconn_general_dongle 
+0346 20404110 call mouse_key_check_once 
+0347 1a217e07 and rega ,0x07 ,pdata 
+0348 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
+0349 98467c00 isub temp ,null 
+034a 2022834c branch p_mouse_24g_power_on_start_pair_mode ,zero 
+034b 2020035c branch p_mouse_24g_reconn_general_dongle 
 
 p_mouse_24g_power_on_start_pair_mode:
-0355 d8e00001 arg mouse_24g_pairing_flag ,queue 
-0356 204046f0 call mouse_enable_function_flag 
-0357 58000000 setarg 0 
-0358 67e14887 store 2 ,mem_24g_reconn_timeout 
-0359 20404576 call mouse_stop_discovery 
-035a 204003e7 call p_mouse_device_discover_led_config 
-035b 2020482e branch mouse_24g_start_pair_mode_skip_blink_timer 
+034c d8e00001 arg mouse_24g_pairing_flag ,queue 
+034d 204046f0 call mouse_enable_function_flag 
+034e 58000000 setarg 0 
+034f 67e14887 store 2 ,mem_24g_reconn_timeout 
+0350 20404576 call mouse_stop_discovery 
+0351 204003de call p_mouse_device_discover_led_config 
+0352 2020482e branch mouse_24g_start_pair_mode_skip_blink_timer 
 
 p_mouse_24g_reconn_dongle_start:
-035c 204003e7 call p_mouse_device_discover_led_config 
-035d 20400053 call p_mouse_change_led_blink_time 
-035e 20204806 branch mouse_24g_reconn_dongle_start 
+0353 204003de call p_mouse_device_discover_led_config 
+0354 20400053 call p_mouse_change_led_blink_time 
+0355 20204806 branch mouse_24g_reconn_dongle_start 
 
 p_mouse_24g_reconn_general_dongle_and_receive:
-035f 204003e7 call p_mouse_device_discover_led_config 
-0360 70493800 jam mode_24g_device ,mem_device_flag 
-0361 6fe14bba fetch 2 ,mem_mouse_24g_power_on_fast_conn_timer 
-0362 67e14887 store 2 ,mem_24g_reconn_timeout 
-0363 70488b01 jam fast_conn_and_receiver ,mem_24g_reconn_type 
-0364 20202559 branch g24_reconn_start 
+0356 204003de call p_mouse_device_discover_led_config 
+0357 70493800 jam mode_24g_device ,mem_device_flag 
+0358 6fe14bba fetch 2 ,mem_mouse_24g_power_on_fast_conn_timer 
+0359 67e14887 store 2 ,mem_24g_reconn_timeout 
+035a 70488b01 jam fast_conn_and_receiver ,mem_24g_reconn_type 
+035b 20202559 branch g24_reconn_start 
 
 p_mouse_24g_reconn_general_dongle:
-0365 204003e7 call p_mouse_device_discover_led_config 
-0366 2020480c branch mouse_24g_reconn_general_dongle 
+035c 204003de call p_mouse_device_discover_led_config 
+035d 2020480c branch mouse_24g_reconn_general_dongle 
 
 p_mouse_seting_dpi:
-0367 2040408f call mouse_setting_dpi_4_level 
-0368 2040036a call p_mouse_dpi_led_blink_delay 
-0369 20204098 branch mouse_seting_sensor_type 
+035e 2040408f call mouse_setting_dpi_4_level 
+035f 20400361 call p_mouse_dpi_led_blink_delay 
+0360 20204098 branch mouse_seting_sensor_type 
 
 p_mouse_dpi_led_blink_delay:
-036a 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-036b c17f8000 rtneq gpio_disable 
-036c 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
-036d 247a0000 nrtn blank 
-036e 6fe14883 fetch 2 ,mem_24g_pair_timeout 
-036f 247a0000 nrtn blank 
-0370 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
-0371 247a0000 nrtn blank 
-0372 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
-0373 203a0442 branch p_mouse_dpi_led_blink_init ,blank 
-0374 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
-0375 20600000 rtn 
+0361 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+0362 c17f8000 rtneq gpio_disable 
+0363 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
+0364 247a0000 nrtn blank 
+0365 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+0366 247a0000 nrtn blank 
+0367 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+0368 247a0000 nrtn blank 
+0369 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
+036a 203a0439 branch p_mouse_dpi_led_blink_init ,blank 
+036b 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
+036c 20600000 rtn 
 
 p_mouse_low_voltage_led_timer:
-0376 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
-0377 247a0000 nrtn blank 
-0378 6fe14883 fetch 2 ,mem_24g_pair_timeout 
-0379 247a0000 nrtn blank 
-037a 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
-037b 247a0000 nrtn blank 
-037c 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
-037d 247a0000 nrtn blank 
-037e 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-037f c4020000 rtnbit0 mouse_low_voltage_flag 
-0380 704c4301 jam multi_led_blink ,mem_mouse_multi_led_type 
-0381 6fe0c8f8 fetch 1 ,mem_adc_low_volatage_led_timer_count 
-0382 1fe0fe01 increase 1 ,pdata 
-0383 67e0c8f8 store 1 ,mem_adc_low_volatage_led_timer_count 
-0384 1fe67c0b sub pdata ,11 ,null 
-0385 24410389 ncall p_mouse_adc_low_volatage_led_timer_count_clean ,positive 
-0386 c001038b beq 2 ,p_mouse_low_voltage_led_on 
-0387 c003838d beq 7 ,p_mouse_low_voltage_led_off 
-0388 20600000 rtn 
+036d 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
+036e 247a0000 nrtn blank 
+036f 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+0370 247a0000 nrtn blank 
+0371 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+0372 247a0000 nrtn blank 
+0373 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
+0374 247a0000 nrtn blank 
+0375 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0376 c4020000 rtnbit0 mouse_low_voltage_flag 
+0377 704c4301 jam multi_led_blink ,mem_mouse_multi_led_type 
+0378 6fe0c8f8 fetch 1 ,mem_adc_low_volatage_led_timer_count 
+0379 1fe0fe01 increase 1 ,pdata 
+037a 67e0c8f8 store 1 ,mem_adc_low_volatage_led_timer_count 
+037b 1fe67c0b sub pdata ,11 ,null 
+037c 24410380 ncall p_mouse_adc_low_volatage_led_timer_count_clean ,positive 
+037d c0010382 beq 2 ,p_mouse_low_voltage_led_on 
+037e c0038384 beq 7 ,p_mouse_low_voltage_led_off 
+037f 20600000 rtn 
 
 p_mouse_adc_low_volatage_led_timer_count_clean:
-0389 7048f801 jam 1 ,mem_adc_low_volatage_led_timer_count 
-038a 2020038d branch p_mouse_low_voltage_led_off 
+0380 7048f801 jam 1 ,mem_adc_low_volatage_led_timer_count 
+0381 20200384 branch p_mouse_low_voltage_led_off 
 
 p_mouse_low_voltage_led_on:
-038b 6848c921 fetcht 1 ,mem_config_low_voltage_alarm_gpio 
-038c 20206069 branch gpio_out_active 
+0382 6848c921 fetcht 1 ,mem_config_low_voltage_alarm_gpio 
+0383 20206069 branch gpio_out_active 
 
 p_mouse_low_voltage_led_off:
-038d 6848c921 fetcht 1 ,mem_config_low_voltage_alarm_gpio 
-038e 20206065 branch gpio_out_inactive 
+0384 6848c921 fetcht 1 ,mem_config_low_voltage_alarm_gpio 
+0385 20206065 branch gpio_out_inactive 
 
 p_mouse_low_power_timer:
-038f 6fe0cc98 fetch 1 ,mem_low_power_led_flag 
-0390 203a0376 branch p_mouse_low_voltage_led_timer ,blank 
-0391 20600000 rtn 
+0386 6fe0cc98 fetch 1 ,mem_low_power_led_flag 
+0387 203a036d branch p_mouse_low_voltage_led_timer ,blank 
+0388 20600000 rtn 
 
 p_mouse_bb_event_timer:
-0392 20403e9b call mouse_adc_read 
-0393 2040038f call p_mouse_low_power_timer 
-0394 2040232b call g24_pair_timeout_timer 
-0395 20402556 call g24_reconn_timeout_timer 
-0396 204047cd call mouse_24g_long_sleep_param_update_timer 
-0397 204048be call mouse_device_poweron_timer 
-0398 2040043f call p_mouse_dpi_led_blink_delay_timer 
-0399 204003ef call p_mouse_led_multi_timer 
-039a 20400462 call p_mouse_dpi_led_blink_count_timer 
-039b 2040407c call mouse_dpi_key_check_long_press 
-039c 204044cc call mouse_bt_discovery_check 
-039d 204003ba call p_mouse_bt_discovery_check 
-039e 2040047b call p_mouse_commbination_key_process 
-039f 204044ff call mouse_check_discovery_timeout_timer 
-03a0 204003ca call p_mouse_24g_lowpower_stop_blink_timer 
-03a1 204003d0 call p_mouse_24g_low_power_led_off_timer 
-03a2 204003d4 call p_mouse_check_direct_timeout_timer 
-03a3 20404512 call mouse_le_enable_att_list_timer 
-03a4 20400492 call p_mouse_le_battery_updata_timer 
-03a5 20404515 call mouse_le_send_smp_security_request_timer 
-03a6 20400495 call p_mouse_le_send_conn_param_update_timer 
-03a7 2040452a call mouse_check_hid_handshake_timer 
-03a8 2040452d call mouse_bt_check_sniff_req_timeout_timer 
-03a9 20404532 call mouse_check_reconnect_delay_long_sleep 
-03aa 20404535 call mouse_current_mult_update_timer 
-03ab 20404022 call mouse_wheel_trigger_timer 
-03ac 204003b0 call p_mouse_store_information_delay_timer 
-03ad 20400422 call p_mouse_logo_led_on_timer 
-03ae 20400498 call p_mouse_check_no_data_timeout_timer 
-03af 202003d8 branch p_mouse_g24_ota_reset_timer 
+0389 20403e9b call mouse_adc_read 
+038a 20400386 call p_mouse_low_power_timer 
+038b 2040232b call g24_pair_timeout_timer 
+038c 20402556 call g24_reconn_timeout_timer 
+038d 204047cd call mouse_24g_long_sleep_param_update_timer 
+038e 204048be call mouse_device_poweron_timer 
+038f 20400436 call p_mouse_dpi_led_blink_delay_timer 
+0390 204003e6 call p_mouse_led_multi_timer 
+0391 20400459 call p_mouse_dpi_led_blink_count_timer 
+0392 2040407c call mouse_dpi_key_check_long_press 
+0393 204044cc call mouse_bt_discovery_check 
+0394 204003b1 call p_mouse_bt_discovery_check 
+0395 20400472 call p_mouse_commbination_key_process 
+0396 204044ff call mouse_check_discovery_timeout_timer 
+0397 204003c1 call p_mouse_24g_lowpower_stop_blink_timer 
+0398 204003c7 call p_mouse_24g_low_power_led_off_timer 
+0399 204003cb call p_mouse_check_direct_timeout_timer 
+039a 20404512 call mouse_le_enable_att_list_timer 
+039b 20400489 call p_mouse_le_battery_updata_timer 
+039c 20404515 call mouse_le_send_smp_security_request_timer 
+039d 2040048c call p_mouse_le_send_conn_param_update_timer 
+039e 2040452a call mouse_check_hid_handshake_timer 
+039f 2040452d call mouse_bt_check_sniff_req_timeout_timer 
+03a0 20404532 call mouse_check_reconnect_delay_long_sleep 
+03a1 20404535 call mouse_current_mult_update_timer 
+03a2 20404022 call mouse_wheel_trigger_timer 
+03a3 204003a7 call p_mouse_store_information_delay_timer 
+03a4 20400419 call p_mouse_logo_led_on_timer 
+03a5 2040048f call p_mouse_check_no_data_timeout_timer 
+03a6 202003cf branch p_mouse_g24_ota_reset_timer 
 
 p_mouse_store_information_delay_timer:
-03b0 da6049bf arg mem_store_information_delay_timer ,regc 
-03b1 da4003b3 arg p_mouse_store_device_info_check ,regb 
-03b2 2020318a branch timer_single_step 
+03a7 da6049bf arg mem_store_information_delay_timer ,regc 
+03a8 da4003aa arg p_mouse_store_device_info_check ,regb 
+03a9 2020318a branch timer_single_step 
 
 p_mouse_store_device_info_check:
-03b3 7080706d jam 0x6d ,0x8070 
-03b4 7080716c jam 0x6c ,0x8071 
-03b5 7080723e jam 0x3e ,0x8072 
-03b6 204045f1 call mouse_store_device_info 
-03b7 6fe0cac5 fetch 1 ,mem_mouse_need_soft_reset 
-03b8 243a46c0 nbranch mouse_soft_reset ,blank 
-03b9 20600000 rtn 
+03aa 7080706d jam 0x6d ,0x8070 
+03ab 7080716c jam 0x6c ,0x8071 
+03ac 7080723e jam 0x3e ,0x8072 
+03ad 204045f1 call mouse_store_device_info 
+03ae 6fe0cac5 fetch 1 ,mem_mouse_need_soft_reset 
+03af 243a46c0 nbranch mouse_soft_reset ,blank 
+03b0 20600000 rtn 
 
 p_mouse_bt_discovery_check:
-03ba 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-03bb c29b83bd bbit1 mouse_enable_pb_button_long_press_disconvery ,p_mouse_bt_discovery_by_pb_button 
-03bc 20600000 rtn 
+03b1 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+03b2 c29b83b4 bbit1 mouse_enable_pb_button_long_press_disconvery ,p_mouse_bt_discovery_by_pb_button 
+03b3 20600000 rtn 
 
 p_mouse_bt_discovery_by_pb_button:
-03bd 6fe0cb9e fetch 1 ,mem_select_device_button_statue 
-03be c1808000 rtnne pb_button_state_down 
-03bf da604b9b arg mem_bt_discovery_count ,regc 
-03c0 da4003c2 arg p_mouse_long_button_bt_discovery ,regb 
-03c1 2020318a branch timer_single_step 
+03b4 6fe0cb9e fetch 1 ,mem_select_device_button_statue 
+03b5 c1808000 rtnne pb_button_state_down 
+03b6 da604b9b arg mem_bt_discovery_count ,regc 
+03b7 da4003b9 arg p_mouse_long_button_bt_discovery ,regb 
+03b8 2020318a branch timer_single_step 
 
 p_mouse_long_button_bt_discovery:
-03c2 6fe0c938 fetch 1 ,mem_device_flag 
-03c3 c1000000 rtneq mode_24g_device 
-03c4 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-03c5 c3830000 rtnbit1 mouse_bt_discovery_button_long_down_flag 
-03c6 d8e00006 arg mouse_bt_discovery_button_long_down_flag ,queue 
-03c7 204046f0 call mouse_enable_function_flag 
-03c8 20403173 call app_evt_button_long_pressed 
-03c9 2020454e branch mouse_bb_event_discovery_btn 
+03b9 6fe0c938 fetch 1 ,mem_device_flag 
+03ba c1000000 rtneq mode_24g_device 
+03bb 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+03bc c3830000 rtnbit1 mouse_bt_discovery_button_long_down_flag 
+03bd d8e00006 arg mouse_bt_discovery_button_long_down_flag ,queue 
+03be 204046f0 call mouse_enable_function_flag 
+03bf 20403173 call app_evt_button_long_pressed 
+03c0 2020454e branch mouse_bb_event_discovery_btn 
 
 p_mouse_24g_lowpower_stop_blink_timer:
-03ca da4003cd arg p_mouse_24g_lowpower_stop_blink_timeout ,regb 
-03cb da604c99 arg mem_24g_low_power_stop_blink ,regc 
-03cc 2020318a branch timer_single_step 
+03c1 da4003c4 arg p_mouse_24g_lowpower_stop_blink_timeout ,regb 
+03c2 da604c99 arg mem_24g_low_power_stop_blink ,regc 
+03c3 2020318a branch timer_single_step 
 
 p_mouse_24g_lowpower_stop_blink_timeout:
-03cd 704c9801 jam 0x01 ,mem_low_power_led_flag 
-03ce 704c9a06 jam 0x06 ,mem_24g_low_power_led_off 
-03cf 20600000 rtn 
+03c4 704c9801 jam 0x01 ,mem_low_power_led_flag 
+03c5 704c9a06 jam 0x06 ,mem_24g_low_power_led_off 
+03c6 20600000 rtn 
 
 p_mouse_24g_low_power_led_off_timer:
-03d0 da4003d3 arg p_mouse_24g_low_power_led_off_timeout ,regb 
-03d1 da604c9a arg mem_24g_low_power_led_off ,regc 
-03d2 2020318a branch timer_single_step 
+03c7 da4003ca arg p_mouse_24g_low_power_led_off_timeout ,regb 
+03c8 da604c9a arg mem_24g_low_power_led_off ,regc 
+03c9 2020318a branch timer_single_step 
 
 p_mouse_24g_low_power_led_off_timeout:
-03d3 2020038d branch p_mouse_low_voltage_led_off 
+03ca 20200384 branch p_mouse_low_voltage_led_off 
 
 p_mouse_check_direct_timeout_timer:
-03d4 da604b77 arg mem_mouse_direct_timer ,regc 
-03d5 da40450a arg mouse_check_direct_timeout ,regb 
-03d6 2040318a call timer_single_step 
-03d7 20204507 branch mouse_check_direct_timeout_timer + 3 
+03cb da604b77 arg mem_mouse_direct_timer ,regc 
+03cc da40450a arg mouse_check_direct_timeout ,regb 
+03cd 2040318a call timer_single_step 
+03ce 20204507 branch mouse_check_direct_timeout_timer + 3 
 
 p_mouse_g24_ota_reset_timer:
-03d8 da604c1d arg mem_g24_ota_reset_timer ,regc 
-03d9 da405d8c arg soft_reset_chip ,regb 
-03da 2020318a branch timer_single_step 
+03cf da604c1d arg mem_g24_ota_reset_timer ,regc 
+03d0 da405d8c arg soft_reset_chip ,regb 
+03d1 2020318a branch timer_single_step 
 
 p_mouse_device_connect_init_sensor_or_led:
-03db 20400544 call p_mouse_sensor_poweron 
-03dc 202003e5 branch p_mouse_device_poweron_led_config 
+03d2 20400547 call p_mouse_sensor_poweron 
+03d3 202003dc branch p_mouse_device_poweron_led_config 
 
 p_mouse_device_multi_led_poweron_init:
-03dd 6fe0cc46 fetch 1 ,mem_mouse_multi_led_powon_timer_init 
-03de 67e0cc47 store 1 ,mem_mouse_multi_led_powon_timer 
-03df 6fe0cc44 fetch 1 ,mem_mouse_multi_led_poweron_flag_init 
-03e0 67e0cc45 store 1 ,mem_mouse_multi_led_poweron_flag 
-03e1 20600000 rtn 
+03d4 6fe0cc46 fetch 1 ,mem_mouse_multi_led_powon_timer_init 
+03d5 67e0cc47 store 1 ,mem_mouse_multi_led_powon_timer 
+03d6 6fe0cc44 fetch 1 ,mem_mouse_multi_led_poweron_flag_init 
+03d7 67e0cc45 store 1 ,mem_mouse_multi_led_poweron_flag 
+03d8 20600000 rtn 
 
 p_mouse_device_multi_led_blink_timer_init:
-03e2 6fe0cc4c fetch 1 ,mem_mouse_multi_led_blink_timer_init 
-03e3 67e0cc4d store 1 ,mem_mouse_multi_led_blink_timer 
-03e4 20600000 rtn 
+03d9 6fe0cc4c fetch 1 ,mem_mouse_multi_led_blink_timer_init 
+03da 67e0cc4d store 1 ,mem_mouse_multi_led_blink_timer 
+03db 20600000 rtn 
 
 p_mouse_device_poweron_led_config:
-03e5 204003dd call p_mouse_device_multi_led_poweron_init 
-03e6 202003eb branch p_mouse_multi_led_on_enable 
+03dc 204003d4 call p_mouse_device_multi_led_poweron_init 
+03dd 202003e2 branch p_mouse_multi_led_on_enable 
 
 p_mouse_device_discover_led_config:
-03e7 202003e8 branch p_mouse_multi_led_blink_enable 
+03de 202003df branch p_mouse_multi_led_blink_enable 
 
 p_mouse_multi_led_blink_enable:
-03e8 704c4101 jam 1 ,mem_mouse_multi_led_blink_enable 
-03e9 704c4301 jam multi_led_blink ,mem_mouse_multi_led_type 
-03ea 202003e2 branch p_mouse_device_multi_led_blink_timer_init 
+03df 704c4101 jam 1 ,mem_mouse_multi_led_blink_enable 
+03e0 704c4301 jam multi_led_blink ,mem_mouse_multi_led_type 
+03e1 202003d9 branch p_mouse_device_multi_led_blink_timer_init 
 
 p_mouse_multi_led_on_enable:
-03eb 704c4101 jam 1 ,mem_mouse_multi_led_blink_enable 
-03ec 704c4d00 jam 0 ,mem_mouse_multi_led_blink_timer 
-03ed 704c4300 jam multi_led_on ,mem_mouse_multi_led_type 
-03ee 20600000 rtn 
+03e2 704c4101 jam 1 ,mem_mouse_multi_led_blink_enable 
+03e3 704c4d00 jam 0 ,mem_mouse_multi_led_blink_timer 
+03e4 704c4300 jam multi_led_on ,mem_mouse_multi_led_type 
+03e5 20600000 rtn 
 
 p_mouse_led_multi_timer:
-03ef 6fe0cc41 fetch 1 ,mem_mouse_multi_led_blink_enable 
-03f0 207a0000 rtn blank 
-03f1 6fe0cc43 fetch 1 ,mem_mouse_multi_led_type 
-03f2 c00083ff beq multi_led_blink ,p_mouse_multi_led_type_blink 
+03e6 6fe0cc41 fetch 1 ,mem_mouse_multi_led_blink_enable 
+03e7 207a0000 rtn blank 
+03e8 6fe0cc43 fetch 1 ,mem_mouse_multi_led_type 
+03e9 c00083f6 beq multi_led_blink ,p_mouse_multi_led_type_blink 
 
 p_mouse_multi_led_type_on:
-03f3 6fe0cc45 fetch 1 ,mem_mouse_multi_led_poweron_flag 
-03f4 243a03f7 nbranch p_mouse_device_multi_led_poweron ,blank 
-03f5 704c4100 jam 0 ,mem_mouse_multi_led_blink_enable 
-03f6 20600000 rtn 
+03ea 6fe0cc45 fetch 1 ,mem_mouse_multi_led_poweron_flag 
+03eb 243a03ee nbranch p_mouse_device_multi_led_poweron ,blank 
+03ec 704c4100 jam 0 ,mem_mouse_multi_led_blink_enable 
+03ed 20600000 rtn 
 
 p_mouse_device_multi_led_poweron:
-03f7 6fe0cc47 fetch 1 ,mem_mouse_multi_led_powon_timer 
-03f8 203a03fc branch p_mouse_multi_led_poweron_and_flag_off ,blank 
-03f9 1fe0ffff increase -1 
-03fa 67e0cc47 store 1 ,mem_mouse_multi_led_powon_timer 
-03fb 20200406 branch p_mouse_device_multi_led_on + 1 
+03ee 6fe0cc47 fetch 1 ,mem_mouse_multi_led_powon_timer 
+03ef 203a03f3 branch p_mouse_multi_led_poweron_and_flag_off ,blank 
+03f0 1fe0ffff increase -1 
+03f1 67e0cc47 store 1 ,mem_mouse_multi_led_powon_timer 
+03f2 202003fd branch p_mouse_device_multi_led_on + 1 
 
 p_mouse_multi_led_poweron_and_flag_off:
-03fc 704c4500 jam 0 ,mem_mouse_multi_led_poweron_flag 
-03fd 704c4100 jam 0 ,mem_mouse_multi_led_blink_enable 
-03fe 20200412 branch p_mouse_device_multi_led_off + 1 
+03f3 704c4500 jam 0 ,mem_mouse_multi_led_poweron_flag 
+03f4 704c4100 jam 0 ,mem_mouse_multi_led_blink_enable 
+03f5 20200409 branch p_mouse_device_multi_led_off + 1 
 
 p_mouse_multi_led_type_blink:
-03ff da604c4d arg mem_mouse_multi_led_blink_timer ,regc 
-0400 da400402 arg p_mouse_multi_led_type_blink_timeout ,regb 
-0401 2020318a branch timer_single_step 
+03f6 da604c4d arg mem_mouse_multi_led_blink_timer ,regc 
+03f7 da4003f9 arg p_mouse_multi_led_type_blink_timeout ,regb 
+03f8 2020318a branch timer_single_step 
 
 p_mouse_multi_led_type_blink_timeout:
-0402 204003e2 call p_mouse_device_multi_led_blink_timer_init 
-0403 6fe0cc4e fetch 1 ,mem_mouse_multi_led_state 
-0404 c0008411 beq on ,p_mouse_device_multi_led_off 
+03f9 204003d9 call p_mouse_device_multi_led_blink_timer_init 
+03fa 6fe0cc4e fetch 1 ,mem_mouse_multi_led_state 
+03fb c0008408 beq on ,p_mouse_device_multi_led_off 
 
 p_mouse_device_multi_led_on:
-0405 704c4e01 jam on ,mem_mouse_multi_led_state 
-0406 6fe0c938 fetch 1 ,mem_device_flag 
-0407 c000040b beq mode_24g_device ,p_mouse_device_24g_led_on 
-0408 c000840d beq mode_bt_device1 ,p_mouse_device_bt1_led_on 
-0409 c001040f beq mode_bt_device2 ,p_mouse_device_bt2_led_on 
-040a 20600000 rtn 
+03fc 704c4e01 jam on ,mem_mouse_multi_led_state 
+03fd 6fe0c938 fetch 1 ,mem_device_flag 
+03fe c0000402 beq mode_24g_device ,p_mouse_device_24g_led_on 
+03ff c0008404 beq mode_bt_device1 ,p_mouse_device_bt1_led_on 
+0400 c0010406 beq mode_bt_device2 ,p_mouse_device_bt2_led_on 
+0401 20600000 rtn 
 
 p_mouse_device_24g_led_on:
-040b 6848cc48 fetcht 1 ,mem_mouse_1io2led_multi_24gled 
-040c 20200410 branch p_mouse_device_led_on 
+0402 6848cc48 fetcht 1 ,mem_mouse_1io2led_multi_24gled 
+0403 20200407 branch p_mouse_device_led_on 
 
 p_mouse_device_bt1_led_on:
-040d 6848cc49 fetcht 1 ,mem_mouse_1io2led_multi_bt1led 
-040e 20200410 branch p_mouse_device_led_on 
+0404 6848cc49 fetcht 1 ,mem_mouse_1io2led_multi_bt1led 
+0405 20200407 branch p_mouse_device_led_on 
 
 p_mouse_device_bt2_led_on:
-040f 6848cc4a fetcht 1 ,mem_mouse_1io2led_multi_bt2led 
+0406 6848cc4a fetcht 1 ,mem_mouse_1io2led_multi_bt2led 
 
 p_mouse_device_led_on:
-0410 20206069 branch gpio_out_active 
+0407 20206069 branch gpio_out_active 
 
 p_mouse_device_multi_led_off:
-0411 704c4e00 jam off ,mem_mouse_multi_led_state 
-0412 6fe0c938 fetch 1 ,mem_device_flag 
-0413 c0000417 beq mode_24g_device ,p_mouse_device_24g_led_off 
-0414 c0008419 beq mode_bt_device1 ,p_mouse_device_bt1_led_off 
-0415 c001041b beq mode_bt_device2 ,p_mouse_device_bt2_led_off 
-0416 20600000 rtn 
+0408 704c4e00 jam off ,mem_mouse_multi_led_state 
+0409 6fe0c938 fetch 1 ,mem_device_flag 
+040a c000040e beq mode_24g_device ,p_mouse_device_24g_led_off 
+040b c0008410 beq mode_bt_device1 ,p_mouse_device_bt1_led_off 
+040c c0010412 beq mode_bt_device2 ,p_mouse_device_bt2_led_off 
+040d 20600000 rtn 
 
 p_mouse_device_24g_led_off:
-0417 6848cc48 fetcht 1 ,mem_mouse_1io2led_multi_24gled 
-0418 2020041c branch p_mouse_device_led_off 
+040e 6848cc48 fetcht 1 ,mem_mouse_1io2led_multi_24gled 
+040f 20200413 branch p_mouse_device_led_off 
 
 p_mouse_device_bt1_led_off:
-0419 6848cc49 fetcht 1 ,mem_mouse_1io2led_multi_bt1led 
-041a 2020041c branch p_mouse_device_led_off 
+0410 6848cc49 fetcht 1 ,mem_mouse_1io2led_multi_bt1led 
+0411 20200413 branch p_mouse_device_led_off 
 
 p_mouse_device_bt2_led_off:
-041b 6848cc4a fetcht 1 ,mem_mouse_1io2led_multi_bt2led 
+0412 6848cc4a fetcht 1 ,mem_mouse_1io2led_multi_bt2led 
 
 p_mouse_device_led_off:
 
 p_gpio_set_high_impedance:
-041c 18467cff sub temp ,gpio_disable ,null 
-041d 20628000 rtn zero 
-041e 2020607f branch gpio_set_high_impedance 
+0413 18467cff sub temp ,gpio_disable ,null 
+0414 20628000 rtn zero 
+0415 2020607f branch gpio_set_high_impedance 
 
 p_mouse_1io2led_all_off:
-041f 20400417 call p_mouse_device_24g_led_off 
-0420 20400419 call p_mouse_device_bt1_led_off 
-0421 2020041b branch p_mouse_device_bt2_led_off 
+0416 2040040e call p_mouse_device_24g_led_off 
+0417 20400410 call p_mouse_device_bt1_led_off 
+0418 20200412 branch p_mouse_device_bt2_led_off 
 
 p_mouse_logo_led_on_timer:
-0422 6fe0cbed fetch 1 ,mem_mouse_logo_led_gpio 
-0423 c17f8000 rtneq gpio_disable 
-0424 6fe0cc9d fetch 1 ,mem_dpi_blink_count 
-0425 247a0000 nrtn blank 
-0426 6fe14883 fetch 2 ,mem_24g_pair_timeout 
-0427 247a0000 nrtn blank 
-0428 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
-0429 247a0000 nrtn blank 
-042a 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
-042b 247a0000 nrtn blank 
-042c 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-042d c282043b bbit1 mouse_low_voltage_flag ,p_mouse_low_power_logo_off 
-042e 704c9b00 jam 0 ,mem_mouse_low_power_logo_off_status 
-042f 6fe14ab2 fetch 2 ,mem_mouse_no_data_timer 
-0430 207a0000 rtn blank 
-0431 6fe14bbe fetch 2 ,mem_mouse_no_data_timeout 
-0432 68494ab2 fetcht 2 ,mem_mouse_no_data_timer 
-0433 98460400 isub temp ,temp 
-0434 6fe14bee fetch 2 ,mem_mouse_logo_led_on_time_init 
-0435 98467e00 isub temp ,pdata 
-0436 20210439 branch p_mouse_logo_led_on ,positive 
+0419 6fe0cbed fetch 1 ,mem_mouse_logo_led_gpio 
+041a c17f8000 rtneq gpio_disable 
+041b 6fe0cc9d fetch 1 ,mem_dpi_blink_count 
+041c 247a0000 nrtn blank 
+041d 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+041e 247a0000 nrtn blank 
+041f 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+0420 247a0000 nrtn blank 
+0421 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
+0422 247a0000 nrtn blank 
+0423 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0424 c2820432 bbit1 mouse_low_voltage_flag ,p_mouse_low_power_logo_off 
+0425 704c9b00 jam 0 ,mem_mouse_low_power_logo_off_status 
+0426 6fe14ab2 fetch 2 ,mem_mouse_no_data_timer 
+0427 207a0000 rtn blank 
+0428 6fe14bbe fetch 2 ,mem_mouse_no_data_timeout 
+0429 68494ab2 fetcht 2 ,mem_mouse_no_data_timer 
+042a 98460400 isub temp ,temp 
+042b 6fe14bee fetch 2 ,mem_mouse_logo_led_on_time_init 
+042c 98467e00 isub temp ,pdata 
+042d 20210430 branch p_mouse_logo_led_on ,positive 
 
 p_mouse_logo_led_off:
-0437 6848cbed fetcht 1 ,mem_mouse_logo_led_gpio 
-0438 20206065 branch gpio_out_inactive 
+042e 6848cbed fetcht 1 ,mem_mouse_logo_led_gpio 
+042f 20206065 branch gpio_out_inactive 
 
 p_mouse_logo_led_on:
-0439 6848cbed fetcht 1 ,mem_mouse_logo_led_gpio 
-043a 20206069 branch gpio_out_active 
+0430 6848cbed fetcht 1 ,mem_mouse_logo_led_gpio 
+0431 20206069 branch gpio_out_active 
 
 p_mouse_low_power_logo_off:
-043b 6fe0cc9b fetch 1 ,mem_mouse_low_power_logo_off_status 
-043c 247a0000 nrtn blank 
-043d 704c9b01 jam 1 ,mem_mouse_low_power_logo_off_status 
-043e 20200437 branch p_mouse_logo_led_off 
+0432 6fe0cc9b fetch 1 ,mem_mouse_low_power_logo_off_status 
+0433 247a0000 nrtn blank 
+0434 704c9b01 jam 1 ,mem_mouse_low_power_logo_off_status 
+0435 2020042e branch p_mouse_logo_led_off 
 
 p_mouse_dpi_led_blink_delay_timer:
-043f da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
-0440 da400442 arg p_mouse_dpi_led_blink_init ,regb 
-0441 2020318a branch timer_single_step 
+0436 da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
+0437 da400439 arg p_mouse_dpi_led_blink_init ,regb 
+0438 2020318a branch timer_single_step 
 
 p_mouse_dpi_led_blink_init:
-0442 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0443 c3820000 rtnbit1 mouse_low_voltage_flag 
-0444 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0445 c0018451 beq p3212 ,p_mouse_dpi_led_blink_level_4_config 
-0446 c0058451 beq ka8g2 ,p_mouse_dpi_led_blink_level_4_config 
-0447 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-0448 da200000 arg 0 ,rega 
-0449 6848c992 fetcht 1 ,mem_mouse_dpi 
-044a 18408402 increase 2 ,temp 
-044b 18467c03 sub temp ,3 ,null 
-044c 2041045c call p_mouse_dpi_led_blink_init_level_4 ,positive 
-044d 24410460 ncall p_mouse_dpi_led_blink_count_clean ,positive 
-044e 6048cc9d storet 1 ,mem_dpi_blink_count 
-044f 704c9e00 jam 0 ,mem_dpi_led_blink_timer_count 
-0450 20600000 rtn 
+0439 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+043a c3820000 rtnbit1 mouse_low_voltage_flag 
+043b 6fe0c927 fetch 1 ,mem_config_sensor_type 
+043c c0018448 beq p3212 ,p_mouse_dpi_led_blink_level_4_config 
+043d c0058448 beq ka8g2 ,p_mouse_dpi_led_blink_level_4_config 
+043e 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+043f da200000 arg 0 ,rega 
+0440 6848c992 fetcht 1 ,mem_mouse_dpi 
+0441 18408402 increase 2 ,temp 
+0442 18467c03 sub temp ,3 ,null 
+0443 20410453 call p_mouse_dpi_led_blink_init_level_4 ,positive 
+0444 24410457 ncall p_mouse_dpi_led_blink_count_clean ,positive 
+0445 6048cc9d storet 1 ,mem_dpi_blink_count 
+0446 704c9e00 jam 0 ,mem_dpi_led_blink_timer_count 
+0447 20600000 rtn 
 
 p_mouse_dpi_led_blink_level_4_config:
-0451 da200000 arg 0 ,rega 
-0452 6848c992 fetcht 1 ,mem_mouse_dpi 
-0453 18408401 increase 1 ,temp 
-0454 6048cc9d storet 1 ,mem_dpi_blink_count 
-0455 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0456 c40e0000 rtnbit0 mouse_enable_dpi_level_4 
-0457 18408401 increase 1 ,temp 
-0458 18467c04 sub temp ,4 ,null 
-0459 24410460 ncall p_mouse_dpi_led_blink_count_clean ,positive 
-045a 6048cc9d storet 1 ,mem_dpi_blink_count 
-045b 20600000 rtn 
+0448 da200000 arg 0 ,rega 
+0449 6848c992 fetcht 1 ,mem_mouse_dpi 
+044a 18408401 increase 1 ,temp 
+044b 6048cc9d storet 1 ,mem_dpi_blink_count 
+044c 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+044d c40e0000 rtnbit0 mouse_enable_dpi_level_4 
+044e 18408401 increase 1 ,temp 
+044f 18467c04 sub temp ,4 ,null 
+0450 24410457 ncall p_mouse_dpi_led_blink_count_clean ,positive 
+0451 6048cc9d storet 1 ,mem_dpi_blink_count 
+0452 20600000 rtn 
 
 p_mouse_dpi_led_blink_init_level_4:
-045c 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-045d c40e0000 rtnbit0 mouse_enable_dpi_level_4 
-045e 18408401 increase 1 ,temp 
-045f 20600000 rtn 
+0453 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0454 c40e0000 rtnbit0 mouse_enable_dpi_level_4 
+0455 18408401 increase 1 ,temp 
+0456 20600000 rtn 
 
 p_mouse_dpi_led_blink_count_clean:
-0460 184085fd increase -3 ,temp 
-0461 20600000 rtn 
+0457 184085fd increase -3 ,temp 
+0458 20600000 rtn 
 
 p_mouse_dpi_led_blink_count_timer:
-0462 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0463 c3820000 rtnbit1 mouse_low_voltage_flag 
-0464 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-0465 c17f8000 rtneq gpio_disable 
-0466 6fe0cc9d fetch 1 ,mem_dpi_blink_count 
-0467 207a0000 rtn blank 
-0468 6fe0cc9e fetch 1 ,mem_dpi_led_blink_timer_count 
-0469 1fe0fe01 increase 1 ,pdata 
-046a 67e0cc9e store 1 ,mem_dpi_led_blink_timer_count 
-046b 1fe67c06 sub pdata ,6 ,null 
-046c 24410470 ncall p_mouse_mem_dpi_blink_count_timer_clean ,positive 
-046d c0008475 beq 1 ,p_mouse_dpi_led_blink_count_on 
-046e c0020478 beq 4 ,p_mouse_dpi_led_blink_count_off 
-046f 20600000 rtn 
+0459 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+045a c3820000 rtnbit1 mouse_low_voltage_flag 
+045b 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+045c c17f8000 rtneq gpio_disable 
+045d 6fe0cc9d fetch 1 ,mem_dpi_blink_count 
+045e 207a0000 rtn blank 
+045f 6fe0cc9e fetch 1 ,mem_dpi_led_blink_timer_count 
+0460 1fe0fe01 increase 1 ,pdata 
+0461 67e0cc9e store 1 ,mem_dpi_led_blink_timer_count 
+0462 1fe67c06 sub pdata ,6 ,null 
+0463 24410467 ncall p_mouse_mem_dpi_blink_count_timer_clean ,positive 
+0464 c000846c beq 1 ,p_mouse_dpi_led_blink_count_on 
+0465 c002046f beq 4 ,p_mouse_dpi_led_blink_count_off 
+0466 20600000 rtn 
 
 p_mouse_mem_dpi_blink_count_timer_clean:
-0470 704c9e00 jam 0 ,mem_dpi_led_blink_timer_count 
-0471 6fe0cc9d fetch 1 ,mem_dpi_blink_count 
-0472 1fe0ffff pincrease -1 
-0473 67e0cc9d store 1 ,mem_dpi_blink_count 
-0474 20600000 rtn 
+0467 704c9e00 jam 0 ,mem_dpi_led_blink_timer_count 
+0468 6fe0cc9d fetch 1 ,mem_dpi_blink_count 
+0469 1fe0ffff pincrease -1 
+046a 67e0cc9d store 1 ,mem_dpi_blink_count 
+046b 20600000 rtn 
 
 p_mouse_dpi_led_blink_count_on:
-0475 6848c923 fetcht 1 ,mem_dpi_led_gpio 
-0476 20406069 call gpio_out_active 
-0477 20600000 rtn 
+046c 6848c923 fetcht 1 ,mem_dpi_led_gpio 
+046d 20406069 call gpio_out_active 
+046e 20600000 rtn 
 
 p_mouse_dpi_led_blink_count_off:
-0478 6848c923 fetcht 1 ,mem_dpi_led_gpio 
-0479 20406065 call gpio_out_inactive 
-047a 20600000 rtn 
+046f 6848c923 fetcht 1 ,mem_dpi_led_gpio 
+0470 20406065 call gpio_out_inactive 
+0471 20600000 rtn 
 
 p_mouse_commbination_key_process:
-047b 6fe0c938 fetch 1 ,mem_device_flag 
-047c c0000481 beq mode_24g_device ,p_mouse_24g_commbination_key_process 
-047d 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-047e c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
-047f 6848cbca fetcht 1 ,mem_mouse_commbination_key_bt 
-0480 20200484 branch p_mouse_commbination_key_start 
+0472 6fe0c938 fetch 1 ,mem_device_flag 
+0473 c0000478 beq mode_24g_device ,p_mouse_24g_commbination_key_process 
+0474 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0475 c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
+0476 6848cbca fetcht 1 ,mem_mouse_commbination_key_bt 
+0477 2020047b branch p_mouse_commbination_key_start 
 
 p_mouse_24g_commbination_key_process:
-0481 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0482 c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
-0483 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
+0478 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0479 c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
+047a 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
 
 p_mouse_commbination_key_start:
-0484 6048cb9d storet 1 ,mem_mouse_commbination_key 
-0485 20404115 call mouse_check_key_gpio 
-0486 1fe17e07 and pdata ,0x07 ,pdata 
-0487 6848cb9d fetcht 1 ,mem_mouse_commbination_key 
-0488 98467c00 isub temp ,null 
-0489 2022848b branch p_mouse_commbination_key_down ,zero 
-048a 202044eb branch mouse_commbination_key_up 
+047b 6048cb9d storet 1 ,mem_mouse_commbination_key 
+047c 20404115 call mouse_check_key_gpio 
+047d 1fe17e07 and pdata ,0x07 ,pdata 
+047e 6848cb9d fetcht 1 ,mem_mouse_commbination_key 
+047f 98467c00 isub temp ,null 
+0480 20228482 branch p_mouse_commbination_key_down ,zero 
+0481 202044eb branch mouse_commbination_key_up 
 
 p_mouse_commbination_key_down:
-048b 20400490 call p_mouse_combination_ui_timer 
-048c 6fe0cb9f fetch 1 ,mem_commbination_key_statue 
-048d c1008000 rtneq commbination_key_state_down 
-048e 704b9f01 jam commbination_key_state_down ,mem_commbination_key_statue 
-048f 20600000 rtn 
+0482 20400487 call p_mouse_combination_ui_timer 
+0483 6fe0cb9f fetch 1 ,mem_commbination_key_statue 
+0484 c1008000 rtneq commbination_key_state_down 
+0485 704b9f01 jam commbination_key_state_down ,mem_commbination_key_statue 
+0486 20600000 rtn 
 
 p_mouse_combination_ui_timer:
-0490 da4002e8 arg p_mouse_24g_start_pair_mode ,regb 
-0491 202044f7 branch mouse_combination_ui_timer + 1 
+0487 da4002e8 arg p_mouse_24g_start_pair_mode ,regb 
+0488 202044f7 branch mouse_combination_ui_timer + 1 
 
 p_mouse_le_battery_updata_timer:
-0492 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0493 c39d8000 rtnbit1 mouse_enable_le_battery_service_cancel 
-0494 2020451f branch mouse_le_battery_updata_timer 
+0489 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+048a c39d8000 rtnbit1 mouse_enable_le_battery_service_cancel 
+048b 2020451f branch mouse_le_battery_updata_timer 
 
 p_mouse_le_send_conn_param_update_timer:
-0495 da604c70 arg mem_mouse_le_send_conn_param_update_timer ,regc 
-0496 da40436c arg mouse_updata_le_param ,regb 
-0497 2020318a branch timer_single_step 
+048c da604c70 arg mem_mouse_le_send_conn_param_update_timer ,regc 
+048d da40436c arg mouse_updata_le_param ,regb 
+048e 2020318a branch timer_single_step 
 
 p_mouse_check_no_data_timeout_timer:
-0498 da604ab2 arg mem_mouse_no_data_timer ,regc 
-0499 da40049b arg p_mouse_check_no_data_timeout ,regb 
-049a 20203191 branch timer_single_step_2b 
+048f da604ab2 arg mem_mouse_no_data_timer ,regc 
+0490 da400492 arg p_mouse_check_no_data_timeout ,regb 
+0491 20203191 branch timer_single_step_2b 
 
 p_mouse_check_no_data_timeout:
-049b 6fe0c938 fetch 1 ,mem_device_flag 
-049c c00002f6 beq mode_24g_device ,p_mouse_24g_hibernate_set 
-049d 2020431b branch mouse_disconnect 
+0492 6fe0c938 fetch 1 ,mem_device_flag 
+0493 c00002f6 beq mode_24g_device ,p_mouse_24g_hibernate_set 
+0494 2020431b branch mouse_disconnect 
 
 p_mouse_start_discovery:
-049e 704c4c02 jam 0x02 ,mem_mouse_multi_led_blink_timer_init 
-049f 204003e7 call p_mouse_device_discover_led_config 
-04a0 20400556 call p_mouse_sensor_powerdown 
-04a1 20400437 call p_mouse_logo_led_off 
-04a2 6fe1478c fetch 2 ,mem_ui_state_map 
-04a3 2feffe0b isolate1 ui_state_ble_adv ,pdata 
-04a4 2040c581 call mouse_stop_le_adv ,true 
-04a5 6fe1478c fetch 2 ,mem_ui_state_map 
-04a6 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
-04a7 2040c322 call mouse_cancel_reconnect ,true 
-04a8 58000000 setarg 0 
-04a9 67e14af2 store 2 ,mem_le_battery_level_updata_timer 
-04aa 20204554 branch mouse_start_discovery + 1 
+0495 704c4c02 jam 0x02 ,mem_mouse_multi_led_blink_timer_init 
+0496 204003de call p_mouse_device_discover_led_config 
+0497 20400558 call p_mouse_sensor_powerdown 
+0498 2040042e call p_mouse_logo_led_off 
+0499 6fe1478c fetch 2 ,mem_ui_state_map 
+049a 2feffe0b isolate1 ui_state_ble_adv ,pdata 
+049b 2040c581 call mouse_stop_le_adv ,true 
+049c 6fe1478c fetch 2 ,mem_ui_state_map 
+049d 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
+049e 2040c322 call mouse_cancel_reconnect ,true 
+049f 58000000 setarg 0 
+04a0 67e14af2 store 2 ,mem_le_battery_level_updata_timer 
+04a1 20204554 branch mouse_start_discovery + 1 
 
 p_mouse_stop_discovery:
-04ab 58000000 setarg 0 
-04ac 67e14ac2 store 2 ,mem_mouse_discovery_timer 
-04ad 20204577 branch mouse_stop_discovery + 1 
+04a2 58000000 setarg 0 
+04a3 67e14ac2 store 2 ,mem_mouse_discovery_timer 
+04a4 20204577 branch mouse_stop_discovery + 1 
 
 p_ui_timer_check:
-04ae 6fe0cbe2 fetch 1 ,mem_power_on_flag 
-04af 245a7861 ncall ui_timer_init ,blank 
-04b0 704be200 jam 0 ,mem_power_on_flag 
-04b1 20207851 branch ui_timer_check + 1 
+04a5 6fe0cbe2 fetch 1 ,mem_power_on_flag 
+04a6 245a7861 ncall ui_timer_init ,blank 
+04a7 704be200 jam 0 ,mem_power_on_flag 
+04a8 20207851 branch ui_timer_check + 1 
 
 p_hid_rx_process:
-04b2 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
-04b3 1fe20c00 copy pdata ,contr 
-04b4 efe08006 ifetch 1 ,contr 
-04b5 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
-04b6 1fe1040f and pdata ,0x0f ,temp 
-04b7 1ff1fe00 rshift4 pdata ,pdata 
-04b8 c00484ba beq hid_type_set_idle ,p_hid_rx_process_handshake 
-04b9 20204d93 branch hid_rx_process + 7 
+04a9 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
+04aa 1fe20c00 copy pdata ,contr 
+04ab efe08006 ifetch 1 ,contr 
+04ac 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
+04ad 1fe1040f and pdata ,0x0f ,temp 
+04ae 1ff1fe00 rshift4 pdata ,pdata 
+04af c00484b1 beq hid_type_set_idle ,p_hid_rx_process_handshake 
+04b0 20204d93 branch hid_rx_process + 7 
 
 p_hid_rx_process_handshake:
-04ba da200001 arg 1 ,rega 
-04bb 20404dc0 call hid_malloc_tx_buff 
-04bc 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
-04bd e7e10005 istore 2 ,contw 
-04be 58000000 setarg 0 
-04bf e7e08005 istore 1 ,contw 
-04c0 70095001 jam 1 ,mem_ui_data_txbuff_length 
-04c1 6fe0c4e2 fetch 1 ,mem_hid_control_state 
-04c2 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
-04c3 67e0c4e2 store 1 ,mem_hid_control_state 
-04c4 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
-04c5 20207871 branch ui_ipc_send_event 
+04b1 da200001 arg 1 ,rega 
+04b2 20404dc0 call hid_malloc_tx_buff 
+04b3 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
+04b4 e7e10005 istore 2 ,contw 
+04b5 58000000 setarg 0 
+04b6 e7e08005 istore 1 ,contw 
+04b7 70095001 jam 1 ,mem_ui_data_txbuff_length 
+04b8 6fe0c4e2 fetch 1 ,mem_hid_control_state 
+04b9 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
+04ba 67e0c4e2 store 1 ,mem_hid_control_state 
+04bb 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
+04bc 20207871 branch ui_ipc_send_event 
 
 p_send_lmp:
-04c6 78547c00 disable user 
-04c7 204059e6 call lmo_fifo_process 
-04c8 6fe08049 fetch 1 ,mem_lmp_to_send 
-04c9 207a0000 rtn blank 
-04ca c283d730 bbit1 7 ,send_lmp_escape 
+04bd 78547c00 disable user 
+04be 204059e6 call lmo_fifo_process 
+04bf 6fe08049 fetch 1 ,mem_lmp_to_send 
+04c0 207a0000 rtn blank 
+04c1 c283d730 bbit1 7 ,send_lmp_escape 
 
 p_send_lmp0:
-04cb c00384cd beq lmp_detach ,p_send_lmp_detach 
-04cc 20205701 branch send_lmp0 
+04c2 c00384c4 beq lmp_detach ,p_send_lmp_detach 
+04c3 20205701 branch send_lmp0 
 
 p_send_lmp_detach:
-04cd 2040585d call send_lmp_detach 
-04ce 70007378 jam 120 ,mem_conn_timer 
-04cf 20600000 rtn 
+04c4 2040585d call send_lmp_detach 
+04c5 70007378 jam 120 ,mem_conn_timer 
+04c6 20600000 rtn 
 
 p_le_slave_match:
-04d0 6fe0c3dd fetch 1 ,mem_le_md_count 
-04d1 1fe0fe01 pincrease 1 
-04d2 67e0c3dd store 1 ,mem_le_md_count 
-04d3 c006165a beq le_md_max_count ,le_slave_cont 
-04d4 2040191b call le_acknowledge 
-04d5 2040196a call le_prepare_tx 
-04d6 6fe082bd fetch 1 ,mem_le_tx_phy 
-04d7 2040168b call le_enable_phy_by_pdata 
-04d8 20401838 call le_transmit 
-04d9 20201655 branch le_slave_match + 10 
+04c7 6fe0c3dd fetch 1 ,mem_le_md_count 
+04c8 1fe0fe01 pincrease 1 
+04c9 67e0c3dd store 1 ,mem_le_md_count 
+04ca c006165a beq le_md_max_count ,le_slave_cont 
+04cb 2040191b call le_acknowledge 
+04cc 2040196a call le_prepare_tx 
+04cd 6fe082bd fetch 1 ,mem_le_tx_phy 
+04ce 2040168b call le_enable_phy_by_pdata 
+04cf 20401838 call le_transmit 
+04d0 20201655 branch le_slave_match + 10 
 
 p_le_slave_unsync:
-04da 20400e80 call end_of_packet 
-04db 20201661 branch le_slave_unsync + 1 
+04d1 20400e80 call end_of_packet 
+04d2 20201661 branch le_slave_unsync + 1 
 
 p_le_parse_l2cap:
-04dc efe10006 ifetch 2 ,contr 
-04dd c00204df beq le_l2cap_cid_att ,p_le_parse_att 
-04de 202019e4 branch le_parse_l2cap + 10 
+04d3 efe10006 ifetch 2 ,contr 
+04d4 c00204d6 beq le_l2cap_cid_att ,p_le_parse_att 
+04d5 202019e4 branch le_parse_l2cap + 10 
 
 p_le_parse_att:
-04df efe18006 ifetch 3 ,contr 
-04e0 67e1c436 store 3 ,mem_le_att_opcode 
-04e1 c00504e4 beq attop_read_request ,p_le_parse_att_read_request 
-04e2 c00904f3 beq attop_write_request ,p_le_parse_att_write_request 
-04e3 20201cd3 branch le_parse_att + 2 
+04d6 efe18006 ifetch 3 ,contr 
+04d7 67e1c436 store 3 ,mem_le_att_opcode 
+04d8 c00504db beq attop_read_request ,p_le_parse_att_read_request 
+04d9 c00904ea beq attop_write_request ,p_le_parse_att_write_request 
+04da 20201cd3 branch le_parse_att + 2 
 
 p_le_parse_att_read_request:
-04e4 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-04e5 c31d9de7 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
-04e6 20401e8d call le_check_encrypt_state 
-04e7 68494437 fetcht 2 ,mem_le_att_handle 
-04e8 6fe0c3c0 fetch 1 ,mem_le_configuration 
-04e9 c28184ee bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
+04db 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+04dc c31d9de7 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
+04dd 20401e8d call le_check_encrypt_state 
+04de 68494437 fetcht 2 ,mem_le_att_handle 
+04df 6fe0c3c0 fetch 1 ,mem_le_configuration 
+04e0 c28184e5 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
 
 p_le_send_att_read_response:
-04ea 6fe14437 fetch 2 ,mem_le_att_handle 
-04eb c0181ec8 beq 0x30 ,le_send_att_error_response_notfound 
-04ec 68494437 fetcht 2 ,mem_le_att_handle 
-04ed 20201deb branch le_send_att_read_response 
+04e1 6fe14437 fetch 2 ,mem_le_att_handle 
+04e2 c0181ec8 beq 0x30 ,le_send_att_error_response_notfound 
+04e3 68494437 fetcht 2 ,mem_le_att_handle 
+04e4 20201deb branch le_send_att_read_response 
 
 p_le_send_att_read_response_check_auth:
-04ee 6fe143d1 fetch 2 ,mem_le_pairing_handle 
-04ef 98467c00 isub temp ,null 
-04f0 242284ea nbranch p_le_send_att_read_response ,zero 
-04f1 243404ea nbranch p_le_send_att_read_response ,user 
-04f2 20201e10 branch le_send_att_read_response_error_insufficient_auth 
+04e5 6fe143d1 fetch 2 ,mem_le_pairing_handle 
+04e6 98467c00 isub temp ,null 
+04e7 242284e1 nbranch p_le_send_att_read_response ,zero 
+04e8 243404e1 nbranch p_le_send_att_read_response ,user 
+04e9 20201e10 branch le_send_att_read_response_error_insufficient_auth 
 
 p_le_parse_att_write_request:
-04f3 18c22200 copy contr ,rega 
-04f4 6fe143d4 fetch 2 ,mem_le_l2cap_size 
-04f5 1fe0a5fd add pdata ,-3 ,regb 
-04f6 20401a25 call le_writeatt_cb 
-04f7 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-04f8 c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
-04f9 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
-04fa 203a1e73 branch le_send_att_write_response_check_auth ,blank 
-04fb 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
-04fc c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
-04fd 5800001a setarg 0x001a 
-04fe 68494437 fetcht 2 ,mem_le_att_handle 
-04ff 98467c00 isub temp ,null 
-0500 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
-0501 20201e10 branch le_send_att_read_response_error_insufficient_auth 
+04ea 18c22200 copy contr ,rega 
+04eb 6fe143d4 fetch 2 ,mem_le_l2cap_size 
+04ec 1fe0a5fd add pdata ,-3 ,regb 
+04ed 20401a25 call le_writeatt_cb 
+04ee 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+04ef c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
+04f0 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
+04f1 203a1e73 branch le_send_att_write_response_check_auth ,blank 
+04f2 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
+04f3 c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
+04f4 5800001a setarg 0x001a 
+04f5 68494437 fetcht 2 ,mem_le_att_handle 
+04f6 98467c00 isub temp ,null 
+04f7 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
+04f8 20201e10 branch le_send_att_read_response_error_insufficient_auth 
 
 p_g24_lpm_wait:
-0502 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
-0503 243a7e56 nbranch disable_user ,blank 
-0504 78347c00 enable user 
-0505 20401465 call lpo_calibration 
-0506 6fe1c174 fetch 3 ,mem_clks_per_lpo 
-0507 203a7e56 branch disable_user ,blank 
-0508 6fe0c099 fetch 1 ,mem_lpm_mode 
-0509 203a7e56 branch disable_user ,blank 
-050a 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-050b 247a0000 nrtn blank 
-050c 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
-050d c000fe56 beq g24_tx_timer_int_enable ,disable_user 
-050e 20600000 rtn 
+04f9 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
+04fa 243a7e56 nbranch disable_user ,blank 
+04fb 78347c00 enable user 
+04fc 20401465 call lpo_calibration 
+04fd 6fe1c174 fetch 3 ,mem_clks_per_lpo 
+04fe 203a7e56 branch disable_user ,blank 
+04ff 6fe0c099 fetch 1 ,mem_lpm_mode 
+0500 203a7e56 branch disable_user ,blank 
+0501 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+0502 247a0000 nrtn blank 
+0503 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
+0504 c000fe56 beq g24_tx_timer_int_enable ,disable_user 
+0505 20600000 rtn 
 
 p_mouse_motion:
-050f 78547c00 disable user 
-0510 6fe0cba4 fetch 1 ,mem_mouse_search_dongle_action 
-0511 c3800000 rtnbit1 g24_disconn_state 
-0512 58000000 setarg 0 
-0513 67e348d1 store 6 ,mem_mouse_x 
-0514 20400520 call p_mouse_check_sensor_data 
-0515 2040408e call mouse_dpi_config 
-0516 20403f7e call mouse_zwheel 
-0517 20403f83 call mouse_t_zwheel 
-0518 2040055d call p_mouse_key 
-0519 6fe0c8d0 fetch 1 ,mem_mouse_key 
-051a 1fe17e1f and_into 0x1f ,pdata 
-051b 67e0c8d0 store 1 ,mem_mouse_key 
-051c 2434053a nbranch p_mouse_low_power_led_delay_off ,user 
-051d 20400537 call p_mouse_work_state_flag 
-051e 20400541 call p_mouse_drawing_optima 
-051f 20204544 branch mouse_no_data_timer_init 
+0506 78547c00 disable user 
+0507 6fe0cba4 fetch 1 ,mem_mouse_search_dongle_action 
+0508 c3800000 rtnbit1 g24_disconn_state 
+0509 58000000 setarg 0 
+050a 67e348d1 store 6 ,mem_mouse_x 
+050b 20400517 call p_mouse_check_sensor_data 
+050c 2040408e call mouse_dpi_config 
+050d 20403f7e call mouse_zwheel 
+050e 20403f83 call mouse_t_zwheel 
+050f 2040055f call p_mouse_key 
+0510 6fe0c8d0 fetch 1 ,mem_mouse_key 
+0511 1fe17e1f and_into 0x1f ,pdata 
+0512 67e0c8d0 store 1 ,mem_mouse_key 
+0513 2434053c nbranch p_mouse_low_power_led_delay_off ,user 
+0514 20400539 call p_mouse_work_state_flag 
+0515 20400543 call p_mouse_drawing_optima 
+0516 20204544 branch mouse_no_data_timer_init 
 
 p_mouse_check_sensor_data:
-0520 6fe0c4ac fetch 1 ,mem_spi_write_flash_sm 
-0521 c1800000 rtnne flash_sm_no_buys 
-0522 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0523 c0038525 beq p6520 ,p_mouse_p32xx_sensor_motion 
-0524 20204243 branch mouse_check_sensor_data + 3 
+0517 6fe0c4ac fetch 1 ,mem_spi_write_flash_sm 
+0518 c1800000 rtnne flash_sm_no_buys 
+0519 6fe0c927 fetch 1 ,mem_config_sensor_type 
+051a c005851d beq ka8g2 ,p_mouse_ka8g2_sensor_motion 
+051b c0038527 beq p6520 ,p_mouse_p32xx_sensor_motion 
+051c 20204243 branch mouse_check_sensor_data + 3 
+
+p_mouse_ka8g2_sensor_motion:
+051d 204042c4 call mouse_clear_sensor_data 
+051e 6fe0c911 fetch 1 ,mem_sensor_motion_gpio 
+051f c07fc294 beq gpio_disable ,mouse_pka8g2_sensor_motion_1 
+0520 6848c911 fetcht 1 ,mem_sensor_motion_gpio 
+0521 20406059 call gpio_get_bit 
+0522 24608000 nrtn true 
+
+p_mouse_pka8g2_sensor_motion_1:
+0523 58000000 setarg pan_reg_pid_l 
+0524 20405b0d call twspi_read 
+0525 c0ac41b2 bne pka8g2_id1 ,mouse_twspi_reset 
+0526 20204279 branch mouse_p3212_sensor_motion_2 
 
 p_mouse_p32xx_sensor_motion:
-0525 204042c4 call mouse_clear_sensor_data 
-0526 78547c00 disable user 
-0527 6fe0c911 fetch 1 ,mem_sensor_motion_gpio 
-0528 c07f852c beq gpio_disable ,p_mouse_p32xx_sensor_motion_2 
-0529 6848c911 fetcht 1 ,mem_sensor_motion_gpio 
-052a 20406059 call gpio_get_bit 
-052b 24608000 nrtn true 
+0527 204042c4 call mouse_clear_sensor_data 
+0528 78547c00 disable user 
+0529 6fe0c911 fetch 1 ,mem_sensor_motion_gpio 
+052a c07f852e beq gpio_disable ,p_mouse_p32xx_sensor_motion_2 
+052b 6848c911 fetcht 1 ,mem_sensor_motion_gpio 
+052c 20406059 call gpio_get_bit 
+052d 24608000 nrtn true 
 
 p_mouse_p32xx_sensor_motion_2:
-052c 58000000 setarg pan_reg_pid_l 
-052d 20405b0d call twspi_read 
-052e c0984266 bne p32xx_id1 ,mouse_p3065_judge 
+052e 58000000 setarg pan_reg_pid_l 
+052f 20405b0d call twspi_read 
+0530 c0984266 bne p32xx_id1 ,mouse_p3065_judge 
 
 p_mouse_p32xx_sensor_motion_3:
-052f 58000002 setarg pan_reg_motion_staus 
-0530 20405b0d call twspi_read 
-0531 c3038533 bbit0 7 ,p_mouse_p32xx_sensor_overflow_check 
-0532 20200536 branch p_mouse_p32xx_sensor_motion_1 
+0531 58000002 setarg pan_reg_motion_staus 
+0532 20405b0d call twspi_read 
+0533 c3038535 bbit0 7 ,p_mouse_p32xx_sensor_overflow_check 
+0534 20200538 branch p_mouse_p32xx_sensor_motion_1 
 
 p_mouse_p32xx_sensor_overflow_check:
-0533 c2818536 bbit1 3 ,p_mouse_p32xx_sensor_motion_1 
-0534 c2820536 bbit1 4 ,p_mouse_p32xx_sensor_motion_1 
-0535 20600000 rtn 
+0535 c2818538 bbit1 3 ,p_mouse_p32xx_sensor_motion_1 
+0536 c2820538 bbit1 4 ,p_mouse_p32xx_sensor_motion_1 
+0537 20600000 rtn 
 
 p_mouse_p32xx_sensor_motion_1:
-0536 20204259 branch mouse_p32xx_sensor_motion_1 + 3 
+0538 20204259 branch mouse_p32xx_sensor_motion_1 + 3 
 
 p_mouse_work_state_flag:
-0537 704c9800 jam 0 ,mem_low_power_led_flag 
-0538 704c9900 jam 0 ,mem_24g_low_power_stop_blink 
-0539 20600000 rtn 
+0539 704c9800 jam 0 ,mem_low_power_led_flag 
+053a 704c9900 jam 0 ,mem_24g_low_power_stop_blink 
+053b 20600000 rtn 
 
 p_mouse_low_power_led_delay_off:
-053a 20404728 call mouse_drawing_optima_init 
-053b 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-053c c4020000 rtnbit0 mouse_low_voltage_flag 
-053d 6fe0cc99 fetch 1 ,mem_24g_low_power_stop_blink 
-053e 247a0000 nrtn blank 
-053f 704c996a jam 0x6a ,mem_24g_low_power_stop_blink 
-0540 20600000 rtn 
+053c 20404728 call mouse_drawing_optima_init 
+053d 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+053e c4020000 rtnbit0 mouse_low_voltage_flag 
+053f 6fe0cc99 fetch 1 ,mem_24g_low_power_stop_blink 
+0540 247a0000 nrtn blank 
+0541 704c996a jam 0x6a ,mem_24g_low_power_stop_blink 
+0542 20600000 rtn 
 
 p_mouse_drawing_optima:
-0541 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0542 c1018000 rtneq p3212 
-0543 2020471a branch mouse_drawing_optima 
+0543 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0544 c1018000 rtneq p3212 
+0545 c1058000 rtneq ka8g2 
+0546 2020471a branch mouse_drawing_optima 
 
 p_mouse_sensor_poweron:
-0544 20403f65 call mouse_sensor_spi_init 
-0545 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0546 c005854b beq ka8g2 ,p_mouse_ka8g2_sensor_init 
-0547 20404232 call mouse_sensor_reset 
-0548 da604aa3 arg mem_sensor_poweron_init ,regc 
-0549 2040422b call mouse_sensor_wr_seq 
-054a 2020408e branch mouse_dpi_config 
+0547 20403f65 call mouse_sensor_spi_init 
+0548 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0549 c005854e beq ka8g2 ,p_mouse_ka8g2_sensor_init 
+054a 20404232 call mouse_sensor_reset 
+054b da604aa3 arg mem_sensor_poweron_init ,regc 
+
+p_mouse_sensor_end:
+054c 2040422b call mouse_sensor_wr_seq 
+054d 2020408e branch mouse_dpi_config 
 
 p_mouse_ka8g2_sensor_init:
-054b 20400552 call p_mouse_ka8g2_sensor_reset 
-054c da604be3 arg mem_ka8g2_sensor_poweron_init ,regc 
-054d 2040422b call mouse_sensor_wr_seq 
-054e 2020408e branch mouse_dpi_config 
+054e 20400554 call p_mouse_ka8g2_sensor_reset 
+054f da604be3 arg mem_ka8g2_sensor_poweron_init ,regc 
+0550 2020054c branch p_mouse_sensor_end 
 
 p_mouse_sensor_reset:
-054f 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0550 c0058552 beq ka8g2 ,p_mouse_ka8g2_sensor_reset 
-0551 20204232 branch mouse_sensor_reset 
+0551 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0552 c0058554 beq ka8g2 ,p_mouse_ka8g2_sensor_reset 
+0553 20204232 branch mouse_sensor_reset 
 
 p_mouse_ka8g2_sensor_reset:
-0552 58009706 setarg 0x9706 
-0553 20405b0c call twspi_write 
-0554 20002ee0 nop 12000 
-0555 20600000 rtn 
+0554 58009706 setarg 0x9706 
+0555 20405b0c call twspi_write 
+0556 20002ee0 nop 12000 
+0557 20600000 rtn 
 
 p_mouse_sensor_powerdown:
-0556 204041a7 call mouse_init_sunt 
-0557 20403f65 call mouse_sensor_spi_init 
-0558 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0559 c005855b beq ka8g2 ,p_mouse_ka8g2_sensor_powerdown 
-055a 2020423e branch mouse_sensor_powerdown_end 
+0558 204041a7 call mouse_init_sunt 
+0559 20403f65 call mouse_sensor_spi_init 
+055a 6fe0c927 fetch 1 ,mem_config_sensor_type 
+055b c005855d beq ka8g2 ,p_mouse_ka8g2_sensor_powerdown 
+055c 2020423e branch mouse_sensor_powerdown_end 
 
 p_mouse_ka8g2_sensor_powerdown:
-055b 58001f06 setarg 0x1f06 
-055c 20205b0c branch twspi_write 
+055d 58001f06 setarg 0x1f06 
+055e 20205b0c branch twspi_write 
 
 p_mouse_key:
-055d 2040055f call p_mouse_check_key_gpio 
-055e 202040dd branch mouse_key + 1 
+055f 20400561 call p_mouse_check_key_gpio 
+0560 202040dd branch mouse_key + 1 
 
 p_mouse_check_key_gpio:
-055f 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-0560 245a4121 ncall mouse_check_key_gpio_once ,blank 
-0561 da200000 arg 0 ,rega 
-0562 2040056a call p_mouse_check_lkey_gpio 
-0563 2040056f call p_mouse_check_rkey_gpio 
-0564 20400574 call p_mouse_check_mkey_gpio 
-0565 20400579 call p_mouse_check_bkkey_gpio 
-0566 20400586 call p_mouse_check_fwkey_gpio 
+0561 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+0562 245a4121 ncall mouse_check_key_gpio_once ,blank 
+0563 da200000 arg 0 ,rega 
+0564 2040056c call p_mouse_check_lkey_gpio 
+0565 20400571 call p_mouse_check_rkey_gpio 
+0566 20400576 call p_mouse_check_mkey_gpio 
+0567 2040057b call p_mouse_check_bkkey_gpio 
+0568 20400588 call p_mouse_check_fwkey_gpio 
 
 p_mouse_check_key_gpio_next:
-0567 20400598 call p_mouse_check_customerkey_gpio 
-0568 1a227e00 copy rega ,pdata 
-0569 20600000 rtn 
+0569 2040059a call p_mouse_check_customerkey_gpio 
+056a 1a227e00 copy rega ,pdata 
+056b 20600000 rtn 
 
 p_mouse_check_lkey_gpio:
-056a 6fe0c918 fetch 1 ,mem_lbutton_gpio 
-056b 204005ab call p_mouse_gpio_config_output_high 
-056c 20404124 call mouse_check_lkey_gpio 
-056d 6848c918 fetcht 1 ,mem_lbutton_gpio 
-056e 20203f56 branch mouse_gpio_config_input_pu 
+056c 6fe0c918 fetch 1 ,mem_lbutton_gpio 
+056d 204005ad call p_mouse_gpio_config_output_high 
+056e 20404124 call mouse_check_lkey_gpio 
+056f 6848c918 fetcht 1 ,mem_lbutton_gpio 
+0570 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_rkey_gpio:
-056f 6fe0c919 fetch 1 ,mem_rbutton_gpio 
-0570 204005ab call p_mouse_gpio_config_output_high 
-0571 2040412a call mouse_check_rkey_gpio 
-0572 6848c919 fetcht 1 ,mem_rbutton_gpio 
-0573 20203f56 branch mouse_gpio_config_input_pu 
+0571 6fe0c919 fetch 1 ,mem_rbutton_gpio 
+0572 204005ad call p_mouse_gpio_config_output_high 
+0573 2040412a call mouse_check_rkey_gpio 
+0574 6848c919 fetcht 1 ,mem_rbutton_gpio 
+0575 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_mkey_gpio:
-0574 6fe0c91a fetch 1 ,mem_mbutton_gpio 
-0575 204005ab call p_mouse_gpio_config_output_high 
-0576 20404130 call mouse_check_mkey_gpio 
-0577 6848c91a fetcht 1 ,mem_mbutton_gpio 
-0578 20203f56 branch mouse_gpio_config_input_pu 
+0576 6fe0c91a fetch 1 ,mem_mbutton_gpio 
+0577 204005ad call p_mouse_gpio_config_output_high 
+0578 20404130 call mouse_check_mkey_gpio 
+0579 6848c91a fetcht 1 ,mem_mbutton_gpio 
+057a 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_bkkey_gpio:
-0579 6fe0c90d fetch 1 ,mem_bk_button_gpio 
-057a c17f8000 rtneq gpio_disable 
-057b 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
-057c 6fe0cb91 fetch 1 ,mem_mouse_bkkey_press_status 
-057d 1fe22600 copy pdata ,regc 
-057e 6848c90d fetcht 1 ,mem_bk_button_gpio 
-057f 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-0580 c07f8582 beq gpio_disable ,p_mouse_3io6key_bk_check 
-0581 2020413e branch mouse_check_bkkey_gpio_next 
+057b 6fe0c90d fetch 1 ,mem_bk_button_gpio 
+057c c17f8000 rtneq gpio_disable 
+057d 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
+057e 6fe0cb91 fetch 1 ,mem_mouse_bkkey_press_status 
+057f 1fe22600 copy pdata ,regc 
+0580 6848c90d fetcht 1 ,mem_bk_button_gpio 
+0581 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+0582 c07f8584 beq gpio_disable ,p_mouse_3io6key_bk_check 
+0583 2020413e branch mouse_check_bkkey_gpio_next 
 
 p_mouse_3io6key_bk_check:
-0582 6fe0c90d fetch 1 ,mem_bk_button_gpio 
-0583 204005ae call p_mouse_gpio_config_output_low 
-0584 6848c90d fetcht 1 ,mem_bk_button_gpio 
-0585 2020414b branch mouse_3io6key_bk_check 
+0584 6fe0c90d fetch 1 ,mem_bk_button_gpio 
+0585 204005b0 call p_mouse_gpio_config_output_low 
+0586 6848c90d fetcht 1 ,mem_bk_button_gpio 
+0587 2020414b branch mouse_3io6key_bk_check 
 
 p_mouse_check_fwkey_gpio:
-0586 6fe0c90e fetch 1 ,mem_fw_button_gpio 
-0587 c17f8000 rtneq gpio_disable 
-0588 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
-0589 6fe0cb92 fetch 1 ,mem_mouse_fwkey_press_status 
-058a 1fe22600 copy pdata ,regc 
-058b 6848c90e fetcht 1 ,mem_fw_button_gpio 
-058c 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-058d c07f858f beq gpio_disable ,p_mouse_3io6key_fw_check 
-058e 20204157 branch mouse_check_fwkey_gpio_next 
+0588 6fe0c90e fetch 1 ,mem_fw_button_gpio 
+0589 c17f8000 rtneq gpio_disable 
+058a 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
+058b 6fe0cb92 fetch 1 ,mem_mouse_fwkey_press_status 
+058c 1fe22600 copy pdata ,regc 
+058d 6848c90e fetcht 1 ,mem_fw_button_gpio 
+058e 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+058f c07f8591 beq gpio_disable ,p_mouse_3io6key_fw_check 
+0590 20204157 branch mouse_check_fwkey_gpio_next 
 
 p_mouse_3io6key_fw_check:
-058f 6fe0c90e fetch 1 ,mem_fw_button_gpio 
-0590 204005ae call p_mouse_gpio_config_output_low 
-0591 6848c90e fetcht 1 ,mem_fw_button_gpio 
-0592 20204164 branch mouse_3io6key_fw_check 
+0591 6fe0c90e fetch 1 ,mem_fw_button_gpio 
+0592 204005b0 call p_mouse_gpio_config_output_low 
+0593 6848c90e fetcht 1 ,mem_fw_button_gpio 
+0594 20204164 branch mouse_3io6key_fw_check 
 
 p_mouse_customer_key_connect_vin:
-0593 6fe0c912 fetch 1 ,mem_customer_key_gpio 
-0594 c17f8000 rtneq gpio_disable 
-0595 c4038000 rtnbit0 7 
-0596 704c9c01 jam 1 ,mem_mouse_customer_key_connect_vin_flag 
-0597 20600000 rtn 
+0595 6fe0c912 fetch 1 ,mem_customer_key_gpio 
+0596 c17f8000 rtneq gpio_disable 
+0597 c4038000 rtnbit0 7 
+0598 704c9c01 jam 1 ,mem_mouse_customer_key_connect_vin_flag 
+0599 20600000 rtn 
 
 p_mouse_check_customerkey_gpio:
-0598 6fe0cc9c fetch 1 ,mem_mouse_customer_key_connect_vin_flag 
-0599 203a416a branch mouse_check_customerkey_gpio ,blank 
-059a 704b8b00 jam 0 ,mem_customer_key 
-059b 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-059c c40a8000 rtnbit0 mouse_enable_keyboard 
-059d 6fe0c912 fetch 1 ,mem_customer_key_gpio 
-059e 793ffe07 set0 gpio_active_bit ,pdata 
-059f 67e0c912 store 1 ,mem_customer_key_gpio 
-05a0 704b9607 jam mouse_customer_key ,mem_mouse_key_temp 
-05a1 6fe0cb95 fetch 1 ,mem_mouse_customerkey_press_status 
-05a2 1fe22600 copy pdata ,regc 
+059a 6fe0cc9c fetch 1 ,mem_mouse_customer_key_connect_vin_flag 
+059b 203a416a branch mouse_check_customerkey_gpio ,blank 
+059c 704b8b00 jam 0 ,mem_customer_key 
+059d 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+059e c40a8000 rtnbit0 mouse_enable_keyboard 
+059f 6fe0c912 fetch 1 ,mem_customer_key_gpio 
+05a0 793ffe07 set0 gpio_active_bit ,pdata 
+05a1 67e0c912 store 1 ,mem_customer_key_gpio 
+05a2 704b9607 jam mouse_customer_key ,mem_mouse_key_temp 
+05a3 6fe0cb95 fetch 1 ,mem_mouse_customerkey_press_status 
+05a4 1fe22600 copy pdata ,regc 
 
 p_mouse_3io6key_customerkey_check:
-05a3 6fe0c912 fetch 1 ,mem_customer_key_gpio 
-05a4 204005ae call p_mouse_gpio_config_output_low 
-05a5 6848c912 fetcht 1 ,mem_customer_key_gpio 
-05a6 20404195 call mouse_3io6key_check 
-05a7 67e0cb95 store 1 ,mem_mouse_customerkey_press_status 
-05a8 20404174 call mouse_check_customerkey_state 
-05a9 6848c912 fetcht 1 ,mem_customer_key_gpio 
-05aa 20203f56 branch mouse_gpio_config_input_pu 
+05a5 6fe0c912 fetch 1 ,mem_customer_key_gpio 
+05a6 204005b0 call p_mouse_gpio_config_output_low 
+05a7 6848c912 fetcht 1 ,mem_customer_key_gpio 
+05a8 20404195 call mouse_3io6key_check 
+05a9 67e0cb95 store 1 ,mem_mouse_customerkey_press_status 
+05aa 20404174 call mouse_check_customerkey_state 
+05ab 6848c912 fetcht 1 ,mem_customer_key_gpio 
+05ac 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_gpio_config_output_high:
-05ab c17f8000 rtneq gpio_disable 
-05ac d840003f arg gpcfg_output_high ,temp 
-05ad 20206093 branch gpio_config_function_int 
+05ad c17f8000 rtneq gpio_disable 
+05ae d840003f arg gpcfg_output_high ,temp 
+05af 20206093 branch gpio_config_function_int 
 
 p_mouse_gpio_config_output_low:
-05ae c17f8000 rtneq gpio_disable 
-05af d840003e arg gpcfg_output_low ,temp 
-05b0 20206093 branch gpio_config_function_int 
+05b0 c17f8000 rtneq gpio_disable 
+05b1 d840003e arg gpcfg_output_low ,temp 
+05b2 20206093 branch gpio_config_function_int 
 
 p_mouse_idle:
-05b1 20404990 call mouse_low_voltage_led_no_enter_lpm 
-05b2 20407936 call ui_check_paring_button 
-05b3 204005be call p_mouse_dpi_check 
-05b4 204005d0 call p_mouse_dpi_another_gpio_check 
-05b5 204005b7 call p_mouse_select_device_check 
-05b6 20204650 branch mouse_idle + 5 
+05b3 20404990 call mouse_low_voltage_led_no_enter_lpm 
+05b4 20407936 call ui_check_paring_button 
+05b5 204005c0 call p_mouse_dpi_check 
+05b6 204005d2 call p_mouse_dpi_another_gpio_check 
+05b7 204005b9 call p_mouse_select_device_check 
+05b8 20204650 branch mouse_idle + 5 
 
 p_mouse_select_device_check:
-05b7 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-05b8 c29485bb bbit1 mouse_enable_select_device_by_pb_button ,p_mouse_select_device_by_pb_button_check_judge 
-05b9 c29b85bb bbit1 mouse_enable_pb_button_long_press_disconvery ,p_mouse_select_device_by_pb_button_check_judge 
-05ba 20600000 rtn 
+05b9 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+05ba c29485bd bbit1 mouse_enable_select_device_by_pb_button ,p_mouse_select_device_by_pb_button_check_judge 
+05bb c29b85bd bbit1 mouse_enable_pb_button_long_press_disconvery ,p_mouse_select_device_by_pb_button_check_judge 
+05bc 20600000 rtn 
 
 p_mouse_select_device_by_pb_button_check_judge:
-05bb 6fe1478c fetch 2 ,mem_ui_state_map 
-05bc c2830201 bbit1 ui_state_bt_discovery ,p_mouse_select_device_by_pb_button_check_once 
-05bd 2020465a branch mouse_select_device_by_pb_button 
+05bd 6fe1478c fetch 2 ,mem_ui_state_map 
+05be c2830201 bbit1 ui_state_bt_discovery ,p_mouse_select_device_by_pb_button_check_once 
+05bf 2020465a branch mouse_select_device_by_pb_button 
 
 p_mouse_dpi_check:
-05be 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
-05bf c17f8000 rtneq gpio_disable 
-05c0 da200000 arg 0 ,rega 
-05c1 704b9605 jam mouse_dpi_key ,mem_mouse_key_temp 
-05c2 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-05c3 204005c5 call p_mouse_dpi_key_check 
-05c4 2020402f branch mouse_dpi_check_next 
+05c0 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
+05c1 c17f8000 rtneq gpio_disable 
+05c2 da200000 arg 0 ,rega 
+05c3 704b9605 jam mouse_dpi_key ,mem_mouse_key_temp 
+05c4 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+05c5 204005c7 call p_mouse_dpi_key_check 
+05c6 2020402f branch mouse_dpi_check_next 
 
 p_mouse_dpi_key_check:
-05c5 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-05c6 c2964048 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
-05c7 6fe0cb93 fetch 1 ,mem_mouse_dpikey_press_status 
-05c8 1fe22600 copy pdata ,regc 
-05c9 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-05ca c07f85cc beq gpio_disable ,p_mouse_3io6key_dpi_check 
-05cb 2020403f branch mouse_dpi_key_check_next 
+05c7 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+05c8 c2964048 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
+05c9 6fe0cb93 fetch 1 ,mem_mouse_dpikey_press_status 
+05ca 1fe22600 copy pdata ,regc 
+05cb 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+05cc c07f85ce beq gpio_disable ,p_mouse_3io6key_dpi_check 
+05cd 2020403f branch mouse_dpi_key_check_next 
 
 p_mouse_3io6key_dpi_check:
-05cc 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
-05cd 204005ae call p_mouse_gpio_config_output_low 
-05ce 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-05cf 20204195 branch mouse_3io6key_check 
+05ce 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
+05cf 204005b0 call p_mouse_gpio_config_output_low 
+05d0 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+05d1 20204195 branch mouse_3io6key_check 
 
 p_mouse_dpi_another_gpio_check:
-05d0 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-05d1 c41e8000 rtnbit0 mouse_enable_double_dpi_key 
-05d2 6fe0cc3a fetch 1 ,mem_mouse_another_dpi_connect_vin_flag 
-05d3 243a05d9 nbranch p_mouse_dpi_another_gpio_connect_vin_check ,blank 
+05d2 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+05d3 c41e8000 rtnbit0 mouse_enable_double_dpi_key 
+05d4 6fe0cc3a fetch 1 ,mem_mouse_another_dpi_connect_vin_flag 
+05d5 243a05db nbranch p_mouse_dpi_another_gpio_connect_vin_check ,blank 
 
 p_mouse_dpi_another_gpio_connect_gnd_check:
-05d4 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
-05d5 204005ab call p_mouse_gpio_config_output_high 
-05d6 204005e4 call p_mouse_dpi_another_check 
-05d7 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-05d8 20203f56 branch mouse_gpio_config_input_pu 
+05d6 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
+05d7 204005ad call p_mouse_gpio_config_output_high 
+05d8 204005e6 call p_mouse_dpi_another_check 
+05d9 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+05da 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_dpi_another_gpio_connect_vin_check:
-05d9 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
-05da 793ffe07 set0 gpio_active_bit ,pdata 
-05db 67e0cc3b store 1 ,mem_dpi_another_button_gpio 
-05dc 204005ae call p_mouse_gpio_config_output_low 
-05dd 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
-05de 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-05df 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
-05e0 204005fd call p_mouse_check_key_connect_vin_new 
-05e1 204005e8 call p_mouse_dpi_another_state_check 
-05e2 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-05e3 20203f56 branch mouse_gpio_config_input_pu 
+05db 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
+05dc 793ffe07 set0 gpio_active_bit ,pdata 
+05dd 67e0cc3b store 1 ,mem_dpi_another_button_gpio 
+05de 204005b0 call p_mouse_gpio_config_output_low 
+05df 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
+05e0 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+05e1 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
+05e2 204005ff call p_mouse_check_key_connect_vin_new 
+05e3 204005ea call p_mouse_dpi_another_state_check 
+05e4 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+05e5 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_dpi_another_check:
-05e4 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
-05e5 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-05e6 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
-05e7 204005f3 call p_mouse_check_key_connect_gnd_new 
+05e6 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
+05e7 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+05e8 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
+05e9 204005f5 call p_mouse_check_key_connect_gnd_new 
 
 p_mouse_dpi_another_state_check:
-05e8 67e0cc3c store 1 ,mem_dpi_another_press_status 
-05e9 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
-05ea 203a05ef branch p_mouse_dpi_another_up ,blank 
+05ea 67e0cc3c store 1 ,mem_dpi_another_press_status 
+05eb 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
+05ec 203a05f1 branch p_mouse_dpi_another_up ,blank 
 
 p_mouse_dpi_another_down:
-05eb 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
-05ec c1008000 rtneq dpi_button_state_down 
-05ed 704c3d01 jam dpi_button_state_down ,mem_dpi_another_button_state 
-05ee 20204069 branch mouse_dpi_process 
+05ed 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
+05ee c1008000 rtneq dpi_button_state_down 
+05ef 704c3d01 jam dpi_button_state_down ,mem_dpi_another_button_state 
+05f0 20204069 branch mouse_dpi_process 
 
 p_mouse_dpi_another_up:
-05ef 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
-05f0 c1000000 rtneq dpi_button_state_up 
-05f1 704c3d00 jam dpi_button_state_up ,mem_dpi_another_button_state 
-05f2 20600000 rtn 
+05f1 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
+05f2 c1000000 rtneq dpi_button_state_up 
+05f3 704c3d00 jam dpi_button_state_up ,mem_dpi_another_button_state 
+05f4 20600000 rtn 
 
 p_mouse_check_key_connect_gnd_new:
-05f3 1fe3fe00 lshift pdata ,pdata 
-05f4 1fe22400 copy pdata ,regb 
-05f5 20406059 call gpio_get_bit 
-05f6 7920a400 setflag true ,0 ,regb 
-05f7 1a417e07 and regb ,0x07 ,pdata 
-05f8 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
-05f9 18420e00 copy temp ,queue 
-05fa c0038608 beq 0x07 ,p_mouse_key_press 
-05fb c000060a beq 0x00 ,p_mouse_key_release 
-05fc 20600000 rtn 
+05f5 1fe3fe00 lshift pdata ,pdata 
+05f6 1fe22400 copy pdata ,regb 
+05f7 20406059 call gpio_get_bit 
+05f8 7920a400 setflag true ,0 ,regb 
+05f9 1a417e07 and regb ,0x07 ,pdata 
+05fa 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
+05fb 18420e00 copy temp ,queue 
+05fc c003860a beq 0x07 ,p_mouse_key_press 
+05fd c000060c beq 0x00 ,p_mouse_key_release 
+05fe 20600000 rtn 
 
 p_mouse_check_key_connect_vin_new:
-05fd 1fe3fe00 lshift pdata ,pdata 
-05fe 1fe22400 copy pdata ,regb 
-05ff 20403f54 call mouse_gpio_config_input_pd 
-0600 20406059 call gpio_get_bit 
-0601 7920a400 setflag true ,0 ,regb 
-0602 1a417e07 and regb ,0x07 ,pdata 
-0603 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
-0604 18420e00 copy temp ,queue 
-0605 c0038608 beq 0x07 ,p_mouse_key_press 
-0606 c000060a beq 0x00 ,p_mouse_key_release 
-0607 20600000 rtn 
+05ff 1fe3fe00 lshift pdata ,pdata 
+0600 1fe22400 copy pdata ,regb 
+0601 20403f54 call mouse_gpio_config_input_pd 
+0602 20406059 call gpio_get_bit 
+0603 7920a400 setflag true ,0 ,regb 
+0604 1a417e07 and regb ,0x07 ,pdata 
+0605 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
+0606 18420e00 copy temp ,queue 
+0607 c003860a beq 0x07 ,p_mouse_key_press 
+0608 c000060c beq 0x00 ,p_mouse_key_release 
+0609 20600000 rtn 
 
 p_mouse_key_press:
-0608 704c3e01 jam 1 ,mem_dpi_another_button_down_enable 
-0609 20600000 rtn 
+060a 704c3e01 jam 1 ,mem_dpi_another_button_down_enable 
+060b 20600000 rtn 
 
 p_mouse_key_release:
-060a 704c3e00 jam 0 ,mem_dpi_another_button_down_enable 
-060b 20600000 rtn 
+060c 704c3e00 jam 0 ,mem_dpi_another_button_down_enable 
+060d 20600000 rtn 
 
 p_mouse_dpi_process:
-060c 20404072 call mouse_dpi_ghost_check 
-060d 20740000 rtn user 
-060e 6fe0c992 fetch 1 ,mem_mouse_dpi 
-060f 1fe20400 copy pdata ,temp 
-0610 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0611 c29e8618 bbit1 mouse_enable_double_dpi_key ,p_mouse_double_dpi_check 
-0612 18427e00 copy temp ,pdata 
-0613 1fe0fe01 increase 1 ,pdata 
-0614 1fe17e03 and pdata ,0x03 ,pdata 
+060e 20404072 call mouse_dpi_ghost_check 
+060f 20740000 rtn user 
+0610 6fe0c992 fetch 1 ,mem_mouse_dpi 
+0611 1fe20400 copy pdata ,temp 
+0612 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0613 c29e861a bbit1 mouse_enable_double_dpi_key ,p_mouse_double_dpi_check 
+0614 18427e00 copy temp ,pdata 
+0615 1fe0fe01 increase 1 ,pdata 
+0616 1fe17e03 and pdata ,0x03 ,pdata 
 
 p_mouse_dpi_store:
-0615 67e0c992 store 1 ,mem_mouse_dpi 
-0616 20404095 call mouse_seting_dpi 
-0617 202045ee branch mouse_store_device_info_delay 
+0617 67e0c992 store 1 ,mem_mouse_dpi 
+0618 20404095 call mouse_seting_dpi 
+0619 202045ee branch mouse_store_device_info_delay 
 
 p_mouse_double_dpi_check:
-0618 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
-0619 243a0635 nbranch p_mouse_another_dpi_button_down ,blank 
+061a 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
+061b 243a0637 nbranch p_mouse_another_dpi_button_down ,blank 
 
 p_mouse_dpi_increase:
-061a 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-061b c28e0629 bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_increase_level_4 
-061c 18427e00 copy temp ,pdata 
-061d c1008000 rtneq mouse_dpi_level2 
+061c 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+061d c28e062b bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_increase_level_4 
+061e 18427e00 copy temp ,pdata 
+061f c1008000 rtneq mouse_dpi_level2 
 
 p_mouse_dpi_increase_level:
-061e c0000625 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
-061f c0010623 beq mouse_dpi_level3 ,p_mouse_dpi_level_2 
-0620 20600000 rtn 
+0620 c0000627 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
+0621 c0010625 beq mouse_dpi_level3 ,p_mouse_dpi_level_2 
+0622 20600000 rtn 
 
 p_mouse_dpi_level_1:
-0621 58000002 setarg 2 
-0622 20200615 branch p_mouse_dpi_store 
+0623 58000002 setarg 2 
+0624 20200617 branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_2:
-0623 58000000 setarg 0 
-0624 20200615 branch p_mouse_dpi_store 
+0625 58000000 setarg 0 
+0626 20200617 branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_3:
-0625 58000001 setarg 1 
-0626 20200615 branch p_mouse_dpi_store 
+0627 58000001 setarg 1 
+0628 20200617 branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_4:
-0627 58000003 setarg 3 
-0628 20200615 branch p_mouse_dpi_store 
+0629 58000003 setarg 3 
+062a 20200617 branch p_mouse_dpi_store 
 
 p_mouse_dpi_increase_level_4:
-0629 18427e00 copy temp ,pdata 
-062a c1008000 rtneq mouse_dpi_level2 
-062b c0000625 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
-062c c0010627 beq mouse_dpi_level3 ,p_mouse_dpi_level_4 
-062d c0018623 beq mouse_dpi_level4 ,p_mouse_dpi_level_2 
-062e 20600000 rtn 
+062b 18427e00 copy temp ,pdata 
+062c c1008000 rtneq mouse_dpi_level2 
+062d c0000627 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
+062e c0010629 beq mouse_dpi_level3 ,p_mouse_dpi_level_4 
+062f c0018625 beq mouse_dpi_level4 ,p_mouse_dpi_level_2 
+0630 20600000 rtn 
 
 p_mouse_dpi_decrease_level_4:
-062f 18427e00 copy temp ,pdata 
-0630 c1010000 rtneq mouse_dpi_level3 
-0631 c0000627 beq mouse_dpi_level1 ,p_mouse_dpi_level_4 
-0632 c0008623 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
-0633 c0018621 beq mouse_dpi_level4 ,p_mouse_dpi_level_1 
-0634 20600000 rtn 
+0631 18427e00 copy temp ,pdata 
+0632 c1010000 rtneq mouse_dpi_level3 
+0633 c0000629 beq mouse_dpi_level1 ,p_mouse_dpi_level_4 
+0634 c0008625 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
+0635 c0018623 beq mouse_dpi_level4 ,p_mouse_dpi_level_1 
+0636 20600000 rtn 
 
 p_mouse_another_dpi_button_down:
 
 p_mouse_dpi_decrease:
-0635 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0636 c28e062f bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_decrease_level_4 
-0637 18427e00 copy temp ,pdata 
-0638 c1010000 rtneq mouse_dpi_level3 
+0637 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0638 c28e0631 bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_decrease_level_4 
+0639 18427e00 copy temp ,pdata 
+063a c1010000 rtneq mouse_dpi_level3 
 
 p_mouse_dpi_decrease_level:
-0639 c0000621 beq mouse_dpi_level1 ,p_mouse_dpi_level_1 
-063a c0008623 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
-063b 20600000 rtn 
+063b c0000623 beq mouse_dpi_level1 ,p_mouse_dpi_level_1 
+063c c0008625 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
+063d 20600000 rtn 
 
 p_power_ctrl_start:
-063c 6fe1478c fetch 2 ,mem_ui_state_map 
-063d c3858000 rtnbit1 ui_state_ble_adv 
-063e c3838000 rtnbit1 ui_state_bt_reconnect 
-063f c3830000 rtnbit1 ui_state_bt_discovery 
-0640 6a214899 fetchr rega ,2 ,mem_rssi_signal_buf_ptr 
-0641 204025cb call rssi_average 
-0642 6048c8c7 storet 1 ,mem_rssi_avg_received 
-0643 202026f6 branch power_ctrl_rssi_avg_compare 
+063e 6fe1478c fetch 2 ,mem_ui_state_map 
+063f c3858000 rtnbit1 ui_state_ble_adv 
+0640 c3838000 rtnbit1 ui_state_bt_reconnect 
+0641 c3830000 rtnbit1 ui_state_bt_discovery 
+0642 6a214899 fetchr rega ,2 ,mem_rssi_signal_buf_ptr 
+0643 204025cb call rssi_average 
+0644 6048c8c7 storet 1 ,mem_rssi_avg_received 
+0645 202026f6 branch power_ctrl_rssi_avg_compare 
               org 0x3bc1
 
 mouse_init:
Index: output/ramcode.rom
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle_pb_immediately_switch/output/ramcode.rom	(revision 4758)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle_pb_immediately_switch/output/ramcode.rom	(working copy)
@@ -16,36 +16,36 @@
 c0648225
 c065026c
 c06600de
-c067050f
-c067860c
-c0680367
-c068855f
+c0670506
+c067860e
+c068035e
+c0688561
 c0698039
-c06a0544
+c06a0547
 c06b028e
-c06c8392
-c06d049e
-c06d84ab
-c06f05b1
+c06c8389
+c06d0495
+c06d84a2
+c06f05b3
 c06f8063
 c070805b
 c0710057
-c07404b2
+c07404a9
 2020137c
-c00d04c6
+c00d04bd
 c0100055
 c01980be
 c01a00c3
-c04384ae
-c05084d0
-c05184da
-c06004dc
+c04384a5
+c05084c7
+c05184d1
+c06004d3
 c06e8336
 c0710302
 c074830a
 c07501c8
-c0760502
-c076863c
+c07604f9
+c076863e
 2020137c
 20800000
 204030f3
@@ -75,7 +75,7 @@
 202041c9
 20400050
 6fe0cc42
-245a03e7
+245a03de
 20403d5a
 20600000
 6fe0c482
@@ -99,12 +99,12 @@
 20600000
 704c4100
 704c4300
-20400412
+20400409
 6fe0cbb4
 c1008000
 204046c2
 6048c938
-20400406
+204003fd
 7041ca00
 204046da
 20400073
@@ -249,14 +249,14 @@
 793f8034
 20406df3
 20400143
-24558405
+245583fc
 204041a7
 20758000
 2040408e
 20403d8a
 20404728
 20400183
-20400556
+20400558
 20203bc9
 6fe44bab
 c41e8000
@@ -329,12 +329,12 @@
 20403d13
 2040016f
 2040023c
-20400437
-2040041f
-2040038d
-204003dd
+2040042e
+20400416
+20400384
+204003d4
 20400104
-20400593
+20400595
 20400169
 20401b16
 20401b3f
@@ -453,7 +453,7 @@
 67e0cba4
 6fe14bbc
 67e14ab2
-20200556
+20200558
 20402631
 24340274
 204001d8
@@ -510,7 +510,7 @@
 20207d66
 6fe44bab
 c4140000
-202005be
+202005c0
 704b9403
 6fe0c91b
 c17f8000
@@ -544,25 +544,25 @@
 58000006
 20405b0d
 c281be23
-2040054f
-20400556
+20400551
+20400558
 20203e23
 204042e9
 20407fdc
-20400437
-2040038d
+2040042e
+20400384
 20404015
 6848c910
 20406069
 6848c910
 20406042
 6fe0c920
-204005ab
+204005ad
 d8400003
 20403f56
 2040026c
 20406082
-2040041f
+20400416
 6fe0cc49
 d84000c0
 20406093
@@ -624,14 +624,14 @@
 20406050
 20403f88
 6fe0c91f
-204005ab
+204005ad
 20203e44
 6fe0c8a7
 205a0280
 6fe0c8bd
 c1008000
 2040269f
-20400502
+204004f9
 24740000
 204026c4
 6fe0cbe1
@@ -663,10 +663,10 @@
 c02202ab
 c02002b5
 20204336
-204003db
+204003d2
 20204350
 20404544
-204003db
+204003d2
 202043fa
 58000000
 67e14af2
@@ -701,14 +701,14 @@
 20404544
 d8e00001
 204046f4
-204003e5
+204003dc
 204048c9
 2020485a
 6fe2483c
 67e24891
 67e24993
 2040257e
-204003e5
+204003dc
 20404544
 204042ca
 704aae00
@@ -766,7 +766,7 @@
 58000000
 67e3c8d0
 704be101
-20400556
+20400558
 20200279
 70488b00
 6fe14beb
@@ -827,50 +827,41 @@
 6fe44bab
 c297c80a
 6fe0c938
-c0000348
-20400340
+c000033f
 20203d57
-6fe0c938
-c0008344
-c0010346
-20600000
-704bb301
-20600000
-704bb302
-20600000
 6fe44bab
 c308c803
 20403d65
-2034035c
+20340353
 6fe44bab
-c298035f
-c3188365
+c2980356
+c318835c
 20404110
 1a217e07
 6848cbcb
 98467c00
-20228355
-20200365
+2022834c
+2020035c
 d8e00001
 204046f0
 58000000
 67e14887
 20404576
-204003e7
+204003de
 2020482e
-204003e7
+204003de
 20400053
 20204806
-204003e7
+204003de
 70493800
 6fe14bba
 67e14887
 70488b01
 20202559
-204003e7
+204003de
 2020480c
 2040408f
-2040036a
+20400361
 20204098
 6fe0c923
 c17f8000
@@ -881,7 +872,7 @@
 6fe14887
 247a0000
 6fe0cbc1
-203a0442
+203a0439
 67e0cba8
 20600000
 6fe14ac2
@@ -899,51 +890,51 @@
 1fe0fe01
 67e0c8f8
 1fe67c0b
-24410389
-c001038b
-c003838d
+24410380
+c0010382
+c0038384
 20600000
 7048f801
-2020038d
+20200384
 6848c921
 20206069
 6848c921
 20206065
 6fe0cc98
-203a0376
+203a036d
 20600000
 20403e9b
-2040038f
+20400386
 2040232b
 20402556
 204047cd
 204048be
-2040043f
-204003ef
-20400462
+20400436
+204003e6
+20400459
 2040407c
 204044cc
-204003ba
-2040047b
+204003b1
+20400472
 204044ff
-204003ca
-204003d0
-204003d4
+204003c1
+204003c7
+204003cb
 20404512
-20400492
+20400489
 20404515
-20400495
+2040048c
 2040452a
 2040452d
 20404532
 20404535
 20404022
-204003b0
-20400422
-20400498
-202003d8
+204003a7
+20400419
+2040048f
+202003cf
 da6049bf
-da4003b3
+da4003aa
 2020318a
 7080706d
 7080716c
@@ -953,12 +944,12 @@
 243a46c0
 20600000
 6fe44bab
-c29b83bd
+c29b83b4
 20600000
 6fe0cb9e
 c1808000
 da604b9b
-da4003c2
+da4003b9
 2020318a
 6fe0c938
 c1000000
@@ -968,16 +959,16 @@
 204046f0
 20403173
 2020454e
-da4003cd
+da4003c4
 da604c99
 2020318a
 704c9801
 704c9a06
 20600000
-da4003d3
+da4003ca
 da604c9a
 2020318a
-2020038d
+20200384
 da604b77
 da40450a
 2040318a
@@ -985,8 +976,8 @@
 da604c1d
 da405d8c
 2020318a
-20400544
-202003e5
+20400547
+202003dc
 6fe0cc46
 67e0cc47
 6fe0cc44
@@ -995,12 +986,12 @@
 6fe0cc4c
 67e0cc4d
 20600000
-204003dd
-202003eb
-202003e8
+204003d4
+202003e2
+202003df
 704c4101
 704c4301
-202003e2
+202003d9
 704c4101
 704c4d00
 704c4300
@@ -1008,54 +999,54 @@
 6fe0cc41
 207a0000
 6fe0cc43
-c00083ff
+c00083f6
 6fe0cc45
-243a03f7
+243a03ee
 704c4100
 20600000
 6fe0cc47
-203a03fc
+203a03f3
 1fe0ffff
 67e0cc47
-20200406
+202003fd
 704c4500
 704c4100
-20200412
+20200409
 da604c4d
-da400402
+da4003f9
 2020318a
-204003e2
+204003d9
 6fe0cc4e
-c0008411
+c0008408
 704c4e01
 6fe0c938
-c000040b
-c000840d
-c001040f
+c0000402
+c0008404
+c0010406
 20600000
 6848cc48
-20200410
+20200407
 6848cc49
-20200410
+20200407
 6848cc4a
 20206069
 704c4e00
 6fe0c938
-c0000417
-c0008419
-c001041b
+c000040e
+c0008410
+c0010412
 20600000
 6848cc48
-2020041c
+20200413
 6848cc49
-2020041c
+20200413
 6848cc4a
 18467cff
 20628000
 2020607f
-20400417
-20400419
-2020041b
+2040040e
+20400410
+20200412
 6fe0cbed
 c17f8000
 6fe0cc9d
@@ -1067,7 +1058,7 @@
 6fe14ac2
 247a0000
 6fe44bab
-c282043b
+c2820432
 704c9b00
 6fe14ab2
 207a0000
@@ -1076,7 +1067,7 @@
 98460400
 6fe14bee
 98467e00
-20210439
+20210430
 6848cbed
 20206065
 6848cbed
@@ -1084,22 +1075,22 @@
 6fe0cc9b
 247a0000
 704c9b01
-20200437
+2020042e
 da604ba8
-da400442
+da400439
 2020318a
 6fe44bab
 c3820000
 6fe0c927
-c0018451
-c0058451
+c0018448
+c0058448
 6fe0c923
 da200000
 6848c992
 18408402
 18467c03
-2041045c
-24410460
+20410453
+24410457
 6048cc9d
 704c9e00
 20600000
@@ -1111,7 +1102,7 @@
 c40e0000
 18408401
 18467c04
-24410460
+24410457
 6048cc9d
 20600000
 6fe44bab
@@ -1130,9 +1121,9 @@
 1fe0fe01
 67e0cc9e
 1fe67c06
-24410470
-c0008475
-c0020478
+24410467
+c000846c
+c002046f
 20600000
 704c9e00
 6fe0cc9d
@@ -1146,11 +1137,11 @@
 20406065
 20600000
 6fe0c938
-c0000481
+c0000478
 6fe44bab
 c41a8000
 6848cbca
-20200484
+2020047b
 6fe44bab
 c4190000
 6848cbcb
@@ -1159,9 +1150,9 @@
 1fe17e07
 6848cb9d
 98467c00
-2022848b
+20228482
 202044eb
-20400490
+20400487
 6fe0cb9f
 c1008000
 704b9f01
@@ -1175,15 +1166,15 @@
 da40436c
 2020318a
 da604ab2
-da40049b
+da400492
 20203191
 6fe0c938
 c00002f6
 2020431b
 704c4c02
-204003e7
-20400556
-20400437
+204003de
+20400558
+2040042e
 6fe1478c
 2feffe0b
 2040c581
@@ -1206,7 +1197,7 @@
 67e0c5f5
 1fe1040f
 1ff1fe00
-c00484ba
+c00484b1
 20204d93
 da200001
 20404dc0
@@ -1225,7 +1216,7 @@
 6fe08049
 207a0000
 c283d730
-c00384cd
+c00384c4
 20205701
 2040585d
 70007378
@@ -1243,27 +1234,27 @@
 20400e80
 20201661
 efe10006
-c00204df
+c00204d6
 202019e4
 efe18006
 67e1c436
-c00504e4
-c00904f3
+c00504db
+c00904ea
 20201cd3
 6fe44bab
 c31d9de7
 20401e8d
 68494437
 6fe0c3c0
-c28184ee
+c28184e5
 6fe14437
 c0181ec8
 68494437
 20201deb
 6fe143d1
 98467c00
-242284ea
-243404ea
+242284e1
+243404e1
 20201e10
 18c22200
 6fe143d4
@@ -1298,27 +1289,38 @@
 c3800000
 58000000
 67e348d1
-20400520
+20400517
 2040408e
 20403f7e
 20403f83
-2040055d
+2040055f
 6fe0c8d0
 1fe17e1f
 67e0c8d0
-2434053a
-20400537
-20400541
+2434053c
+20400539
+20400543
 20204544
 6fe0c4ac
 c1800000
 6fe0c927
-c0038525
+c005851d
+c0038527
 20204243
 204042c4
+6fe0c911
+c07fc294
+6848c911
+20406059
+24608000
+58000000
+20405b0d
+c0ac41b2
+20204279
+204042c4
 78547c00
 6fe0c911
-c07f852c
+c07f852e
 6848c911
 20406059
 24608000
@@ -1327,10 +1329,10 @@
 c0984266
 58000002
 20405b0d
-c3038533
-20200536
-c2818536
-c2820536
+c3038535
+20200538
+c2818538
+c2820538
 20600000
 20204259
 704c9800
@@ -1345,20 +1347,20 @@
 20600000
 6fe0c927
 c1018000
+c1058000
 2020471a
 20403f65
 6fe0c927
-c005854b
+c005854e
 20404232
 da604aa3
 2040422b
 2020408e
-20400552
+20400554
 da604be3
-2040422b
-2020408e
+2020054c
 6fe0c927
-c0058552
+c0058554
 20204232
 58009706
 20405b0c
@@ -1367,35 +1369,35 @@
 204041a7
 20403f65
 6fe0c927
-c005855b
+c005855d
 2020423e
 58001f06
 20205b0c
-2040055f
+20400561
 202040dd
 6fe0cbe1
 245a4121
 da200000
-2040056a
-2040056f
-20400574
-20400579
-20400586
-20400598
+2040056c
+20400571
+20400576
+2040057b
+20400588
+2040059a
 1a227e00
 20600000
 6fe0c918
-204005ab
+204005ad
 20404124
 6848c918
 20203f56
 6fe0c919
-204005ab
+204005ad
 2040412a
 6848c919
 20203f56
 6fe0c91a
-204005ab
+204005ad
 20404130
 6848c91a
 20203f56
@@ -1406,10 +1408,10 @@
 1fe22600
 6848c90d
 6fe0c910
-c07f8582
+c07f8584
 2020413e
 6fe0c90d
-204005ae
+204005b0
 6848c90d
 2020414b
 6fe0c90e
@@ -1419,10 +1421,10 @@
 1fe22600
 6848c90e
 6fe0c910
-c07f858f
+c07f8591
 20204157
 6fe0c90e
-204005ae
+204005b0
 6848c90e
 20204164
 6fe0c912
@@ -1442,7 +1444,7 @@
 6fe0cb95
 1fe22600
 6fe0c912
-204005ae
+204005b0
 6848c912
 20404195
 67e0cb95
@@ -1457,13 +1459,13 @@
 20206093
 20404990
 20407936
-204005be
-204005d0
-204005b7
+204005c0
+204005d2
+204005b9
 20204650
 6fe44bab
-c29485bb
-c29b85bb
+c29485bd
+c29b85bd
 20600000
 6fe1478c
 c2830201
@@ -1473,46 +1475,46 @@
 da200000
 704b9605
 6848c90f
-204005c5
+204005c7
 2020402f
 6fe44bab
 c2964048
 6fe0cb93
 1fe22600
 6fe0c910
-c07f85cc
+c07f85ce
 2020403f
 6fe0c90f
-204005ae
+204005b0
 6848c90f
 20204195
 6fe44bab
 c41e8000
 6fe0cc3a
-243a05d9
+243a05db
 6fe0cc3b
-204005ab
-204005e4
+204005ad
+204005e6
 6848cc3b
 20203f56
 6fe0cc3b
 793ffe07
 67e0cc3b
-204005ae
+204005b0
 704c3f00
 6848cc3b
 6fe0cc3c
-204005fd
-204005e8
+204005ff
+204005ea
 6848cc3b
 20203f56
 704c3f00
 6848cc3b
 6fe0cc3c
-204005f3
+204005f5
 67e0cc3c
 6fe0cc3e
-203a05ef
+203a05f1
 6fe0cc3d
 c1008000
 704c3d01
@@ -1528,8 +1530,8 @@
 1a417e07
 6848cc3f
 18420e00
-c0038608
-c000060a
+c003860a
+c000060c
 20600000
 1fe3fe00
 1fe22400
@@ -1539,8 +1541,8 @@
 1a417e07
 6848cc3f
 18420e00
-c0038608
-c000060a
+c003860a
+c000060c
 20600000
 704c3e01
 20600000
@@ -1551,7 +1553,7 @@
 6fe0c992
 1fe20400
 6fe44bab
-c29e8618
+c29e861a
 18427e00
 1fe0fe01
 1fe17e03
@@ -1559,40 +1561,40 @@
 20404095
 202045ee
 6fe0cc3e
-243a0635
+243a0637
 6fe44bab
-c28e0629
+c28e062b
 18427e00
 c1008000
-c0000625
-c0010623
+c0000627
+c0010625
 20600000
 58000002
-20200615
+20200617
 58000000
-20200615
+20200617
 58000001
-20200615
+20200617
 58000003
-20200615
+20200617
 18427e00
 c1008000
-c0000625
-c0010627
-c0018623
+c0000627
+c0010629
+c0018625
 20600000
 18427e00
 c1010000
-c0000627
-c0008623
-c0018621
+c0000629
+c0008625
+c0018623
 20600000
 6fe44bab
-c28e062f
+c28e0631
 18427e00
 c1010000
-c0000621
-c0008623
+c0000623
+c0008625
 20600000
 6fe1478c
 c3858000
Index: output/sched.rom
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle_pb_immediately_switch/output/sched.rom	(revision 4758)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle_pb_immediately_switch/output/sched.rom	(working copy)
@@ -205,7 +205,7 @@
 
 mem_sensor_angle_default:00	#00--6CLK   01--9CLK   02--12CLK   03--3CLK
 mem_sensor_angle_switch:00	#00--6CLK   01--9CLK   02--12CLK   03--3CLK
-mem_config_sensor_dpi:00		#00--1200   01--1600
+mem_config_sensor_dpi:01		#00--1200   01--1600
 
 mem_mouse_logo_led_gpio:ff
 mem_mouse_logo_led_on_time_init:58 02	#1min
@@ -423,11 +423,14 @@
 3f ##mem_3212_dpi_2	2400
 15##mem_3212_dpi_3   800
 
-14##mem_ka8g2_dpi_0	1200
+# 14##mem_ka8g2_dpi_0	1200
+# 1b##mem_ka8g2_dpi_1	1600
+# 11##mem_ka8g2_dpi_2	1000
+# 0e##mem_ka8g2_dpi_3	800
+11##mem_ka8g2_dpi_0	1000
 1b##mem_ka8g2_dpi_1	1600
-11##mem_ka8g2_dpi_2	1000
+28##mem_ka8g2_dpi_2	2400
 0e##mem_ka8g2_dpi_3	800
-
 mem_sensor_3212_init:
 09 5a
 26 34
@@ -536,6 +539,7 @@
 mem_sensor_ka8g2_init:
 09 a5
 46 34
+19 04
 60 07
 69 04
 7d 20
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle_pb_immediately_switch/program/patch.prog	(revision 4758)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle_pb_immediately_switch/program/patch.prog	(working copy)
@@ -5,7 +5,7 @@
 //define RSSI_SORT
 define SELECT_ANGLE
 // define IO1LED
-// define BT_2MODE_2CHANNEL
+define BT_2MODE_2CHANNEL
 define customerkey
 	bbit1 8,pf_patch_ext
 	beq patch00_0,p_soft_reset
@@ -1893,7 +1893,6 @@
 	rtnbit1 G24_DISCONN_STATE
 	setarg 0
 	store 6,mem_mouse_x
-	// call mouse_check_sensor_data
 	call p_mouse_check_sensor_data
 	call mouse_dpi_config
 	call mouse_zwheel
@@ -1911,16 +1910,22 @@
 	fetch 1,mem_spi_write_flash_sm
 	rtnne FLASH_SM_NO_BUYS
 	fetch 1,mem_config_sensor_type
-	// beq P3205,mouse_p32xx_sensor_motion
-	// beq P3065,mouse_p32xx_sensor_motion
-	// beq KA8,mouse_p32xx_sensor_motion
-	// beq P3204,mouse_p32xx_sensor_motion
-	// beq P3212,mouse_p3212_sensor_motion
-	// beq P3065_xy,mouse_p32xx_sensor_motion
-	// beq P8009,mouse_p8009_sensor_motion	
-	// beq KA8G2,mouse_pka8g2_sensor_motion
+	beq KA8G2,p_mouse_ka8g2_sensor_motion
 	beq P6520,p_mouse_p32xx_sensor_motion
 	branch mouse_check_sensor_data+3
+p_mouse_ka8g2_sensor_motion:
+	call mouse_clear_sensor_data
+	fetch 1,mem_sensor_motion_gpio
+	beq GPIO_DISABLE,mouse_pka8g2_sensor_motion_1
+	fetcht 1,mem_sensor_motion_gpio
+	call gpio_get_bit
+	nrtn true
+p_mouse_pka8g2_sensor_motion_1:
+	setarg PAN_REG_PID_L
+	call twspi_read
+	bne PKA8G2_ID1,mouse_twspi_reset
+	branch mouse_p3212_sensor_motion_2
+
 p_mouse_p32xx_sensor_motion:
 	call mouse_clear_sensor_data
 	disable user
@@ -1962,6 +1967,7 @@
 p_mouse_drawing_optima:
 	fetch 1,mem_config_sensor_type
 	rtneq P3212
+	rtneq KA8G2
 	branch mouse_drawing_optima
 
 p_mouse_sensor_poweron:
@@ -1970,14 +1976,14 @@
 	beq KA8G2,p_mouse_ka8g2_sensor_init
 	call mouse_sensor_reset
 	arg mem_sensor_poweron_init,regc
+p_mouse_sensor_end:
 	call mouse_sensor_wr_seq
 	branch mouse_dpi_config
 	
 p_mouse_ka8g2_sensor_init:
 	call p_mouse_ka8g2_sensor_reset
 	arg mem_ka8g2_sensor_poweron_init,regc
-	call mouse_sensor_wr_seq
-	branch mouse_dpi_config
+	branch p_mouse_sensor_end
 
 p_mouse_sensor_reset:
 	fetch 1,mem_config_sensor_type
Index: sched/mouse.dat
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle_pb_immediately_switch/sched/mouse.dat	(revision 4758)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle_pb_immediately_switch/sched/mouse.dat	(working copy)
@@ -138,7 +138,7 @@
 
 mem_sensor_angle_default:00	#00--6CLK   01--9CLK   02--12CLK   03--3CLK
 mem_sensor_angle_switch:00	#00--6CLK   01--9CLK   02--12CLK   03--3CLK
-mem_config_sensor_dpi:00		#00--1200   01--1600
+mem_config_sensor_dpi:01		#00--1200   01--1600
 
 mem_mouse_logo_led_gpio:ff
 mem_mouse_logo_led_on_time_init:58 02	#1min
@@ -356,11 +356,14 @@
 3f ##mem_3212_dpi_2	2400
 15##mem_3212_dpi_3   800
 
-14##mem_ka8g2_dpi_0	1200
+# 14##mem_ka8g2_dpi_0	1200
+# 1b##mem_ka8g2_dpi_1	1600
+# 11##mem_ka8g2_dpi_2	1000
+# 0e##mem_ka8g2_dpi_3	800
+11##mem_ka8g2_dpi_0	1000
 1b##mem_ka8g2_dpi_1	1600
-11##mem_ka8g2_dpi_2	1000
+28##mem_ka8g2_dpi_2	2400
 0e##mem_ka8g2_dpi_3	800
-
 mem_sensor_3212_init:
 09 5a
 26 34
@@ -469,6 +472,7 @@
 mem_sensor_ka8g2_init:
 09 a5
 46 34
+19 04
 60 07
 69 04
 7d 20
