Index: format/app_mouse.format
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/SlideSwitch_3mode_PC-60 M4/format/app_mouse.format	(revision 5146)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/SlideSwitch_3mode_PC-60 M4/format/app_mouse.format	(working copy)
@@ -386,6 +386,22 @@
 64 mem_le_tx_buffer2_omemalloc_new
 64 mem_le_tx_buffer3_omemalloc_new
 
+0 mem_ka8g2_dpi_set
+1 mem_ka8g2_dpi_0_new
+1 mem_ka8g2_dpi_1_new
+1 mem_ka8g2_dpi_2_new
+1 mem_ka8g2_dpi_3_new
+1 mem_ka8g2_dpi_4_new
+
+//SG8670
+44 mem_sensor_sg8670_init
+16 mem_sensor_sg8670_dpi_800
+12 mem_sensor_sg8670_dpi_1200
+12 mem_sensor_sg8670_dpi_1600
+12 mem_sensor_sg8670_dpi_2400
+12 mem_sensor_sg8670_dpi_2000
+2 mem_mouse_temp_data
+
 )
 
 (
@@ -507,6 +523,7 @@
 0x01 MOUSE_DPI_LEVEL2
 0x02 MOUSE_DPI_LEVEL3
 0x03 MOUSE_DPI_LEVEL4
+0x04 MOUSE_DPI_LEVEL5
 
 
 //mouse sensor angle
@@ -570,6 +587,7 @@
 0X09 KA8_UL
 0X0a KA8_HD
 0X0b KA8G2
+0X0c SG8670
 
 
 //SENSOR REG
Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/SlideSwitch_3mode_PC-60 M4/output/eeprom.dat	(revision 5146)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/SlideSwitch_3mode_PC-60 M4/output/eeprom.dat	(working copy)
@@ -2,108 +2,112 @@
 02
 aa
 55
-82
-14
+56
+16
 c2
 84
 00
-1a
+1b
 c0
 00
 00
-26
+27
 c0
 01
 80
-3f
+40
 c0
 41
 80
-58
+59
 c0
 45
 80
-8f
+90
 c0
 4f
 80
-9c
+9d
 c0
 57
 00
-9e
+9f
 c0
 58
 00
-83
+84
 c0
 61
 82
-7d
+7e
 c0
 62
 00
-32
+33
 c0
 63
 81
-6e
+6f
 c0
 64
 81
-74
+75
 c0
 65
 01
-b1
+b2
 c0
 66
 00
-7f
+80
 c0
 67
-03
-da
+04
+02
 c0
 67
-84
-f0
+85
+5a
 c0
 68
 02
-9d
+a2
 c0
 68
 84
-0c
+6f
+c0
+69
+84
+14
 c0
 6a
-03
-eb
+04
+4e
 c0
 6b
 01
-dc
+dd
 c0
 6c
 82
-ae
+d6
 c0
 6d
 03
-5c
+84
 c0
 6d
 83
-59
+81
 c0
 6f
 04
-7f
+e2
 c0
 74
 03
-8c
+b4
 20
 20
 13
@@ -111,47 +115,47 @@
 c0
 15
 80
-2a
+2b
 c0
 19
 80
-5f
+60
 c0
 1a
 00
-64
+65
 c0
 43
 83
-88
+b0
 c0
 50
 83
-a0
+c8
 c0
 60
 03
-aa
+d2
 c0
 6e
 82
-6d
+6e
 c0
 71
 02
-48
+49
 c0
 74
 82
-50
+51
 c0
 75
 01
-37
+38
 c0
 76
 03
-d1
+f9
 20
 20
 13
@@ -211,7 +215,7 @@
 24
 5a
 02
-d7
+ff
 da
 20
 49
@@ -303,7 +307,7 @@
 20
 40
 00
-4c
+4d
 20
 20
 08
@@ -335,7 +339,7 @@
 20
 3a
 00
-55
+56
 6f
 e0
 c6
@@ -523,7 +527,7 @@
 20
 40
 00
-64
+65
 20
 20
 3e
@@ -575,7 +579,7 @@
 20
 20
 00
-83
+84
 70
 8a
 8b
@@ -643,11 +647,11 @@
 20
 40
 00
-d5
+d6
 20
 40
 00
-b2
+b3
 20
 40
 41
@@ -659,15 +663,15 @@
 20
 40
 02
-c7
+ef
 20
 40
 00
-bd
+be
 20
 40
-40
-8e
+02
+a4
 20
 40
 3d
@@ -679,11 +683,11 @@
 20
 40
 00
-f2
+f3
 20
 40
-03
-fd
+04
+60
 6f
 e0
 c9
@@ -711,7 +715,7 @@
 c0
 00
 80
-b6
+b7
 20
 20
 3d
@@ -763,15 +767,15 @@
 20
 40
 00
-c8
+c9
 20
 40
 02
-d2
+fa
 20
 20
 00
-c0
+c1
 6f
 e4
 4b
@@ -787,7 +791,7 @@
 c2
 83
 80
-c6
+c7
 70
 4c
 3a
@@ -815,7 +819,7 @@
 c2
 83
 80
-cd
+ce
 70
 4c
 39
@@ -871,11 +875,11 @@
 20
 40
 00
-ec
+ed
 20
 40
 00
-cf
+d0
 20
 40
 3d
@@ -883,11 +887,11 @@
 20
 40
 00
-e1
+e2
 20
 40
 00
-e6
+e7
 6f
 e4
 4b
@@ -899,7 +903,7 @@
 20
 40
 00
-e9
+ea
 20
 20
 3b
@@ -955,7 +959,7 @@
 24
 5a
 00
-ef
+f0
 20
 20
 3f
@@ -963,19 +967,19 @@
 20
 40
 03
-09
+31
 20
 40
 03
-0b
+33
 20
 20
 03
-0d
+35
 58
 00
 00
-f7
+f8
 67
 e1
 48
@@ -983,7 +987,7 @@
 58
 00
 01
-11
+12
 67
 e1
 48
@@ -1011,7 +1015,7 @@
 c3
 0a
 80
-fe
+ff
 6f
 e0
 cb
@@ -1031,7 +1035,7 @@
 c2
 80
 81
-0d
+0e
 68
 48
 c7
@@ -1163,7 +1167,7 @@
 24
 21
 01
-27
+28
 20
 40
 25
@@ -1175,11 +1179,11 @@
 24
 2c
 01
-2d
+2e
 24
 37
 81
-2d
+2e
 20
 40
 48
@@ -1203,7 +1207,7 @@
 c0
 08
 01
-2f
+30
 20
 60
 00
@@ -1215,7 +1219,7 @@
 20
 20
 01
-1d
+1e
 70
 4b
 a3
@@ -1246,8 +1250,8 @@
 b2
 20
 20
-03
-fd
+04
+60
 20
 40
 26
@@ -1255,11 +1259,11 @@
 24
 34
 01
-c3
+c4
 20
 40
 01
-46
+47
 20
 40
 26
@@ -1271,7 +1275,7 @@
 24
 3a
 01
-41
+42
 6f
 e4
 48
@@ -1335,11 +1339,11 @@
 24
 2c
 01
-5f
+60
 24
 37
 81
-5f
+60
 20
 40
 26
@@ -1347,7 +1351,7 @@
 20
 40
 01
-51
+52
 20
 20
 26
@@ -1359,7 +1363,7 @@
 24
 5a
 01
-55
+56
 70
 4b
 e1
@@ -1371,7 +1375,7 @@
 20
 40
 02
-c7
+ef
 20
 40
 41
@@ -1443,11 +1447,11 @@
 20
 40
 01
-69
+6a
 20
 20
 01
-47
+48
 6f
 e0
 c8
@@ -1482,12 +1486,12 @@
 23
 20
 40
-03
-f6
+04
+59
 20
 40
-03
-fd
+04
+60
 20
 20
 3e
@@ -1495,7 +1499,7 @@
 20
 40
 02
-c9
+f1
 20
 40
 42
@@ -1507,11 +1511,11 @@
 20
 40
 03
-19
+41
 20
 40
 00
-ef
+f0
 20
 40
 40
@@ -1571,19 +1575,19 @@
 20
 40
 01
-91
+92
 20
 40
 01
-8b
+8c
 20
 40
 01
-9e
+9f
 20
 20
 01
-a5
+a6
 6f
 e4
 4b
@@ -1655,7 +1659,7 @@
 c2
 00
 01
-95
+96
 20
 60
 00
@@ -1802,12 +1806,12 @@
 01
 20
 40
-03
-fd
+04
+60
 20
 20
 01
-c8
+c9
 6f
 e0
 c8
@@ -1815,7 +1819,7 @@
 20
 5a
 01
-ce
+cf
 6f
 e0
 c8
@@ -1907,7 +1911,7 @@
 20
 20
 01
-39
+3a
 1a
 62
 7e
@@ -1915,47 +1919,47 @@
 c0
 00
 81
-ec
+ed
 c0
 01
 01
-f0
+f1
 c0
 1e
 02
-1f
+20
 c0
 1c
 82
-18
+19
 c0
 1d
 02
-2a
+2b
 c0
 02
 01
-fd
+fe
 c0
 09
 81
-fd
+fe
 c0
 19
 02
-04
+05
 c0
 22
 02
-0b
+0c
 c0
 0a
 81
-f2
+f3
 c0
 0a
 01
-e9
+ea
 20
 20
 43
@@ -1966,8 +1970,8 @@
 40
 24
 5a
-02
-dc
+03
+04
 20
 20
 43
@@ -1982,8 +1986,8 @@
 40
 24
 5a
-02
-dc
+03
+04
 20
 20
 43
@@ -2075,7 +2079,7 @@
 c0
 00
 82
-08
+09
 70
 4b
 76
@@ -2170,8 +2174,8 @@
 59
 20
 40
-02
-dc
+03
+04
 20
 20
 48
@@ -2199,15 +2203,15 @@
 c0
 00
 02
-27
+28
 20
 40
-02
-dc
+03
+04
 20
 20
 02
-28
+29
 20
 40
 48
@@ -2227,7 +2231,7 @@
 24
 3a
 01
-ba
+bb
 6f
 e0
 c8
@@ -2235,11 +2239,11 @@
 c0
 01
 02
-30
+31
 c0
 00
 82
-30
+31
 20
 20
 48
@@ -2251,11 +2255,11 @@
 c2
 97
 82
-39
+3a
 c2
 98
 02
-39
+3a
 c3
 1d
 48
@@ -2275,7 +2279,7 @@
 20
 22
 82
-3d
+3e
 20
 20
 48
@@ -2291,7 +2295,7 @@
 20
 40
 02
-d7
+ff
 20
 20
 48
@@ -2335,7 +2339,7 @@
 20
 40
 02
-d7
+ff
 20
 20
 48
@@ -2387,7 +2391,7 @@
 20
 3a
 02
-58
+59
 6f
 e1
 48
@@ -2415,11 +2419,11 @@
 24
 2c
 02
-5e
+5f
 24
 37
 82
-5e
+5f
 20
 40
 26
@@ -2475,7 +2479,7 @@
 c0
 02
 02
-6b
+6c
 20
 20
 25
@@ -2519,7 +2523,7 @@
 c0
 00
 82
-76
+77
 20
 20
 26
@@ -2531,7 +2535,7 @@
 24
 34
 02
-6f
+70
 20
 40
 26
@@ -2559,7 +2563,7 @@
 c3
 01
 02
-81
+82
 6f
 e0
 c9
@@ -2583,7 +2587,7 @@
 c0
 00
 02
-86
+87
 20
 20
 3d
@@ -2603,7 +2607,7 @@
 20
 34
 02
-90
+91
 6f
 e4
 4b
@@ -2611,11 +2615,11 @@
 c2
 98
 02
-96
+97
 c3
 18
 82
-93
+94
 20
 40
 41
@@ -2635,7 +2639,7 @@
 24
 5a
 02
-d7
+ff
 20
 20
 48
@@ -2647,7 +2651,7 @@
 24
 5a
 02
-d7
+ff
 20
 20
 48
@@ -2659,7 +2663,7 @@
 24
 5a
 02
-d7
+ff
 70
 49
 38
@@ -2680,14 +2684,42 @@
 20
 25
 59
+6f
+e0
+c9
+27
+c1
+05
+80
+00
+c1
+06
+00
+00
+20
 20
-40
 40
 8f
 20
 40
 02
-a0
+9e
+20
+40
+02
+c8
+6f
+e0
+c9
+27
+c0
+05
+82
+a8
+c0
+06
+02
+b8
 20
 20
 40
@@ -2695,6 +2727,134 @@
 6f
 e0
 c9
+92
+c0
+00
+02
+ae
+c0
+00
+82
+b0
+c0
+01
+02
+b2
+c0
+01
+82
+b4
+c0
+02
+02
+b6
+6f
+e0
+cd
+4e
+20
+20
+40
+c7
+6f
+e0
+cd
+4f
+20
+20
+40
+c7
+6f
+e0
+cd
+50
+20
+20
+40
+c7
+6f
+e0
+cd
+51
+20
+20
+40
+c7
+6f
+e0
+cd
+52
+20
+20
+40
+c7
+6f
+e0
+c9
+92
+c0
+00
+02
+c4
+c0
+00
+82
+c2
+c0
+01
+02
+c0
+c0
+01
+82
+be
+c0
+02
+02
+c6
+da
+60
+4d
+b3
+20
+20
+42
+2b
+da
+60
+4d
+a7
+20
+20
+42
+2b
+da
+60
+4d
+9b
+20
+20
+42
+2b
+da
+60
+4d
+8f
+20
+20
+42
+2b
+da
+60
+4d
+7f
+20
+20
+42
+2b
+6f
+e0
+c9
 23
 c1
 7f
@@ -2739,7 +2899,7 @@
 20
 3a
 03
-22
+4a
 67
 e0
 cb
@@ -2775,11 +2935,11 @@
 20
 40
 03
-1f
+47
 20
 40
-02
-e0
+03
+08
 20
 40
 40
@@ -2791,7 +2951,7 @@
 20
 40
 03
-37
+5f
 20
 40
 44
@@ -2799,7 +2959,7 @@
 20
 40
 02
-ce
+f6
 20
 40
 45
@@ -2807,7 +2967,7 @@
 20
 40
 03
-4e
+76
 20
 40
 45
@@ -2839,15 +2999,15 @@
 20
 40
 03
-0f
+37
 20
 40
 03
-51
+79
 20
 20
 02
-cb
+f3
 70
 80
 73
@@ -2962,16 +3122,16 @@
 43
 c0
 00
-82
-f0
+83
+18
 6f
 e0
 cc
 45
 24
 3a
-02
-e8
+03
+10
 70
 4c
 41
@@ -2986,8 +3146,8 @@
 47
 20
 3a
-02
-ed
+03
+15
 1f
 e0
 ff
@@ -2998,8 +3158,8 @@
 47
 20
 20
-02
-f7
+03
+1f
 70
 4c
 45
@@ -3011,15 +3171,15 @@
 20
 20
 03
-03
+2b
 da
 60
 4c
 4c
 da
 40
-02
-f3
+03
+1b
 20
 20
 31
@@ -3039,7 +3199,7 @@
 c0
 00
 83
-03
+2b
 70
 4c
 4d
@@ -3050,16 +3210,16 @@
 38
 c0
 00
-02
-fd
-c0
+03
+25
+c0
 00
-82
-ff
+83
+27
 c0
 01
 03
-01
+29
 20
 60
 00
@@ -3071,7 +3231,7 @@
 20
 20
 03
-02
+2a
 68
 48
 cc
@@ -3079,7 +3239,7 @@
 20
 20
 03
-02
+2a
 68
 48
 cc
@@ -3099,15 +3259,15 @@
 c0
 00
 03
-09
+31
 c0
 00
 83
-0b
+33
 c0
 01
 03
-0d
+35
 20
 60
 00
@@ -3175,7 +3335,7 @@
 20
 21
 03
-1d
+45
 68
 48
 cb
@@ -3207,7 +3367,7 @@
 da
 40
 03
-22
+4a
 20
 20
 31
@@ -3263,11 +3423,11 @@
 20
 41
 03
-31
+59
 24
 41
 03
-35
+5d
 20
 20
 48
@@ -3303,7 +3463,7 @@
 c0
 00
 03
-3d
+65
 6f
 e4
 4b
@@ -3319,7 +3479,7 @@
 20
 20
 03
-40
+68
 6f
 e4
 4b
@@ -3355,7 +3515,7 @@
 20
 22
 83
-47
+6f
 20
 20
 44
@@ -3363,7 +3523,7 @@
 20
 40
 03
-4c
+74
 6f
 e0
 cb
@@ -3383,7 +3543,7 @@
 da
 40
 02
-3d
+3e
 20
 20
 44
@@ -3415,7 +3575,7 @@
 da
 40
 03
-56
+7e
 20
 20
 31
@@ -3427,7 +3587,7 @@
 c0
 00
 01
-ba
+bb
 20
 20
 43
@@ -3487,7 +3647,7 @@
 c2
 85
 83
-6f
+97
 6f
 e4
 4b
@@ -3495,7 +3655,7 @@
 c3
 04
 03
-6f
+97
 68
 49
 49
@@ -3615,7 +3775,7 @@
 24
 3a
 02
-d7
+ff
 20
 20
 48
@@ -3663,7 +3823,7 @@
 c0
 04
 83
-94
+bc
 20
 20
 4d
@@ -3763,7 +3923,7 @@
 c0
 02
 03
-ad
+d5
 20
 20
 19
@@ -3779,11 +3939,11 @@
 c0
 05
 03
-b2
+da
 c0
 09
 03
-c1
+e9
 20
 20
 1c
@@ -3811,7 +3971,7 @@
 c2
 81
 83
-bc
+e4
 6f
 e1
 44
@@ -3839,11 +3999,11 @@
 24
 22
 83
-b8
+e0
 24
 34
 03
-b8
+e0
 20
 20
 1e
@@ -3962,12 +4122,16 @@
 d1
 20
 40
-42
-40
+04
+2c
 20
 40
+04
+31
+20
 40
-8e
+02
+a4
 20
 40
 3f
@@ -3979,7 +4143,7 @@
 20
 40
 04
-05
+68
 6f
 e0
 c8
@@ -3998,8 +4162,8 @@
 28
 20
 40
-03
-e8
+04
+11
 20
 20
 45
@@ -4020,131 +4184,363 @@
 40
 3f
 65
-6f
-e0
-c9
-27
-c0
-05
-83
-f2
+20
+75
+80
+00
 20
 40
-42
-32
-da
-60
-4a
-a3
+04
+4e
 20
 40
+41
+b5
+c0
+18
+04
+1e
+c0
+18
+c2
+17
+c0
+2c
 42
-2b
 20
 20
 40
-8e
-20
-40
-03
-f9
-da
-60
-4b
-e3
+41
+b2
 20
-40
-42
-2b
+00
+1a
+f4
 20
 20
-40
-8e
+04
+17
 6f
 e0
 c9
-27
+c2
 c0
-05
-83
-f9
+2d
+04
+21
 20
 20
-42
-32
+41
+be
 58
 00
-97
-06
+00
+7a
 20
 40
 5b
-0c
+0d
+c0
+61
+04
+25
 20
-00
-2e
-e0
 20
-60
-00
+41
+c5
+70
+49
+27
+0c
+58
 00
+80
+06
 20
 40
-41
-a7
+5b
+0c
 20
 40
-3f
-65
+7d
+12
+da
+60
+4d
+53
+20
+40
+42
+2b
+20
+20
+02
+a4
+6f
+e0
+c4
+ac
+c1
+80
+00
+00
 6f
 e0
 c9
 27
 c0
-05
-84
-03
-58
-00
-08
-06
-20
-20
-5b
-0c
-58
-00
-1f
 06
+42
+70
 20
 20
-5b
-0c
-20
-40
-04
+42
 43
 6f
 e0
-cc
-37
-24
-3a
-04
-5a
+c9
+27
+c1
+86
+00
+00
 6f
 e0
-cc
-32
-24
-3a
-04
-59
+c9
+92
+c1
+81
+80
+00
+6f
+e1
+48
+d1
 20
 40
 04
-0c
-20
+3c
+67
+e1
+48
+d1
+6f
+e1
+48
+d3
+20
+40
+04
+3c
+67
+e1
+48
+d3
+20
+60
+00
+00
+c2
+85
+84
+3f
+c3
+05
+84
+43
+20
+60
+00
+00
+1f
+e6
+7e
+00
+20
+40
+04
+43
+1f
+e6
+7e
+00
+20
+60
+00
+00
+1f
+e2
+04
+00
+98
+40
+fe
+00
+67
+e1
+4d
+bf
+6f
+e0
+cd
+c0
+1f
+e6
+7c
+07
+24
+41
+04
+4b
+6f
+e1
+4d
+bf
+20
+60
+00
+00
+58
+00
+07
+ff
+67
+e1
+4d
+bf
+20
+60
+00
+00
+20
+40
+3f
+65
+6f
+e0
+c9
+27
+c0
+05
+84
+54
+20
+40
+42
+32
+da
+60
+4a
+a3
+20
+20
+04
+57
+20
+40
+04
+5c
+da
+60
+4b
+e3
+20
+40
+42
+2b
+20
+40
+42
+2b
+20
+20
+02
+a4
+6f
+e0
+c9
+27
+c0
+05
+84
+5c
+20
+20
+42
+32
+58
+00
+97
+06
+20
+40
+5b
+0c
+20
+00
+2e
+e0
+20
+60
+00
+00
+20
+40
+41
+a7
+20
+40
+3f
+65
+6f
+e0
+c9
+27
+c0
+05
+84
+66
+58
+00
+08
+06
+20
+20
+5b
+0c
+58
+00
+1f
+06
+20
+20
+5b
+0c
+20
+40
+04
+a6
+6f
+e0
+cc
+37
+24
+3a
+04
+bd
+6f
+e0
+cc
+32
+24
+3a
+04
+bc
+20
+40
+04
+6f
+20
 20
 40
 dd
@@ -4163,27 +4559,27 @@
 20
 40
 04
-16
+79
 20
 40
 04
-1b
+7e
 20
 40
 04
-20
+83
 20
 40
 04
-25
+88
 20
 40
 04
-32
+95
 20
 40
 04
-43
+a6
 20
 20
 41
@@ -4195,7 +4591,7 @@
 20
 40
 04
-3f
+a2
 20
 40
 41
@@ -4215,7 +4611,7 @@
 20
 40
 04
-3f
+a2
 20
 40
 41
@@ -4235,7 +4631,7 @@
 20
 40
 04
-3f
+a2
 20
 40
 41
@@ -4279,7 +4675,7 @@
 c0
 7f
 84
-2e
+91
 20
 20
 41
@@ -4291,7 +4687,7 @@
 20
 40
 04
-41
+a4
 68
 48
 c9
@@ -4331,7 +4727,7 @@
 c0
 7f
 84
-3b
+9e
 20
 20
 41
@@ -4343,7 +4739,7 @@
 20
 40
 04
-41
+a4
 68
 48
 c9
@@ -4387,7 +4783,7 @@
 24
 3a
 04
-50
+b3
 68
 48
 cc
@@ -4455,15 +4851,15 @@
 20
 20
 04
-4d
+b0
 c0
 02
 04
-74
+d7
 20
 40
 04
-77
+da
 6f
 e2
 4c
@@ -4499,19 +4895,19 @@
 c0
 00
 04
-68
+cb
 c0
 00
 84
-6b
+ce
 c0
 01
 04
-6e
+d1
 c0
 01
 84
-71
+d4
 20
 60
 00
@@ -4591,7 +4987,7 @@
 24
 41
 04
-7c
+df
 20
 60
 00
@@ -4619,11 +5015,11 @@
 20
 40
 04
-9a
+e9
 20
 40
-04
-ae
+05
+18
 20
 40
 46
@@ -4631,11 +5027,39 @@
 20
 40
 04
-86
+f0
 20
 20
 46
 51
+d8
+e0
+00
+0d
+20
+40
+7d
+74
+24
+7a
+00
+00
+20
+40
+05
+04
+d8
+e0
+00
+0d
+58
+00
+00
+1e
+20
+20
+7d
+66
 6f
 e4
 4b
@@ -4663,7 +5087,7 @@
 20
 20
 84
-93
+fd
 6f
 e0
 c9
@@ -4715,7 +5139,7 @@
 20
 20
 04
-90
+fa
 6f
 e4
 4b
@@ -4746,8 +5170,8 @@
 0f
 20
 40
-04
-a3
+05
+0d
 20
 20
 40
@@ -4774,8 +5198,8 @@
 10
 c0
 7f
-84
-aa
+85
+14
 20
 20
 40
@@ -4787,7 +5211,7 @@
 20
 40
 04
-41
+a4
 68
 48
 c9
@@ -4810,8 +5234,8 @@
 3a
 24
 3a
-04
-b7
+05
+21
 6f
 e0
 cc
@@ -4819,11 +5243,11 @@
 20
 40
 04
-3f
+a2
 20
 40
-04
-c8
+05
+32
 68
 48
 cc
@@ -4851,7 +5275,7 @@
 20
 40
 04
-41
+a4
 70
 4c
 3f
@@ -4866,12 +5290,12 @@
 3c
 20
 40
-04
-e1
+05
+4b
 20
 40
-04
-cc
+05
+36
 68
 48
 cc
@@ -4914,8 +5338,8 @@
 3c
 20
 40
-04
-d7
+05
+41
 67
 e0
 cc
@@ -4926,8 +5350,8 @@
 3e
 20
 3a
-04
-d3
+05
+3d
 6f
 e0
 cc
@@ -4990,12 +5414,12 @@
 00
 c0
 03
-84
-ec
+85
+56
 c0
 00
-04
-ee
+05
+58
 20
 60
 00
@@ -5034,12 +5458,12 @@
 00
 c0
 03
-84
-ec
+85
+56
 c0
 00
-04
-ee
+05
+58
 20
 60
 00
@@ -5082,8 +5506,8 @@
 ab
 c2
 9e
-84
-fc
+85
+71
 18
 42
 7e
@@ -5093,6 +5517,26 @@
 fe
 01
 1f
+e2
+04
+00
+6f
+e0
+c9
+27
+c0
+05
+85
+6b
+c0
+06
+05
+6b
+18
+42
+7e
+00
+1f
 e1
 7e
 03
@@ -5102,12 +5546,36 @@
 92
 20
 40
-40
-95
+02
+a2
 20
 20
 46
 43
+18
+46
+7c
+04
+24
+21
+05
+6f
+18
+42
+7e
+00
+20
+20
+05
+68
+58
+00
+00
+00
+20
+20
+05
+68
 6f
 e0
 cc
@@ -5115,7 +5583,7 @@
 24
 3a
 05
-19
+8e
 6f
 e4
 4b
@@ -5123,7 +5591,7 @@
 c2
 8e
 05
-0d
+82
 18
 42
 7e
@@ -5135,11 +5603,11 @@
 c0
 00
 05
-09
+7e
 c0
 01
 05
-07
+7c
 20
 60
 00
@@ -5150,32 +5618,32 @@
 02
 20
 20
-04
-f9
+05
+68
 58
 00
 00
 00
 20
 20
-04
-f9
+05
+68
 58
 00
 00
 01
 20
 20
-04
-f9
+05
+68
 58
 00
 00
 03
 20
 20
-04
-f9
+05
+68
 18
 42
 7e
@@ -5187,15 +5655,15 @@
 c0
 00
 05
-09
+7e
 c0
 01
 05
-0b
+80
 c0
 01
 85
-07
+7c
 20
 60
 00
@@ -5211,15 +5679,15 @@
 c0
 00
 05
-0b
+80
 c0
 00
 85
-07
+7c
 c0
 01
 85
-05
+7a
 20
 60
 00
@@ -5231,7 +5699,7 @@
 c2
 8e
 05
-13
+88
 18
 42
 7e
@@ -5243,17 +5711,17 @@
 c0
 00
 05
-05
+7a
 c0
 00
 85
-07
+7c
 20
 60
 00
 00
-d6
-73
+ed
+b4
 aa
 55
 40
@@ -5286,7 +5754,7 @@
 00
 98
 d6
-53
+5b
 4e
 00
 01
@@ -6123,7 +6591,18 @@
 0e
 aa
 55
-b2
+05
+00
+4e
+4d
+14
+1b
+28
+43
+0d
+aa
+55
+5a
 00
 df
 49
@@ -6217,38 +6696,164 @@
 00
 ff
 ff
+aa
+55
+40
+00
+7f
+4d
 09
 5a
-ff
-27
-ab
-40
-be
-d1
-a0
-41
-a1
-12
-a5
-84
-a7
-ff
-b5
-d0
-b6
+7f
+26
+7e
+00
+6e
+a3
+6f
+23
+09
+00
+7f
 00
 ff
+ff
+7f
+26
+7e
 00
-09
+6e
+b4
+6f
+34
+7f
 00
 ff
 ff
-09
-5a
-0d
-10
-0e
-c5
+7f
+26
+7e
+00
+6e
+c6
+6f
+46
+7f
+00
+ff
+ff
+7f
+26
+7e
+00
+6e
+e8
+6f
+68
+7f
+00
+ff
+ff
+7f
+26
+7e
+00
+6e
+d7
+6f
+57
+7f
+00
+ff
+ff
+aa
+55
+2c
+00
+53
+4d
+7f
+26
+09
+5a
+0f
+04
+28
+04
+29
+b0
+5b
+00
+4e
+1a
+4f
+00
+7e
+01
+40
+ff
+41
+ff
+42
+ff
+43
+ff
+47
+af
+4a
+40
+4c
+03
+4d
+00
+4e
+02
+7e
+00
+7f
+00
+09
+00
+ff
+ff
+aa
+55
+58
+00
+39
+4a
+09
+5a
+ff
+27
+ab
+40
+be
+d1
+a0
+41
+a1
+12
+a5
+84
+a7
+ff
+b5
+d0
+b6
+00
+ff
+00
+09
+00
+ff
+ff
+09
+5a
+0d
+10
+0e
+c5
 5b
 9a
 10
@@ -6306,867 +6911,262 @@
 ff
 ff
 aa
-55
-08
-00
-a3
-4a
-09
-5a
-0b
-f3
-09
-00
-ff
-ff
-aa
-55
-08
-00
-e3
-4b
-09
-a5
-0b
-f3
-09
-00
-ff
-ff
-aa
-55
-02
-00
-8d
-44
-2d
-49
-aa
-55
-01
-00
-8c
-44
-01
-aa
-55
-01
-00
-65
-48
-01
-aa
-55
-01
-00
-64
-48
-01
-aa
-55
-01
-00
-36
-48
-01
-aa
-55
-01
-00
-a8
-48
-06
-aa
-55
-02
-00
-38
-48
-c0
-12
-aa
-55
-03
-00
-54
-48
-19
-19
-1c
-aa
-55
-10
-00
-40
-48
-00
-13
-2c
-42
-06
-15
-36
-48
-0f
-1a
-3a
-4c
-11
-23
-31
-4d
-aa
-55
-01
-00
-5b
-48
-00
-aa
-55
-05
-00
-77
-48
-20
-15
-10
-05
-4e
-aa
-55
-05
-00
-8c
-48
-01
-0f
-0f
-0f
-0f
-aa
-55
-06
-00
-ad
-48
-0c
-f8
-00
-00
-77
-01
-aa
-55
-03
-00
-5c
-48
-00
-48
-60
-aa
-55
-01
-00
-7d
-48
-07
-aa
-55
-02
-00
-99
-48
-b5
-4a
-aa
-55
-01
-00
-ca
-48
-80
-aa
-55
-02
-00
-c2
-48
-14
-00
-aa
-55
-02
-00
-c0
-48
-50
-00
-aa
-55
-03
-00
-b8
-48
-00
-a6
-0e
-aa
-55
-03
-00
-b8
-49
-00
-50
-00
-aa
-55
-02
-00
-79
-44
-80
-1f
-aa
-55
-01
-00
-83
-44
-80
-aa
-55
-01
-00
-e8
-41
-01
-aa
-55
-05
-00
-f0
-4b
-02
-40
-00
-a5
-19
-55
-aa
-aa
-55
-ec
-85
-c5
-fe
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+55
+08
+00
+a3
+4a
+09
+5a
+0b
+f3
+09
+00
 ff
 ff
+aa
+55
+08
+00
+e3
+4b
+09
+a5
+0b
+f3
+09
+00
 ff
 ff
+aa
+55
+02
+00
+8d
+44
+2d
+49
+aa
+55
+01
+00
+8c
+44
+01
+aa
+55
+01
+00
+65
+48
+01
+aa
+55
+01
+00
+64
+48
+01
+aa
+55
+01
+00
+36
+48
+01
+aa
+55
+01
+00
+a8
+48
+06
+aa
+55
+02
+00
+38
+48
+c0
+12
+aa
+55
+03
+00
+54
+48
+19
+19
+1c
+aa
+55
+10
+00
+40
+48
+00
+13
+2c
+42
+06
+15
+36
+48
+0f
+1a
+3a
+4c
+11
+23
+31
+4d
+aa
+55
+01
+00
+5b
+48
+00
+aa
+55
+05
+00
+77
+48
+20
+15
+10
+05
+4e
+aa
+55
+05
+00
+8c
+48
+01
+0f
+0f
+0f
+0f
+aa
+55
+06
+00
+ad
+48
+0c
+f8
+00
+00
+77
+01
+aa
+55
+03
+00
+5c
+48
+00
+48
+60
+aa
+55
+01
+00
+7d
+48
+07
+aa
+55
+02
+00
+99
+48
+b5
+4a
+aa
+55
+01
+00
+ca
+48
+80
+aa
+55
+02
+00
+c2
+48
+14
+00
+aa
+55
+02
+00
+c0
+48
+50
+00
+aa
+55
+03
+00
+b8
+48
+00
+a6
+0e
+aa
+55
+03
+00
+b8
+49
+00
+50
+00
+aa
+55
+02
+00
+79
+44
+80
+1f
+aa
+55
+01
+00
+83
+44
+80
+aa
+55
+01
+00
+e8
+41
+01
+aa
+55
+05
+00
+f0
+4b
+02
+40
+00
+02
+1c
+55
+aa
+aa
+55
+2a
+b7
+f6
+53
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-26
-f7
+7c
+d6
Index: output/memmap.format
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/SlideSwitch_3mode_PC-60 M4/output/memmap.format	(revision 5146)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/SlideSwitch_3mode_PC-60 M4/output/memmap.format	(working copy)
@@ -2251,6 +2251,19 @@
 0x4c8e mem_le_tx_buffer1_omemalloc_new
 0x4cce mem_le_tx_buffer2_omemalloc_new
 0x4d0e mem_le_tx_buffer3_omemalloc_new
+0x4d4e mem_ka8g2_dpi_set
+0x4d4e mem_ka8g2_dpi_0_new
+0x4d4f mem_ka8g2_dpi_1_new
+0x4d50 mem_ka8g2_dpi_2_new
+0x4d51 mem_ka8g2_dpi_3_new
+0x4d52 mem_ka8g2_dpi_4_new
+0x4d53 mem_sensor_sg8670_init
+0x4d7f mem_sensor_sg8670_dpi_800
+0x4d8f mem_sensor_sg8670_dpi_1200
+0x4d9b mem_sensor_sg8670_dpi_1600
+0x4da7 mem_sensor_sg8670_dpi_2400
+0x4db3 mem_sensor_sg8670_dpi_2000
+0x4dbf mem_mouse_temp_data
 0x48d0 mem_remote_car_hard_soft_switch
 0x48d1 mem_remote_car_queue_each_size
 0x48d2 mem_remote_car_queue_length
Index: output/program.lis
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/SlideSwitch_3mode_PC-60 M4/output/program.lis	(revision 5146)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/SlideSwitch_3mode_PC-60 M4/output/program.lis	(working copy)
@@ -1,1753 +1,1932 @@
               include "bt_format "
               org 0x0000
-0000 c284001a bbit1 8 ,pf_patch_ext 
-0001 c0000026 beq patch00_0 ,p_soft_reset 
-0002 c001803f beq patch00_3 ,p_main_loop 
-0003 c0418058 beq patch10_3 ,p_set_sync_on 
-0004 c045808f beq patch11_3 ,p_initialize_radio_cont 
-0005 c04f809c beq patch13_7 ,p_init_param 
-0006 c057009e beq patch15_6 ,p_app_init 
-0007 c0580083 beq patch16_0 ,p_app_evt_100ms_loop 
-0008 c061827d beq patch18_3 ,p_mouse_start_work 
-0009 c0620032 beq patch18_4 ,p_mouse_start_reconnect_device 
-000a c063816e beq patch18_7 ,p_mouse_app_enter_hibernate 
-000b c0648174 beq patch19_1 ,p_mouse_setgpio_hibernate 
-000c c06501b1 beq patch19_2 ,p_mouse_lpm_before_common 
-000d c066007f beq patch19_4 ,p_mouse_adc_read_start 
-000e c06703da beq patch19_6 ,p_mouse_motion 
-000f c06784f0 beq patch19_7 ,p_mouse_dpi_process 
-0010 c068029d beq patch1a_0 ,p_mouse_seting_dpi 
-0011 c068840c beq patch1a_1 ,p_mouse_check_key_gpio 
-0012 c06a03eb beq patch1a_4 ,p_mouse_sensor_poweron 
-0013 c06b01dc beq patch1a_6 ,p_mouse_priority_bb_event 
-0014 c06c82ae beq patch1b_1 ,p_mouse_bb_event_timer 
-0015 c06d035c beq patch1b_2 ,p_mouse_start_discovery 
-0016 c06d8359 beq patch1b_3 ,p_mouse_stop_discovery 
-0017 c06f047f beq patch1b_6 ,p_mouse_idle 
-0018 c074038c beq patch1d_0 ,p_hid_rx_process 
-0019 2020137c branch loop 
+0000 c284001b bbit1 8 ,pf_patch_ext 
+0001 c0000027 beq patch00_0 ,p_soft_reset 
+0002 c0018040 beq patch00_3 ,p_main_loop 
+0003 c0418059 beq patch10_3 ,p_set_sync_on 
+0004 c0458090 beq patch11_3 ,p_initialize_radio_cont 
+0005 c04f809d beq patch13_7 ,p_init_param 
+0006 c057009f beq patch15_6 ,p_app_init 
+0007 c0580084 beq patch16_0 ,p_app_evt_100ms_loop 
+0008 c061827e beq patch18_3 ,p_mouse_start_work 
+0009 c0620033 beq patch18_4 ,p_mouse_start_reconnect_device 
+000a c063816f beq patch18_7 ,p_mouse_app_enter_hibernate 
+000b c0648175 beq patch19_1 ,p_mouse_setgpio_hibernate 
+000c c06501b2 beq patch19_2 ,p_mouse_lpm_before_common 
+000d c0660080 beq patch19_4 ,p_mouse_adc_read_start 
+000e c0670402 beq patch19_6 ,p_mouse_motion 
+000f c067855a beq patch19_7 ,p_mouse_dpi_process 
+0010 c06802a2 beq patch1a_0 ,p_mouse_seting_dpi 
+0011 c068846f beq patch1a_1 ,p_mouse_check_key_gpio 
+0012 c0698414 beq patch1a_3 ,p_mouse_init_sunt 
+0013 c06a044e beq patch1a_4 ,p_mouse_sensor_poweron 
+0014 c06b01dd beq patch1a_6 ,p_mouse_priority_bb_event 
+0015 c06c82d6 beq patch1b_1 ,p_mouse_bb_event_timer 
+0016 c06d0384 beq patch1b_2 ,p_mouse_start_discovery 
+0017 c06d8381 beq patch1b_3 ,p_mouse_stop_discovery 
+0018 c06f04e2 beq patch1b_6 ,p_mouse_idle 
+0019 c07403b4 beq patch1d_0 ,p_hid_rx_process 
+001a 2020137c branch loop 
 
 pf_patch_ext:
-001a c015802a beq patch25_3 ,p_efuse_vdd_off 
-001b c019805f beq patch26_3 ,p_adc_init_data 
-001c c01a0064 beq patch26_4 ,p_enable_adc 
-001d c0438388 beq patch30_7 ,p_ui_timer_check 
-001e c05083a0 beq patch34_1 ,p_le_slave_match 
-001f c06003aa beq patch38_0 ,p_le_parse_l2cap 
-0020 c06e826d beq patch3b_5 ,p_g24_dispatch 
-0021 c0710248 beq patch3c_2 ,p_g24_pair_dispatch 
-0022 c0748250 beq patch3d_1 ,p_g24_reconn_dispatch 
-0023 c0750137 beq patch3d_2 ,p_g24_transmit_no_interrupt 
-0024 c07603d1 beq patch3d_4 ,p_g24_lpm_wait 
-0025 2020137c branch loop 
+001b c015802b beq patch25_3 ,p_efuse_vdd_off 
+001c c0198060 beq patch26_3 ,p_adc_init_data 
+001d c01a0065 beq patch26_4 ,p_enable_adc 
+001e c04383b0 beq patch30_7 ,p_ui_timer_check 
+001f c05083c8 beq patch34_1 ,p_le_slave_match 
+0020 c06003d2 beq patch38_0 ,p_le_parse_l2cap 
+0021 c06e826e beq patch3b_5 ,p_g24_dispatch 
+0022 c0710249 beq patch3c_2 ,p_g24_pair_dispatch 
+0023 c0748251 beq patch3d_1 ,p_g24_reconn_dispatch 
+0024 c0750138 beq patch3d_2 ,p_g24_transmit_no_interrupt 
+0025 c07603f9 beq patch3d_4 ,p_g24_lpm_wait 
+0026 2020137c branch loop 
 
 p_soft_reset:
-0026 20800000 clear_stack 
-0027 204030f3 call app_param_init 
-0028 20403bfd call mouse_xtal_init 
-0029 20200804 branch soft_reset + 3 
+0027 20800000 clear_stack 
+0028 204030f3 call app_param_init 
+0029 20403bfd call mouse_xtal_init 
+002a 20200804 branch soft_reset + 3 
 
 p_efuse_vdd_off:
-002a 6ff08a0b fetch 1 ,core_rf_ldo_en1 
-002b 793ffe05 set0 5 ,pdata 
-002c 793ffe04 set0 4 ,pdata 
-002d 793ffe00 set0 0 ,pdata 
-002e 67f08a0b store 1 ,core_rf_ldo_en1 
-002f 20000018 nop 24 
-0030 793ffe03 set0 3 ,pdata 
-0031 20205ea4 branch efuse_vdd_off + 6 
+002b 6ff08a0b fetch 1 ,core_rf_ldo_en1 
+002c 793ffe05 set0 5 ,pdata 
+002d 793ffe04 set0 4 ,pdata 
+002e 793ffe00 set0 0 ,pdata 
+002f 67f08a0b store 1 ,core_rf_ldo_en1 
+0030 20000018 nop 24 
+0031 793ffe03 set0 3 ,pdata 
+0032 20205ea4 branch efuse_vdd_off + 6 
 
 p_mouse_start_reconnect_device:
-0032 6fe0cc42 fetch 1 ,mem_mouse_bt_led_recon_effect_flag 
-0033 245a02d7 ncall p_mouse_multi_led_blink_enable ,blank 
-0034 da204939 arg mem_device1_type ,rega 
-0035 6fe0c938 fetch 1 ,mem_device_flag 
-0036 1fe0ffff increase -1 ,pdata 
-0037 1feffe1d mul32 pdata ,29 ,pdata 
-0038 9a20a200 iadd rega ,rega 
-0039 efe08011 ifetch 1 ,rega 
-003a 67e0c482 store 1 ,mem_xrecord_mode 
+0033 6fe0cc42 fetch 1 ,mem_mouse_bt_led_recon_effect_flag 
+0034 245a02ff ncall p_mouse_multi_led_blink_enable ,blank 
+0035 da204939 arg mem_device1_type ,rega 
+0036 6fe0c938 fetch 1 ,mem_device_flag 
+0037 1fe0ffff increase -1 ,pdata 
+0038 1feffe1d mul32 pdata ,29 ,pdata 
+0039 9a20a200 iadd rega ,rega 
+003a efe08011 ifetch 1 ,rega 
+003b 67e0c482 store 1 ,mem_xrecord_mode 
 
 p_mouse_start_reconnect:
-003b 6fe0c482 fetch 1 ,mem_xrecord_mode 
-003c c019bd6f beq rec_3_mode ,mouse3_0_check_reconn_target 
-003d c01a3d7b beq rec_4_mode ,mouse4_0_check_reconn_target 
-003e 202042eb branch mouse_buletooth_fast_conn_init 
+003c 6fe0c482 fetch 1 ,mem_xrecord_mode 
+003d c019bd6f beq rec_3_mode ,mouse3_0_check_reconn_target 
+003e c01a3d7b beq rec_4_mode ,mouse4_0_check_reconn_target 
+003f 202042eb branch mouse_buletooth_fast_conn_init 
 
 p_main_loop:
-003f 2040706c call sp_calc_sequence 
-0040 20407597 call sp_calc_sequence_256 
-0041 20406ea7 call sp_calc_sequence_256_check 
-0042 20401b93 call le_advertising_dispatch + 1 
-0043 2040083a call idle_dispatch 
-0044 20403108 call app_process_idle + 1 
-0045 20400892 call inquiry_dispatch + 1 
-0046 20400b08 call inquiry_scan_dispatch + 1 
-0047 20400b7b call page_scan_dispatch + 1 
-0048 20400823 call connection_dispatch + 1 
-0049 204021d3 call g24_dispatch + 2 
-004a 2040004c call p_lpm_dispatch 
-004b 20200813 branch main_loop 
+0040 2040706c call sp_calc_sequence 
+0041 20407597 call sp_calc_sequence_256 
+0042 20406ea7 call sp_calc_sequence_256_check 
+0043 20401b93 call le_advertising_dispatch + 1 
+0044 2040083a call idle_dispatch 
+0045 20403108 call app_process_idle + 1 
+0046 20400892 call inquiry_dispatch + 1 
+0047 20400b08 call inquiry_scan_dispatch + 1 
+0048 20400b7b call page_scan_dispatch + 1 
+0049 20400823 call connection_dispatch + 1 
+004a 204021d3 call g24_dispatch + 2 
+004b 2040004d call p_lpm_dispatch 
+004c 20200813 branch main_loop 
 
 p_lpm_dispatch:
-004c 20401465 call lpo_calibration 
-004d 6fe1c174 fetch 3 ,mem_clks_per_lpo 
-004e 207a0000 rtn blank 
-004f 6fe0c099 fetch 1 ,mem_lpm_mode 
-0050 207a0000 rtn blank 
-0051 6fe0c764 fetch 1 ,mem_ssp_enable 
-0052 203a0055 branch p_lpm_dispatch_next ,blank 
-0053 6fe0c6b9 fetch 1 ,mem_sp_local_key_invalid 
-0054 207a0000 rtn blank 
+004d 20401465 call lpo_calibration 
+004e 6fe1c174 fetch 3 ,mem_clks_per_lpo 
+004f 207a0000 rtn blank 
+0050 6fe0c099 fetch 1 ,mem_lpm_mode 
+0051 207a0000 rtn blank 
+0052 6fe0c764 fetch 1 ,mem_ssp_enable 
+0053 203a0056 branch p_lpm_dispatch_next ,blank 
+0054 6fe0c6b9 fetch 1 ,mem_sp_local_key_invalid 
+0055 207a0000 rtn blank 
 
 p_lpm_dispatch_next:
-0055 6fe0c6ba fetch 1 ,mem_sc_calc 
-0056 247a0000 nrtn blank 
-0057 202014ea branch lpm_dispatch_next + 3 
+0056 6fe0c6ba fetch 1 ,mem_sc_calc 
+0057 247a0000 nrtn blank 
+0058 202014ea branch lpm_dispatch_next + 3 
 
 p_set_sync_on:
-0058 70890005 jam 0x5 ,modem_en 
-0059 20000002 nop 2 
-005a 70890000 jam 0x0 ,modem_en 
-005b 6fe0c0c5 fetch 1 ,mem_fcomp_div 
-005c c00c1168 beq xtal_24m ,set_sync_on_24m 
+0059 70890005 jam 0x5 ,modem_en 
+005a 20000002 nop 2 
+005b 70890000 jam 0x0 ,modem_en 
+005c 6fe0c0c5 fetch 1 ,mem_fcomp_div 
+005d c00c1168 beq xtal_24m ,set_sync_on_24m 
 
 p_set_sync_on_16m:
-005d 708a8729 jam 0x29 ,core_syn_afc_cfg1 
-005e 2020117d branch set_sync_on_16m 
+005e 708a8729 jam 0x29 ,core_syn_afc_cfg1 
+005f 2020117d branch set_sync_on_16m 
 
 p_adc_init_data:
-005f da20099e arg mem_temp_block2 ,rega 
-0060 d840000c arg 12 ,temp 
-0061 58000030 setarg efuse_offset_adc_param 
-0062 20405e63 call efuse_read_data 
-0063 202060bf branch adc_init_data + 6 
+0060 da20099e arg mem_temp_block2 ,rega 
+0061 d840000c arg 12 ,temp 
+0062 58000030 setarg efuse_offset_adc_param 
+0063 20405e63 call efuse_read_data 
+0064 202060bf branch adc_init_data + 6 
 
 p_enable_adc:
-0064 6a508a12 fetchr regb ,1 ,core_rf_ldo_cfg6 
-0065 708a123d jam 0x3d ,core_rf_ldo_cfg6 
-0066 708a11aa jam 0xaa ,core_rf_ldo_cfg5 
-0067 708a0a0c jam 0x0c ,core_rf_ldo_en0 
-0068 6ff08a09 fetch 1 ,core_clkpll_cfg6 
-0069 79207e07 set1 7 ,pdata 
-006a 67f08a09 store 1 ,core_clkpll_cfg6 
-006b 708a0b04 jam 0x04 ,core_rf_ldo_en1 
-006c 2000003c nop 60 
-006d 708a1600 jam 0 ,core_syn_en 
-006e 708a1706 jam 6 ,core_rx_en0 
-006f 2040611a call read_adc_mode 
-0070 67f08a97 store 1 ,core_gpadc_ctrl 
-0071 7080dc03 jam 0x03 ,core_sum_ctrl 
-0072 2000003c nop 60 
-0073 6ff08053 fetch 1 ,core_sum_en 
-0074 79207e07 set1 7 ,pdata 
-0075 67f08053 store 1 ,core_sum_en 
-0076 200003e8 nop 1000 
-0077 6ff10150 fetch 2 ,core_adc_sum 
-0078 67e144a2 store 2 ,mem_adc_current_value 
-0079 6ff08053 fetch 1 ,core_sum_en 
-007a 793ffe07 set0 7 ,pdata 
-007b 67f08053 store 1 ,core_sum_en 
-007c 708a9700 jam 0 ,core_gpadc_ctrl 
-007d 62508a12 storer regb ,1 ,core_rf_ldo_cfg6 
-007e 20600000 rtn 
+0065 6a508a12 fetchr regb ,1 ,core_rf_ldo_cfg6 
+0066 708a123d jam 0x3d ,core_rf_ldo_cfg6 
+0067 708a11aa jam 0xaa ,core_rf_ldo_cfg5 
+0068 708a0a0c jam 0x0c ,core_rf_ldo_en0 
+0069 6ff08a09 fetch 1 ,core_clkpll_cfg6 
+006a 79207e07 set1 7 ,pdata 
+006b 67f08a09 store 1 ,core_clkpll_cfg6 
+006c 708a0b04 jam 0x04 ,core_rf_ldo_en1 
+006d 2000003c nop 60 
+006e 708a1600 jam 0 ,core_syn_en 
+006f 708a1706 jam 6 ,core_rx_en0 
+0070 2040611a call read_adc_mode 
+0071 67f08a97 store 1 ,core_gpadc_ctrl 
+0072 7080dc03 jam 0x03 ,core_sum_ctrl 
+0073 2000003c nop 60 
+0074 6ff08053 fetch 1 ,core_sum_en 
+0075 79207e07 set1 7 ,pdata 
+0076 67f08053 store 1 ,core_sum_en 
+0077 200003e8 nop 1000 
+0078 6ff10150 fetch 2 ,core_adc_sum 
+0079 67e144a2 store 2 ,mem_adc_current_value 
+007a 6ff08053 fetch 1 ,core_sum_en 
+007b 793ffe07 set0 7 ,pdata 
+007c 67f08053 store 1 ,core_sum_en 
+007d 708a9700 jam 0 ,core_gpadc_ctrl 
+007e 62508a12 storer regb ,1 ,core_rf_ldo_cfg6 
+007f 20600000 rtn 
 
 p_mouse_adc_read_start:
-007f 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
-0080 247a0000 nrtn blank 
-0081 20400064 call p_enable_adc 
-0082 20203ebb branch mouse_adc_read_start + 3 
+0080 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
+0081 247a0000 nrtn blank 
+0082 20400065 call p_enable_adc 
+0083 20203ebb branch mouse_adc_read_start + 3 
 
 p_app_evt_100ms_loop:
-0083 6fe0830d fetch 1 ,mem_app_evt_timer_count 
-0084 207a0000 rtn blank 
-0085 1fe0ffff increase -1 ,pdata 
-0086 67e0830d store 1 ,mem_app_evt_timer_count 
-0087 204077c5 call ui_button_polling 
-0088 204031e3 call app_lpm_wake_auto_lock_timer 
-0089 204031a4 call app_unsniff_delay_timer 
-008a 204031aa call app_discovery_timer 
-008b 20405cdc call flash_write_spi_sm_timer 
-008c 6fe1446f fetch 2 ,mem_cb_event_timer 
-008d 20407e05 call callback_func 
-008e 20200083 branch p_app_evt_100ms_loop 
+0084 6fe0830d fetch 1 ,mem_app_evt_timer_count 
+0085 207a0000 rtn blank 
+0086 1fe0ffff increase -1 ,pdata 
+0087 67e0830d store 1 ,mem_app_evt_timer_count 
+0088 204077c5 call ui_button_polling 
+0089 204031e3 call app_lpm_wake_auto_lock_timer 
+008a 204031a4 call app_unsniff_delay_timer 
+008b 204031aa call app_discovery_timer 
+008c 20405cdc call flash_write_spi_sm_timer 
+008d 6fe1446f fetch 2 ,mem_cb_event_timer 
+008e 20407e05 call callback_func 
+008f 20200084 branch p_app_evt_100ms_loop 
 
 p_initialize_radio_cont:
-008f 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
-0090 2040126a call initialize_syn_afc_cfg1 
-0091 20401271 call initialize_rf_ldo_cfg1 
-0092 20401277 call initialize_rc_cal 
-0093 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
-0094 708a0305 jam 5 ,core_clkpll_cfg0 
-0095 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
-0096 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
-0097 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
-0098 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
-0099 708a8500 jam 0x00 ,core_syn_loopdiv_dsm_cfg 
-009a 70892140 jam 0x40 ,core_rx_ctrl1 
-009b 2020125d branch initialize_radio_cont + 8 
+0090 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
+0091 2040126a call initialize_syn_afc_cfg1 
+0092 20401271 call initialize_rf_ldo_cfg1 
+0093 20401277 call initialize_rc_cal 
+0094 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
+0095 708a0305 jam 5 ,core_clkpll_cfg0 
+0096 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
+0097 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
+0098 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
+0099 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
+009a 708a8500 jam 0x00 ,core_syn_loopdiv_dsm_cfg 
+009b 70892140 jam 0x40 ,core_rx_ctrl1 
+009c 2020125d branch initialize_radio_cont + 8 
 
 p_init_param:
-009c 70008000 jam 0 ,mem_lmo_tid2 
-009d 202013b7 branch init_param_next + 1 
+009d 70008000 jam 0 ,mem_lmo_tid2 
+009e 202013b7 branch init_param_next + 1 
 
 p_app_init:
 
 p_mouse_init:
-009e 20406df3 call enable_authrom 
-009f 204000d5 call p_mouse_setting_config 
-00a0 204000b2 call p_lpm_write_ice_disable 
-00a1 204041a7 call mouse_init_sunt 
-00a2 20758000 rtn wake 
-00a3 204002c7 call p_mouse_ice_adc_on 
-00a4 204000bd call p_mouse_load_default_param 
-00a5 2040408e call mouse_dpi_config 
-00a6 20403d8a call mouse_usb_check_enable 
-00a7 20404728 call mouse_drawing_optima_init 
-00a8 204000f2 call p_mouse_cb_fuction 
-00a9 204003fd call p_mouse_sensor_powerdown 
-00aa 6fe0c92a fetch 1 ,mem_usb_addr 
-00ab c3838000 rtnbit1 7 
+009f 20406df3 call enable_authrom 
+00a0 204000d6 call p_mouse_setting_config 
+00a1 204000b3 call p_lpm_write_ice_disable 
+00a2 204041a7 call mouse_init_sunt 
+00a3 20758000 rtn wake 
+00a4 204002ef call p_mouse_ice_adc_on 
+00a5 204000be call p_mouse_load_default_param 
+00a6 204002a4 call p_mouse_seting_sensor_type 
+00a7 20403d8a call mouse_usb_check_enable 
+00a8 20404728 call mouse_drawing_optima_init 
+00a9 204000f3 call p_mouse_cb_fuction 
+00aa 20400460 call p_mouse_sensor_powerdown 
+00ab 6fe0c92a fetch 1 ,mem_usb_addr 
+00ac c3838000 rtnbit1 7 
 
 p_mouse_init_wireless:
-00ac 6fe1478c fetch 2 ,mem_ui_state_map 
-00ad c2864553 bbit1 ui_state_btn_down ,mouse_start_discovery 
-00ae 204046a0 call mouse_check_select_device_by_switch 
-00af 6fe0c938 fetch 1 ,mem_device_flag 
-00b0 c00080b6 beq mode_bt_device1 ,p_mouse_check_bt_reconn_target 
-00b1 20203d52 branch mouse_start_work 
+00ad 6fe1478c fetch 2 ,mem_ui_state_map 
+00ae c2864553 bbit1 ui_state_btn_down ,mouse_start_discovery 
+00af 204046a0 call mouse_check_select_device_by_switch 
+00b0 6fe0c938 fetch 1 ,mem_device_flag 
+00b1 c00080b7 beq mode_bt_device1 ,p_mouse_check_bt_reconn_target 
+00b2 20203d52 branch mouse_start_work 
 
 p_lpm_write_ice_disable:
-00b2 6ff10120 fetch 2 ,core_ucode_flag 
-00b3 793ffe0e set0 lpmreg_ice_mode_bit ,pdata 
-00b4 67f2004c store 4 ,core_lpm_reg 
-00b5 20205caf branch lpm_write2_ctrl_option 
+00b3 6ff10120 fetch 2 ,core_ucode_flag 
+00b4 793ffe0e set0 lpmreg_ice_mode_bit ,pdata 
+00b5 67f2004c store 4 ,core_lpm_reg 
+00b6 20205caf branch lpm_write2_ctrl_option 
 
 p_mouse_check_bt_reconn_target:
-00b6 6fe3493a fetch 6 ,mem_device1_addr 
-00b7 684b4974 fetcht 6 ,mem_mouse_compare_addr_ff 
-00b8 98467c00 isub temp ,null 
-00b9 2022c2eb branch mouse_buletooth_fast_conn_init ,zero 
-00ba 2020481c branch mouse_check_bt_reconn_target 
+00b7 6fe3493a fetch 6 ,mem_device1_addr 
+00b8 684b4974 fetcht 6 ,mem_mouse_compare_addr_ff 
+00b9 98467c00 isub temp ,null 
+00ba 2022c2eb branch mouse_buletooth_fast_conn_init ,zero 
+00bb 2020481c branch mouse_check_bt_reconn_target 
 
 p_mouse_start_discovery_init:
-00bb 70493801 jam mode_bt_device1 ,mem_device_flag 
-00bc 20204553 branch mouse_start_discovery 
+00bc 70493801 jam mode_bt_device1 ,mem_device_flag 
+00bd 20204553 branch mouse_start_discovery 
 
 p_mouse_load_default_param:
-00bd 204000c8 call p_mouse_firebutton_connect_state_check 
-00be 204002d2 call p_mouse_device_multi_led_poweron2s_init 
-00bf 202000c0 branch p_mouse_double_dpi_judge 
+00be 204000c9 call p_mouse_firebutton_connect_state_check 
+00bf 204002fa call p_mouse_device_multi_led_poweron2s_init 
+00c0 202000c1 branch p_mouse_double_dpi_judge 
 
 p_mouse_double_dpi_judge:
-00c0 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00c1 c41e8000 rtnbit0 mouse_enable_double_dpi_key 
-00c2 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
-00c3 c28380c6 bbit1 gpio_active_bit ,p_mouse_another_dpi_connect_vin 
+00c1 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00c2 c41e8000 rtnbit0 mouse_enable_double_dpi_key 
+00c3 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
+00c4 c28380c7 bbit1 gpio_active_bit ,p_mouse_another_dpi_connect_vin 
 
 p_mouse_another_dpi_connect_gnd:
-00c4 704c3a00 jam 0 ,mem_mouse_another_dpi_connect_vin_flag 
-00c5 20600000 rtn 
+00c5 704c3a00 jam 0 ,mem_mouse_another_dpi_connect_vin_flag 
+00c6 20600000 rtn 
 
 p_mouse_another_dpi_connect_vin:
-00c6 704c3a01 jam 1 ,mem_mouse_another_dpi_connect_vin_flag 
-00c7 20600000 rtn 
+00c7 704c3a01 jam 1 ,mem_mouse_another_dpi_connect_vin_flag 
+00c8 20600000 rtn 
 
 p_mouse_firebutton_connect_state_check:
-00c8 6fe0cc38 fetch 1 ,mem_firebutton_gpio 
-00c9 c17f8000 rtneq gpio_disable 
-00ca c28380cd bbit1 gpio_active_bit ,p_mouse_firebutton_connect_vin 
+00c9 6fe0cc38 fetch 1 ,mem_firebutton_gpio 
+00ca c17f8000 rtneq gpio_disable 
+00cb c28380ce bbit1 gpio_active_bit ,p_mouse_firebutton_connect_vin 
 
 p_mouse_firebutton_connect_gnd:
-00cb 704c3900 jam 0 ,mem_mouse_firebutton_connect_vin_flag 
-00cc 20600000 rtn 
+00cc 704c3900 jam 0 ,mem_mouse_firebutton_connect_vin_flag 
+00cd 20600000 rtn 
 
 p_mouse_firebutton_connect_vin:
-00cd 704c3901 jam 1 ,mem_mouse_firebutton_connect_vin_flag 
-00ce 20600000 rtn 
+00ce 704c3901 jam 1 ,mem_mouse_firebutton_connect_vin_flag 
+00cf 20600000 rtn 
 
 p_mouse_le_name_load:
-00cf 6fe0cc1e fetch 1 ,mem_le_name_patch_len 
-00d0 207a0000 rtn blank 
-00d1 1fe0f201 add pdata ,1 ,loopcnt 
-00d2 d8c04c1e arg mem_le_name_patch_len ,contr 
-00d3 d8a042f7 arg mem_le_name_len ,contw 
-00d4 20207d5f branch memcpy 
+00d0 6fe0cc1e fetch 1 ,mem_le_name_patch_len 
+00d1 207a0000 rtn blank 
+00d2 1fe0f201 add pdata ,1 ,loopcnt 
+00d3 d8c04c1e arg mem_le_name_patch_len ,contr 
+00d4 d8a042f7 arg mem_le_name_len ,contw 
+00d5 20207d5f branch memcpy 
 
 p_mouse_setting_config:
-00d5 20758000 rtn wake 
-00d6 20402607 call g24_transmit_init 
-00d7 204022ff call g24_chmap_param_init 
-00d8 204000ec call p_mouse_gpio_init 
-00d9 204000cf call p_mouse_le_name_load 
-00da 20403d13 call mouse_param_init 
-00db 204000e1 call p_mouse_le_buff_modify 
-00dc 204000e6 call p_g24_short_sleep_set_8ms 
-00dd 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00de c30c3bf5 bbit0 mouse_enable_24g_250hz ,mouse_setting_config_next 
-00df 204000e9 call p_g24_short_sleep_set_4ms 
-00e0 20203bf5 branch mouse_setting_config_next 
+00d6 20758000 rtn wake 
+00d7 20402607 call g24_transmit_init 
+00d8 204022ff call g24_chmap_param_init 
+00d9 204000ed call p_mouse_gpio_init 
+00da 204000d0 call p_mouse_le_name_load 
+00db 20403d13 call mouse_param_init 
+00dc 204000e2 call p_mouse_le_buff_modify 
+00dd 204000e7 call p_g24_short_sleep_set_8ms 
+00de 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00df c30c3bf5 bbit0 mouse_enable_24g_250hz ,mouse_setting_config_next 
+00e0 204000ea call p_g24_short_sleep_set_4ms 
+00e1 20203bf5 branch mouse_setting_config_next 
 
 p_mouse_le_buff_modify:
-00e1 58004c4e setarg mem_le_tx_buffer0_omemalloc_new 
-00e2 67e143de store 2 ,mem_ble_l2cap_tx_buff0_ptr 
-00e3 58000020 setarg mouse_ble_l2cap_txbuff_size_new 
-00e4 67e143e0 store 2 ,mem_ble_l2cap_tx_buff_size_ptr 
-00e5 20600000 rtn 
+00e2 58004c4e setarg mem_le_tx_buffer0_omemalloc_new 
+00e3 67e143de store 2 ,mem_ble_l2cap_tx_buff0_ptr 
+00e4 58000020 setarg mouse_ble_l2cap_txbuff_size_new 
+00e5 67e143e0 store 2 ,mem_ble_l2cap_tx_buff_size_ptr 
+00e6 20600000 rtn 
 
 p_g24_short_sleep_set_8ms:
-00e6 5800e290 setarg 58000 
-00e7 67e1c8ad store 3 ,mem_24g_short_sleep_set 
-00e8 20600000 rtn 
+00e7 5800e290 setarg 58000 
+00e8 67e1c8ad store 3 ,mem_24g_short_sleep_set 
+00e9 20600000 rtn 
 
 p_g24_short_sleep_set_4ms:
-00e9 58001770 setarg 6000 
-00ea 67e1c8ad store 3 ,mem_24g_short_sleep_set 
-00eb 20600000 rtn 
+00ea 58001770 setarg 6000 
+00eb 67e1c8ad store 3 ,mem_24g_short_sleep_set 
+00ec 20600000 rtn 
 
 p_mouse_gpio_init:
-00ec 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
-00ed 245a00ef ncall p_mouse_1io2led_all_off ,blank 
-00ee 20203f1e branch mouse_gpio_init 
+00ed 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
+00ee 245a00f0 ncall p_mouse_1io2led_all_off ,blank 
+00ef 20203f1e branch mouse_gpio_init 
 
 p_mouse_1io2led_all_off:
-00ef 20400309 call p_mouse_device_24g_led_off 
-00f0 2040030b call p_mouse_device_bt1_led_off 
-00f1 2020030d branch p_mouse_device_bt2_led_off 
+00f0 20400331 call p_mouse_device_24g_led_off 
+00f1 20400333 call p_mouse_device_bt1_led_off 
+00f2 20200335 branch p_mouse_device_bt2_led_off 
 
 p_mouse_cb_fuction:
-00f2 580000f7 setarg p_mouse_24g_package_data 
-00f3 67e1489b store 2 ,mem_cb_24g_transmit_data 
-00f4 58000111 setarg p_mouse_24g_search_dongle 
-00f5 67e1489d store 2 ,mem_cb_24g_search_receiver 
-00f6 20203bd3 branch mouse_cb_fuction + 4 
+00f3 580000f8 setarg p_mouse_24g_package_data 
+00f4 67e1489b store 2 ,mem_cb_24g_transmit_data 
+00f5 58000112 setarg p_mouse_24g_search_dongle 
+00f6 67e1489d store 2 ,mem_cb_24g_search_receiver 
+00f7 20203bd3 branch mouse_cb_fuction + 4 
 
 p_mouse_24g_package_data:
-00f7 c6930000 rtnmark0 mark_24g 
-00f8 20403f70 call mouse_motion 
-00f9 24740000 nrtn user 
-00fa 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00fb c30a80fe bbit0 mouse_enable_keyboard ,p_mouse_24g_mouse_package_data 
-00fc 6fe0cb8b fetch 1 ,mem_customer_key 
-00fd 243a4884 nbranch mouse_24g_keyboard_package_data ,blank 
+00f8 c6930000 rtnmark0 mark_24g 
+00f9 20403f70 call mouse_motion 
+00fa 24740000 nrtn user 
+00fb 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00fc c30a80ff bbit0 mouse_enable_keyboard ,p_mouse_24g_mouse_package_data 
+00fd 6fe0cb8b fetch 1 ,mem_customer_key 
+00fe 243a4884 nbranch mouse_24g_keyboard_package_data ,blank 
 
 p_mouse_24g_mouse_package_data:
-00fe 204042cb call mouse_data_xy_release 
-00ff 6fe0c836 fetch 1 ,mem_24g_data_type 
-0100 c280810d bbit1 1 ,p_mouse_24g_mouse_package_data_now 
-0101 6848c7c7 fetcht 1 ,mem_24g_txbuf + 1 
-0102 6fe0c8d0 fetch 1 ,mem_mouse_key 
-0103 9841fe00 ior temp ,pdata 
-0104 67e0c8d0 store 1 ,mem_mouse_key 
-0105 6848c7cc fetcht 1 ,mem_24g_txbuf + 6 
-0106 6fe0c8d5 fetch 1 ,mem_mouse_z 
-0107 9840fe00 iadd temp ,pdata 
-0108 67e0c8d5 store 1 ,mem_mouse_z 
-0109 6848c7cd fetcht 1 ,mem_24g_txbuf + 7 
-010a 6fe0c8d6 fetch 1 ,mem_mouse_tz 
-010b 9840fe00 iadd temp ,pdata 
-010c 67e0c8d6 store 1 ,mem_mouse_tz 
+00ff 204042cb call mouse_data_xy_release 
+0100 6fe0c836 fetch 1 ,mem_24g_data_type 
+0101 c280810e bbit1 1 ,p_mouse_24g_mouse_package_data_now 
+0102 6848c7c7 fetcht 1 ,mem_24g_txbuf + 1 
+0103 6fe0c8d0 fetch 1 ,mem_mouse_key 
+0104 9841fe00 ior temp ,pdata 
+0105 67e0c8d0 store 1 ,mem_mouse_key 
+0106 6848c7cc fetcht 1 ,mem_24g_txbuf + 6 
+0107 6fe0c8d5 fetch 1 ,mem_mouse_z 
+0108 9840fe00 iadd temp ,pdata 
+0109 67e0c8d5 store 1 ,mem_mouse_z 
+010a 6848c7cd fetcht 1 ,mem_24g_txbuf + 7 
+010b 6fe0c8d6 fetch 1 ,mem_mouse_tz 
+010c 9840fe00 iadd temp ,pdata 
+010d 67e0c8d6 store 1 ,mem_mouse_tz 
 
 p_mouse_24g_mouse_package_data_now:
-010d 70483601 jam type_ms ,mem_24g_data_type 
-010e da200007 arg 7 ,rega 
-010f da4048d0 arg mem_mouse_key ,regb 
-0110 202026e1 branch g24_transmit_by_interrupt_enable 
+010e 70483601 jam type_ms ,mem_24g_data_type 
+010f da200007 arg 7 ,rega 
+0110 da4048d0 arg mem_mouse_key ,regb 
+0111 202026e1 branch g24_transmit_by_interrupt_enable 
 
 p_mouse_24g_search_dongle:
-0111 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0112 c40b0000 rtnbit0 mouse_enable_24g_search_dongle 
-0113 6fe0caae fetch 1 ,mem_mouse_long_mult_flag 
-0114 207a0000 rtn blank 
-0115 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
-0116 207a0000 rtn blank 
-0117 6fe0cba1 fetch 1 ,mem_mouse_search_dongle_interval 
-0118 1fe0fe01 increase 1 ,pdata 
-0119 1fe17e03 and_into 3 ,pdata 
-011a 67e0cba1 store 1 ,mem_mouse_search_dongle_interval 
-011b 247a0000 nrtn blank 
-011c 704ba200 jam 0 ,mem_mouse_search_dongle_ch 
+0112 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0113 c40b0000 rtnbit0 mouse_enable_24g_search_dongle 
+0114 6fe0caae fetch 1 ,mem_mouse_long_mult_flag 
+0115 207a0000 rtn blank 
+0116 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
+0117 207a0000 rtn blank 
+0118 6fe0cba1 fetch 1 ,mem_mouse_search_dongle_interval 
+0119 1fe0fe01 increase 1 ,pdata 
+011a 1fe17e03 and_into 3 ,pdata 
+011b 67e0cba1 store 1 ,mem_mouse_search_dongle_interval 
+011c 247a0000 nrtn blank 
+011d 704ba200 jam 0 ,mem_mouse_search_dongle_ch 
 
 p_mouse_24g_search_dongle_loop:
-011d 6fe0cba2 fetch 1 ,mem_mouse_search_dongle_ch 
-011e 1fe0fe01 increase 1 ,pdata 
-011f 67e0cba2 store 1 ,mem_mouse_search_dongle_ch 
-0120 1fe67c08 sub pdata ,g24_ch_number ,null 
-0121 24210127 nbranch p_mouse_24g_search_dongle_loop_end ,positive 
-0122 2040259a call g24_reconn_data_prep 
-0123 2040265b call g24_transmit_receive_ack 
-0124 242c012d nbranch p_mouse_24g_search_dongle_loop_retry ,sync 
-0125 2437812d nbranch p_mouse_24g_search_dongle_loop_retry ,user3 
-0126 204048b5 call mouse_24g_search_dongle_success 
+011e 6fe0cba2 fetch 1 ,mem_mouse_search_dongle_ch 
+011f 1fe0fe01 increase 1 ,pdata 
+0120 67e0cba2 store 1 ,mem_mouse_search_dongle_ch 
+0121 1fe67c08 sub pdata ,g24_ch_number ,null 
+0122 24210128 nbranch p_mouse_24g_search_dongle_loop_end ,positive 
+0123 2040259a call g24_reconn_data_prep 
+0124 2040265b call g24_transmit_receive_ack 
+0125 242c012e nbranch p_mouse_24g_search_dongle_loop_retry ,sync 
+0126 2437812e nbranch p_mouse_24g_search_dongle_loop_retry ,user3 
+0127 204048b5 call mouse_24g_search_dongle_success 
 
 p_mouse_24g_search_dongle_loop_end:
-0127 20402597 call g24_txbuf_clear 
-0128 6fe0cba3 fetch 1 ,mem_mouse_search_dongle_count 
-0129 1fe0fe01 increase 1 ,pdata 
-012a 67e0cba3 store 1 ,mem_mouse_search_dongle_count 
-012b c008012f beq g24_ch_poll_count ,p_mouse_24g_search_dongle_check 
-012c 20600000 rtn 
+0128 20402597 call g24_txbuf_clear 
+0129 6fe0cba3 fetch 1 ,mem_mouse_search_dongle_count 
+012a 1fe0fe01 increase 1 ,pdata 
+012b 67e0cba3 store 1 ,mem_mouse_search_dongle_count 
+012c c0080130 beq g24_ch_poll_count ,p_mouse_24g_search_dongle_check 
+012d 20600000 rtn 
 
 p_mouse_24g_search_dongle_loop_retry:
-012d 204022cb call g24_ch 
-012e 2020011d branch p_mouse_24g_search_dongle_loop 
+012e 204022cb call g24_ch 
+012f 2020011e branch p_mouse_24g_search_dongle_loop 
 
 p_mouse_24g_search_dongle_check:
-012f 704ba300 jam 0 ,mem_mouse_search_dongle_count 
-0130 6fe0cba4 fetch 1 ,mem_mouse_search_dongle_action 
-0131 c3800000 rtnbit1 g24_disconn_state 
-0132 79207e00 set1 g24_disconn_state ,pdata 
-0133 67e0cba4 store 1 ,mem_mouse_search_dongle_action 
-0134 6fe14bbc fetch 2 ,mem_mouse_24g_search_dongle_time_init 
-0135 67e14ab2 store 2 ,mem_mouse_no_data_timer 
-0136 202003fd branch p_mouse_sensor_powerdown 
+0130 704ba300 jam 0 ,mem_mouse_search_dongle_count 
+0131 6fe0cba4 fetch 1 ,mem_mouse_search_dongle_action 
+0132 c3800000 rtnbit1 g24_disconn_state 
+0133 79207e00 set1 g24_disconn_state ,pdata 
+0134 67e0cba4 store 1 ,mem_mouse_search_dongle_action 
+0135 6fe14bbc fetch 2 ,mem_mouse_24g_search_dongle_time_init 
+0136 67e14ab2 store 2 ,mem_mouse_no_data_timer 
+0137 20200460 branch p_mouse_sensor_powerdown 
 
 p_g24_transmit_no_interrupt:
-0137 20402631 call g24_txdata_prep 
-0138 243401c3 nbranch p_g24_nodata_transmit ,user 
+0138 20402631 call g24_txdata_prep 
+0139 243401c4 nbranch p_g24_nodata_transmit ,user 
 
 p_g24_transmit_start:
-0139 20400146 call p_g24_transmit_process 
-013a 204026ee call power_ctrl_start 
-013b 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-013c 243a0141 nbranch p_g24_short_sleep ,blank 
-013d 6fe448b0 fetch 8 ,mem_24g_long_sleep_set 
-013e 67e4485c store 8 ,mem_24g_enter_hibernate 
-013f 6fe148c2 fetch 2 ,mem_24g_long_sleep_param_update_timer_init 
-0140 67e148c4 store 2 ,mem_24g_long_sleep_param_update_timer 
+013a 20400147 call p_g24_transmit_process 
+013b 204026ee call power_ctrl_start 
+013c 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+013d 243a0142 nbranch p_g24_short_sleep ,blank 
+013e 6fe448b0 fetch 8 ,mem_24g_long_sleep_set 
+013f 67e4485c store 8 ,mem_24g_enter_hibernate 
+0140 6fe148c2 fetch 2 ,mem_24g_long_sleep_param_update_timer_init 
+0141 67e148c4 store 2 ,mem_24g_long_sleep_param_update_timer 
 
 p_g24_short_sleep:
-0141 204026bb call g24_lpm_wait 
-0142 24740000 nrtn user 
-0143 20407fdc call clear_wake 
-0144 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
-0145 202026b8 branch g24_long_sleep2 
+0142 204026bb call g24_lpm_wait 
+0143 24740000 nrtn user 
+0144 20407fdc call clear_wake 
+0145 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
+0146 202026b8 branch g24_long_sleep2 
 
 p_g24_transmit_process:
-0146 7048a600 jam 0 ,mem_24g_retry 
+0147 7048a600 jam 0 ,mem_24g_retry 
 
 p_g24_transmit_loop:
-0147 6961015f fetchr timeup ,2 ,mem_param_rx_setup 
-0148 34730200 until clkn_rt ,meet 
-0149 2040265b call g24_transmit_receive_ack 
-014a 6fe0c82c fetch 1 ,mem_24g_no_ack 
-014b c000a651 beq no_ack_24g ,g24_transmit_no_ack 
-014c 242c015f nbranch p_g24_retransmit ,sync 
-014d 2437815f nbranch p_g24_retransmit ,user3 
-014e 20402672 call g24_ackpayload_parse 
-014f 20400151 call p_mouse_wakeup_24g 
-0150 20202651 branch g24_transmit_no_ack 
+0148 6961015f fetchr timeup ,2 ,mem_param_rx_setup 
+0149 34730200 until clkn_rt ,meet 
+014a 2040265b call g24_transmit_receive_ack 
+014b 6fe0c82c fetch 1 ,mem_24g_no_ack 
+014c c000a651 beq no_ack_24g ,g24_transmit_no_ack 
+014d 242c0160 nbranch p_g24_retransmit ,sync 
+014e 24378160 nbranch p_g24_retransmit ,user3 
+014f 20402672 call g24_ackpayload_parse 
+0150 20400152 call p_mouse_wakeup_24g 
+0151 20202651 branch g24_transmit_no_ack 
 
 p_mouse_wakeup_24g:
-0151 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-0152 245a0155 ncall p_mouse_wakeup_24g_from_long_sleep ,blank 
-0153 704be100 jam 0 ,mem_sensor_shutdown_flag 
-0154 20600000 rtn 
+0152 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+0153 245a0156 ncall p_mouse_wakeup_24g_from_long_sleep ,blank 
+0154 704be100 jam 0 ,mem_sensor_shutdown_flag 
+0155 20600000 rtn 
 
 p_mouse_wakeup_24g_from_long_sleep:
-0155 204002c7 call p_mouse_ice_adc_on 
-0156 204041aa call mouse_init_sensor_wakeup 
-0157 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0158 c41e0000 rtnbit0 mouse_enable_wheel_wake_up_cancel 
+0156 204002ef call p_mouse_ice_adc_on 
+0157 204041aa call mouse_init_sensor_wakeup 
+0158 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0159 c41e0000 rtnbit0 mouse_enable_wheel_wake_up_cancel 
 
 p_mouse_wheel_set_wakeup:
-0159 6fe0c913 fetch 1 ,mem_whee_a_data_gpio 
-015a d8400040 arg gpcfg_pullup ,temp 
-015b 20406093 call gpio_config_function_int 
-015c 6fe0c914 fetch 1 ,mem_whee_b_data_gpio 
-015d d8400040 arg gpcfg_pullup ,temp 
-015e 20206093 branch gpio_config_function_int 
+015a 6fe0c913 fetch 1 ,mem_whee_a_data_gpio 
+015b d8400040 arg gpcfg_pullup ,temp 
+015c 20406093 call gpio_config_function_int 
+015d 6fe0c914 fetch 1 ,mem_whee_b_data_gpio 
+015e d8400040 arg gpcfg_pullup ,temp 
+015f 20206093 branch gpio_config_function_int 
 
 p_g24_retransmit:
-015f 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
-0160 247a0000 nrtn blank 
-0161 6fe148a3 fetch 2 ,mem_24g_txfail_cnt 
-0162 1fe0fe01 increase 1 ,pdata 
-0163 67e148a3 store 2 ,mem_24g_txfail_cnt 
-0164 6fe0c8a4 fetch 1 ,mem_24g_txfail_cnt + 1 
-0165 c280a679 bbit1 1 ,g24_tx_attempt_fail 
-0166 2040267e call g24_transmit_hop_process 
-0167 20400169 call p_delay_40ms 
-0168 20200147 branch p_g24_transmit_loop 
+0160 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
+0161 247a0000 nrtn blank 
+0162 6fe148a3 fetch 2 ,mem_24g_txfail_cnt 
+0163 1fe0fe01 increase 1 ,pdata 
+0164 67e148a3 store 2 ,mem_24g_txfail_cnt 
+0165 6fe0c8a4 fetch 1 ,mem_24g_txfail_cnt + 1 
+0166 c280a679 bbit1 1 ,g24_tx_attempt_fail 
+0167 2040267e call g24_transmit_hop_process 
+0168 2040016a call p_delay_40ms 
+0169 20200148 branch p_g24_transmit_loop 
 
 p_delay_40ms:
-0169 6fe0c8a4 fetch 1 ,mem_24g_txfail_cnt + 1 
-016a 1fe67c00 sub pdata ,0x00 ,null 
-016b 20610000 rtn positive 
-016c df200028 arg 40 ,loopcnt 
-016d 20207d13 branch delay_ms_wait 
+016a 6fe0c8a4 fetch 1 ,mem_24g_txfail_cnt + 1 
+016b 1fe67c00 sub pdata ,0x00 ,null 
+016c 20610000 rtn positive 
+016d df200028 arg 40 ,loopcnt 
+016e 20207d13 branch delay_ms_wait 
 
 p_mouse_app_enter_hibernate:
-016e 58000006 setarg pan_reg_config 
-016f 20405b0d call twspi_read 
-0170 c281be23 bbit1 3 ,mouse_app_enter_hibernate + 3 
-0171 204003f6 call p_mouse_sensor_reset 
-0172 204003fd call p_mouse_sensor_powerdown 
-0173 20203e23 branch mouse_app_enter_hibernate + 3 
+016f 58000006 setarg pan_reg_config 
+0170 20405b0d call twspi_read 
+0171 c281be23 bbit1 3 ,mouse_app_enter_hibernate + 3 
+0172 20400459 call p_mouse_sensor_reset 
+0173 20400460 call p_mouse_sensor_powerdown 
+0174 20203e23 branch mouse_app_enter_hibernate + 3 
 
 p_mouse_setgpio_hibernate:
-0174 204002c9 call p_mouse_ice_adc_off 
-0175 204042e9 call mouse_set_sdio_high 
-0176 20407fdc call clear_wake 
-0177 20400319 call p_mouse_logo_led_off 
-0178 204000ef call p_mouse_1io2led_all_off 
-0179 20404015 call mouse_before_hibernate_wheel_gpio_set 
-017a 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-017b 20406069 call gpio_out_active 
-017c 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-017d 20406042 call gpio_clr_wake 
-017e 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
-017f d840003f arg gpcfg_output_high ,temp 
-0180 20406093 call gpio_config_function_int 
-0181 d8400003 arg 3 ,temp 
-0182 20403f56 call mouse_gpio_config_input_pu 
-0183 20403e40 call mouse_lpm_before_common 
-0184 20406082 call gpio_pd_idle 
-0185 d8400013 arg 19 ,temp 
-0186 20403f56 call mouse_gpio_config_input_pu 
-0187 20400191 call p_mouse_gpio_set_high_impedance 
-0188 2040018b call p_mouse_select_device_button_gpio_set_high_impedance 
-0189 2040019e call p_mouse_adc_gpio_set_before_hibernate 
-018a 202001a5 branch p_mouse_wheel_gpio_set_before_hibernate 
+0175 204002f1 call p_mouse_ice_adc_off 
+0176 204042e9 call mouse_set_sdio_high 
+0177 20407fdc call clear_wake 
+0178 20400341 call p_mouse_logo_led_off 
+0179 204000f0 call p_mouse_1io2led_all_off 
+017a 20404015 call mouse_before_hibernate_wheel_gpio_set 
+017b 6848c910 fetcht 1 ,mem_matrix_public_gpio 
+017c 20406069 call gpio_out_active 
+017d 6848c910 fetcht 1 ,mem_matrix_public_gpio 
+017e 20406042 call gpio_clr_wake 
+017f 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
+0180 d840003f arg gpcfg_output_high ,temp 
+0181 20406093 call gpio_config_function_int 
+0182 d8400003 arg 3 ,temp 
+0183 20403f56 call mouse_gpio_config_input_pu 
+0184 20403e40 call mouse_lpm_before_common 
+0185 20406082 call gpio_pd_idle 
+0186 d8400013 arg 19 ,temp 
+0187 20403f56 call mouse_gpio_config_input_pu 
+0188 20400192 call p_mouse_gpio_set_high_impedance 
+0189 2040018c call p_mouse_select_device_button_gpio_set_high_impedance 
+018a 2040019f call p_mouse_adc_gpio_set_before_hibernate 
+018b 202001a6 branch p_mouse_wheel_gpio_set_before_hibernate 
 
 p_mouse_select_device_button_gpio_set_high_impedance:
-018b 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-018c c4150000 rtnbit0 mouse_enable_select_device_by_switch_gpio 
-018d 6fe0c938 fetch 1 ,mem_device_flag 
-018e c1800000 rtnne mode_24g_device 
-018f 6848c91e fetcht 1 ,mem_device_switch_gpio 
-0190 2020607f branch gpio_set_high_impedance 
+018c 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+018d c4150000 rtnbit0 mouse_enable_select_device_by_switch_gpio 
+018e 6fe0c938 fetch 1 ,mem_device_flag 
+018f c1800000 rtnne mode_24g_device 
+0190 6848c91e fetcht 1 ,mem_device_switch_gpio 
+0191 2020607f branch gpio_set_high_impedance 
 
 p_mouse_gpio_set_high_impedance:
-0191 6fe1cbde fetch 3 ,mem_mouse_set_high_impedance_bit_set 
-0192 67e1895c store 3 ,mem_pdatatemp 
-0193 df200014 arg 20 ,loopcnt 
-0194 d8400000 arg 0 ,temp 
+0192 6fe1cbde fetch 3 ,mem_mouse_set_high_impedance_bit_set 
+0193 67e1895c store 3 ,mem_pdatatemp 
+0194 df200014 arg 20 ,loopcnt 
+0195 d8400000 arg 0 ,temp 
 
 p_mouse_gpio_set_high_impedance_bit_loop:
-0195 6fe1895c fetch 3 ,mem_pdatatemp 
-0196 2feffe00 isolate1 0 ,pdata 
-0197 2040e07f call gpio_set_high_impedance ,true 
-0198 6fe1895c fetch 3 ,mem_pdatatemp 
-0199 1fe37e00 rshift pdata ,pdata 
-019a 67e1895c store 3 ,mem_pdatatemp 
-019b 18408401 increase 1 ,temp 
-019c c2000195 loop p_mouse_gpio_set_high_impedance_bit_loop 
-019d 20600000 rtn 
+0196 6fe1895c fetch 3 ,mem_pdatatemp 
+0197 2feffe00 isolate1 0 ,pdata 
+0198 2040e07f call gpio_set_high_impedance ,true 
+0199 6fe1895c fetch 3 ,mem_pdatatemp 
+019a 1fe37e00 rshift pdata ,pdata 
+019b 67e1895c store 3 ,mem_pdatatemp 
+019c 18408401 increase 1 ,temp 
+019d c2000196 loop p_mouse_gpio_set_high_impedance_bit_loop 
+019e 20600000 rtn 
 
 p_mouse_adc_gpio_set_before_hibernate:
-019e 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-019f c40a0000 rtnbit0 mouse_enable_adc 
-01a0 6fe0c8fd fetch 1 ,mem_adc_config_flag_init 
-01a1 c1810000 rtnne adc_config_gpio 
-01a2 6fe0c8fc fetch 1 ,mem_adc_channel_gpio 
-01a3 d84000c0 arg gpcfg_no_ie ,temp 
-01a4 20206093 branch gpio_config_function_int 
+019f 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+01a0 c40a0000 rtnbit0 mouse_enable_adc 
+01a1 6fe0c8fd fetch 1 ,mem_adc_config_flag_init 
+01a2 c1810000 rtnne adc_config_gpio 
+01a3 6fe0c8fc fetch 1 ,mem_adc_channel_gpio 
+01a4 d84000c0 arg gpcfg_no_ie ,temp 
+01a5 20206093 branch gpio_config_function_int 
 
 p_mouse_wheel_gpio_set_before_hibernate:
-01a5 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-01a6 c41e0000 rtnbit0 mouse_enable_wheel_wake_up_cancel 
+01a6 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+01a7 c41e0000 rtnbit0 mouse_enable_wheel_wake_up_cancel 
 
 p_mouse_wheel_clr_wakeup:
-01a7 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
-01a8 20406042 call gpio_clr_wake 
-01a9 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
-01aa 20406042 call gpio_clr_wake 
-01ab 6fe0c913 fetch 1 ,mem_whee_a_data_gpio 
-01ac d8400080 arg gpcfg_pulldown ,temp 
-01ad 20406093 call gpio_config_function_int 
-01ae 6fe0c914 fetch 1 ,mem_whee_b_data_gpio 
-01af d8400080 arg gpcfg_pulldown ,temp 
-01b0 20206093 branch gpio_config_function_int 
+01a8 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
+01a9 20406042 call gpio_clr_wake 
+01aa 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
+01ab 20406042 call gpio_clr_wake 
+01ac 6fe0c913 fetch 1 ,mem_whee_a_data_gpio 
+01ad d8400080 arg gpcfg_pulldown ,temp 
+01ae 20406093 call gpio_config_function_int 
+01af 6fe0c914 fetch 1 ,mem_whee_b_data_gpio 
+01b0 d8400080 arg gpcfg_pulldown ,temp 
+01b1 20206093 branch gpio_config_function_int 
 
 p_mouse_lpm_before_common:
-01b1 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
-01b2 20406050 call gpio_config_input 
-01b3 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
-01b4 20406050 call gpio_config_input 
-01b5 20403f88 call mouse_wheel_check 
-01b6 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
-01b7 d840003f arg gpcfg_output_high ,temp 
-01b8 20406093 call gpio_config_function_int 
-01b9 20203e44 branch mouse_lpm_before_common_next 
+01b2 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
+01b3 20406050 call gpio_config_input 
+01b4 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
+01b5 20406050 call gpio_config_input 
+01b6 20403f88 call mouse_wheel_check 
+01b7 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
+01b8 d840003f arg gpcfg_output_high ,temp 
+01b9 20406093 call gpio_config_function_int 
+01ba 20203e44 branch mouse_lpm_before_common_next 
 
 p_mouse_24g_hibernate_set:
-01ba 7048a500 jam 0 ,mem_24g_attempt_fail_flag 
-01bb 20402652 call g24_transmit_next_packet 
-01bc 5fffffff setarg -1 
-01bd 67e2485c store 4 ,mem_24g_enter_hibernate 
-01be 58000000 setarg 0 
-01bf 67e3c8d0 store 7 ,mem_mouse_key 
-01c0 704be101 jam 1 ,mem_sensor_shutdown_flag 
-01c1 204003fd call p_mouse_sensor_powerdown 
-01c2 202001c8 branch p_g24_long_sleep 
+01bb 7048a500 jam 0 ,mem_24g_attempt_fail_flag 
+01bc 20402652 call g24_transmit_next_packet 
+01bd 5fffffff setarg -1 
+01be 67e2485c store 4 ,mem_24g_enter_hibernate 
+01bf 58000000 setarg 0 
+01c0 67e3c8d0 store 7 ,mem_mouse_key 
+01c1 704be101 jam 1 ,mem_sensor_shutdown_flag 
+01c2 20400460 call p_mouse_sensor_powerdown 
+01c3 202001c9 branch p_g24_long_sleep 
 
 p_g24_nodata_transmit:
-01c3 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
-01c4 205a01ce call p_g24_send_abort_packet ,blank 
-01c5 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
-01c6 c1008000 rtneq g24_tx_timer_int_enable 
-01c7 2040269f call g24_search_receiver 
+01c4 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
+01c5 205a01cf call p_g24_send_abort_packet ,blank 
+01c6 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
+01c7 c1008000 rtneq g24_tx_timer_int_enable 
+01c8 2040269f call g24_search_receiver 
 
 p_g24_long_sleep:
-01c8 204026bb call g24_lpm_wait 
-01c9 24740000 nrtn user 
-01ca 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-01cb 245a3e33 ncall mouse_setgpio_hibernate ,blank 
-01cc 6fe2485c fetch 4 ,mem_24g_enter_hibernate 
-01cd 202026b8 branch g24_long_sleep2 
+01c9 204026bb call g24_lpm_wait 
+01ca 24740000 nrtn user 
+01cb 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+01cc 245a3e33 ncall mouse_setgpio_hibernate ,blank 
+01cd 6fe2485c fetch 4 ,mem_24g_enter_hibernate 
+01ce 202026b8 branch g24_long_sleep2 
 
 p_g24_send_abort_packet:
-01ce 70483601 jam type_ms ,mem_24g_data_type 
-01cf 7048a701 jam 1 ,mem_24g_abort_pac 
-01d0 20402642 call g24_transmit_rf_ctrl_clear 
-01d1 67e0c7c6 store 1 ,mem_24g_txbuf 
-01d2 58000000 setarg 0 
-01d3 67e3c7c7 store 7 ,mem_24g_txbuf + 1 
-01d4 6fe248a9 fetch 4 ,mem_24g_device_addr 
-01d5 67e247ce store 4 ,mem_24g_txbuf + 8 
-01d6 7048350c jam 12 ,mem_24g_datalen 
-01d7 6fe0c836 fetch 1 ,mem_24g_data_type 
-01d8 79207e03 set1 bit_abort ,pdata 
-01d9 67e0c836 store 1 ,mem_24g_data_type 
-01da 20402291 call g24_transmit_prep 
-01db 20200139 branch p_g24_transmit_start 
+01cf 70483601 jam type_ms ,mem_24g_data_type 
+01d0 7048a701 jam 1 ,mem_24g_abort_pac 
+01d1 20402642 call g24_transmit_rf_ctrl_clear 
+01d2 67e0c7c6 store 1 ,mem_24g_txbuf 
+01d3 58000000 setarg 0 
+01d4 67e3c7c7 store 7 ,mem_24g_txbuf + 1 
+01d5 6fe248a9 fetch 4 ,mem_24g_device_addr 
+01d6 67e247ce store 4 ,mem_24g_txbuf + 8 
+01d7 7048350c jam 12 ,mem_24g_datalen 
+01d8 6fe0c836 fetch 1 ,mem_24g_data_type 
+01d9 79207e03 set1 bit_abort ,pdata 
+01da 67e0c836 store 1 ,mem_24g_data_type 
+01db 20402291 call g24_transmit_prep 
+01dc 2020013a branch p_g24_transmit_start 
 
 p_mouse_priority_bb_event:
-01dc 1a627e00 copy regc ,pdata 
-01dd c00081ec beq bt_evt_bb_connected ,p_mouse_bb_event_connected 
-01de c00101f0 beq bt_evt_bb_disconnected ,p_mouse_bb_disconnected 
-01df c01e021f beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-01e0 c01c8218 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
-01e1 c01d022a beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-01e2 c00201fd beq bt_evt_reconn_failed ,p_mouse_bb_event_reconn_failed 
-01e3 c00981fd beq bt_evt_reconn_page_timeout ,p_mouse_bb_event_reconn_failed 
-01e4 c0190204 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
-01e5 c022020b beq bt_evt_le_parse_conn_param_accepted ,p_mouse_le_parse_conn_param_accepted 
-01e6 c00a81f2 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
-01e7 c00a01e9 beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
-01e8 20204336 branch mouse_priority_bb_event + 2 
+01dd 1a627e00 copy regc ,pdata 
+01de c00081ed beq bt_evt_bb_connected ,p_mouse_bb_event_connected 
+01df c00101f1 beq bt_evt_bb_disconnected ,p_mouse_bb_disconnected 
+01e0 c01e0220 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+01e1 c01c8219 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
+01e2 c01d022b beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+01e3 c00201fe beq bt_evt_reconn_failed ,p_mouse_bb_event_reconn_failed 
+01e4 c00981fe beq bt_evt_reconn_page_timeout ,p_mouse_bb_event_reconn_failed 
+01e5 c0190205 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
+01e6 c022020c beq bt_evt_le_parse_conn_param_accepted ,p_mouse_le_parse_conn_param_accepted 
+01e7 c00a81f3 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
+01e8 c00a01ea beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
+01e9 20204336 branch mouse_priority_bb_event + 2 
 
 p_mouse_le_bb_event_connected:
-01e9 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
-01ea 245a02dc ncall p_mouse_multi_led_on_enable ,blank 
-01eb 20204350 branch mouse_le_bb_event_connected 
+01ea 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
+01eb 245a0304 ncall p_mouse_multi_led_on_enable ,blank 
+01ec 20204350 branch mouse_le_bb_event_connected 
 
 p_mouse_bb_event_connected:
-01ec 20404544 call mouse_no_data_timer_init 
-01ed 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
-01ee 245a02dc ncall p_mouse_multi_led_on_enable ,blank 
-01ef 202043fa branch mouse_bb_event_connected 
+01ed 20404544 call mouse_no_data_timer_init 
+01ee 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
+01ef 245a0304 ncall p_mouse_multi_led_on_enable ,blank 
+01f0 202043fa branch mouse_bb_event_connected 
 
 p_mouse_bb_disconnected:
-01f0 2040423c call mouse_sensor_powerdown 
-01f1 202043fe branch mouse_bb_disconnected 
+01f1 2040423c call mouse_sensor_powerdown 
+01f2 202043fe branch mouse_bb_disconnected 
 
 p_mouse_le_bb_disconnected:
-01f2 2040423c call mouse_sensor_powerdown 
-01f3 58000000 setarg 0 
-01f4 67e14af2 store 2 ,mem_le_battery_level_updata_timer 
-01f5 704ac600 jam 0 ,mem_mouse_le_bb_connected_flag 
-01f6 58000006 setarg le_interval_7_5ms 
-01f7 67e14372 store 2 ,mem_le_interval_min 
-01f8 67e14374 store 2 ,mem_le_interval_min + 2 
-01f9 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-01fa c28dc366 bbit1 mouse_enable_bt_125hz ,mouse_le_bb_disconnected_next + 2 
-01fb 58000007 setarg le_interval_8_75ms 
-01fc 20204364 branch mouse_le_bb_disconnected_next 
+01f3 2040423c call mouse_sensor_powerdown 
+01f4 58000000 setarg 0 
+01f5 67e14af2 store 2 ,mem_le_battery_level_updata_timer 
+01f6 704ac600 jam 0 ,mem_mouse_le_bb_connected_flag 
+01f7 58000006 setarg le_interval_7_5ms 
+01f8 67e14372 store 2 ,mem_le_interval_min 
+01f9 67e14374 store 2 ,mem_le_interval_min + 2 
+01fa 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+01fb c28dc366 bbit1 mouse_enable_bt_125hz ,mouse_le_bb_disconnected_next + 2 
+01fc 58000007 setarg le_interval_8_75ms 
+01fd 20204364 branch mouse_le_bb_disconnected_next 
 
 p_mouse_bb_event_reconn_failed:
-01fd 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-01fe c07fc2f8 beq 0xff ,mouse_buletooth_fast_conn_end 
-01ff 6fe1478c fetch 2 ,mem_ui_state_map 
-0200 c3860000 rtnbit1 ui_state_btn_down 
-0201 c3830000 rtnbit1 ui_state_bt_discovery 
-0202 c3858000 rtnbit1 ui_state_ble_adv 
-0203 20203e20 branch mouse_app_enter_hibernate 
+01fe 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+01ff c07fc2f8 beq 0xff ,mouse_buletooth_fast_conn_end 
+0200 6fe1478c fetch 2 ,mem_ui_state_map 
+0201 c3860000 rtnbit1 ui_state_btn_down 
+0202 c3830000 rtnbit1 ui_state_bt_discovery 
+0203 c3858000 rtnbit1 ui_state_ble_adv 
+0204 20203e20 branch mouse_app_enter_hibernate 
 
 p_mouse_le_ll_start_encryt:
-0204 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
-0205 c0008208 beq 1 ,p_mouse_le_ll_reconn_start_encryt 
-0206 704b7614 jam 20 ,mem_le_start_encrypt_timer 
-0207 20204373 branch mouse_le_ll_enable_start_enc_flag 
+0205 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
+0206 c0008209 beq 1 ,p_mouse_le_ll_reconn_start_encryt 
+0207 704b7614 jam 20 ,mem_le_start_encrypt_timer 
+0208 20204373 branch mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_le_ll_reconn_start_encryt:
-0208 2040436c call mouse_updata_le_param 
-0209 704b7605 jam 5 ,mem_le_start_encrypt_timer 
-020a 20204373 branch mouse_le_ll_enable_start_enc_flag 
+0209 2040436c call mouse_updata_le_param 
+020a 704b7605 jam 5 ,mem_le_start_encrypt_timer 
+020b 20204373 branch mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_le_parse_conn_param_accepted:
-020b 6fe082c1 fetch 1 ,mem_le_new_conninterval 
-020c 1fe67c0c sub pdata ,le_interval_15ms ,null 
-020d 24214384 nbranch mouse_le_conn_param_lpm_disable ,positive 
-020e 67e14372 store 2 ,mem_le_interval_min 
-020f 67e14374 store 2 ,mem_le_interval_min + 2 
-0210 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
-0211 203a439a branch mouse_le_lpm_mult_reinit ,blank 
-0212 6848cb8a fetcht 1 ,mem_lpm_mult_init 
-0213 98467c00 isub temp ,null 
-0214 2021439a branch mouse_le_lpm_mult_reinit ,positive 
-0215 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
-0216 67e0cb8a store 1 ,mem_lpm_mult_init 
-0217 20204386 branch mouse_le_conn_param_lpm_enable 
+020c 6fe082c1 fetch 1 ,mem_le_new_conninterval 
+020d 1fe67c0c sub pdata ,le_interval_15ms ,null 
+020e 24214384 nbranch mouse_le_conn_param_lpm_disable ,positive 
+020f 67e14372 store 2 ,mem_le_interval_min 
+0210 67e14374 store 2 ,mem_le_interval_min + 2 
+0211 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
+0212 203a439a branch mouse_le_lpm_mult_reinit ,blank 
+0213 6848cb8a fetcht 1 ,mem_lpm_mult_init 
+0214 98467c00 isub temp ,null 
+0215 2021439a branch mouse_le_lpm_mult_reinit ,positive 
+0216 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
+0217 67e0cb8a store 1 ,mem_lpm_mult_init 
+0218 20204386 branch mouse_le_conn_param_lpm_enable 
 
 p_mouse_24g_pairing_complete:
-0218 20404544 call mouse_no_data_timer_init 
-0219 d8e00001 arg mouse_24g_pairing_flag ,queue 
-021a 204046f4 call mouse_disable_function_flag 
-021b 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
-021c c0004859 beq 0 ,mouse_24g_pairing_complete_enable_poweron_timer 
-021d 204002dc call p_mouse_multi_led_on_enable 
-021e 2020485a branch mouse_24g_pairing_complete_skip_poweron_timer 
+0219 20404544 call mouse_no_data_timer_init 
+021a d8e00001 arg mouse_24g_pairing_flag ,queue 
+021b 204046f4 call mouse_disable_function_flag 
+021c 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
+021d c0004859 beq 0 ,mouse_24g_pairing_complete_enable_poweron_timer 
+021e 20400304 call p_mouse_multi_led_on_enable 
+021f 2020485a branch mouse_24g_pairing_complete_skip_poweron_timer 
 
 p_mouse_24g_attempt_success:
-021f 6fe2483c fetch 4 ,mem_24g_addr 
-0220 67e24891 store 4 ,mem_24g_receiver_addr 
-0221 67e24993 store 4 ,mem_mouse_24g_addr 
-0222 2040257e call g24_ch_syncword_crc8_init 
-0223 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
-0224 c0000227 beq 0 ,p_mouse_24g_attempt_success_next 
-0225 204002dc call p_mouse_multi_led_on_enable 
-0226 20200228 branch p_mouse_24g_attempt_success_next + 1 
+0220 6fe2483c fetch 4 ,mem_24g_addr 
+0221 67e24891 store 4 ,mem_24g_receiver_addr 
+0222 67e24993 store 4 ,mem_mouse_24g_addr 
+0223 2040257e call g24_ch_syncword_crc8_init 
+0224 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
+0225 c0000228 beq 0 ,p_mouse_24g_attempt_success_next 
+0226 20400304 call p_mouse_multi_led_on_enable 
+0227 20200229 branch p_mouse_24g_attempt_success_next + 1 
 
 p_mouse_24g_attempt_success_next:
-0227 204048c6 call mouse_device_poweron_timer_init 
-0228 20404544 call mouse_no_data_timer_init 
-0229 2020484e branch mouse_24g_attempt_success 
+0228 204048c6 call mouse_device_poweron_timer_init 
+0229 20404544 call mouse_no_data_timer_init 
+022a 2020484e branch mouse_24g_attempt_success 
 
 p_mouse_24g_attempt_fail:
-022a 6fe0c8a5 fetch 1 ,mem_24g_attempt_fail_flag 
-022b 243a01ba nbranch p_mouse_24g_hibernate_set ,blank 
-022c 6fe0c88b fetch 1 ,mem_24g_reconn_type 
-022d c0010230 beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
-022e c0008230 beq fast_conn_and_receiver ,p_mouse_24g_fast_conn_attempt_fail 
-022f 20204837 branch mouse_24g_attempt_fail + 4 
+022b 6fe0c8a5 fetch 1 ,mem_24g_attempt_fail_flag 
+022c 243a01bb nbranch p_mouse_24g_hibernate_set ,blank 
+022d 6fe0c88b fetch 1 ,mem_24g_reconn_type 
+022e c0010231 beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
+022f c0008231 beq fast_conn_and_receiver ,p_mouse_24g_fast_conn_attempt_fail 
+0230 20204837 branch mouse_24g_attempt_fail + 4 
 
 p_mouse_24g_fast_conn_attempt_fail:
-0230 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0231 c2978239 bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_start_auto_pair 
-0232 c2980239 bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_start_auto_pair 
-0233 c31d4806 bbit0 mouse_enable_24g_auto_pair_nerver_been_paired ,mouse_24g_reconn_dongle_start 
-0234 6fe24993 fetch 4 ,mem_mouse_24g_addr 
-0235 684a4974 fetcht 4 ,mem_mouse_compare_addr_ff 
-0236 98467c00 isub temp ,null 
-0237 2022823d branch p_mouse_24g_start_pair_mode ,zero 
-0238 20204806 branch mouse_24g_reconn_dongle_start 
+0231 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0232 c297823a bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_start_auto_pair 
+0233 c298023a bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_start_auto_pair 
+0234 c31d4806 bbit0 mouse_enable_24g_auto_pair_nerver_been_paired ,mouse_24g_reconn_dongle_start 
+0235 6fe24993 fetch 4 ,mem_mouse_24g_addr 
+0236 684a4974 fetcht 4 ,mem_mouse_compare_addr_ff 
+0237 98467c00 isub temp ,null 
+0238 2022823e branch p_mouse_24g_start_pair_mode ,zero 
+0239 20204806 branch mouse_24g_reconn_dongle_start 
 
 p_mouse_24g_start_auto_pair:
-0239 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
-023a c0004811 beq 0 ,mouse_24g_start_auto_pair 
-023b 204002d7 call p_mouse_multi_led_blink_enable 
-023c 20204812 branch mouse_24g_start_auto_pair + 1 
+023a 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
+023b c0004811 beq 0 ,mouse_24g_start_auto_pair 
+023c 204002ff call p_mouse_multi_led_blink_enable 
+023d 20204812 branch mouse_24g_start_auto_pair + 1 
 
 p_mouse_24g_start_pair_mode:
-023d 70488b00 jam 0 ,mem_24g_reconn_type 
-023e d8e00001 arg mouse_24g_pairing_flag ,queue 
-023f 204046f0 call mouse_enable_function_flag 
-0240 58000000 setarg 0 
-0241 67e14887 store 2 ,mem_24g_reconn_timeout 
-0242 20404576 call mouse_stop_discovery 
-0243 2040498e call mouse_low_voltage_led_blink_disable 
-0244 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
-0245 c000482d beq 0 ,mouse_24g_start_pair_mode_enable_blink_timer 
-0246 204002d7 call p_mouse_multi_led_blink_enable 
-0247 2020482e branch mouse_24g_start_pair_mode_skip_blink_timer 
+023e 70488b00 jam 0 ,mem_24g_reconn_type 
+023f d8e00001 arg mouse_24g_pairing_flag ,queue 
+0240 204046f0 call mouse_enable_function_flag 
+0241 58000000 setarg 0 
+0242 67e14887 store 2 ,mem_24g_reconn_timeout 
+0243 20404576 call mouse_stop_discovery 
+0244 2040498e call mouse_low_voltage_led_blink_disable 
+0245 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
+0246 c000482d beq 0 ,mouse_24g_start_pair_mode_enable_blink_timer 
+0247 204002ff call p_mouse_multi_led_blink_enable 
+0248 2020482e branch mouse_24g_start_pair_mode_skip_blink_timer 
 
 p_g24_pair_dispatch:
-0248 70488b00 jam default_24g_device ,mem_24g_reconn_type 
-0249 6fe14beb fetch 2 ,mem_24g_pair_count 
-024a 1fe0fe01 increase 1 ,pdata 
-024b 67e14beb store 2 ,mem_24g_pair_count 
-024c 6fe0cbeb fetch 1 ,mem_24g_pair_count 
-024d 1fe17eff and pdata ,0xff ,pdata 
-024e c0002341 beq 0 ,g24_pair_dispatch + 1 
-024f 20600000 rtn 
+0249 70488b00 jam default_24g_device ,mem_24g_reconn_type 
+024a 6fe14beb fetch 2 ,mem_24g_pair_count 
+024b 1fe0fe01 increase 1 ,pdata 
+024c 67e14beb store 2 ,mem_24g_pair_count 
+024d 6fe0cbeb fetch 1 ,mem_24g_pair_count 
+024e 1fe17eff and pdata ,0xff ,pdata 
+024f c0002341 beq 0 ,g24_pair_dispatch + 1 
+0250 20600000 rtn 
 
 p_g24_reconn_dispatch:
-0250 6fe14889 fetch 2 ,mem_24g_reconn_count 
-0251 d84001f8 arg 0x01f8 ,temp 
-0252 98417e00 iand temp ,pdata 
-0253 203a0258 branch p_g24_reconn_dispatch_next ,blank 
-0254 6fe14889 fetch 2 ,mem_24g_reconn_count 
-0255 1fe0fe01 increase 1 ,pdata 
-0256 67e14889 store 2 ,mem_24g_reconn_count 
-0257 20600000 rtn 
+0251 6fe14889 fetch 2 ,mem_24g_reconn_count 
+0252 d84001f8 arg 0x01f8 ,temp 
+0253 98417e00 iand temp ,pdata 
+0254 203a0259 branch p_g24_reconn_dispatch_next ,blank 
+0255 6fe14889 fetch 2 ,mem_24g_reconn_count 
+0256 1fe0fe01 increase 1 ,pdata 
+0257 67e14889 store 2 ,mem_24g_reconn_count 
+0258 20600000 rtn 
 
 p_g24_reconn_dispatch_next:
-0258 2040259a call g24_reconn_data_prep 
-0259 2040265b call g24_transmit_receive_ack 
-025a 242c025e nbranch p_g24_reconn_device_fail ,sync 
-025b 2437825e nbranch p_g24_reconn_device_fail ,user3 
-025c 20402672 call g24_ackpayload_parse 
-025d 20202586 branch g24_reconn_receiver_succ 
+0259 2040259a call g24_reconn_data_prep 
+025a 2040265b call g24_transmit_receive_ack 
+025b 242c025f nbranch p_g24_reconn_device_fail ,sync 
+025c 2437825f nbranch p_g24_reconn_device_fail ,user3 
+025d 20402672 call g24_ackpayload_parse 
+025e 20202586 branch g24_reconn_receiver_succ 
 
 p_g24_reconn_device_fail:
-025e 6fe0c88c fetch 1 ,mem_24g_fast_conn_enable 
-025f 203a22cb branch g24_ch ,blank 
-0260 6fe14889 fetch 2 ,mem_24g_reconn_count 
-0261 1fe0fe01 increase 1 ,pdata 
-0262 67e14889 store 2 ,mem_24g_reconn_count 
-0263 6fe0c88a fetch 1 ,mem_24g_reconn_count + 1 
-0264 2feffe01 isolate1 1 ,pdata 
-0265 6fe0c88b fetch 1 ,mem_24g_reconn_type 
-0266 c000a5ad beq fast_conn_and_receiver ,g24_reconn_fast_conn_and_receiver 
-0267 c00125af beq fast_conn_and_3_0_addr ,g24_reconn_fast_conn_and_3_0 
-0268 c001a5b1 beq receiver_and_3_0_addr ,g24_reconn_receiver_and_3_0 
-0269 c002026b beq pair_and_3_0_addr ,p_g24_reconn_pair_and_3_0 
-026a 2020256e branch g24_reconn_receiver_addr 
+025f 6fe0c88c fetch 1 ,mem_24g_fast_conn_enable 
+0260 203a22cb branch g24_ch ,blank 
+0261 6fe14889 fetch 2 ,mem_24g_reconn_count 
+0262 1fe0fe01 increase 1 ,pdata 
+0263 67e14889 store 2 ,mem_24g_reconn_count 
+0264 6fe0c88a fetch 1 ,mem_24g_reconn_count + 1 
+0265 2feffe01 isolate1 1 ,pdata 
+0266 6fe0c88b fetch 1 ,mem_24g_reconn_type 
+0267 c000a5ad beq fast_conn_and_receiver ,g24_reconn_fast_conn_and_receiver 
+0268 c00125af beq fast_conn_and_3_0_addr ,g24_reconn_fast_conn_and_3_0 
+0269 c001a5b1 beq receiver_and_3_0_addr ,g24_reconn_receiver_and_3_0 
+026a c002026c beq pair_and_3_0_addr ,p_g24_reconn_pair_and_3_0 
+026b 2020256e branch g24_reconn_receiver_addr 
 
 p_g24_reconn_pair_and_3_0:
-026b 2020a575 branch g24_reconn_device_3_0_addr ,true 
-026c 20202339 branch g24_pair_init_param 
+026c 2020a575 branch g24_reconn_device_3_0_addr ,true 
+026d 20202339 branch g24_pair_init_param 
 
 p_g24_dispatch:
-026d c61a0000 rtnmark1 mark_adc_enable 
-026e c513a40e bmark1 mark_24g_rxmode ,g24_receive_dispatch 
+026e c61a0000 rtnmark1 mark_adc_enable 
+026f c513a40e bmark1 mark_24g_rxmode ,g24_receive_dispatch 
 
 p_g24_transmit_dispatch:
-026f c6930000 rtnmark0 mark_24g 
-0270 6fe0c8a1 fetch 1 ,mem_24g_conn_sm 
-0271 c280a340 bbit1 state_24g_pair ,g24_pair_dispatch 
-0272 c2812580 bbit1 state_24g_reconn ,g24_reconn_dispatch 
-0273 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
-0274 c0008276 beq g24_tx_timer_int_enable ,p_g24_transmit_by_interrupt 
-0275 20202621 branch g24_transmit_no_interrupt 
+0270 c6930000 rtnmark0 mark_24g 
+0271 6fe0c8a1 fetch 1 ,mem_24g_conn_sm 
+0272 c280a340 bbit1 state_24g_pair ,g24_pair_dispatch 
+0273 c2812580 bbit1 state_24g_reconn ,g24_reconn_dispatch 
+0274 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
+0275 c0008277 beq g24_tx_timer_int_enable ,p_g24_transmit_by_interrupt 
+0276 20202621 branch g24_transmit_no_interrupt 
 
 p_g24_transmit_by_interrupt:
-0276 204022ea call g24_timer_check 
-0277 2434026f nbranch p_g24_transmit_dispatch ,user 
-0278 204026db call g24_interval_calibrate 
-0279 6fe148be fetch 2 ,mem_24g_transmit_by_interrupt_exit_count 
-027a 1fe0fe01 increase 1 ,pdata 
-027b 67e148be store 2 ,mem_24g_transmit_by_interrupt_exit_count 
-027c 20202621 branch g24_transmit_no_interrupt 
+0277 204022ea call g24_timer_check 
+0278 24340270 nbranch p_g24_transmit_dispatch ,user 
+0279 204026db call g24_interval_calibrate 
+027a 6fe148be fetch 2 ,mem_24g_transmit_by_interrupt_exit_count 
+027b 1fe0fe01 increase 1 ,pdata 
+027c 67e148be store 2 ,mem_24g_transmit_by_interrupt_exit_count 
+027d 20202621 branch g24_transmit_no_interrupt 
 
 p_mouse_start_work:
-027d 6fe08989 fetch 1 ,mem_wakup_from_power_flag 
-027e c3010281 bbit0 bit_power_on ,p_mouse_start_24g_reconn 
-027f 6fe0c938 fetch 1 ,mem_device_flag 
-0280 c000c81c beq mode_bt_device1 ,mouse_check_bt_reconn_target 
+027e 6fe08989 fetch 1 ,mem_wakup_from_power_flag 
+027f c3010282 bbit0 bit_power_on ,p_mouse_start_24g_reconn 
+0280 6fe0c938 fetch 1 ,mem_device_flag 
+0281 c000c81c beq mode_bt_device1 ,mouse_check_bt_reconn_target 
 
 p_mouse_start_24g_reconn:
-0281 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0282 c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
-0283 6fe0c938 fetch 1 ,mem_device_flag 
-0284 c0000286 beq mode_24g_device ,p_mouse_24g_start_mode 
-0285 20203d57 branch mouse_start_work + 5 
+0282 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0283 c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
+0284 6fe0c938 fetch 1 ,mem_device_flag 
+0285 c0000287 beq mode_24g_device ,p_mouse_24g_start_mode 
+0286 20203d57 branch mouse_start_work + 5 
 
 p_mouse_24g_start_mode:
-0286 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0287 c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
-0288 20403d65 call mouse_wakeup_from_power_check 
-0289 20340290 branch p_mouse_24g_reconn_dongle_start ,user 
-028a 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-028b c2980296 bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_reconn_general_dongle_next 
-028c c3188293 bbit0 mouse_enable_24g_power_on_pairing ,p_mouse_24g_reconn_general_dongle 
-028d 20404110 call mouse_key_check_once 
-028e 1a217e07 and rega ,0x07 ,pdata 
-028f 202047ff branch mouse_24g_start_mode + 9 
+0287 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0288 c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
+0289 20403d65 call mouse_wakeup_from_power_check 
+028a 20340291 branch p_mouse_24g_reconn_dongle_start ,user 
+028b 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+028c c2980297 bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_reconn_general_dongle_next 
+028d c3188294 bbit0 mouse_enable_24g_power_on_pairing ,p_mouse_24g_reconn_general_dongle 
+028e 20404110 call mouse_key_check_once 
+028f 1a217e07 and rega ,0x07 ,pdata 
+0290 202047ff branch mouse_24g_start_mode + 9 
 
 p_mouse_24g_reconn_dongle_start:
-0290 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
-0291 245a02d7 ncall p_mouse_multi_led_blink_enable ,blank 
-0292 20204806 branch mouse_24g_reconn_dongle_start 
+0291 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
+0292 245a02ff ncall p_mouse_multi_led_blink_enable ,blank 
+0293 20204806 branch mouse_24g_reconn_dongle_start 
 
 p_mouse_24g_reconn_general_dongle:
-0293 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
-0294 245a02d7 ncall p_mouse_multi_led_blink_enable ,blank 
-0295 2020480c branch mouse_24g_reconn_general_dongle 
+0294 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
+0295 245a02ff ncall p_mouse_multi_led_blink_enable ,blank 
+0296 2020480c branch mouse_24g_reconn_general_dongle 
 
 p_mouse_24g_reconn_general_dongle_next:
-0296 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
-0297 245a02d7 ncall p_mouse_multi_led_blink_enable ,blank 
-0298 70493800 jam mode_24g_device ,mem_device_flag 
-0299 6fe14bba fetch 2 ,mem_mouse_24g_power_on_fast_conn_timer 
-029a 67e14887 store 2 ,mem_24g_reconn_timeout 
-029b 70488b01 jam fast_conn_and_receiver ,mem_24g_reconn_type 
-029c 20202559 branch g24_reconn_start 
+0297 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
+0298 245a02ff ncall p_mouse_multi_led_blink_enable ,blank 
+0299 70493800 jam mode_24g_device ,mem_device_flag 
+029a 6fe14bba fetch 2 ,mem_mouse_24g_power_on_fast_conn_timer 
+029b 67e14887 store 2 ,mem_24g_reconn_timeout 
+029c 70488b01 jam fast_conn_and_receiver ,mem_24g_reconn_type 
+029d 20202559 branch g24_reconn_start 
+
+p_mouse_setting_dpi_4_level:
+029e 6fe0c927 fetch 1 ,mem_config_sensor_type 
+029f c1058000 rtneq ka8g2 
+02a0 c1060000 rtneq sg8670 
+02a1 2020408f branch mouse_setting_dpi_4_level 
 
 p_mouse_seting_dpi:
-029d 2040408f call mouse_setting_dpi_4_level 
-029e 204002a0 call p_mouse_dpi_led_blink_delay 
-029f 20204098 branch mouse_seting_sensor_type 
+02a2 2040029e call p_mouse_setting_dpi_4_level 
+02a3 204002c8 call p_mouse_dpi_led_blink_delay 
+
+p_mouse_seting_sensor_type:
+02a4 6fe0c927 fetch 1 ,mem_config_sensor_type 
+02a5 c00582a8 beq ka8g2 ,p_mouse_seting_ka8g2_dpi 
+02a6 c00602b8 beq sg8670 ,p_mouse_seting_sg8670_dpi 
+02a7 20204098 branch mouse_seting_sensor_type 
+
+p_mouse_seting_ka8g2_dpi:
+02a8 6fe0c992 fetch 1 ,mem_mouse_dpi 
+02a9 c00002ae beq mouse_dpi_level1 ,p_mouse_set_pka8g2_cpi0 
+02aa c00082b0 beq mouse_dpi_level2 ,p_mouse_set_pka8g2_cpi1 
+02ab c00102b2 beq mouse_dpi_level3 ,p_mouse_set_pka8g2_cpi2 
+02ac c00182b4 beq mouse_dpi_level4 ,p_mouse_set_pka8g2_cpi3 
+02ad c00202b6 beq mouse_dpi_level5 ,p_mouse_set_pka8g2_cpi4 
+
+p_mouse_set_pka8g2_cpi0:
+02ae 6fe0cd4e fetch 1 ,mem_ka8g2_dpi_0_new 
+02af 202040c7 branch mouse_p3212_dpi 
+
+p_mouse_set_pka8g2_cpi1:
+02b0 6fe0cd4f fetch 1 ,mem_ka8g2_dpi_1_new 
+02b1 202040c7 branch mouse_p3212_dpi 
+
+p_mouse_set_pka8g2_cpi2:
+02b2 6fe0cd50 fetch 1 ,mem_ka8g2_dpi_2_new 
+02b3 202040c7 branch mouse_p3212_dpi 
+
+p_mouse_set_pka8g2_cpi3:
+02b4 6fe0cd51 fetch 1 ,mem_ka8g2_dpi_3_new 
+02b5 202040c7 branch mouse_p3212_dpi 
+
+p_mouse_set_pka8g2_cpi4:
+02b6 6fe0cd52 fetch 1 ,mem_ka8g2_dpi_4_new 
+02b7 202040c7 branch mouse_p3212_dpi 
+
+p_mouse_seting_sg8670_dpi:
+02b8 6fe0c992 fetch 1 ,mem_mouse_dpi 
+02b9 c00002c4 beq mouse_dpi_level1 ,p_mouse_set_sg8670_dpi_1 
+02ba c00082c2 beq mouse_dpi_level2 ,p_mouse_set_sg8670_dpi_2 
+02bb c00102c0 beq mouse_dpi_level3 ,p_mouse_set_sg8670_dpi_3 
+02bc c00182be beq mouse_dpi_level4 ,p_mouse_set_sg8670_dpi_4 
+02bd c00202c6 beq mouse_dpi_level5 ,p_mouse_set_sg8670_dpi_5 
+
+p_mouse_set_sg8670_dpi_4:
+02be da604db3 arg mem_sensor_sg8670_dpi_2000 ,regc 
+02bf 2020422b branch mouse_sensor_wr_seq 
+
+p_mouse_set_sg8670_dpi_3:
+02c0 da604da7 arg mem_sensor_sg8670_dpi_2400 ,regc 
+02c1 2020422b branch mouse_sensor_wr_seq 
+
+p_mouse_set_sg8670_dpi_2:
+02c2 da604d9b arg mem_sensor_sg8670_dpi_1600 ,regc 
+02c3 2020422b branch mouse_sensor_wr_seq 
+
+p_mouse_set_sg8670_dpi_1:
+02c4 da604d8f arg mem_sensor_sg8670_dpi_1200 ,regc 
+02c5 2020422b branch mouse_sensor_wr_seq 
+
+p_mouse_set_sg8670_dpi_5:
+02c6 da604d7f arg mem_sensor_sg8670_dpi_800 ,regc 
+02c7 2020422b branch mouse_sensor_wr_seq 
 
 p_mouse_dpi_led_blink_delay:
-02a0 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-02a1 c17f8000 rtneq gpio_disable 
-02a2 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
-02a3 247a0000 nrtn blank 
-02a4 6fe14883 fetch 2 ,mem_24g_pair_timeout 
-02a5 247a0000 nrtn blank 
-02a6 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
-02a7 247a0000 nrtn blank 
-02a8 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
-02a9 247a0000 nrtn blank 
-02aa 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
-02ab 203a0322 branch p_mouse_dpi_led_blink_init ,blank 
-02ac 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
-02ad 20600000 rtn 
+02c8 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+02c9 c17f8000 rtneq gpio_disable 
+02ca 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
+02cb 247a0000 nrtn blank 
+02cc 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+02cd 247a0000 nrtn blank 
+02ce 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+02cf 247a0000 nrtn blank 
+02d0 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
+02d1 247a0000 nrtn blank 
+02d2 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
+02d3 203a034a branch p_mouse_dpi_led_blink_init ,blank 
+02d4 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
+02d5 20600000 rtn 
 
 p_mouse_bb_event_timer:
-02ae 20403e9b call mouse_adc_read 
-02af 20404956 call mouse_low_voltage_led_timer 
-02b0 2040232b call g24_pair_timeout_timer 
-02b1 20402556 call g24_reconn_timeout_timer 
-02b2 204047cd call mouse_24g_long_sleep_param_update_timer 
-02b3 204048be call mouse_device_poweron_timer 
-02b4 2040031f call p_mouse_dpi_led_blink_delay_timer 
-02b5 204002e0 call p_mouse_led_multi_timer 
-02b6 2040407c call mouse_dpi_key_check_long_press 
-02b7 204044cc call mouse_bt_discovery_check 
-02b8 20400337 call p_mouse_commbination_key_process 
-02b9 204044ff call mouse_check_discovery_timeout_timer 
-02ba 204002ce call p_mouse_check_direct_timeout_timer 
-02bb 20404512 call mouse_le_enable_att_list_timer 
-02bc 2040034e call p_mouse_le_battery_updata_timer 
-02bd 20404515 call mouse_le_send_smp_security_request_timer 
-02be 2040452a call mouse_check_hid_handshake_timer 
-02bf 2040452d call mouse_bt_check_sniff_req_timeout_timer 
-02c0 20404532 call mouse_check_reconnect_delay_long_sleep 
-02c1 20404535 call mouse_current_mult_update_timer 
-02c2 20404022 call mouse_wheel_trigger_timer 
-02c3 20404547 call mouse_store_information_delay_timer 
-02c4 2040030f call p_mouse_logo_led_on_timer 
-02c5 20400351 call p_mouse_check_no_data_timeout_timer 
-02c6 202002cb branch p_mouse_g24_ota_reset_timer 
+02d6 20403e9b call mouse_adc_read 
+02d7 20404956 call mouse_low_voltage_led_timer 
+02d8 2040232b call g24_pair_timeout_timer 
+02d9 20402556 call g24_reconn_timeout_timer 
+02da 204047cd call mouse_24g_long_sleep_param_update_timer 
+02db 204048be call mouse_device_poweron_timer 
+02dc 20400347 call p_mouse_dpi_led_blink_delay_timer 
+02dd 20400308 call p_mouse_led_multi_timer 
+02de 2040407c call mouse_dpi_key_check_long_press 
+02df 204044cc call mouse_bt_discovery_check 
+02e0 2040035f call p_mouse_commbination_key_process 
+02e1 204044ff call mouse_check_discovery_timeout_timer 
+02e2 204002f6 call p_mouse_check_direct_timeout_timer 
+02e3 20404512 call mouse_le_enable_att_list_timer 
+02e4 20400376 call p_mouse_le_battery_updata_timer 
+02e5 20404515 call mouse_le_send_smp_security_request_timer 
+02e6 2040452a call mouse_check_hid_handshake_timer 
+02e7 2040452d call mouse_bt_check_sniff_req_timeout_timer 
+02e8 20404532 call mouse_check_reconnect_delay_long_sleep 
+02e9 20404535 call mouse_current_mult_update_timer 
+02ea 20404022 call mouse_wheel_trigger_timer 
+02eb 20404547 call mouse_store_information_delay_timer 
+02ec 20400337 call p_mouse_logo_led_on_timer 
+02ed 20400379 call p_mouse_check_no_data_timeout_timer 
+02ee 202002f3 branch p_mouse_g24_ota_reset_timer 
 
 p_mouse_ice_adc_on:
-02c7 7080733e jam 0x3e ,0x8073 
-02c8 20600000 rtn 
+02ef 7080733e jam 0x3e ,0x8073 
+02f0 20600000 rtn 
 
 p_mouse_ice_adc_off:
-02c9 7080733f jam 0x3f ,0x8073 
-02ca 20600000 rtn 
+02f1 7080733f jam 0x3f ,0x8073 
+02f2 20600000 rtn 
 
 p_mouse_g24_ota_reset_timer:
-02cb da604c1d arg mem_g24_ota_reset_timer ,regc 
-02cc da405d8c arg soft_reset_chip ,regb 
-02cd 2020318a branch timer_single_step 
+02f3 da604c1d arg mem_g24_ota_reset_timer ,regc 
+02f4 da405d8c arg soft_reset_chip ,regb 
+02f5 2020318a branch timer_single_step 
 
 p_mouse_check_direct_timeout_timer:
-02ce da604b77 arg mem_mouse_direct_timer ,regc 
-02cf da40450a arg mouse_check_direct_timeout ,regb 
-02d0 2040318a call timer_single_step 
-02d1 20204507 branch mouse_check_direct_timeout_timer + 3 
+02f6 da604b77 arg mem_mouse_direct_timer ,regc 
+02f7 da40450a arg mouse_check_direct_timeout ,regb 
+02f8 2040318a call timer_single_step 
+02f9 20204507 branch mouse_check_direct_timeout_timer + 3 
 
 p_mouse_device_multi_led_poweron2s_init:
-02d2 6fe0cc46 fetch 1 ,mem_mouse_multi_led_powon2s_timer_init 
-02d3 67e0cc47 store 1 ,mem_mouse_multi_led_powon2s_timer 
-02d4 6fe0cc44 fetch 1 ,mem_mouse_multi_led_poweron2s_flag_init 
-02d5 67e0cc45 store 1 ,mem_mouse_multi_led_poweron2s_flag 
-02d6 20600000 rtn 
+02fa 6fe0cc46 fetch 1 ,mem_mouse_multi_led_powon2s_timer_init 
+02fb 67e0cc47 store 1 ,mem_mouse_multi_led_powon2s_timer 
+02fc 6fe0cc44 fetch 1 ,mem_mouse_multi_led_poweron2s_flag_init 
+02fd 67e0cc45 store 1 ,mem_mouse_multi_led_poweron2s_flag 
+02fe 20600000 rtn 
 
 p_mouse_multi_led_blink_enable:
-02d7 704c4101 jam 1 ,mem_mouse_multi_led_blink_enable 
-02d8 704c4301 jam multi_led_blink ,mem_mouse_multi_led_type 
-02d9 6fe0cc4b fetch 1 ,mem_mouse_multi_led_blink_timer_init 
-02da 67e0cc4c store 1 ,mem_mouse_multi_led_blink_timer 
-02db 20600000 rtn 
+02ff 704c4101 jam 1 ,mem_mouse_multi_led_blink_enable 
+0300 704c4301 jam multi_led_blink ,mem_mouse_multi_led_type 
+0301 6fe0cc4b fetch 1 ,mem_mouse_multi_led_blink_timer_init 
+0302 67e0cc4c store 1 ,mem_mouse_multi_led_blink_timer 
+0303 20600000 rtn 
 
 p_mouse_multi_led_on_enable:
-02dc 704c4101 jam 1 ,mem_mouse_multi_led_blink_enable 
-02dd 704c4c00 jam 0 ,mem_mouse_multi_led_blink_timer 
-02de 704c4300 jam multi_led_on ,mem_mouse_multi_led_type 
-02df 20600000 rtn 
+0304 704c4101 jam 1 ,mem_mouse_multi_led_blink_enable 
+0305 704c4c00 jam 0 ,mem_mouse_multi_led_blink_timer 
+0306 704c4300 jam multi_led_on ,mem_mouse_multi_led_type 
+0307 20600000 rtn 
 
 p_mouse_led_multi_timer:
-02e0 6fe0cc41 fetch 1 ,mem_mouse_multi_led_blink_enable 
-02e1 207a0000 rtn blank 
-02e2 6fe0cc43 fetch 1 ,mem_mouse_multi_led_type 
-02e3 c00082f0 beq multi_led_blink ,p_mouse_multi_led_type_blink 
+0308 6fe0cc41 fetch 1 ,mem_mouse_multi_led_blink_enable 
+0309 207a0000 rtn blank 
+030a 6fe0cc43 fetch 1 ,mem_mouse_multi_led_type 
+030b c0008318 beq multi_led_blink ,p_mouse_multi_led_type_blink 
 
 p_mouse_multi_led_type_on:
-02e4 6fe0cc45 fetch 1 ,mem_mouse_multi_led_poweron2s_flag 
-02e5 243a02e8 nbranch p_mouse_device_multi_led_poweron2s ,blank 
-02e6 704c4100 jam 0 ,mem_mouse_multi_led_blink_enable 
-02e7 20600000 rtn 
+030c 6fe0cc45 fetch 1 ,mem_mouse_multi_led_poweron2s_flag 
+030d 243a0310 nbranch p_mouse_device_multi_led_poweron2s ,blank 
+030e 704c4100 jam 0 ,mem_mouse_multi_led_blink_enable 
+030f 20600000 rtn 
 
 p_mouse_device_multi_led_poweron2s:
-02e8 6fe0cc47 fetch 1 ,mem_mouse_multi_led_powon2s_timer 
-02e9 203a02ed branch p_mouse_multi_led_poweron2s_and_flag_off ,blank 
-02ea 1fe0ffff increase -1 
-02eb 67e0cc47 store 1 ,mem_mouse_multi_led_powon2s_timer 
-02ec 202002f7 branch p_mouse_device_multi_led_on 
+0310 6fe0cc47 fetch 1 ,mem_mouse_multi_led_powon2s_timer 
+0311 203a0315 branch p_mouse_multi_led_poweron2s_and_flag_off ,blank 
+0312 1fe0ffff increase -1 
+0313 67e0cc47 store 1 ,mem_mouse_multi_led_powon2s_timer 
+0314 2020031f branch p_mouse_device_multi_led_on 
 
 p_mouse_multi_led_poweron2s_and_flag_off:
-02ed 704c4500 jam 0 ,mem_mouse_multi_led_poweron2s_flag 
-02ee 704c4100 jam 0 ,mem_mouse_multi_led_blink_enable 
-02ef 20200303 branch p_mouse_device_multi_led_off 
+0315 704c4500 jam 0 ,mem_mouse_multi_led_poweron2s_flag 
+0316 704c4100 jam 0 ,mem_mouse_multi_led_blink_enable 
+0317 2020032b branch p_mouse_device_multi_led_off 
 
 p_mouse_multi_led_type_blink:
-02f0 da604c4c arg mem_mouse_multi_led_blink_timer ,regc 
-02f1 da4002f3 arg p_mouse_multi_led_type_blink_timeout ,regb 
-02f2 2020318a branch timer_single_step 
+0318 da604c4c arg mem_mouse_multi_led_blink_timer ,regc 
+0319 da40031b arg p_mouse_multi_led_type_blink_timeout ,regb 
+031a 2020318a branch timer_single_step 
 
 p_mouse_multi_led_type_blink_timeout:
-02f3 6fe0cc4b fetch 1 ,mem_mouse_multi_led_blink_timer_init 
-02f4 67e0cc4c store 1 ,mem_mouse_multi_led_blink_timer 
-02f5 6fe0cc4d fetch 1 ,mem_mouse_multi_led_state 
-02f6 c0008303 beq on ,p_mouse_device_multi_led_off 
+031b 6fe0cc4b fetch 1 ,mem_mouse_multi_led_blink_timer_init 
+031c 67e0cc4c store 1 ,mem_mouse_multi_led_blink_timer 
+031d 6fe0cc4d fetch 1 ,mem_mouse_multi_led_state 
+031e c000832b beq on ,p_mouse_device_multi_led_off 
 
 p_mouse_device_multi_led_on:
-02f7 704c4d01 jam on ,mem_mouse_multi_led_state 
-02f8 6fe0c938 fetch 1 ,mem_device_flag 
-02f9 c00002fd beq mode_24g_device ,p_mouse_device_24g_led_on 
-02fa c00082ff beq mode_bt_device1 ,p_mouse_device_bt1_led_on 
-02fb c0010301 beq mode_bt_device2 ,p_mouse_device_bt2_led_on 
-02fc 20600000 rtn 
+031f 704c4d01 jam on ,mem_mouse_multi_led_state 
+0320 6fe0c938 fetch 1 ,mem_device_flag 
+0321 c0000325 beq mode_24g_device ,p_mouse_device_24g_led_on 
+0322 c0008327 beq mode_bt_device1 ,p_mouse_device_bt1_led_on 
+0323 c0010329 beq mode_bt_device2 ,p_mouse_device_bt2_led_on 
+0324 20600000 rtn 
 
 p_mouse_device_24g_led_on:
-02fd 6848cc48 fetcht 1 ,mem_mouse_1io2led_multi_24gled 
-02fe 20200302 branch p_mouse_device_led_on 
+0325 6848cc48 fetcht 1 ,mem_mouse_1io2led_multi_24gled 
+0326 2020032a branch p_mouse_device_led_on 
 
 p_mouse_device_bt1_led_on:
-02ff 6848cc49 fetcht 1 ,mem_mouse_1io2led_multi_bt1led 
-0300 20200302 branch p_mouse_device_led_on 
+0327 6848cc49 fetcht 1 ,mem_mouse_1io2led_multi_bt1led 
+0328 2020032a branch p_mouse_device_led_on 
 
 p_mouse_device_bt2_led_on:
-0301 6848cc4a fetcht 1 ,mem_mouse_1io2led_multi_bt2led 
+0329 6848cc4a fetcht 1 ,mem_mouse_1io2led_multi_bt2led 
 
 p_mouse_device_led_on:
-0302 20206069 branch gpio_out_active 
+032a 20206069 branch gpio_out_active 
 
 p_mouse_device_multi_led_off:
-0303 704c4d00 jam off ,mem_mouse_multi_led_state 
-0304 6fe0c938 fetch 1 ,mem_device_flag 
-0305 c0000309 beq mode_24g_device ,p_mouse_device_24g_led_off 
-0306 c000830b beq mode_bt_device1 ,p_mouse_device_bt1_led_off 
-0307 c001030d beq mode_bt_device2 ,p_mouse_device_bt2_led_off 
-0308 20600000 rtn 
+032b 704c4d00 jam off ,mem_mouse_multi_led_state 
+032c 6fe0c938 fetch 1 ,mem_device_flag 
+032d c0000331 beq mode_24g_device ,p_mouse_device_24g_led_off 
+032e c0008333 beq mode_bt_device1 ,p_mouse_device_bt1_led_off 
+032f c0010335 beq mode_bt_device2 ,p_mouse_device_bt2_led_off 
+0330 20600000 rtn 
 
 p_mouse_device_24g_led_off:
-0309 6848cc48 fetcht 1 ,mem_mouse_1io2led_multi_24gled 
-030a 2020607f branch gpio_set_high_impedance 
+0331 6848cc48 fetcht 1 ,mem_mouse_1io2led_multi_24gled 
+0332 2020607f branch gpio_set_high_impedance 
 
 p_mouse_device_bt1_led_off:
-030b 6848cc49 fetcht 1 ,mem_mouse_1io2led_multi_bt1led 
-030c 2020607f branch gpio_set_high_impedance 
+0333 6848cc49 fetcht 1 ,mem_mouse_1io2led_multi_bt1led 
+0334 2020607f branch gpio_set_high_impedance 
 
 p_mouse_device_bt2_led_off:
-030d 6848cc4a fetcht 1 ,mem_mouse_1io2led_multi_bt2led 
-030e 2020607f branch gpio_set_high_impedance 
+0335 6848cc4a fetcht 1 ,mem_mouse_1io2led_multi_bt2led 
+0336 2020607f branch gpio_set_high_impedance 
 
 p_mouse_logo_led_on_timer:
-030f 6fe0cbed fetch 1 ,mem_mouse_logo_led_gpio 
-0310 c17f8000 rtneq gpio_disable 
-0311 6fe14ab2 fetch 2 ,mem_mouse_no_data_timer 
-0312 207a0000 rtn blank 
-0313 6fe14bbe fetch 2 ,mem_mouse_no_data_timeout 
-0314 68494ab2 fetcht 2 ,mem_mouse_no_data_timer 
-0315 98460400 isub temp ,temp 
-0316 6fe14bee fetch 2 ,mem_mouse_logo_led_on_time_init 
-0317 98467e00 isub temp ,pdata 
-0318 2021031d branch p_mouse_logo_led_on ,positive 
+0337 6fe0cbed fetch 1 ,mem_mouse_logo_led_gpio 
+0338 c17f8000 rtneq gpio_disable 
+0339 6fe14ab2 fetch 2 ,mem_mouse_no_data_timer 
+033a 207a0000 rtn blank 
+033b 6fe14bbe fetch 2 ,mem_mouse_no_data_timeout 
+033c 68494ab2 fetcht 2 ,mem_mouse_no_data_timer 
+033d 98460400 isub temp ,temp 
+033e 6fe14bee fetch 2 ,mem_mouse_logo_led_on_time_init 
+033f 98467e00 isub temp ,pdata 
+0340 20210345 branch p_mouse_logo_led_on ,positive 
 
 p_mouse_logo_led_off:
-0319 6848cbed fetcht 1 ,mem_mouse_logo_led_gpio 
-031a 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
-031b c000e07f beq 1 ,gpio_set_high_impedance 
-031c 20206065 branch gpio_out_inactive 
+0341 6848cbed fetcht 1 ,mem_mouse_logo_led_gpio 
+0342 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
+0343 c000e07f beq 1 ,gpio_set_high_impedance 
+0344 20206065 branch gpio_out_inactive 
 
 p_mouse_logo_led_on:
-031d 6848cbed fetcht 1 ,mem_mouse_logo_led_gpio 
-031e 20406069 call gpio_out_active 
+0345 6848cbed fetcht 1 ,mem_mouse_logo_led_gpio 
+0346 20406069 call gpio_out_active 
 
 p_mouse_dpi_led_blink_delay_timer:
-031f da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
-0320 da400322 arg p_mouse_dpi_led_blink_init ,regb 
-0321 2020318a branch timer_single_step 
+0347 da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
+0348 da40034a arg p_mouse_dpi_led_blink_init ,regb 
+0349 2020318a branch timer_single_step 
 
 p_mouse_dpi_led_blink_init:
-0322 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0323 c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
-0324 c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
-0325 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-0326 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
-0327 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
-0328 67e14930 store 2 ,mem_mouse_on_time 
-0329 67e14932 store 2 ,mem_mouse_off_time 
-032a da200000 arg 0 ,rega 
-032b 6848c992 fetcht 1 ,mem_mouse_dpi 
-032c 18408402 increase 2 ,temp 
-032d 18467c03 sub temp ,3 ,null 
-032e 20410331 call p_mouse_dpi_led_blink_init_level_4 ,positive 
-032f 24410335 ncall p_mouse_dpi_led_blink_count_clean ,positive 
-0330 202048ff branch mouse_dpi_led_blink_init_end 
+034a 6fe0c927 fetch 1 ,mem_config_sensor_type 
+034b c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
+034c c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
+034d 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+034e 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
+034f 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
+0350 67e14930 store 2 ,mem_mouse_on_time 
+0351 67e14932 store 2 ,mem_mouse_off_time 
+0352 da200000 arg 0 ,rega 
+0353 6848c992 fetcht 1 ,mem_mouse_dpi 
+0354 18408402 increase 2 ,temp 
+0355 18467c03 sub temp ,3 ,null 
+0356 20410359 call p_mouse_dpi_led_blink_init_level_4 ,positive 
+0357 2441035d ncall p_mouse_dpi_led_blink_count_clean ,positive 
+0358 202048ff branch mouse_dpi_led_blink_init_end 
 
 p_mouse_dpi_led_blink_init_level_4:
-0331 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0332 c40e0000 rtnbit0 mouse_enable_dpi_level_4 
-0333 18408401 increase 1 ,temp 
-0334 20600000 rtn 
+0359 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+035a c40e0000 rtnbit0 mouse_enable_dpi_level_4 
+035b 18408401 increase 1 ,temp 
+035c 20600000 rtn 
 
 p_mouse_dpi_led_blink_count_clean:
-0335 184085fd increase -3 ,temp 
-0336 20600000 rtn 
+035d 184085fd increase -3 ,temp 
+035e 20600000 rtn 
 
 p_mouse_commbination_key_process:
-0337 6fe0c938 fetch 1 ,mem_device_flag 
-0338 c000033d beq mode_24g_device ,p_mouse_24g_commbination_key_process 
-0339 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-033a c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
-033b 6848cbca fetcht 1 ,mem_mouse_commbination_key_bt 
-033c 20200340 branch p_mouse_commbination_key_start 
+035f 6fe0c938 fetch 1 ,mem_device_flag 
+0360 c0000365 beq mode_24g_device ,p_mouse_24g_commbination_key_process 
+0361 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0362 c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
+0363 6848cbca fetcht 1 ,mem_mouse_commbination_key_bt 
+0364 20200368 branch p_mouse_commbination_key_start 
 
 p_mouse_24g_commbination_key_process:
-033d 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-033e c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
-033f 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
+0365 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0366 c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
+0367 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
 
 p_mouse_commbination_key_start:
-0340 6048cb9d storet 1 ,mem_mouse_commbination_key 
-0341 20404115 call mouse_check_key_gpio 
-0342 1fe17e07 and pdata ,0x07 ,pdata 
-0343 6848cb9d fetcht 1 ,mem_mouse_commbination_key 
-0344 98467c00 isub temp ,null 
-0345 20228347 branch p_mouse_commbination_key_down ,zero 
-0346 202044eb branch mouse_commbination_key_up 
+0368 6048cb9d storet 1 ,mem_mouse_commbination_key 
+0369 20404115 call mouse_check_key_gpio 
+036a 1fe17e07 and pdata ,0x07 ,pdata 
+036b 6848cb9d fetcht 1 ,mem_mouse_commbination_key 
+036c 98467c00 isub temp ,null 
+036d 2022836f branch p_mouse_commbination_key_down ,zero 
+036e 202044eb branch mouse_commbination_key_up 
 
 p_mouse_commbination_key_down:
-0347 2040034c call p_mouse_combination_ui_timer 
-0348 6fe0cb9f fetch 1 ,mem_commbination_key_statue 
-0349 c1008000 rtneq commbination_key_state_down 
-034a 704b9f01 jam commbination_key_state_down ,mem_commbination_key_statue 
-034b 20600000 rtn 
+036f 20400374 call p_mouse_combination_ui_timer 
+0370 6fe0cb9f fetch 1 ,mem_commbination_key_statue 
+0371 c1008000 rtneq commbination_key_state_down 
+0372 704b9f01 jam commbination_key_state_down ,mem_commbination_key_statue 
+0373 20600000 rtn 
 
 p_mouse_combination_ui_timer:
-034c da40023d arg p_mouse_24g_start_pair_mode ,regb 
-034d 202044f7 branch mouse_combination_ui_timer + 1 
+0374 da40023e arg p_mouse_24g_start_pair_mode ,regb 
+0375 202044f7 branch mouse_combination_ui_timer + 1 
 
 p_mouse_le_battery_updata_timer:
-034e 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-034f c39d8000 rtnbit1 mouse_enable_le_battery_service_cancel 
-0350 2020451f branch mouse_le_battery_updata_timer 
+0376 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0377 c39d8000 rtnbit1 mouse_enable_le_battery_service_cancel 
+0378 2020451f branch mouse_le_battery_updata_timer 
 
 p_mouse_check_no_data_timeout_timer:
-0351 6fe0c92a fetch 1 ,mem_usb_addr 
-0352 c3838000 rtnbit1 7 
-0353 da604ab2 arg mem_mouse_no_data_timer ,regc 
-0354 da400356 arg p_mouse_check_no_data_timeout ,regb 
-0355 20203191 branch timer_single_step_2b 
+0379 6fe0c92a fetch 1 ,mem_usb_addr 
+037a c3838000 rtnbit1 7 
+037b da604ab2 arg mem_mouse_no_data_timer ,regc 
+037c da40037e arg p_mouse_check_no_data_timeout ,regb 
+037d 20203191 branch timer_single_step_2b 
 
 p_mouse_check_no_data_timeout:
-0356 6fe0c938 fetch 1 ,mem_device_flag 
-0357 c00001ba beq mode_24g_device ,p_mouse_24g_hibernate_set 
-0358 2020431b branch mouse_disconnect 
+037e 6fe0c938 fetch 1 ,mem_device_flag 
+037f c00001bb beq mode_24g_device ,p_mouse_24g_hibernate_set 
+0380 2020431b branch mouse_disconnect 
 
 p_mouse_stop_discovery:
-0359 58000000 setarg 0 
-035a 67e14ac2 store 2 ,mem_mouse_discovery_timer 
-035b 20204577 branch mouse_stop_discovery + 1 
+0381 58000000 setarg 0 
+0382 67e14ac2 store 2 ,mem_mouse_discovery_timer 
+0383 20204577 branch mouse_stop_discovery + 1 
 
 p_mouse_start_discovery:
-035c 6fe1478c fetch 2 ,mem_ui_state_map 
-035d 2feffe0b isolate1 ui_state_ble_adv ,pdata 
-035e 2040c581 call mouse_stop_le_adv ,true 
-035f 6fe1478c fetch 2 ,mem_ui_state_map 
-0360 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
-0361 2040c322 call mouse_cancel_reconnect ,true 
-0362 58000000 setarg 0 
-0363 67e14af2 store 2 ,mem_le_battery_level_updata_timer 
-0364 20404314 call mouse_bluetooth_fast_conn_disable 
-0365 6fe1478c fetch 2 ,mem_ui_state_map 
-0366 c285836f bbit1 ui_state_ble_adv ,p_mouse_start_discovery_norandom 
-0367 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0368 c304036f bbit0 mouse_enable_ble_random_addre ,p_mouse_start_discovery_norandom 
-0369 68494997 fetcht 2 ,mem_random_addr_increase_count 
-036a 18408401 increase 1 ,temp 
-036b 60494997 storet 2 ,mem_random_addr_increase_count 
-036c 6049437b storet 2 ,mem_le_lap + 1 
-036d 180a7e00 random pdata 
-036e 67e0c37a store 1 ,mem_le_lap 
+0384 6fe1478c fetch 2 ,mem_ui_state_map 
+0385 2feffe0b isolate1 ui_state_ble_adv ,pdata 
+0386 2040c581 call mouse_stop_le_adv ,true 
+0387 6fe1478c fetch 2 ,mem_ui_state_map 
+0388 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
+0389 2040c322 call mouse_cancel_reconnect ,true 
+038a 58000000 setarg 0 
+038b 67e14af2 store 2 ,mem_le_battery_level_updata_timer 
+038c 20404314 call mouse_bluetooth_fast_conn_disable 
+038d 6fe1478c fetch 2 ,mem_ui_state_map 
+038e c2858397 bbit1 ui_state_ble_adv ,p_mouse_start_discovery_norandom 
+038f 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0390 c3040397 bbit0 mouse_enable_ble_random_addre ,p_mouse_start_discovery_norandom 
+0391 68494997 fetcht 2 ,mem_random_addr_increase_count 
+0392 18408401 increase 1 ,temp 
+0393 60494997 storet 2 ,mem_random_addr_increase_count 
+0394 6049437b storet 2 ,mem_le_lap + 1 
+0395 180a7e00 random pdata 
+0396 67e0c37a store 1 ,mem_le_lap 
 
 p_mouse_start_discovery_norandom:
-036f 6fe1cac9 fetch 3 ,mem_mouse_le_lap_temp 
-0370 67e1c37d store 3 ,mem_le_lap + 3 
-0371 20403225 call app_lpm_mult_disable 
-0372 6fe14791 fetch 2 ,mem_discovery_timeout 
-0373 67e14ac2 store 2 ,mem_mouse_discovery_timer 
-0374 7000bd06 jam 6 ,mem_connection_options 
-0375 58000000 setarg 0 
-0376 67e14ab2 store 2 ,mem_mouse_no_data_timer 
-0377 67e0cb77 store 1 ,mem_mouse_direct_timer 
-0378 67e0cac4 store 1 ,mem_mouse_bluetooth_reconnect_timeout 
-0379 67e0cba7 store 1 ,mem_mouse_device_poweron_timer_count 
-037a 67e0caac store 1 ,mem_mouse_clear_sensor_data_flag 
-037b d8e00002 arg mouse_store_eeprom_flag ,queue 
-037c 204046f0 call mouse_enable_function_flag 
-037d 204046e4 call mouse_bt_discovery_button_down_disable 
-037e 6fe0cbb3 fetch 1 ,mem_mouse_bluetooth_type 
-037f 2feffe01 isolate1 mode_4_mouse ,pdata 
-0380 2040c3df call mouse_check_51cmd_adv ,true 
-0381 6fe0cbb3 fetch 1 ,mem_mouse_bluetooth_type 
-0382 2feffe00 isolate1 mode_3_mouse ,pdata 
-0383 2040f8c4 call check_51cmd_start_discovery ,true 
-0384 2040498e call mouse_low_voltage_led_blink_disable 
-0385 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
-0386 243a02d7 nbranch p_mouse_multi_led_blink_enable ,blank 
-0387 202048cc branch mouse_discover_setting_led_gpio 
+0397 6fe1cac9 fetch 3 ,mem_mouse_le_lap_temp 
+0398 67e1c37d store 3 ,mem_le_lap + 3 
+0399 20403225 call app_lpm_mult_disable 
+039a 6fe14791 fetch 2 ,mem_discovery_timeout 
+039b 67e14ac2 store 2 ,mem_mouse_discovery_timer 
+039c 7000bd06 jam 6 ,mem_connection_options 
+039d 58000000 setarg 0 
+039e 67e14ab2 store 2 ,mem_mouse_no_data_timer 
+039f 67e0cb77 store 1 ,mem_mouse_direct_timer 
+03a0 67e0cac4 store 1 ,mem_mouse_bluetooth_reconnect_timeout 
+03a1 67e0cba7 store 1 ,mem_mouse_device_poweron_timer_count 
+03a2 67e0caac store 1 ,mem_mouse_clear_sensor_data_flag 
+03a3 d8e00002 arg mouse_store_eeprom_flag ,queue 
+03a4 204046f0 call mouse_enable_function_flag 
+03a5 204046e4 call mouse_bt_discovery_button_down_disable 
+03a6 6fe0cbb3 fetch 1 ,mem_mouse_bluetooth_type 
+03a7 2feffe01 isolate1 mode_4_mouse ,pdata 
+03a8 2040c3df call mouse_check_51cmd_adv ,true 
+03a9 6fe0cbb3 fetch 1 ,mem_mouse_bluetooth_type 
+03aa 2feffe00 isolate1 mode_3_mouse ,pdata 
+03ab 2040f8c4 call check_51cmd_start_discovery ,true 
+03ac 2040498e call mouse_low_voltage_led_blink_disable 
+03ad 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
+03ae 243a02ff nbranch p_mouse_multi_led_blink_enable ,blank 
+03af 202048cc branch mouse_discover_setting_led_gpio 
 
 p_ui_timer_check:
-0388 6fe0cbe2 fetch 1 ,mem_power_on_flag 
-0389 245a7861 ncall ui_timer_init ,blank 
-038a 704be200 jam 0 ,mem_power_on_flag 
-038b 20207851 branch ui_timer_check + 1 
+03b0 6fe0cbe2 fetch 1 ,mem_power_on_flag 
+03b1 245a7861 ncall ui_timer_init ,blank 
+03b2 704be200 jam 0 ,mem_power_on_flag 
+03b3 20207851 branch ui_timer_check + 1 
 
 p_hid_rx_process:
-038c 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
-038d 1fe20c00 copy pdata ,contr 
-038e efe08006 ifetch 1 ,contr 
-038f 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
-0390 1fe1040f and pdata ,0x0f ,temp 
-0391 1ff1fe00 rshift4 pdata ,pdata 
-0392 c0048394 beq hid_type_set_idle ,p_hid_rx_process_handshake 
-0393 20204d93 branch hid_rx_process + 7 
+03b4 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
+03b5 1fe20c00 copy pdata ,contr 
+03b6 efe08006 ifetch 1 ,contr 
+03b7 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
+03b8 1fe1040f and pdata ,0x0f ,temp 
+03b9 1ff1fe00 rshift4 pdata ,pdata 
+03ba c00483bc beq hid_type_set_idle ,p_hid_rx_process_handshake 
+03bb 20204d93 branch hid_rx_process + 7 
 
 p_hid_rx_process_handshake:
-0394 da200001 arg 1 ,rega 
-0395 20404dc0 call hid_malloc_tx_buff 
-0396 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
-0397 e7e10005 istore 2 ,contw 
-0398 58000000 setarg 0 
-0399 e7e08005 istore 1 ,contw 
-039a 70095001 jam 1 ,mem_ui_data_txbuff_length 
-039b 6fe0c4e2 fetch 1 ,mem_hid_control_state 
-039c 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
-039d 67e0c4e2 store 1 ,mem_hid_control_state 
-039e 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
-039f 20207871 branch ui_ipc_send_event 
+03bc da200001 arg 1 ,rega 
+03bd 20404dc0 call hid_malloc_tx_buff 
+03be 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
+03bf e7e10005 istore 2 ,contw 
+03c0 58000000 setarg 0 
+03c1 e7e08005 istore 1 ,contw 
+03c2 70095001 jam 1 ,mem_ui_data_txbuff_length 
+03c3 6fe0c4e2 fetch 1 ,mem_hid_control_state 
+03c4 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
+03c5 67e0c4e2 store 1 ,mem_hid_control_state 
+03c6 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
+03c7 20207871 branch ui_ipc_send_event 
 
 p_le_slave_match:
-03a0 6fe0c3dd fetch 1 ,mem_le_md_count 
-03a1 1fe0fe01 pincrease 1 
-03a2 67e0c3dd store 1 ,mem_le_md_count 
-03a3 c006165a beq le_md_max_count ,le_slave_cont 
-03a4 2040191b call le_acknowledge 
-03a5 2040196a call le_prepare_tx 
-03a6 6fe082bd fetch 1 ,mem_le_tx_phy 
-03a7 2040168b call le_enable_phy_by_pdata 
-03a8 20401838 call le_transmit 
-03a9 20201655 branch le_slave_match + 10 
+03c8 6fe0c3dd fetch 1 ,mem_le_md_count 
+03c9 1fe0fe01 pincrease 1 
+03ca 67e0c3dd store 1 ,mem_le_md_count 
+03cb c006165a beq le_md_max_count ,le_slave_cont 
+03cc 2040191b call le_acknowledge 
+03cd 2040196a call le_prepare_tx 
+03ce 6fe082bd fetch 1 ,mem_le_tx_phy 
+03cf 2040168b call le_enable_phy_by_pdata 
+03d0 20401838 call le_transmit 
+03d1 20201655 branch le_slave_match + 10 
 
 p_le_parse_l2cap:
-03aa efe10006 ifetch 2 ,contr 
-03ab c00203ad beq le_l2cap_cid_att ,p_le_parse_att 
-03ac 202019e4 branch le_parse_l2cap + 10 
+03d2 efe10006 ifetch 2 ,contr 
+03d3 c00203d5 beq le_l2cap_cid_att ,p_le_parse_att 
+03d4 202019e4 branch le_parse_l2cap + 10 
 
 p_le_parse_att:
-03ad efe18006 ifetch 3 ,contr 
-03ae 67e1c436 store 3 ,mem_le_att_opcode 
-03af c00503b2 beq attop_read_request ,p_le_parse_att_read_request 
-03b0 c00903c1 beq attop_write_request ,p_le_parse_att_write_request 
-03b1 20201cd3 branch le_parse_att + 2 
+03d5 efe18006 ifetch 3 ,contr 
+03d6 67e1c436 store 3 ,mem_le_att_opcode 
+03d7 c00503da beq attop_read_request ,p_le_parse_att_read_request 
+03d8 c00903e9 beq attop_write_request ,p_le_parse_att_write_request 
+03d9 20201cd3 branch le_parse_att + 2 
 
 p_le_parse_att_read_request:
-03b2 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-03b3 c31d9de7 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
-03b4 20401e8d call le_check_encrypt_state 
-03b5 68494437 fetcht 2 ,mem_le_att_handle 
-03b6 6fe0c3c0 fetch 1 ,mem_le_configuration 
-03b7 c28183bc bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
+03da 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+03db c31d9de7 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
+03dc 20401e8d call le_check_encrypt_state 
+03dd 68494437 fetcht 2 ,mem_le_att_handle 
+03de 6fe0c3c0 fetch 1 ,mem_le_configuration 
+03df c28183e4 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
 
 p_le_send_att_read_response:
-03b8 6fe14437 fetch 2 ,mem_le_att_handle 
-03b9 c0181ec8 beq 0x30 ,le_send_att_error_response_notfound 
-03ba 68494437 fetcht 2 ,mem_le_att_handle 
-03bb 20201deb branch le_send_att_read_response 
+03e0 6fe14437 fetch 2 ,mem_le_att_handle 
+03e1 c0181ec8 beq 0x30 ,le_send_att_error_response_notfound 
+03e2 68494437 fetcht 2 ,mem_le_att_handle 
+03e3 20201deb branch le_send_att_read_response 
 
 p_le_send_att_read_response_check_auth:
-03bc 6fe143d1 fetch 2 ,mem_le_pairing_handle 
-03bd 98467c00 isub temp ,null 
-03be 242283b8 nbranch p_le_send_att_read_response ,zero 
-03bf 243403b8 nbranch p_le_send_att_read_response ,user 
-03c0 20201e10 branch le_send_att_read_response_error_insufficient_auth 
+03e4 6fe143d1 fetch 2 ,mem_le_pairing_handle 
+03e5 98467c00 isub temp ,null 
+03e6 242283e0 nbranch p_le_send_att_read_response ,zero 
+03e7 243403e0 nbranch p_le_send_att_read_response ,user 
+03e8 20201e10 branch le_send_att_read_response_error_insufficient_auth 
 
 p_le_parse_att_write_request:
-03c1 18c22200 copy contr ,rega 
-03c2 6fe143d4 fetch 2 ,mem_le_l2cap_size 
-03c3 1fe0a5fd add pdata ,-3 ,regb 
-03c4 20401a25 call le_writeatt_cb 
-03c5 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-03c6 c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
-03c7 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
-03c8 203a1e73 branch le_send_att_write_response_check_auth ,blank 
-03c9 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
-03ca c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
-03cb 5800001a setarg 0x001a 
-03cc 68494437 fetcht 2 ,mem_le_att_handle 
-03cd 98467c00 isub temp ,null 
-03ce 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
-03cf 7002d805 jam att_err_insufficient_authentication ,mem_le_err_code 
-03d0 20201ec9 branch le_send_att_error_response 
+03e9 18c22200 copy contr ,rega 
+03ea 6fe143d4 fetch 2 ,mem_le_l2cap_size 
+03eb 1fe0a5fd add pdata ,-3 ,regb 
+03ec 20401a25 call le_writeatt_cb 
+03ed 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+03ee c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
+03ef 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
+03f0 203a1e73 branch le_send_att_write_response_check_auth ,blank 
+03f1 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
+03f2 c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
+03f3 5800001a setarg 0x001a 
+03f4 68494437 fetcht 2 ,mem_le_att_handle 
+03f5 98467c00 isub temp ,null 
+03f6 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
+03f7 7002d805 jam att_err_insufficient_authentication ,mem_le_err_code 
+03f8 20201ec9 branch le_send_att_error_response 
 
 p_g24_lpm_wait:
-03d1 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
-03d2 245a26e1 ncall g24_transmit_by_interrupt_enable ,blank 
-03d3 78347c00 enable user 
-03d4 20401465 call lpo_calibration 
-03d5 6fe1c174 fetch 3 ,mem_clks_per_lpo 
-03d6 203a7e56 branch disable_user ,blank 
-03d7 6fe0c099 fetch 1 ,mem_lpm_mode 
-03d8 203a7e56 branch disable_user ,blank 
-03d9 202026c4 branch g24_setgpio_lpm_before 
+03f9 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
+03fa 245a26e1 ncall g24_transmit_by_interrupt_enable ,blank 
+03fb 78347c00 enable user 
+03fc 20401465 call lpo_calibration 
+03fd 6fe1c174 fetch 3 ,mem_clks_per_lpo 
+03fe 203a7e56 branch disable_user ,blank 
+03ff 6fe0c099 fetch 1 ,mem_lpm_mode 
+0400 203a7e56 branch disable_user ,blank 
+0401 202026c4 branch g24_setgpio_lpm_before 
 
 p_mouse_motion:
-03da 78547c00 disable user 
-03db 58000000 setarg 0 
-03dc 67e348d1 store 6 ,mem_mouse_x 
-03dd 20404240 call mouse_check_sensor_data 
-03de 2040408e call mouse_dpi_config 
-03df 20403f7e call mouse_zwheel 
-03e0 20403f83 call mouse_t_zwheel 
-03e1 20400405 call p_mouse_key 
-03e2 6fe0c8d0 fetch 1 ,mem_mouse_key 
-03e3 1fe17e1f and_into 0x1f ,pdata 
-03e4 67e0c8d0 store 1 ,mem_mouse_key 
-03e5 24344728 nbranch mouse_drawing_optima_init ,user 
-03e6 204003e8 call p_mouse_drawing_optima 
-03e7 20204544 branch mouse_no_data_timer_init 
+0402 78547c00 disable user 
+0403 58000000 setarg 0 
+0404 67e348d1 store 6 ,mem_mouse_x 
+0405 2040042c call p_mouse_check_sensor_data 
+0406 20400431 call p_mouse_data_zoom 
+0407 204002a4 call p_mouse_seting_sensor_type 
+0408 20403f7e call mouse_zwheel 
+0409 20403f83 call mouse_t_zwheel 
+040a 20400468 call p_mouse_key 
+040b 6fe0c8d0 fetch 1 ,mem_mouse_key 
+040c 1fe17e1f and_into 0x1f ,pdata 
+040d 67e0c8d0 store 1 ,mem_mouse_key 
+040e 24344728 nbranch mouse_drawing_optima_init ,user 
+040f 20400411 call p_mouse_drawing_optima 
+0410 20204544 branch mouse_no_data_timer_init 
 
 p_mouse_drawing_optima:
-03e8 6fe0c927 fetch 1 ,mem_config_sensor_type 
-03e9 c1018000 rtneq p3212 
-03ea 2020471a branch mouse_drawing_optima 
+0411 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0412 c1018000 rtneq p3212 
+0413 2020471a branch mouse_drawing_optima 
+
+p_mouse_init_sunt:
+0414 20403f65 call mouse_sensor_spi_init 
+0415 20758000 rtn wake 
+
+p_mouse_init_sensor_wakeup:
+0416 2040044e call p_mouse_sensor_poweron 
+
+p_mouse_init_sensor:
+0417 204041b5 call mouse_read_sensor_id 
+0418 c018041e beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
+0419 c018c217 beq p3065_id1 ,mouse_init_p3065 
+041a c02c4220 beq pka8g2_id1 ,mouse_ka8g2_id2_judge 
+041b 204041b2 call mouse_twspi_reset 
+041c 20001af4 nop 6900 
+041d 20200417 branch p_mouse_init_sensor 
+
+p_mouse_init_p32xx_id2_judge:
+041e 6fe0c9c2 fetch 1 ,mem_sensor_id2 
+041f c02d0421 beq p_mx8650 ,p_mouse_sensor_read_id3 
+0420 202041be branch mouse_init_p32xx_id2_judge + 2 
+
+p_mouse_sensor_read_id3:
+0421 5800007a setarg 0x7a 
+0422 20405b0d call twspi_read 
+0423 c0610425 beq 0xc2 ,p_mouse_sg8670_parm_init 
+0424 202041c5 branch mouse_mx8650_init_param 
+
+p_mouse_sg8670_parm_init:
+0425 7049270c jam sg8670 ,mem_config_sensor_type 
+0426 58008006 setarg 0x8006 
+0427 20405b0c call twspi_write 
+0428 20407d12 call delay_10ms 
+0429 da604d53 arg mem_sensor_sg8670_init ,regc 
+042a 2040422b call mouse_sensor_wr_seq 
+042b 202002a4 branch p_mouse_seting_sensor_type 
+
+p_mouse_check_sensor_data:
+042c 6fe0c4ac fetch 1 ,mem_spi_write_flash_sm 
+042d c1800000 rtnne flash_sm_no_buys 
+042e 6fe0c927 fetch 1 ,mem_config_sensor_type 
+042f c0064270 beq sg8670 ,mouse_p3212_sensor_motion 
+0430 20204243 branch mouse_check_sensor_data + 3 
+
+p_mouse_data_zoom:
+0431 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0432 c1860000 rtnne sg8670 
+0433 6fe0c992 fetch 1 ,mem_mouse_dpi 
+0434 c1818000 rtnne mouse_dpi_level4 
+0435 6fe148d1 fetch 2 ,mem_mouse_x 
+0436 2040043c call p_mouse_2400_3200_zoom 
+0437 67e148d1 store 2 ,mem_mouse_x 
+0438 6fe148d3 fetch 2 ,mem_mouse_y 
+0439 2040043c call p_mouse_2400_3200_zoom 
+043a 67e148d3 store 2 ,mem_mouse_y 
+043b 20600000 rtn 
+
+p_mouse_2400_3200_zoom:
+043c c285843f bbit1 11 ,p_mouse_xy_inverse 
+043d c3058443 bbit0 11 ,p_mouse_xy_zoom 
+043e 20600000 rtn 
+
+p_mouse_xy_inverse:
+043f 1fe67e00 sub pdata ,0 ,pdata 
+0440 20400443 call p_mouse_xy_zoom 
+0441 1fe67e00 sub pdata ,0 ,pdata 
+0442 20600000 rtn 
+
+p_mouse_xy_zoom:
+0443 1fe20400 copy pdata ,temp 
+0444 9840fe00 iadd temp ,pdata 
+0445 67e14dbf store 2 ,mem_mouse_temp_data 
+0446 6fe0cdc0 fetch 1 ,mem_mouse_temp_data + 1 
+0447 1fe67c07 sub pdata ,0x7 ,null 
+0448 2441044b ncall p_mouse_xy_forward_overflow ,positive 
+0449 6fe14dbf fetch 2 ,mem_mouse_temp_data 
+044a 20600000 rtn 
+
+p_mouse_xy_forward_overflow:
+044b 580007ff setarg 0x7ff 
+044c 67e14dbf store 2 ,mem_mouse_temp_data 
+044d 20600000 rtn 
 
 p_mouse_sensor_poweron:
-03eb 20403f65 call mouse_sensor_spi_init 
-03ec 6fe0c927 fetch 1 ,mem_config_sensor_type 
-03ed c00583f2 beq ka8g2 ,p_mouse_ka8g2_sensor_init 
-03ee 20404232 call mouse_sensor_reset 
-03ef da604aa3 arg mem_sensor_poweron_init ,regc 
-03f0 2040422b call mouse_sensor_wr_seq 
-03f1 2020408e branch mouse_dpi_config 
+044e 20403f65 call mouse_sensor_spi_init 
+044f 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0450 c0058454 beq ka8g2 ,p_mouse_ka8g2_sensor_init 
+0451 20404232 call mouse_sensor_reset 
+0452 da604aa3 arg mem_sensor_poweron_init ,regc 
+0453 20200457 branch p_mouse_sensor_end 
 
 p_mouse_ka8g2_sensor_init:
-03f2 204003f9 call p_mouse_ka8g2_sensor_reset 
-03f3 da604be3 arg mem_ka8g2_sensor_poweron_init ,regc 
-03f4 2040422b call mouse_sensor_wr_seq 
-03f5 2020408e branch mouse_dpi_config 
+0454 2040045c call p_mouse_ka8g2_sensor_reset 
+0455 da604be3 arg mem_ka8g2_sensor_poweron_init ,regc 
+0456 2040422b call mouse_sensor_wr_seq 
+
+p_mouse_sensor_end:
+0457 2040422b call mouse_sensor_wr_seq 
+0458 202002a4 branch p_mouse_seting_sensor_type 
 
 p_mouse_sensor_reset:
-03f6 6fe0c927 fetch 1 ,mem_config_sensor_type 
-03f7 c00583f9 beq ka8g2 ,p_mouse_ka8g2_sensor_reset 
-03f8 20204232 branch mouse_sensor_reset 
+0459 6fe0c927 fetch 1 ,mem_config_sensor_type 
+045a c005845c beq ka8g2 ,p_mouse_ka8g2_sensor_reset 
+045b 20204232 branch mouse_sensor_reset 
 
 p_mouse_ka8g2_sensor_reset:
-03f9 58009706 setarg 0x9706 
-03fa 20405b0c call twspi_write 
-03fb 20002ee0 nop 12000 
-03fc 20600000 rtn 
+045c 58009706 setarg 0x9706 
+045d 20405b0c call twspi_write 
+045e 20002ee0 nop 12000 
+045f 20600000 rtn 
 
 p_mouse_sensor_powerdown:
-03fd 204041a7 call mouse_init_sunt 
-03fe 20403f65 call mouse_sensor_spi_init 
-03ff 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0400 c0058403 beq ka8g2 ,p_mouse_ka8g2_sensor_powerdown 
-0401 58000806 setarg 0x0806 
-0402 20205b0c branch twspi_write 
+0460 204041a7 call mouse_init_sunt 
+0461 20403f65 call mouse_sensor_spi_init 
+0462 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0463 c0058466 beq ka8g2 ,p_mouse_ka8g2_sensor_powerdown 
+0464 58000806 setarg 0x0806 
+0465 20205b0c branch twspi_write 
 
 p_mouse_ka8g2_sensor_powerdown:
-0403 58001f06 setarg 0x1f06 
-0404 20205b0c branch twspi_write 
+0466 58001f06 setarg 0x1f06 
+0467 20205b0c branch twspi_write 
 
 p_mouse_key:
-0405 20400443 call p_mouse_check_firekey_gpio 
-0406 6fe0cc37 fetch 1 ,mem_fire_key_flag 
-0407 243a045a nbranch p_fire_key_press ,blank 
-0408 6fe0cc32 fetch 1 ,mem_fire_key_status 
-0409 243a0459 nbranch p_fire_key_process ,blank 
-040a 2040040c call p_mouse_check_key_gpio 
-040b 202040dd branch mouse_key + 1 
+0468 204004a6 call p_mouse_check_firekey_gpio 
+0469 6fe0cc37 fetch 1 ,mem_fire_key_flag 
+046a 243a04bd nbranch p_fire_key_press ,blank 
+046b 6fe0cc32 fetch 1 ,mem_fire_key_status 
+046c 243a04bc nbranch p_fire_key_process ,blank 
+046d 2040046f call p_mouse_check_key_gpio 
+046e 202040dd branch mouse_key + 1 
 
 p_mouse_check_key_gpio:
-040c 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-040d 245a4121 ncall mouse_check_key_gpio_once ,blank 
-040e da200000 arg 0 ,rega 
-040f 20400416 call p_mouse_check_lkey_gpio 
-0410 2040041b call p_mouse_check_rkey_gpio 
-0411 20400420 call p_mouse_check_mkey_gpio 
-0412 20400425 call p_mouse_check_bkkey_gpio 
-0413 20400432 call p_mouse_check_fwkey_gpio 
-0414 20400443 call p_mouse_check_firekey_gpio 
-0415 2020411e branch mouse_check_key_gpio_next 
+046f 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+0470 245a4121 ncall mouse_check_key_gpio_once ,blank 
+0471 da200000 arg 0 ,rega 
+0472 20400479 call p_mouse_check_lkey_gpio 
+0473 2040047e call p_mouse_check_rkey_gpio 
+0474 20400483 call p_mouse_check_mkey_gpio 
+0475 20400488 call p_mouse_check_bkkey_gpio 
+0476 20400495 call p_mouse_check_fwkey_gpio 
+0477 204004a6 call p_mouse_check_firekey_gpio 
+0478 2020411e branch mouse_check_key_gpio_next 
 
 p_mouse_check_lkey_gpio:
-0416 6fe0c918 fetch 1 ,mem_lbutton_gpio 
-0417 2040043f call p_mouse_gpio_config_output_high 
-0418 20404124 call mouse_check_lkey_gpio 
-0419 6848c918 fetcht 1 ,mem_lbutton_gpio 
-041a 20203f56 branch mouse_gpio_config_input_pu 
+0479 6fe0c918 fetch 1 ,mem_lbutton_gpio 
+047a 204004a2 call p_mouse_gpio_config_output_high 
+047b 20404124 call mouse_check_lkey_gpio 
+047c 6848c918 fetcht 1 ,mem_lbutton_gpio 
+047d 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_rkey_gpio:
-041b 6fe0c919 fetch 1 ,mem_rbutton_gpio 
-041c 2040043f call p_mouse_gpio_config_output_high 
-041d 2040412a call mouse_check_rkey_gpio 
-041e 6848c919 fetcht 1 ,mem_rbutton_gpio 
-041f 20203f56 branch mouse_gpio_config_input_pu 
+047e 6fe0c919 fetch 1 ,mem_rbutton_gpio 
+047f 204004a2 call p_mouse_gpio_config_output_high 
+0480 2040412a call mouse_check_rkey_gpio 
+0481 6848c919 fetcht 1 ,mem_rbutton_gpio 
+0482 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_mkey_gpio:
-0420 6fe0c91a fetch 1 ,mem_mbutton_gpio 
-0421 2040043f call p_mouse_gpio_config_output_high 
-0422 20404130 call mouse_check_mkey_gpio 
-0423 6848c91a fetcht 1 ,mem_mbutton_gpio 
-0424 20203f56 branch mouse_gpio_config_input_pu 
+0483 6fe0c91a fetch 1 ,mem_mbutton_gpio 
+0484 204004a2 call p_mouse_gpio_config_output_high 
+0485 20404130 call mouse_check_mkey_gpio 
+0486 6848c91a fetcht 1 ,mem_mbutton_gpio 
+0487 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_bkkey_gpio:
-0425 6fe0c90d fetch 1 ,mem_bk_button_gpio 
-0426 c17f8000 rtneq gpio_disable 
-0427 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
-0428 6fe0cb91 fetch 1 ,mem_mouse_bkkey_press_status 
-0429 1fe22600 copy pdata ,regc 
-042a 6848c90d fetcht 1 ,mem_bk_button_gpio 
-042b 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-042c c07f842e beq gpio_disable ,p_mouse_3io6key_bk_check 
-042d 2020413e branch mouse_check_bkkey_gpio_next 
+0488 6fe0c90d fetch 1 ,mem_bk_button_gpio 
+0489 c17f8000 rtneq gpio_disable 
+048a 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
+048b 6fe0cb91 fetch 1 ,mem_mouse_bkkey_press_status 
+048c 1fe22600 copy pdata ,regc 
+048d 6848c90d fetcht 1 ,mem_bk_button_gpio 
+048e 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+048f c07f8491 beq gpio_disable ,p_mouse_3io6key_bk_check 
+0490 2020413e branch mouse_check_bkkey_gpio_next 
 
 p_mouse_3io6key_bk_check:
-042e 6fe0c90d fetch 1 ,mem_bk_button_gpio 
-042f 20400441 call p_mouse_gpio_config_output_low 
-0430 6848c90d fetcht 1 ,mem_bk_button_gpio 
-0431 2020414b branch mouse_3io6key_bk_check 
+0491 6fe0c90d fetch 1 ,mem_bk_button_gpio 
+0492 204004a4 call p_mouse_gpio_config_output_low 
+0493 6848c90d fetcht 1 ,mem_bk_button_gpio 
+0494 2020414b branch mouse_3io6key_bk_check 
 
 p_mouse_check_fwkey_gpio:
-0432 6fe0c90e fetch 1 ,mem_fw_button_gpio 
-0433 c17f8000 rtneq gpio_disable 
-0434 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
-0435 6fe0cb92 fetch 1 ,mem_mouse_fwkey_press_status 
-0436 1fe22600 copy pdata ,regc 
-0437 6848c90e fetcht 1 ,mem_fw_button_gpio 
-0438 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-0439 c07f843b beq gpio_disable ,p_mouse_3io6key_fw_check 
-043a 20204157 branch mouse_check_fwkey_gpio_next 
+0495 6fe0c90e fetch 1 ,mem_fw_button_gpio 
+0496 c17f8000 rtneq gpio_disable 
+0497 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
+0498 6fe0cb92 fetch 1 ,mem_mouse_fwkey_press_status 
+0499 1fe22600 copy pdata ,regc 
+049a 6848c90e fetcht 1 ,mem_fw_button_gpio 
+049b 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+049c c07f849e beq gpio_disable ,p_mouse_3io6key_fw_check 
+049d 20204157 branch mouse_check_fwkey_gpio_next 
 
 p_mouse_3io6key_fw_check:
-043b 6fe0c90e fetch 1 ,mem_fw_button_gpio 
-043c 20400441 call p_mouse_gpio_config_output_low 
-043d 6848c90e fetcht 1 ,mem_fw_button_gpio 
-043e 20204164 branch mouse_3io6key_fw_check 
+049e 6fe0c90e fetch 1 ,mem_fw_button_gpio 
+049f 204004a4 call p_mouse_gpio_config_output_low 
+04a0 6848c90e fetcht 1 ,mem_fw_button_gpio 
+04a1 20204164 branch mouse_3io6key_fw_check 
 
 p_mouse_gpio_config_output_high:
-043f d840003f arg gpcfg_output_high ,temp 
-0440 20206093 branch gpio_config_function_int 
+04a2 d840003f arg gpcfg_output_high ,temp 
+04a3 20206093 branch gpio_config_function_int 
 
 p_mouse_gpio_config_output_low:
-0441 d840003e arg gpcfg_output_low ,temp 
-0442 20206093 branch gpio_config_function_int 
+04a4 d840003e arg gpcfg_output_low ,temp 
+04a5 20206093 branch gpio_config_function_int 
 
 p_mouse_check_firekey_gpio:
-0443 da400000 arg 0 ,regb 
-0444 6fe0cc38 fetch 1 ,mem_firebutton_gpio 
-0445 c17f8000 rtneq gpio_disable 
-0446 6fe0cc39 fetch 1 ,mem_mouse_firebutton_connect_vin_flag 
-0447 243a0450 nbranch p_mouse_check_firekey_connect_vin ,blank 
+04a6 da400000 arg 0 ,regb 
+04a7 6fe0cc38 fetch 1 ,mem_firebutton_gpio 
+04a8 c17f8000 rtneq gpio_disable 
+04a9 6fe0cc39 fetch 1 ,mem_mouse_firebutton_connect_vin_flag 
+04aa 243a04b3 nbranch p_mouse_check_firekey_connect_vin ,blank 
 
 p_mouse_check_firekey_connect_gnd:
-0448 6848cc38 fetcht 1 ,mem_firebutton_gpio 
-0449 20403f56 call mouse_gpio_config_input_pu 
-044a 6848cc38 fetcht 1 ,mem_firebutton_gpio 
-044b 20406059 call gpio_get_bit 
-044c 7920a400 setflag true ,0 ,regb 
+04ab 6848cc38 fetcht 1 ,mem_firebutton_gpio 
+04ac 20403f56 call mouse_gpio_config_input_pu 
+04ad 6848cc38 fetcht 1 ,mem_firebutton_gpio 
+04ae 20406059 call gpio_get_bit 
+04af 7920a400 setflag true ,0 ,regb 
 
 p_mouse_firekey_state_store:
-044d 1a427e00 copy regb ,pdata 
-044e 67e0cc37 store 1 ,mem_fire_key_flag 
-044f 20600000 rtn 
+04b0 1a427e00 copy regb ,pdata 
+04b1 67e0cc37 store 1 ,mem_fire_key_flag 
+04b2 20600000 rtn 
 
 p_mouse_check_firekey_connect_vin:
-0450 6fe0cc38 fetch 1 ,mem_firebutton_gpio 
-0451 793ffe07 set0 gpio_active_bit ,pdata 
-0452 67e0cc38 store 1 ,mem_firebutton_gpio 
-0453 6848cc38 fetcht 1 ,mem_firebutton_gpio 
-0454 20403f54 call mouse_gpio_config_input_pd 
-0455 6848cc38 fetcht 1 ,mem_firebutton_gpio 
-0456 20406059 call gpio_get_bit 
-0457 7d20a400 nsetflag true ,0 ,regb 
-0458 2020044d branch p_mouse_firekey_state_store 
+04b3 6fe0cc38 fetch 1 ,mem_firebutton_gpio 
+04b4 793ffe07 set0 gpio_active_bit ,pdata 
+04b5 67e0cc38 store 1 ,mem_firebutton_gpio 
+04b6 6848cc38 fetcht 1 ,mem_firebutton_gpio 
+04b7 20403f54 call mouse_gpio_config_input_pd 
+04b8 6848cc38 fetcht 1 ,mem_firebutton_gpio 
+04b9 20406059 call gpio_get_bit 
+04ba 7d20a400 nsetflag true ,0 ,regb 
+04bb 202004b0 branch p_mouse_firekey_state_store 
 
 p_fire_key_process:
-0459 c0020474 beq 4 ,p_fire_key_process_end 
+04bc c00204d7 beq 4 ,p_fire_key_process_end 
 
 p_fire_key_press:
-045a 20400477 call p_firekey_clkn_bt_timer_check 
-045b 6fe24c33 fetch 4 ,mem_fire_key_delay 
-045c d84000a0 arg 0xa0 ,temp 
-045d 98408400 iadd temp ,temp 
-045e 1c427e00 copy clkn_bt ,pdata 
-045f 98467c00 isub temp ,null 
-0460 24610000 nrtn positive 
-0461 67e24c33 store 4 ,mem_fire_key_delay 
-0462 6fe0cc32 fetch 1 ,mem_fire_key_status 
-0463 c0000468 beq 0 ,p_fire_key_process_start 
-0464 c000846b beq 1 ,p_fire_key_process_release1 
-0465 c001046e beq 2 ,p_fire_key_process_start2 
-0466 c0018471 beq 3 ,p_fire_key_process_release2 
-0467 20600000 rtn 
+04bd 204004da call p_firekey_clkn_bt_timer_check 
+04be 6fe24c33 fetch 4 ,mem_fire_key_delay 
+04bf d84000a0 arg 0xa0 ,temp 
+04c0 98408400 iadd temp ,temp 
+04c1 1c427e00 copy clkn_bt ,pdata 
+04c2 98467c00 isub temp ,null 
+04c3 24610000 nrtn positive 
+04c4 67e24c33 store 4 ,mem_fire_key_delay 
+04c5 6fe0cc32 fetch 1 ,mem_fire_key_status 
+04c6 c00004cb beq 0 ,p_fire_key_process_start 
+04c7 c00084ce beq 1 ,p_fire_key_process_release1 
+04c8 c00104d1 beq 2 ,p_fire_key_process_start2 
+04c9 c00184d4 beq 3 ,p_fire_key_process_release2 
+04ca 20600000 rtn 
 
 p_fire_key_process_start:
-0468 704c3201 jam 1 ,mem_fire_key_status 
-0469 7048d001 jam 1 ,mem_mouse_key 
-046a 20207e54 branch enable_user 
+04cb 704c3201 jam 1 ,mem_fire_key_status 
+04cc 7048d001 jam 1 ,mem_mouse_key 
+04cd 20207e54 branch enable_user 
 
 p_fire_key_process_release1:
-046b 704c3202 jam 2 ,mem_fire_key_status 
-046c 7048d000 jam 0 ,mem_mouse_key 
-046d 20207e54 branch enable_user 
+04ce 704c3202 jam 2 ,mem_fire_key_status 
+04cf 7048d000 jam 0 ,mem_mouse_key 
+04d0 20207e54 branch enable_user 
 
 p_fire_key_process_start2:
-046e 704c3203 jam 3 ,mem_fire_key_status 
-046f 7048d001 jam 1 ,mem_mouse_key 
-0470 20207e54 branch enable_user 
+04d1 704c3203 jam 3 ,mem_fire_key_status 
+04d2 7048d001 jam 1 ,mem_mouse_key 
+04d3 20207e54 branch enable_user 
 
 p_fire_key_process_release2:
-0471 704c3200 jam 0 ,mem_fire_key_status 
-0472 7048d000 jam 0 ,mem_mouse_key 
-0473 20207e54 branch enable_user 
+04d4 704c3200 jam 0 ,mem_fire_key_status 
+04d5 7048d000 jam 0 ,mem_mouse_key 
+04d6 20207e54 branch enable_user 
 
 p_fire_key_process_end:
-0474 704c3200 jam 0 ,mem_fire_key_status 
-0475 7048d000 jam 0 ,mem_mouse_key 
-0476 20600000 rtn 
+04d7 704c3200 jam 0 ,mem_fire_key_status 
+04d8 7048d000 jam 0 ,mem_mouse_key 
+04d9 20600000 rtn 
 
 p_firekey_clkn_bt_timer_check:
-0477 684a4c33 fetcht 4 ,mem_fire_key_delay 
-0478 1c427e00 copy clkn_bt ,pdata 
-0479 98467c00 isub temp ,null 
-047a 2441047c ncall p_firekey_clkn_bt_timer_timeout ,positive 
-047b 20600000 rtn 
+04da 684a4c33 fetcht 4 ,mem_fire_key_delay 
+04db 1c427e00 copy clkn_bt ,pdata 
+04dc 98467c00 isub temp ,null 
+04dd 244104df ncall p_firekey_clkn_bt_timer_timeout ,positive 
+04de 20600000 rtn 
 
 p_firekey_clkn_bt_timer_timeout:
-047c 58000000 setarg 0 
-047d 67e24c33 store 4 ,mem_fire_key_delay 
-047e 20600000 rtn 
+04df 58000000 setarg 0 
+04e0 67e24c33 store 4 ,mem_fire_key_delay 
+04e1 20600000 rtn 
 
 p_mouse_idle:
-047f 20404990 call mouse_low_voltage_led_no_enter_lpm 
-0480 20407936 call ui_check_paring_button 
-0481 2040049a call p_mouse_dpi_check 
-0482 204004ae call p_mouse_dpi_another_gpio_check 
-0483 20404655 call mouse_select_device_check 
-0484 20400486 call p_mouse_check_select_device_by_switch 
-0485 20204651 branch mouse_idle + 6 
+04e2 20404990 call mouse_low_voltage_led_no_enter_lpm 
+04e3 20407936 call ui_check_paring_button 
+04e4 204004e9 call p_mouse_30ms_event_timer 
+04e5 20400518 call p_mouse_dpi_another_gpio_check 
+04e6 20404655 call mouse_select_device_check 
+04e7 204004f0 call p_mouse_check_select_device_by_switch 
+04e8 20204651 branch mouse_idle + 6 
+
+p_mouse_30ms_event_timer:
+04e9 d8e0000d arg 13 ,queue 
+04ea 20407d74 call timer_check 
+04eb 247a0000 nrtn blank 
+04ec 20400504 call p_mouse_dpi_check 
+
+p_mouse_30ms_event_timer_init:
+04ed d8e0000d arg 13 ,queue 
+04ee 5800001e setarg 30 
+04ef 20207d66 branch timer_init 
 
 p_mouse_check_select_device_by_switch:
-0486 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0487 c4150000 rtnbit0 mouse_enable_select_device_by_switch_gpio 
-0488 6848c91e fetcht 1 ,mem_device_switch_gpio 
-0489 20403f56 call mouse_gpio_config_input_pu 
-048a 6848c91e fetcht 1 ,mem_device_switch_gpio 
-048b 20406059 call gpio_get_bit 
-048c 20208493 branch p_mouse_check_select_24g_device ,true 
+04f0 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+04f1 c4150000 rtnbit0 mouse_enable_select_device_by_switch_gpio 
+04f2 6848c91e fetcht 1 ,mem_device_switch_gpio 
+04f3 20403f56 call mouse_gpio_config_input_pu 
+04f4 6848c91e fetcht 1 ,mem_device_switch_gpio 
+04f5 20406059 call gpio_get_bit 
+04f6 202084fd branch p_mouse_check_select_24g_device ,true 
 
 p_mouse_select_btdevice:
-048d 6fe0c938 fetch 1 ,mem_device_flag 
-048e c1008000 rtneq mode_bt_device1 
-048f 70493801 jam mode_bt_device1 ,mem_device_flag 
+04f7 6fe0c938 fetch 1 ,mem_device_flag 
+04f8 c1008000 rtneq mode_bt_device1 
+04f9 70493801 jam mode_bt_device1 ,mem_device_flag 
 
 p_mouse_select_device:
-0490 2040463f call mouse_store_eeprom_device_info 
-0491 20407d12 call delay_10ms 
-0492 202046c0 branch mouse_soft_reset 
+04fa 2040463f call mouse_store_eeprom_device_info 
+04fb 20407d12 call delay_10ms 
+04fc 202046c0 branch mouse_soft_reset 
 
 p_mouse_check_select_24g_device:
-0493 6fe0c938 fetch 1 ,mem_device_flag 
-0494 c1000000 rtneq mode_24g_device 
-0495 70493800 jam mode_24g_device ,mem_device_flag 
-0496 7041ca00 jam 0 ,mem_link_key_exists 
-0497 20404316 call mouse_stop_bluetooth_mode 
-0498 20403173 call app_evt_button_long_pressed 
-0499 20200490 branch p_mouse_select_device 
+04fd 6fe0c938 fetch 1 ,mem_device_flag 
+04fe c1000000 rtneq mode_24g_device 
+04ff 70493800 jam mode_24g_device ,mem_device_flag 
+0500 7041ca00 jam 0 ,mem_link_key_exists 
+0501 20404316 call mouse_stop_bluetooth_mode 
+0502 20403173 call app_evt_button_long_pressed 
+0503 202004fa branch p_mouse_select_device 
 
 p_mouse_dpi_check:
-049a 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-049b c2974036 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
-049c 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
-049d c17f8000 rtneq gpio_disable 
-049e da200000 arg 0 ,rega 
-049f 704b9605 jam mouse_dpi_key ,mem_mouse_key_temp 
-04a0 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-04a1 204004a3 call p_mouse_dpi_key_check 
-04a2 2020402f branch mouse_dpi_check_next 
+0504 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0505 c2974036 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
+0506 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
+0507 c17f8000 rtneq gpio_disable 
+0508 da200000 arg 0 ,rega 
+0509 704b9605 jam mouse_dpi_key ,mem_mouse_key_temp 
+050a 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+050b 2040050d call p_mouse_dpi_key_check 
+050c 2020402f branch mouse_dpi_check_next 
 
 p_mouse_dpi_key_check:
-04a3 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-04a4 c2964048 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
-04a5 6fe0cb93 fetch 1 ,mem_mouse_dpikey_press_status 
-04a6 1fe22600 copy pdata ,regc 
-04a7 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-04a8 c07f84aa beq gpio_disable ,p_mouse_3io6key_dpi_check 
-04a9 2020403f branch mouse_dpi_key_check_next 
+050d 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+050e c2964048 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
+050f 6fe0cb93 fetch 1 ,mem_mouse_dpikey_press_status 
+0510 1fe22600 copy pdata ,regc 
+0511 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+0512 c07f8514 beq gpio_disable ,p_mouse_3io6key_dpi_check 
+0513 2020403f branch mouse_dpi_key_check_next 
 
 p_mouse_3io6key_dpi_check:
-04aa 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
-04ab 20400441 call p_mouse_gpio_config_output_low 
-04ac 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-04ad 20204195 branch mouse_3io6key_check 
+0514 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
+0515 204004a4 call p_mouse_gpio_config_output_low 
+0516 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+0517 20204195 branch mouse_3io6key_check 
 
 p_mouse_dpi_another_gpio_check:
-04ae 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-04af c41e8000 rtnbit0 mouse_enable_double_dpi_key 
-04b0 6fe0cc3a fetch 1 ,mem_mouse_another_dpi_connect_vin_flag 
-04b1 243a04b7 nbranch p_mouse_dpi_another_gpio_connect_vin_check ,blank 
+0518 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0519 c41e8000 rtnbit0 mouse_enable_double_dpi_key 
+051a 6fe0cc3a fetch 1 ,mem_mouse_another_dpi_connect_vin_flag 
+051b 243a0521 nbranch p_mouse_dpi_another_gpio_connect_vin_check ,blank 
 
 p_mouse_dpi_another_gpio_connect_gnd_check:
-04b2 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
-04b3 2040043f call p_mouse_gpio_config_output_high 
-04b4 204004c8 call p_mouse_dpi_another_check 
-04b5 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-04b6 20203f56 branch mouse_gpio_config_input_pu 
+051c 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
+051d 204004a2 call p_mouse_gpio_config_output_high 
+051e 20400532 call p_mouse_dpi_another_check 
+051f 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+0520 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_dpi_another_gpio_connect_vin_check:
-04b7 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
-04b8 793ffe07 set0 gpio_active_bit ,pdata 
-04b9 67e0cc3b store 1 ,mem_dpi_another_button_gpio 
-04ba 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
-04bb 20400441 call p_mouse_gpio_config_output_low 
-04bc 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
-04bd 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-04be 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
-04bf 204004e1 call p_mouse_check_key_connect_vin_new 
-04c0 204004cc call p_mouse_dpi_another_state_check 
-04c1 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-04c2 20203f56 branch mouse_gpio_config_input_pu 
+0521 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
+0522 793ffe07 set0 gpio_active_bit ,pdata 
+0523 67e0cc3b store 1 ,mem_dpi_another_button_gpio 
+0524 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
+0525 204004a4 call p_mouse_gpio_config_output_low 
+0526 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
+0527 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+0528 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
+0529 2040054b call p_mouse_check_key_connect_vin_new 
+052a 20400536 call p_mouse_dpi_another_state_check 
+052b 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+052c 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_dpi_another_down_new:
-04c3 20403f56 call mouse_gpio_config_input_pu 
-04c4 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
-04c5 c1008000 rtneq dpi_button_state_down 
-04c6 704c3d01 jam dpi_button_state_down ,mem_dpi_another_button_state 
-04c7 20204069 branch mouse_dpi_process 
+052d 20403f56 call mouse_gpio_config_input_pu 
+052e 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
+052f c1008000 rtneq dpi_button_state_down 
+0530 704c3d01 jam dpi_button_state_down ,mem_dpi_another_button_state 
+0531 20204069 branch mouse_dpi_process 
 
 p_mouse_dpi_another_check:
-04c8 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
-04c9 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-04ca 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
-04cb 204004d7 call p_mouse_check_key_connect_gnd_new 
+0532 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
+0533 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+0534 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
+0535 20400541 call p_mouse_check_key_connect_gnd_new 
 
 p_mouse_dpi_another_state_check:
-04cc 67e0cc3c store 1 ,mem_dpi_another_press_status 
-04cd 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
-04ce 203a04d3 branch p_mouse_dpi_another_up ,blank 
+0536 67e0cc3c store 1 ,mem_dpi_another_press_status 
+0537 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
+0538 203a053d branch p_mouse_dpi_another_up ,blank 
 
 p_mouse_dpi_another_down:
-04cf 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
-04d0 c1008000 rtneq dpi_button_state_down 
-04d1 704c3d01 jam dpi_button_state_down ,mem_dpi_another_button_state 
-04d2 20204069 branch mouse_dpi_process 
+0539 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
+053a c1008000 rtneq dpi_button_state_down 
+053b 704c3d01 jam dpi_button_state_down ,mem_dpi_another_button_state 
+053c 20204069 branch mouse_dpi_process 
 
 p_mouse_dpi_another_up:
-04d3 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
-04d4 c1000000 rtneq dpi_button_state_up 
-04d5 704c3d00 jam dpi_button_state_up ,mem_dpi_another_button_state 
-04d6 20600000 rtn 
+053d 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
+053e c1000000 rtneq dpi_button_state_up 
+053f 704c3d00 jam dpi_button_state_up ,mem_dpi_another_button_state 
+0540 20600000 rtn 
 
 p_mouse_check_key_connect_gnd_new:
-04d7 1fe3fe00 lshift pdata ,pdata 
-04d8 1fe22400 copy pdata ,regb 
-04d9 20406059 call gpio_get_bit 
-04da 7920a400 setflag true ,0 ,regb 
-04db 1a417e07 and regb ,0x07 ,pdata 
-04dc 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
-04dd 18420e00 copy temp ,queue 
-04de c00384ec beq 0x07 ,p_mouse_key_press 
-04df c00004ee beq 0x00 ,p_mouse_key_release 
-04e0 20600000 rtn 
+0541 1fe3fe00 lshift pdata ,pdata 
+0542 1fe22400 copy pdata ,regb 
+0543 20406059 call gpio_get_bit 
+0544 7920a400 setflag true ,0 ,regb 
+0545 1a417e07 and regb ,0x07 ,pdata 
+0546 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
+0547 18420e00 copy temp ,queue 
+0548 c0038556 beq 0x07 ,p_mouse_key_press 
+0549 c0000558 beq 0x00 ,p_mouse_key_release 
+054a 20600000 rtn 
 
 p_mouse_check_key_connect_vin_new:
-04e1 1fe3fe00 lshift pdata ,pdata 
-04e2 1fe22400 copy pdata ,regb 
-04e3 20403f54 call mouse_gpio_config_input_pd 
-04e4 20406059 call gpio_get_bit 
-04e5 7920a400 setflag true ,0 ,regb 
-04e6 1a417e07 and regb ,0x07 ,pdata 
-04e7 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
-04e8 18420e00 copy temp ,queue 
-04e9 c00384ec beq 0x07 ,p_mouse_key_press 
-04ea c00004ee beq 0x00 ,p_mouse_key_release 
-04eb 20600000 rtn 
+054b 1fe3fe00 lshift pdata ,pdata 
+054c 1fe22400 copy pdata ,regb 
+054d 20403f54 call mouse_gpio_config_input_pd 
+054e 20406059 call gpio_get_bit 
+054f 7920a400 setflag true ,0 ,regb 
+0550 1a417e07 and regb ,0x07 ,pdata 
+0551 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
+0552 18420e00 copy temp ,queue 
+0553 c0038556 beq 0x07 ,p_mouse_key_press 
+0554 c0000558 beq 0x00 ,p_mouse_key_release 
+0555 20600000 rtn 
 
 p_mouse_key_press:
-04ec 704c3e01 jam 1 ,mem_dpi_another_button_down_enable 
-04ed 20600000 rtn 
+0556 704c3e01 jam 1 ,mem_dpi_another_button_down_enable 
+0557 20600000 rtn 
 
 p_mouse_key_release:
-04ee 704c3e00 jam 0 ,mem_dpi_another_button_down_enable 
-04ef 20600000 rtn 
+0558 704c3e00 jam 0 ,mem_dpi_another_button_down_enable 
+0559 20600000 rtn 
 
 p_mouse_dpi_process:
-04f0 20404072 call mouse_dpi_ghost_check 
-04f1 20740000 rtn user 
-04f2 6fe0c992 fetch 1 ,mem_mouse_dpi 
-04f3 1fe20400 copy pdata ,temp 
-04f4 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-04f5 c29e84fc bbit1 mouse_enable_double_dpi_key ,p_mouse_double_dpi_check 
-04f6 18427e00 copy temp ,pdata 
-04f7 1fe0fe01 increase 1 ,pdata 
-04f8 1fe17e03 and pdata ,0x03 ,pdata 
+055a 20404072 call mouse_dpi_ghost_check 
+055b 20740000 rtn user 
+055c 6fe0c992 fetch 1 ,mem_mouse_dpi 
+055d 1fe20400 copy pdata ,temp 
+055e 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+055f c29e8571 bbit1 mouse_enable_double_dpi_key ,p_mouse_double_dpi_check 
+0560 18427e00 copy temp ,pdata 
+0561 1fe0fe01 increase 1 ,pdata 
+0562 1fe20400 copy pdata ,temp 
+0563 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0564 c005856b beq ka8g2 ,p_mouse_ka8g2_dpi_store 
+0565 c006056b beq sg8670 ,p_mouse_ka8g2_dpi_store 
+0566 18427e00 copy temp ,pdata 
+0567 1fe17e03 and pdata ,0x03 ,pdata 
 
 p_mouse_dpi_store:
-04f9 67e0c992 store 1 ,mem_mouse_dpi 
-04fa 20404095 call mouse_seting_dpi 
-04fb 20204643 branch mouse_store_eerpom_dpi 
+0568 67e0c992 store 1 ,mem_mouse_dpi 
+0569 204002a2 call p_mouse_seting_dpi 
+056a 20204643 branch mouse_store_eerpom_dpi 
+
+p_mouse_ka8g2_dpi_store:
+056b 18467c04 sub temp ,mouse_dpi_level5 ,null 
+056c 2421056f nbranch p_mouse_dpi_clr ,positive 
+056d 18427e00 copy temp ,pdata 
+056e 20200568 branch p_mouse_dpi_store 
+
+p_mouse_dpi_clr:
+056f 58000000 setarg 0 
+0570 20200568 branch p_mouse_dpi_store 
 
 p_mouse_double_dpi_check:
-04fc 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
-04fd 243a0519 nbranch p_mouse_another_dpi_button_down ,blank 
+0571 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
+0572 243a058e nbranch p_mouse_another_dpi_button_down ,blank 
 
 p_mouse_dpi_increase:
-04fe 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-04ff c28e050d bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_increase_level_4 
-0500 18427e00 copy temp ,pdata 
-0501 c1008000 rtneq mouse_dpi_level2 
+0573 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0574 c28e0582 bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_increase_level_4 
+0575 18427e00 copy temp ,pdata 
+0576 c1008000 rtneq mouse_dpi_level2 
 
 p_mouse_dpi_increase_level:
-0502 c0000509 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
-0503 c0010507 beq mouse_dpi_level3 ,p_mouse_dpi_level_2 
-0504 20600000 rtn 
+0577 c000057e beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
+0578 c001057c beq mouse_dpi_level3 ,p_mouse_dpi_level_2 
+0579 20600000 rtn 
 
 p_mouse_dpi_level_1:
-0505 58000002 setarg 2 
-0506 202004f9 branch p_mouse_dpi_store 
+057a 58000002 setarg 2 
+057b 20200568 branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_2:
-0507 58000000 setarg 0 
-0508 202004f9 branch p_mouse_dpi_store 
+057c 58000000 setarg 0 
+057d 20200568 branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_3:
-0509 58000001 setarg 1 
-050a 202004f9 branch p_mouse_dpi_store 
+057e 58000001 setarg 1 
+057f 20200568 branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_4:
-050b 58000003 setarg 3 
-050c 202004f9 branch p_mouse_dpi_store 
+0580 58000003 setarg 3 
+0581 20200568 branch p_mouse_dpi_store 
 
 p_mouse_dpi_increase_level_4:
-050d 18427e00 copy temp ,pdata 
-050e c1008000 rtneq mouse_dpi_level2 
-050f c0000509 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
-0510 c001050b beq mouse_dpi_level3 ,p_mouse_dpi_level_4 
-0511 c0018507 beq mouse_dpi_level4 ,p_mouse_dpi_level_2 
-0512 20600000 rtn 
+0582 18427e00 copy temp ,pdata 
+0583 c1008000 rtneq mouse_dpi_level2 
+0584 c000057e beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
+0585 c0010580 beq mouse_dpi_level3 ,p_mouse_dpi_level_4 
+0586 c001857c beq mouse_dpi_level4 ,p_mouse_dpi_level_2 
+0587 20600000 rtn 
 
 p_mouse_dpi_decrease_level_4:
-0513 18427e00 copy temp ,pdata 
-0514 c1010000 rtneq mouse_dpi_level3 
-0515 c000050b beq mouse_dpi_level1 ,p_mouse_dpi_level_4 
-0516 c0008507 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
-0517 c0018505 beq mouse_dpi_level4 ,p_mouse_dpi_level_1 
-0518 20600000 rtn 
+0588 18427e00 copy temp ,pdata 
+0589 c1010000 rtneq mouse_dpi_level3 
+058a c0000580 beq mouse_dpi_level1 ,p_mouse_dpi_level_4 
+058b c000857c beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
+058c c001857a beq mouse_dpi_level4 ,p_mouse_dpi_level_1 
+058d 20600000 rtn 
 
 p_mouse_another_dpi_button_down:
 
 p_mouse_dpi_decrease:
-0519 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-051a c28e0513 bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_decrease_level_4 
-051b 18427e00 copy temp ,pdata 
-051c c1010000 rtneq mouse_dpi_level3 
+058e 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+058f c28e0588 bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_decrease_level_4 
+0590 18427e00 copy temp ,pdata 
+0591 c1010000 rtneq mouse_dpi_level3 
 
 p_mouse_dpi_decrease_level:
-051d c0000505 beq mouse_dpi_level1 ,p_mouse_dpi_level_1 
-051e c0008507 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
-051f 20600000 rtn 
+0592 c000057a beq mouse_dpi_level1 ,p_mouse_dpi_level_1 
+0593 c000857c beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
+0594 20600000 rtn 
               org 0x800
 
 start:
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/SlideSwitch_3mode_PC-60 M4/program/patch.prog	(revision 5146)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/SlideSwitch_3mode_PC-60 M4/program/patch.prog	(working copy)
@@ -20,6 +20,7 @@
 	beq patch19_7,p_mouse_dpi_process
 	beq patch1a_0,p_mouse_seting_dpi
 	beq patch1a_1,p_mouse_check_key_gpio
+	beq patch1a_3,p_mouse_init_sunt
 	beq patch1a_4,p_mouse_sensor_poweron
 	beq patch1a_6,p_mouse_priority_bb_event
 	beq patch1b_1,p_mouse_bb_event_timer
@@ -248,7 +249,7 @@
 	rtn wake
 	call p_mouse_ice_adc_on
 	call p_mouse_load_default_param
-	call mouse_dpi_config
+	call p_mouse_seting_sensor_type
 	call mouse_usb_check_enable
 	call mouse_drawing_optima_init
 	call p_mouse_cb_fuction
@@ -908,10 +909,68 @@
 	jam FAST_CONN_AND_RECEIVER,mem_24g_reconn_type
 	branch g24_reconn_start
 ///////////////////dpi led adjust////////////////////////////////////////////////////////////////////
+p_mouse_setting_dpi_4_level:
+	fetch 1,mem_config_sensor_type
+	rtneq KA8G2
+	rtneq SG8670
+	branch mouse_setting_dpi_4_level
 p_mouse_seting_dpi:
-	call mouse_setting_dpi_4_level
+	call p_mouse_setting_dpi_4_level
 	call p_mouse_dpi_led_blink_delay
+p_mouse_seting_sensor_type:
+	fetch 1,mem_config_sensor_type
+	beq KA8G2,p_mouse_seting_ka8g2_dpi
+	beq SG8670,p_mouse_seting_SG8670_dpi
 	branch mouse_seting_sensor_type
+p_mouse_seting_ka8g2_dpi:
+	fetch 1,mem_mouse_dpi
+	beq MOUSE_DPI_LEVEL1,p_mouse_set_pka8g2_cpi0		//1200
+	beq MOUSE_DPI_LEVEL2,p_mouse_set_pka8g2_cpi1		//1600
+	beq MOUSE_DPI_LEVEL3,p_mouse_set_pka8g2_cpi2		//2400
+	beq MOUSE_DPI_LEVEL4,p_mouse_set_pka8g2_cpi3		//4000
+	beq MOUSE_DPI_LEVEL5,p_mouse_set_pka8g2_cpi4		//800
+p_mouse_set_pka8g2_cpi0:
+	fetch 1,mem_ka8g2_dpi_0_new
+	branch mouse_p3212_dpi
+p_mouse_set_pka8g2_cpi1:
+	fetch 1,mem_ka8g2_dpi_1_new
+	branch mouse_p3212_dpi
+p_mouse_set_pka8g2_cpi2:
+	fetch 1,mem_ka8g2_dpi_2_new
+	branch mouse_p3212_dpi
+p_mouse_set_pka8g2_cpi3:
+	fetch 1,mem_ka8g2_dpi_3_new
+	branch mouse_p3212_dpi
+p_mouse_set_pka8g2_cpi4:
+	fetch 1,mem_ka8g2_dpi_4_new
+	branch mouse_p3212_dpi
+
+p_mouse_seting_SG8670_dpi:
+	fetch 1,mem_mouse_dpi
+	beq MOUSE_DPI_LEVEL1,p_mouse_set_SG8670_dpi_1	//1200
+	beq MOUSE_DPI_LEVEL2,p_mouse_set_SG8670_dpi_2	//1600
+	beq MOUSE_DPI_LEVEL3,p_mouse_set_SG8670_dpi_3	//2400
+	beq MOUSE_DPI_LEVEL4,p_mouse_set_SG8670_dpi_4	//4000
+	beq MOUSE_DPI_LEVEL5,p_mouse_set_SG8670_dpi_5	//800
+p_mouse_set_SG8670_dpi_4:	//2000 --> 4000
+	arg mem_sensor_sg8670_dpi_2000,regc
+	branch mouse_sensor_wr_seq
+
+p_mouse_set_SG8670_dpi_3:	//2400
+	arg mem_sensor_sg8670_dpi_2400,regc
+	branch mouse_sensor_wr_seq
+
+p_mouse_set_SG8670_dpi_2:	//1600
+	arg mem_sensor_sg8670_dpi_1600,regc
+	branch mouse_sensor_wr_seq
+
+p_mouse_set_SG8670_dpi_1:	//1200
+	arg mem_sensor_sg8670_dpi_1200,regc
+	branch mouse_sensor_wr_seq
+
+p_mouse_set_SG8670_dpi_5:	//800
+	arg mem_sensor_sg8670_dpi_800,regc
+	branch mouse_sensor_wr_seq
 
 p_mouse_dpi_led_blink_delay:
 	fetch 1,mem_dpi_led_gpio
@@ -1335,8 +1394,9 @@
 	disable user
 	setarg 0
 	store 6,mem_mouse_x
-	call mouse_check_sensor_data
-	call mouse_dpi_config
+	call p_mouse_check_sensor_data
+	call p_mouse_data_zoom
+	call p_mouse_seting_sensor_type
 	call mouse_zwheel
 	call mouse_t_zwheel
 	call p_mouse_key
@@ -1352,20 +1412,98 @@
 	rtneq P3212
 	branch mouse_drawing_optima
 
+p_mouse_init_sunt:
+	call mouse_sensor_spi_init
+	rtn wake
+p_mouse_init_sensor_wakeup:	
+	call p_mouse_sensor_poweron
+p_mouse_init_sensor:
+	call mouse_read_sensor_id
+	beq P32XX_ID1,p_mouse_init_p32xx_id2_judge
+	beq P3065_ID1,mouse_init_p3065
+	beq PKA8G2_ID1,mouse_ka8g2_id2_judge
+	call mouse_twspi_reset
+	nop 6900
+	branch p_mouse_init_sensor
+
+p_mouse_init_p32xx_id2_judge:
+	fetch 1,mem_sensor_id2
+	beq P_MX8650,p_mouse_sensor_read_id3
+	branch mouse_init_p32xx_id2_judge+2
+
+p_mouse_sensor_read_id3:
+	setarg 0x7a
+	call twspi_read
+	beq 0xc2,p_mouse_sg8670_parm_init
+	branch mouse_mx8650_init_param
+
+p_mouse_sg8670_parm_init:
+	jam SG8670,mem_config_sensor_type
+	setarg 0x8006	//reset to factory settings
+	call twspi_write
+	call delay_10ms
+	arg mem_sensor_sg8670_init,regc
+	call mouse_sensor_wr_seq
+	branch p_mouse_seting_sensor_type
+
+p_mouse_check_sensor_data:
+	fetch 1,mem_spi_write_flash_sm
+	rtnne FLASH_SM_NO_BUYS
+	fetch 1,mem_config_sensor_type
+	beq SG8670,mouse_p3212_sensor_motion
+	branch mouse_check_sensor_data+3
+
+p_mouse_data_zoom:
+	fetch 1,mem_config_sensor_type
+	rtnne SG8670
+	fetch 1,mem_mouse_dpi
+	rtnne MOUSE_DPI_LEVEL4
+	fetch 2,mem_mouse_x
+	call p_mouse_2400_3200_zoom
+	store 2,mem_mouse_x
+	fetch 2,mem_mouse_y
+	call p_mouse_2400_3200_zoom
+	store 2,mem_mouse_y
+	rtn
+p_mouse_2400_3200_zoom:
+	bbit1 11,p_mouse_xy_inverse
+	bbit0 11,p_mouse_xy_zoom
+	rtn
+p_mouse_xy_inverse:
+	sub pdata,0,pdata
+	call p_mouse_xy_zoom	
+	sub pdata,0,pdata
+	rtn
+
+p_mouse_xy_zoom:
+	copy pdata,temp
+	iadd temp,pdata
+	store 2,mem_mouse_temp_data
+	fetch 1,mem_mouse_temp_data+1
+	sub pdata,0x7,null
+	ncall p_mouse_xy_forward_overflow,positive
+	fetch 2,mem_mouse_temp_data
+	rtn
+p_mouse_xy_forward_overflow:
+	setarg 0x7ff
+	store 2,mem_mouse_temp_data
+	rtn
+
 p_mouse_sensor_poweron:
 	call mouse_sensor_spi_init
 	fetch 1,mem_config_sensor_type
 	beq KA8G2,p_mouse_ka8g2_sensor_init
 	call mouse_sensor_reset
 	arg mem_sensor_poweron_init,regc
-	call mouse_sensor_wr_seq
-	branch mouse_dpi_config
+	branch p_mouse_sensor_end
 	
 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
+p_mouse_sensor_end:
+	call mouse_sensor_wr_seq
+	branch p_mouse_seting_sensor_type
 
 p_mouse_sensor_reset:
 	fetch 1,mem_config_sensor_type
@@ -1568,12 +1706,23 @@
 p_mouse_idle:
 	call mouse_low_voltage_led_no_enter_lpm
 	call ui_check_paring_button
-	call p_mouse_dpi_check
+	// call p_mouse_dpi_check
+	call p_mouse_30ms_event_timer
 	call p_mouse_dpi_another_gpio_check
 	call mouse_select_device_check
 	call p_mouse_check_select_device_by_switch
 	branch mouse_idle+6
 
+p_mouse_30ms_event_timer:
+	arg 13,queue
+	call timer_check
+	nrtn blank
+	call p_mouse_dpi_check
+p_mouse_30ms_event_timer_init:
+	arg 13,queue
+	setarg 30
+	branch timer_init
+
 p_mouse_check_select_device_by_switch:
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
 	rtnbit0 MOUSE_ENABLE_SELECT_DEVICE_BY_SWITCH_GPIO
@@ -1729,12 +1878,26 @@
 	bbit1 MOUSE_ENABLE_DOUBLE_DPI_KEY,p_mouse_double_dpi_check
 	copy temp,pdata
 	increase 1,pdata
+	copy pdata,temp
+	fetch 1,mem_config_sensor_type
+	beq KA8G2,p_mouse_ka8g2_dpi_store
+	beq SG8670,p_mouse_ka8g2_dpi_store
+	copy temp,pdata
 	and pdata,0x03,pdata
 p_mouse_dpi_store:
 	store 1,mem_mouse_dpi
-	call mouse_seting_dpi
+	call p_mouse_seting_dpi
 	branch mouse_store_eerpom_dpi
 
+p_mouse_ka8g2_dpi_store:
+	sub temp,MOUSE_DPI_LEVEL5,null
+	nbranch p_mouse_dpi_clr,positive
+	copy temp,pdata
+	branch p_mouse_dpi_store
+p_mouse_dpi_clr:
+	setarg 0
+	branch p_mouse_dpi_store
+
 p_mouse_double_dpi_check:
 	fetch 1,mem_dpi_another_button_down_enable
 	nbranch p_mouse_another_dpi_button_down,blank
Index: sched/mouse.dat
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/SlideSwitch_3mode_PC-60 M4/sched/mouse.dat	(revision 5146)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/SlideSwitch_3mode_PC-60 M4/sched/mouse.dat	(working copy)
@@ -338,6 +338,13 @@
 11##mem_ka8g2_dpi_2	1000
 0e##mem_ka8g2_dpi_3	800
 
+mem_ka8g2_dpi_set:
+14  #mem_ka8g2_dpi_0_new    1200
+1b  #mem_ka8g2_dpi_1_new    1600
+28  #mem_ka8g2_dpi_2_new    2400
+43  #mem_ka8g2_dpi_3_new    4000
+0d  #mem_ka8g2_dpi_4_new    800
+
 mem_sensor_3212_init:
 09 5a
 26 34
@@ -393,6 +400,79 @@
 09 00
 ff ff
 
+mem_sensor_sg8670_dpi_800:
+09 5a
+7f 26
+7e 00
+6e a3
+6f 23
+09 00
+7f 00
+ff ff
+
+mem_sensor_sg8670_dpi_1200:
+# 09 5a
+7f 26
+7e 00
+6e b4
+6f 34
+# 09 00
+7f 00
+ff ff
+mem_sensor_sg8670_dpi_1600:
+# 09 5a
+7f 26
+7e 00
+6e c6
+6f 46
+# 09 00
+7f 00
+ff ff
+mem_sensor_sg8670_dpi_2400: #2400
+# 09 5a
+7f 26
+7e 00
+6e e8
+6f 68
+# 09 00
+7f 00
+ff ff
+
+mem_sensor_sg8670_dpi_2000:#2000-->4000
+# 09 5a
+7f 26
+7e 00
+6e d7
+6f 57
+# 09 00
+7f 00
+ff ff
+
+mem_sensor_sg8670_init:
+7f 26
+09 5a
+0f 04
+28 04
+29 b0
+5b 00
+4e 1a
+4f 00
+7e 01
+40 ff
+41 ff
+42 ff
+43 ff
+47 af
+4a 40
+4c 03
+4d 00
+4e 02
+7e 00
+7f 00
+09 00
+ff ff
+
+
 mem_sensor_8650_init:
 09 5a
 ff 27
