Index: format/app_mouse.format
===================================================================
--- /YC1308AF/branch/mouse/mouse_public_4mode_usb _1M/format/app_mouse.format	(revision 5448)
+++ /YC1308AF/branch/mouse/mouse_public_4mode_usb _1M/format/app_mouse.format	(working copy)
@@ -436,6 +436,30 @@
 1 mem_mouse_dpi_led_blink_enable
 1 mem_mouse_dpi_blink_count
 1 mem_mouse_dpi_blink_time
+
+//lazy
+1 mem_mouse_lazy_state
+1 mem_mouse_lazy_flag
+2 mem_mouse_max_cnt
+2 mem_mouse_x_left_max_count
+2 mem_mouse_x_right_max_count
+1 mem_mouse_y_count
+
+//无规律摸鱼
+1 mem_24g_matrix_cnt
+1 mem_auto_ruling_cnt
+1 mem_auto_run_temp
+1 mem_auto_run_random_0_count
+1 mem_auto_run_random_1_count
+1 mem_auto_run_random_2_count
+1 mem_auto_run_random_3_count
+1 mem_auto_run_random_status
+46 mem_sensor_sg8670_init
+16 mem_sensor_sg8670_dpi_800
+16 mem_sensor_sg8670_dpi_1200
+16 mem_sensor_sg8670_dpi_1600
+16 mem_sensor_sg8670_dpi_2400
+
 )
 
 
@@ -607,6 +631,7 @@
 0x58 PKA8G2_ID1
 0x59 PKA8G2_ID2
 0xc0 P3204_TJDM_ID2
+0xC2 P8670
 
 
 //Sensor type
@@ -623,6 +648,7 @@
 0X0a KA8_HD
 0X0b KA8G2
 0X0c KA5857
+0X0d SG8670
 
 
 //SENSOR REG
@@ -782,6 +808,13 @@
 )
 
 (
+0x00 MODE_SWITCH_24G_TEMP
+0x01 MODE_SWITCH_BT1_TEMP
+0x02 MODE_SWITCH_BT2_TEMP
+0xff MODE_SWITCH_DEFAULT_TEMP
+)
+
+(
 0 LED_MULTI_DPI
 1 LED_MULTI_LOW
 )
Index: output/eeprom.dat
===================================================================
--- /YC1308AF/branch/mouse/mouse_public_4mode_usb _1M/output/eeprom.dat	(revision 5448)
+++ /YC1308AF/branch/mouse/mouse_public_4mode_usb _1M/output/eeprom.dat	(working copy)
@@ -2,128 +2,132 @@
 02
 aa
 55
-8e
-15
+82
+17
 c2
 84
 00
-1f
+20
 c0
 00
 00
-46
+54
 c0
 41
 00
-58
+66
 c0
 41
 80
-5f
+6d
 c0
 45
 00
-74
+82
 c0
 45
 80
-6d
+7b
 c0
 56
 80
-7e
+8c
 c0
 61
 81
-35
+79
+c0
+62
+00
+2e
 c0
 63
 02
-70
+bc
 c0
 63
 82
-7b
+c7
 c0
 64
 02
-88
+d4
 c0
 64
-82
-ba
+83
+0b
 c0
 65
 81
-8e
+cf
 c0
 66
 84
-2a
+a5
 c0
 67
-02
-e8
+03
+48
 c0
 67
-82
-f1
+83
+51
 c0
 68
 04
-54
+d1
 c0
 69
 02
-4a
+8b
 c0
 69
 82
-5f
+ab
 c0
 6a
 83
-04
+73
 c0
 6c
 01
-61
+a2
 c0
 6e
-82
-c0
+83
+14
 c0
 6f
 00
-39
+46
 c0
 70
 00
-31
+34
 c0
 70
 80
-2d
+30
 c0
 6c
-83
-c2
+84
+3c
 c0
 6d
-03
-cc
+04
+47
 c0
 6e
 02
-43
+84
 c0
 4f
 80
-72
+80
 c0
 73
-83
-da
+84
+55
 20
 20
 13
@@ -131,59 +135,67 @@
 c0
 0f
 80
-8a
+9d
 c0
 42
-83
-cf
+84
+4a
 c0
 47
-04
-97
+05
+14
 c0
 49
-84
-a8
+85
+25
 c0
 53
-03
-d3
+04
+4e
 c0
 71
 03
-78
+f2
 c0
 74
 83
-80
+fa
 c0
 75
-00
-eb
+01
+2f
 c0
 76
-03
-b7
+04
+31
 c0
 0c
-83
-ee
+84
+69
 c0
 4f
-83
-f8
+84
+73
 c0
 50
 84
-02
+7d
 c0
 5f
 04
-04
+7f
 20
 20
 13
 7e
+20
+40
+45
+fd
+20
+20
+3e
+1d
 18
 42
 7e
@@ -234,24 +246,68 @@
 00
 6f
 e0
+c9
+3d
+c0
+00
+80
+43
+c0
+01
+00
+40
+20
+60
+00
+00
+70
+49
+a1
+01
+70
+49
+3d
+01
+20
+20
+48
+31
+70
+49
+a1
+02
+70
+49
+3d
+02
+20
+20
+48
+31
+6f
+e0
 cb
 c5
 c1
 00
 80
 00
+6f
+e0
+c9
+3d
+c1
+00
+00
+00
 20
 40
-01
-cf
+02
+10
 20
 40
-47
 00
-60
-48
-c9
-3d
+3c
 70
 41
 ca
@@ -263,7 +319,7 @@
 20
 40
 00
-43
+51
 20
 40
 31
@@ -295,7 +351,7 @@
 24
 55
 80
-35
+38
 58
 00
 4c
@@ -455,7 +511,7 @@
 20
 40
 00
-66
+74
 20
 20
 12
@@ -475,11 +531,11 @@
 c0
 48
 80
-78
+86
 c0
 4a
 80
-7b
+89
 20
 20
 12
@@ -523,7 +579,15 @@
 20
 40
 00
-bb
+ce
+58
+00
+00
+d2
+67
+e1
+48
+e7
 20
 40
 41
@@ -534,12 +598,12 @@
 00
 20
 40
-02
-f2
+03
+52
 20
 40
-04
-b4
+05
+31
 20
 40
 47
@@ -547,15 +611,27 @@
 20
 40
 00
-ca
+dd
 20
 40
 02
-69
+b5
+6f
+e1
+47
+8f
+c2
+86
+45
+93
+20
+40
+03
+25
 20
 20
-3c
-7f
+3e
+15
 6f
 e0
 c9
@@ -587,11 +663,11 @@
 24
 21
 00
-a2
+b5
 20
 40
 00
-9b
+ae
 d8
 a0
 4a
@@ -599,7 +675,7 @@
 20
 40
 00
-98
+ab
 d8
 a0
 44
@@ -607,7 +683,7 @@
 20
 40
 00
-98
+ab
 d8
 a0
 42
@@ -631,7 +707,7 @@
 20
 40
 00
-a0
+b3
 d8
 a0
 44
@@ -639,7 +715,7 @@
 20
 40
 00
-a0
+b3
 d8
 a0
 42
@@ -655,7 +731,7 @@
 20
 40
 00
-b8
+cb
 6f
 e0
 cb
@@ -771,7 +847,7 @@
 20
 40
 00
-8c
+9f
 20
 40
 3d
@@ -779,11 +855,11 @@
 20
 40
 01
-bc
+fd
 20
 40
 00
-c4
+d7
 20
 20
 3c
@@ -823,11 +899,19 @@
 58
 00
 00
-cf
+e4
 67
 e1
 48
 9f
+58
+00
+00
+f7
+67
+e1
+48
+a1
 20
 20
 3c
@@ -854,8 +938,8 @@
 00
 24
 5a
-02
-b8
+03
+09
 6f
 e4
 4b
@@ -863,7 +947,7 @@
 c3
 0a
 80
-d9
+ee
 6f
 e0
 cb
@@ -875,7 +959,7 @@
 20
 40
 00
-db
+f0
 20
 20
 48
@@ -895,7 +979,7 @@
 24
 3a
 00
-e0
+f5
 20
 20
 43
@@ -909,6 +993,194 @@
 43
 0f
 6f
+e4
+4b
+bc
+c4
+0b
+00
+00
+6f
+e0
+ca
+bf
+20
+7a
+00
+00
+6f
+e0
+c8
+ab
+20
+7a
+00
+00
+6f
+e0
+cb
+b2
+1f
+e0
+fe
+01
+1f
+e1
+7e
+03
+67
+e0
+cb
+b2
+24
+7a
+00
+00
+70
+4b
+b3
+00
+6f
+e0
+cb
+b3
+1f
+e0
+fe
+01
+67
+e0
+cb
+b3
+1f
+e6
+7c
+08
+24
+21
+01
+0d
+20
+40
+25
+a3
+20
+40
+26
+62
+24
+2c
+01
+13
+24
+37
+81
+13
+20
+40
+01
+1d
+20
+40
+25
+a0
+6f
+e0
+cb
+b4
+1f
+e0
+fe
+01
+67
+e0
+cb
+b4
+c0
+08
+01
+15
+20
+60
+00
+00
+20
+40
+22
+81
+20
+20
+01
+03
+70
+4b
+b4
+00
+6f
+e0
+cb
+b5
+c3
+80
+00
+00
+79
+20
+7e
+00
+67
+e0
+cb
+b5
+6f
+e1
+4b
+cd
+67
+e1
+4a
+c3
+20
+20
+02
+b5
+6f
+e0
+c8
+ab
+20
+3a
+48
+c9
+70
+4b
+b4
+00
+6f
+e0
+cb
+b5
+c4
+00
+00
+00
+79
+3f
+fe
+00
+67
+e0
+cb
+b5
+20
+40
+45
+84
+20
+20
+02
+8d
+6f
 e2
 48
 95
@@ -922,8 +1194,8 @@
 00
 20
 22
-80
-e8
+81
+2c
 70
 41
 ea
@@ -951,23 +1223,23 @@
 24
 34
 03
-30
+b1
 20
 40
-00
-fb
+01
+3f
 20
 40
-00
-e2
+01
+26
 6f
 e0
 cb
 f2
 24
 3a
-00
-f5
+01
+39
 6f
 e4
 48
@@ -1031,11 +1303,11 @@
 24
 2c
 01
-05
+49
 24
 37
 81
-05
+49
 20
 40
 26
@@ -1043,7 +1315,7 @@
 20
 40
 01
-22
+66
 20
 20
 26
@@ -1059,7 +1331,7 @@
 20
 40
 01
-12
+56
 6f
 e0
 c8
@@ -1095,11 +1367,11 @@
 20
 40
 01
-2f
+73
 20
 20
-00
-fd
+01
+41
 6f
 e0
 c9
@@ -1135,7 +1407,7 @@
 c0
 7f
 81
-1f
+63
 20
 40
 41
@@ -1163,7 +1435,7 @@
 20
 20
 01
-1c
+60
 6f
 e0
 cb
@@ -1171,7 +1443,7 @@
 24
 5a
 01
-26
+6a
 70
 4b
 f2
@@ -1183,7 +1455,7 @@
 20
 40
 02
-4c
+8d
 6f
 e4
 4b
@@ -1211,7 +1483,7 @@
 20
 40
 01
-2f
+73
 20
 20
 22
@@ -1244,58 +1516,6 @@
 e4
 4b
 bc
-c3
-0a
-01
-42
-20
-40
-61
-66
-20
-40
-61
-8d
-67
-e1
-48
-ed
-68
-49
-44
-96
-6f
-e1
-44
-a4
-98
-46
-7c
-00
-20
-21
-01
-35
-da
-20
-48
-e7
-20
-40
-3f
-1a
-6f
-e0
-c4
-a6
-c2
-80
-be
-5a
-6f
-e4
-4b
-bc
 c2
 97
 c8
@@ -1307,11 +1527,27 @@
 c0
 00
 01
-56
+97
+70
+48
+e7
+d2
+70
+48
+e9
+97
+70
+48
+eb
+a3
+20
+40
+01
+87
 20
 40
 02
-04
+45
 20
 40
 43
@@ -1323,11 +1559,35 @@
 c0
 00
 81
-4c
+8d
 c0
 01
 01
-51
+92
+20
+60
+00
+00
+6f
+e0
+c9
+3d
+c0
+00
+81
+8b
+70
+4b
+c4
+01
+20
+60
+00
+00
+70
+4b
+c4
+02
 20
 60
 00
@@ -1382,8 +1642,8 @@
 42
 20
 40
-01
-f8
+02
+39
 20
 40
 3e
@@ -1423,7 +1683,7 @@
 20
 40
 01
-ab
+ec
 20
 40
 22
@@ -1438,24 +1698,24 @@
 0b
 20
 40
-01
-c4
+02
+05
 20
 40
 01
-78
+b9
 20
 40
 40
 bc
 20
 40
-02
-d1
+03
+31
 20
 40
 02
-0a
+4b
 20
 40
 45
@@ -1463,7 +1723,7 @@
 20
 40
 02
-21
+62
 20
 40
 45
@@ -1471,7 +1731,7 @@
 20
 40
 02
-25
+66
 20
 40
 45
@@ -1479,7 +1739,7 @@
 20
 40
 02
-28
+69
 20
 40
 45
@@ -1503,11 +1763,11 @@
 20
 40
 02
-3b
+7c
 20
 20
 02
-2b
+6c
 6f
 e0
 cc
@@ -1531,11 +1791,11 @@
 c0
 01
 81
-80
+c1
 c0
 03
 01
-84
+c5
 20
 60
 00
@@ -1546,8 +1806,8 @@
 b5
 c2
 80
-01
-d7
+02
+18
 68
 48
 cc
@@ -1575,7 +1835,7 @@
 24
 3a
 01
-8a
+cb
 70
 4c
 bf
@@ -1586,8 +1846,8 @@
 b5
 c2
 80
-01
-dd
+02
+1e
 68
 48
 cc
@@ -1619,7 +1879,7 @@
 c0
 81
 01
-9a
+db
 68
 49
 48
@@ -1663,7 +1923,7 @@
 c3
 00
 01
-a1
+e2
 70
 48
 fe
@@ -1702,8 +1962,8 @@
 b5
 c2
 80
-81
-dd
+82
+1e
 68
 48
 cc
@@ -1747,7 +2007,7 @@
 24
 41
 01
-ba
+fb
 1f
 e6
 7c
@@ -1755,15 +2015,15 @@
 20
 21
 01
-a7
+e8
 6f
 e0
 cc
 b5
 c2
 80
-81
-d7
+82
+18
 68
 48
 cc
@@ -1794,24 +2054,24 @@
 00
 20
 40
-01
-e9
+02
+2a
 20
 40
-01
-eb
+02
+2c
 20
 40
-01
-ed
+02
+2e
 20
 40
 01
-8a
+cb
 20
 20
 01
-a7
+e8
 6f
 e0
 cc
@@ -1826,16 +2086,16 @@
 b2
 c0
 00
-81
-d1
+82
+12
 6f
 e0
 cc
 b6
 20
 3a
-01
-cd
+02
+0e
 1f
 e0
 ff
@@ -1846,8 +2106,8 @@
 b6
 20
 20
-01
-d7
+02
+18
 70
 4c
 be
@@ -1862,32 +2122,32 @@
 00
 20
 20
-01
-dd
+02
+1e
 da
 60
 4c
 b8
 da
 40
-01
-d4
+02
+15
 20
 20
 31
 fc
 20
 40
-01
-ef
+02
+30
 6f
 e0
 cc
 b3
 c0
 00
-81
-dd
+82
+1e
 70
 4c
 b3
@@ -1898,16 +2158,16 @@
 3d
 c0
 00
-01
-e3
+02
+24
 c0
 00
-81
-e5
+82
+26
 c0
 01
-01
-e7
+02
+28
 20
 60
 00
@@ -1922,16 +2182,16 @@
 3d
 c0
 00
-01
-e9
+02
+2a
 c0
 00
-81
-eb
+82
+2c
 c0
 01
-01
-ed
+02
+2e
 20
 60
 00
@@ -2050,8 +2310,8 @@
 01
 20
 20
-01
-d7
+02
+18
 6f
 e0
 cc
@@ -2066,8 +2326,8 @@
 02
 20
 20
-01
-fb
+02
+3c
 6f
 e0
 cc
@@ -2090,8 +2350,8 @@
 05
 20
 20
-01
-fb
+02
+3c
 6f
 e0
 c9
@@ -2099,7 +2359,7 @@
 c0
 00
 02
-10
+51
 6f
 e4
 4b
@@ -2115,7 +2375,7 @@
 20
 20
 02
-13
+54
 6f
 e4
 4b
@@ -2151,7 +2411,7 @@
 20
 22
 82
-1a
+5b
 20
 20
 45
@@ -2159,7 +2419,7 @@
 20
 40
 02
-1f
+60
 6f
 e0
 cb
@@ -2179,7 +2439,7 @@
 da
 40
 03
-55
+d6
 20
 20
 45
@@ -2231,7 +2491,7 @@
 da
 40
 02
-2e
+6f
 20
 20
 32
@@ -2283,11 +2543,11 @@
 20
 40
 02
-69
+b5
 20
 20
 03
-35
+b6
 da
 60
 49
@@ -2295,7 +2555,7 @@
 da
 40
 02
-3e
+7f
 20
 20
 31
@@ -2315,7 +2575,7 @@
 20
 40
 00
-4d
+5b
 20
 20
 46
@@ -2367,7 +2627,7 @@
 c0
 18
 02
-54
+95
 c0
 18
 c2
@@ -2375,7 +2635,7 @@
 c0
 2c
 02
-58
+a4
 20
 40
 41
@@ -2387,11 +2647,15 @@
 20
 20
 02
-4d
+8e
 6f
 e0
 c9
 c7
+c0
+2d
+02
+9a
 1f
 e1
 7e
@@ -2404,6 +2668,46 @@
 20
 41
 fc
+58
+00
+00
+7a
+20
+40
+5d
+65
+c0
+61
+02
+9e
+20
+20
+41
+fc
+70
+49
+2c
+0d
+20
+40
+42
+72
+20
+40
+7d
+85
+da
+60
+4c
+d3
+20
+40
+42
+6b
+20
+20
+03
+52
 6f
 e0
 c9
@@ -2411,7 +2715,7 @@
 c0
 2b
 82
-5c
+a8
 c0
 2c
 c2
@@ -2419,7 +2723,7 @@
 20
 20
 02
-4d
+8e
 70
 49
 2c
@@ -2431,7 +2735,7 @@
 20
 20
 02
-64
+b0
 20
 40
 3f
@@ -2443,7 +2747,7 @@
 c0
 05
 82
-66
+b2
 20
 40
 42
@@ -2458,12 +2762,12 @@
 6b
 20
 20
-02
-f2
+03
+52
 20
 40
 02
-79
+c5
 da
 60
 4b
@@ -2471,7 +2775,7 @@
 20
 20
 02
-64
+b0
 20
 40
 41
@@ -2487,7 +2791,7 @@
 c0
 05
 82
-6e
+ba
 20
 20
 42
@@ -2515,11 +2819,11 @@
 20
 40
 02
-76
+c2
 20
 40
 02
-69
+b5
 20
 20
 3e
@@ -2531,7 +2835,7 @@
 c0
 05
 82
-79
+c5
 20
 20
 42
@@ -2630,8 +2934,8 @@
 24
 20
 40
-04
-84
+05
+01
 20
 40
 3e
@@ -2658,20 +2962,16 @@
 96
 20
 40
-01
-bf
-20
-40
 02
-9d
+00
 20
 40
 02
-aa
+e8
 20
 40
 02
-ae
+ff
 d8
 40
 00
@@ -2727,7 +3027,7 @@
 c2
 00
 02
-a1
+ec
 20
 60
 00
@@ -2735,6 +3035,30 @@
 6f
 e0
 c9
+3d
+c0
+00
+02
+fb
+6f
+e0
+c9
+22
+c1
+7f
+80
+00
+68
+48
+c9
+22
+20
+20
+3f
+96
+6f
+e0
+c9
 22
 c1
 7f
@@ -2746,8 +3070,8 @@
 22
 20
 20
-61
-21
+3f
+94
 6f
 e4
 4b
@@ -2817,11 +3141,23 @@
 60
 f4
 20
-20
+40
 3e
 81
 20
 40
+02
+f5
+68
+48
+c9
+22
+20
+20
+60
+e6
+20
+40
 49
 dd
 20
@@ -2830,16 +3166,16 @@
 a1
 20
 40
-02
-d4
+03
+34
 20
 40
-02
-cb
+03
+1f
 20
 40
-02
-ce
+03
+22
 20
 40
 47
@@ -2850,16 +3186,16 @@
 c8
 20
 40
-04
-f6
+05
+73
 20
 40
 05
-32
+af
 20
 40
 05
-24
+a1
 20
 60
 00
@@ -2886,8 +3222,56 @@
 00
 20
 20
-46
-de
+03
+25
+6f
+e4
+4b
+bc
+c4
+15
+00
+00
+68
+48
+c9
+22
+20
+40
+3f
+94
+68
+48
+c9
+22
+20
+40
+60
+fd
+20
+20
+c6
+eb
+6f
+e0
+c9
+a1
+c0
+7f
+80
+40
+c0
+00
+80
+40
+c0
+01
+00
+43
+20
+60
+00
+00
 6f
 e0
 cc
@@ -2930,8 +3314,8 @@
 13
 20
 40
-02
-dd
+03
+3d
 20
 20
 40
@@ -2958,8 +3342,8 @@
 14
 c0
 7f
-82
-e4
+83
+44
 20
 20
 40
@@ -2970,8 +3354,8 @@
 13
 20
 40
+05
 04
-87
 68
 48
 c9
@@ -3006,12 +3390,12 @@
 97
 20
 40
-02
-f1
+03
+51
 20
 40
-02
-f5
+03
+64
 20
 20
 46
@@ -3026,6 +3410,10 @@
 2c
 c0
 06
+83
+56
+c0
+06
 40
 fb
 20
@@ -3034,48 +3422,104 @@
 da
 6f
 e0
-cc
-be
-20
-7a
-00
-00
-6f
-e0
 c9
 97
 c0
 00
-02
-fe
+03
+5c
 c0
 00
 83
-00
+5e
 c0
 01
-02
-fc
-20
+03
 60
-00
-00
-58
-00
-00
+c0
 01
+83
+62
 20
 20
 03
-01
-58
-00
-00
-02
-20
+5c
+da
+60
+4d
+11
+20
+20
+42
+6b
+da
+60
+4d
+21
+20
+20
+42
+6b
+da
+60
+4d
+31
+20
+20
+42
+6b
+da
+60
+4d
+01
+20
+20
+42
+6b
+6f
+e0
+cc
+be
 20
+7a
+00
+00
+6f
+e0
+c9
+97
+c0
+00
+03
+6d
+c0
+00
+83
+6f
+c0
+01
 03
+6b
+20
+60
+00
+00
+58
+00
+00
 01
+20
+20
+03
+70
+58
+00
+00
+02
+20
+20
+03
+70
 58
 00
 00
@@ -3099,48 +3543,120 @@
 c0
 1e
 03
-19
+9a
 c0
 1c
 83
-15
+96
 c0
 1d
 03
-29
+aa
 c0
 19
 03
-57
+d8
 c0
 0a
 83
-63
+e4
 c0
 0a
 03
-6c
+ed
 c0
 20
 03
-5e
+df
 c0
 00
 83
-6e
+ef
 c0
-01
+09
 03
-71
+91
 c0
-09
+01
 03
-10
+80
+c0
+15
+83
+84
 20
 20
 43
 76
 70
+4b
+90
+00
+70
+4b
+99
+00
+20
+40
+03
+8a
+20
+20
+44
+41
+6f
+e0
+cb
+90
+c1
+81
+00
+00
+70
+4b
+90
+00
+20
+40
+03
+8a
+20
+40
+44
+62
+20
+20
+32
+8d
+58
+00
+00
+0c
+67
+e1
+44
+55
+6f
+e4
+4b
+bc
+c3
+8d
+80
+00
+58
+00
+00
+12
+67
+e1
+44
+55
+20
+60
+00
+00
+70
 44
 54
 01
@@ -3154,24 +3670,24 @@
 67
 20
 40
-00
-e6
+01
+2a
 20
 20
 00
-c7
+da
 20
 40
 03
-13
+94
 20
 40
 45
 84
 20
 40
-01
-f2
+02
+33
 20
 20
 48
@@ -3230,12 +3746,12 @@
 00
 20
 40
-01
-f2
+02
+33
 20
 40
 03
-13
+94
 20
 20
 48
@@ -3247,7 +3763,7 @@
 20
 40
 03
-13
+94
 6f
 e0
 c8
@@ -3255,7 +3771,7 @@
 24
 3a
 02
-32
+73
 6f
 e0
 c8
@@ -3263,7 +3779,7 @@
 c0
 01
 03
-4c
+cd
 20
 20
 48
@@ -3275,7 +3791,7 @@
 20
 5a
 03
-3e
+bf
 6f
 e0
 c8
@@ -3378,8 +3894,8 @@
 47
 20
 20
-00
-ed
+01
+31
 6f
 e4
 4b
@@ -3411,7 +3927,7 @@
 20
 22
 83
-55
+d6
 20
 20
 48
@@ -3431,7 +3947,7 @@
 c0
 00
 83
-5b
+dc
 70
 4b
 87
@@ -3507,11 +4023,11 @@
 20
 20
 03
-71
+80
 20
 40
-01
-f2
+02
+33
 20
 20
 43
@@ -3522,40 +4038,12 @@
 84
 20
 40
-01
-f2
-20
-20
-44
-3a
-70
-4b
-90
-00
-70
-4b
-99
-00
-20
-40
-44
+02
 33
 20
-40
-44
-49
-6f
-e0
-cc
-af
-24
-7a
-00
-00
-20
 20
 44
-42
+3a
 70
 48
 8f
@@ -3602,8 +4090,8 @@
 00
 20
 3a
-03
-8b
+04
+05
 6f
 e1
 48
@@ -3642,12 +4130,12 @@
 62
 24
 2c
-03
-a4
+04
+1e
 24
 37
-83
-a4
+84
+1e
 20
 40
 26
@@ -3666,8 +4154,8 @@
 00
 20
 22
-83
-88
+84
+02
 6f
 e2
 48
@@ -3682,8 +4170,8 @@
 00
 20
 42
-83
-a0
+84
+1a
 6f
 e0
 c8
@@ -3762,12 +4250,12 @@
 8f
 c0
 01
-03
-ae
+04
+28
 c0
 02
-03
-b5
+04
+2f
 20
 20
 25
@@ -3855,7 +4343,7 @@
 20
 40
 02
-00
+41
 6f
 e1
 47
@@ -3888,6 +4376,10 @@
 e1
 4b
 03
+67
+e0
+c4
+54
 20
 20
 45
@@ -3930,8 +4422,8 @@
 51
 c2
 80
-83
-d7
+84
+52
 20
 20
 16
@@ -3974,8 +4466,8 @@
 00
 c0
 04
-83
-e2
+84
+5d
 20
 20
 4d
@@ -4050,8 +4542,8 @@
 8e
 c0
 03
-83
-f5
+84
+70
 20
 20
 57
@@ -4123,7 +4615,7 @@
 c0
 02
 04
-07
+82
 20
 20
 19
@@ -4139,11 +4631,11 @@
 c0
 05
 04
-0c
+87
 c0
 09
 04
-1b
+96
 20
 20
 1c
@@ -4171,7 +4663,7 @@
 c2
 81
 84
-16
+91
 6f
 e1
 44
@@ -4199,11 +4691,11 @@
 24
 22
 84
-12
+8d
 24
 34
 04
-12
+8d
 20
 20
 1d
@@ -4283,7 +4775,7 @@
 20
 40
 04
-3a
+b5
 58
 00
 00
@@ -4294,8 +4786,8 @@
 5e
 20
 40
-02
-f2
+03
+52
 20
 40
 3f
@@ -4307,7 +4799,7 @@
 20
 40
 04
-51
+ce
 6f
 e0
 c8
@@ -4327,7 +4819,7 @@
 20
 40
 04
-4a
+c6
 20
 20
 45
@@ -4347,11 +4839,15 @@
 c0
 06
 04
-40
+bc
+c0
+06
+c2
+b0
 c0
 05
 84
-40
+bc
 20
 20
 42
@@ -4367,7 +4863,7 @@
 c0
 7f
 84
-46
+c2
 68
 48
 c9
@@ -4408,18 +4904,22 @@
 05
 80
 00
+c1
+06
+80
+00
 20
 40
-04
-ae
+05
+2b
 20
 40
 47
 58
 20
 40
-04
-b1
+05
+2e
 20
 60
 00
@@ -4427,11 +4927,11 @@
 20
 40
 04
-54
+d1
 20
 40
-04
-8a
+05
+07
 20
 20
 41
@@ -4451,15 +4951,15 @@
 20
 40
 04
-5b
+d8
 20
 40
 04
-6a
+e7
 20
 40
 04
-77
+f4
 20
 20
 41
@@ -4470,8 +4970,8 @@
 1c
 20
 40
-04
-84
+05
+01
 20
 40
 41
@@ -4490,8 +4990,8 @@
 1d
 20
 40
-04
-84
+05
+01
 20
 40
 41
@@ -4510,8 +5010,8 @@
 1e
 20
 40
-04
-84
+05
+01
 20
 40
 41
@@ -4555,7 +5055,7 @@
 c0
 7f
 84
-73
+f0
 20
 20
 41
@@ -4566,8 +5066,8 @@
 11
 20
 40
+05
 04
-87
 68
 48
 c9
@@ -4607,7 +5107,7 @@
 c0
 7f
 84
-80
+fd
 20
 20
 41
@@ -4618,8 +5118,8 @@
 12
 20
 40
+05
 04
-87
 68
 48
 c9
@@ -4670,12 +5170,12 @@
 00
 20
 40
-04
-91
+05
+0e
 20
 40
-04
-94
+05
+11
 20
 20
 41
@@ -4718,8 +5218,8 @@
 80
 c0
 00
-04
-9c
+05
+19
 20
 20
 7a
@@ -4746,8 +5246,8 @@
 c4
 c0
 00
-84
-a3
+85
+20
 20
 20
 7a
@@ -4758,8 +5258,8 @@
 5a
 c0
 04
-84
-a6
+85
+23
 20
 20
 7a
@@ -4838,16 +5338,16 @@
 00
 20
 40
-04
-c1
+05
+3e
 20
 40
-04
-e9
+05
+66
 20
 40
-04
-c6
+05
+43
 6f
 e0
 cc
@@ -4898,8 +5398,8 @@
 5b
 20
 40
-04
-ca
+05
+47
 6f
 e0
 c9
@@ -4946,8 +5446,8 @@
 00
 24
 41
-04
-de
+05
+5b
 1f
 e2
 24
@@ -5034,24 +5534,24 @@
 12
 20
 40
-04
-e1
+05
+5e
 6f
 e4
 4b
 bc
 c2
 8e
-84
-f0
+85
+6d
 c2
 8f
-04
-f2
+05
+6f
 c2
 8f
-84
-f4
+85
+71
 70
 49
 2e
@@ -5094,8 +5594,8 @@
 00
 20
 40
-04
-fc
+05
+79
 6f
 e0
 c9
@@ -5119,11 +5619,11 @@
 24
 20
 85
-00
+7d
 20
 20
 05
-0d
+8a
 6f
 e0
 c9
@@ -5175,7 +5675,7 @@
 20
 20
 02
-41
+82
 6f
 e0
 c9
@@ -5206,16 +5706,16 @@
 8b
 20
 40
-01
-cf
+02
+10
 70
 40
 99
 00
 20
 40
-04
-e4
+05
+61
 20
 40
 48
@@ -5223,7 +5723,7 @@
 20
 40
 00
-43
+51
 78
 55
 fc
@@ -5234,8 +5734,8 @@
 0a
 58
 00
-04
-b8
+05
+35
 67
 e1
 0b
@@ -5283,11 +5783,11 @@
 c0
 2d
 05
-2a
+a7
 c0
 52
 85
-2e
+ab
 20
 60
 00
@@ -5346,8 +5846,8 @@
 00
 20
 40
-04
-cf
+05
+4c
 24
 74
 00
@@ -5363,7 +5863,7 @@
 20
 20
 05
-3c
+b9
 6f
 f0
 8c
@@ -5379,7 +5879,7 @@
 c3
 0a
 85
-42
+bf
 6f
 e0
 cb
@@ -5387,7 +5887,7 @@
 c0
 00
 85
-48
+c5
 20
 40
 37
@@ -5419,7 +5919,7 @@
 20
 3a
 05
-53
+d0
 6f
 e4
 4b
@@ -5435,11 +5935,11 @@
 c0
 01
 85
-55
+d2
 c0
 01
 05
-5c
+d9
 20
 40
 37
@@ -5463,7 +5963,7 @@
 20
 20
 05
-4b
+c8
 20
 40
 37
@@ -5520,8 +6020,8 @@
 60
 00
 00
-33
-2f
+ad
+5f
 aa
 55
 40
@@ -5552,7 +6052,7 @@
 20
 00
 00
-c8
+d8
 eb
 2d
 77
@@ -5662,13 +6162,13 @@
 bc
 4b
 04
-29
-46
-40
+09
+56
+18
 00
-22
-02
-1f
+36
+82
+17
 aa
 55
 01
@@ -5700,14 +6200,14 @@
 00
 11
 49
-02
-0f
-0e
+ff
 ff
 03
 ff
-06
-04
+00
+ff
+0c
+0b
 aa
 55
 0b
@@ -5716,23 +6216,23 @@
 49
 ff
 ff
-02
+0d
+07
+0a
 0f
-0e
-00
 ff
 ff
-ff
-05
-07
+0e
+01
+02
 aa
 55
 03
 00
 29
 49
-00
-00
+01
+01
 00
 aa
 55
@@ -5747,7 +6247,7 @@
 00
 b5
 4c
-00
+02
 aa
 55
 01
@@ -5761,11 +6261,11 @@
 00
 b9
 4c
-8a
-8d
+09
+84
+85
 ff
 ff
-81
 aa
 55
 03
@@ -5813,7 +6313,7 @@
 c4
 4b
 03
-02
+03
 aa
 55
 08
@@ -5894,7 +6394,7 @@
 db
 4b
 07
-05
+03
 aa
 55
 01
@@ -5915,18 +6415,18 @@
 00
 a3
 44
-05
+02
 aa
 55
 06
 00
 e7
 48
-0f
-01
-a2
+e2
 00
-b4
+a7
+00
+b2
 00
 aa
 55
@@ -5993,29 +6493,36 @@
 53
 aa
 55
-0c
+13
 00
 ff
 45
-0b
+12
 42
-54
-33
-2e
-30
+6c
+75
+65
+74
+6f
+6f
+74
+68
 20
-4d
+6d
 6f
 75
 73
 65
+33
+2e
+30
 aa
 55
 05
 00
 55
 44
-0e
+12
 00
 01
 00
@@ -6095,82 +6602,103 @@
 00
 e3
 4a
-06
-ff
-06
-00
-03
-00
-80
-0c
+13
 09
 42
-54
-35
-2e
-32
+6c
+75
+65
+74
+6f
+6f
+74
+68
 20
-4d
+6d
 6f
 75
 73
 65
+35
+2e
+32
 aa
 55
-0e
+15
 00
 07
 44
 1f
-0c
+13
 09
 42
-54
-35
-2e
-32
+6c
+75
+65
+74
+6f
+6f
+74
+68
 20
-4d
+6d
 6f
 75
 73
 65
+35
+2e
+32
 aa
 55
-0c
+13
 00
 f7
 42
-0b
+12
 42
-54
-35
-2e
-32
+6c
+75
+65
+74
+6f
+6f
+74
+68
 20
-4d
+6d
 6f
 75
 73
 65
+35
+2e
+32
 aa
 55
-0c
+13
 00
 ff
 4b
-0b
+12
 42
-54
-35
-2e
-32
+6c
+75
+65
+74
+6f
+6f
+74
+68
 20
-4d
+6d
 6f
 75
 73
 65
+35
+2e
+32
 aa
 55
 06
@@ -6282,7 +6810,7 @@
 00
 01
 4b
-96
+64
 aa
 55
 01
@@ -6321,6 +6849,128 @@
 20
 aa
 55
+40
+00
+01
+4d
+09
+5a
+7f
+26
+7e
+00
+6e
+a3
+6f
+23
+09
+00
+7f
+00
+ff
+ff
+09
+5a
+7f
+26
+7e
+00
+6e
+b4
+6f
+34
+09
+00
+7f
+00
+ff
+ff
+09
+5a
+7f
+26
+7e
+00
+6e
+c6
+6f
+46
+09
+00
+7f
+00
+ff
+ff
+09
+5a
+7f
+26
+7e
+00
+6e
+e8
+6f
+68
+09
+00
+7f
+00
+ff
+ff
+aa
+55
+2e
+00
+d3
+4c
+7f
+26
+09
+5a
+0f
+04
+28
+0e
+29
+10
+5b
+00
+4e
+1a
+4f
+00
+70
+00
+7e
+01
+40
+ff
+41
+ff
+42
+ff
+43
+ff
+47
+af
+4a
+00
+4c
+04
+4d
+00
+4e
+03
+7e
+00
+7f
+00
+09
+00
+ff
+ff
+aa
+55
 74
 00
 e4
@@ -6671,915 +7321,265 @@
 00
 00
 77
-01
-aa
-55
-03
-00
-5f
-48
-00
-48
-60
-aa
-55
-01
-00
-81
-48
-0f
-aa
-55
-02
-00
-9d
-48
-37
-4c
-aa
-55
-01
-00
-ce
-48
-80
-aa
-55
-02
-00
-c6
-48
-14
-00
-aa
-55
-02
-00
-c4
-48
-50
-00
-aa
-55
-03
-00
-bc
-48
-00
-a6
-0e
-aa
-55
-03
-00
-bd
-49
-00
-50
-00
-aa
-55
-02
-00
-7b
-44
-80
-1f
-aa
-55
-01
-00
-85
-44
-80
-aa
-55
-01
-00
-e8
-41
-0a
-aa
-55
-01
-00
-2a
-4c
-10
-aa
-55
-02
-00
-8f
-44
-32
-49
-aa
-55
-01
-00
-8e
-44
-00
-aa
-55
-01
-00
-93
-47
-ff
-aa
-55
-01
-00
-92
-47
-1e
-aa
-55
-01
-00
-58
-0b
-ff
-aa
-55
-09
-00
-88
-4c
-01
-53
-31
-30
-10
-53
-31
-30
-30
-aa
-55
-01
-00
-87
-4c
-01
-aa
-55
-11
-00
-91
-4c
-10
-77
-69
-72
-65
-64
-5f
-6d
-6f
-73
-75
-65
-5f
-31
-33
-30
-38
-aa
-55
-01
-00
-2f
-49
-00
-aa
-55
-01
-00
-86
-4c
-0c
-aa
-55
-01
-00
-19
-49
-ff
-aa
-55
-02
-00
-26
-49
-ff
-ff
-aa
-55
-01
-00
-25
-49
-ff
-aa
-55
-01
-00
-28
-49
-ff
-aa
-55
-0a
-00
-d1
-4b
-14
-0a
-90
-01
-e8
-03
-90
-01
-64
-00
-aa
-55
-0a
-00
-ef
-48
-10
-00
-52
-00
-35
-00
-21
-00
-25
-00
-55
-aa
-aa
-55
-2e
-a4
-11
-1d
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+01
+aa
+55
+03
+00
+5f
+48
+00
+48
+60
+aa
+55
+01
+00
+81
+48
+0f
+aa
+55
+02
+00
+9d
+48
+37
+4c
+aa
+55
+01
+00
+ce
+48
+80
+aa
+55
+02
+00
+c6
+48
+14
+00
+aa
+55
+02
+00
+c4
+48
+50
+00
+aa
+55
+03
+00
+bc
+48
+00
+a6
+0e
+aa
+55
+03
+00
+bd
+49
+00
+50
+00
+aa
+55
+02
+00
+7b
+44
+80
+1f
+aa
+55
+01
+00
+85
+44
+80
+aa
+55
+01
+00
+e8
+41
+0a
+aa
+55
+01
+00
+2a
+4c
+10
+aa
+55
+02
+00
+8f
+44
+32
+49
+aa
+55
+01
+00
+8e
+44
+00
+aa
+55
+01
+00
+93
+47
 ff
+aa
+55
+01
+00
+92
+47
+1e
+aa
+55
+01
+00
+58
+0b
 ff
+aa
+55
+09
+00
+88
+4c
+01
+53
+31
+30
+10
+53
+31
+30
+30
+aa
+55
+01
+00
+87
+4c
+01
+aa
+55
+11
+00
+91
+4c
+10
+77
+69
+72
+65
+64
+5f
+6d
+6f
+73
+75
+65
+5f
+31
+33
+30
+38
+aa
+55
+01
+00
+2f
+49
+00
+aa
+55
+01
+00
+86
+4c
+0c
+aa
+55
+01
+00
+19
+49
 ff
+aa
+55
+02
+00
+26
+49
 ff
 ff
+aa
+55
+01
+00
+25
+49
 ff
+aa
+55
+01
+00
+28
+49
 ff
+aa
+55
+0a
+00
+d1
+4b
+14
+0a
+90
+01
+e8
+03
+90
+01
+64
+00
+aa
+55
+0a
+00
+ef
+48
+10
+00
+52
+00
+35
+00
+21
+00
+25
+00
+55
+aa
+aa
+55
+ea
+dd
+e6
+1e
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-57
-62
+e0
+a8
Index: output/memmap.format
===================================================================
--- /YC1308AF/branch/mouse/mouse_public_4mode_usb _1M/output/memmap.format	(revision 5448)
+++ /YC1308AF/branch/mouse/mouse_public_4mode_usb _1M/output/memmap.format	(working copy)
@@ -2304,6 +2304,25 @@
 0x4cbf mem_mouse_dpi_led_blink_enable
 0x4cc0 mem_mouse_dpi_blink_count
 0x4cc1 mem_mouse_dpi_blink_time
+0x4cc2 mem_mouse_lazy_state
+0x4cc3 mem_mouse_lazy_flag
+0x4cc4 mem_mouse_max_cnt
+0x4cc6 mem_mouse_x_left_max_count
+0x4cc8 mem_mouse_x_right_max_count
+0x4cca mem_mouse_y_count
+0x4ccb mem_24g_matrix_cnt
+0x4ccc mem_auto_ruling_cnt
+0x4ccd mem_auto_run_temp
+0x4cce mem_auto_run_random_0_count
+0x4ccf mem_auto_run_random_1_count
+0x4cd0 mem_auto_run_random_2_count
+0x4cd1 mem_auto_run_random_3_count
+0x4cd2 mem_auto_run_random_status
+0x4cd3 mem_sensor_sg8670_init
+0x4d01 mem_sensor_sg8670_dpi_800
+0x4d11 mem_sensor_sg8670_dpi_1200
+0x4d21 mem_sensor_sg8670_dpi_1600
+0x4d31 mem_sensor_sg8670_dpi_2400
 0x48d4 mem_remote_car_hard_soft_switch
 0x48d5 mem_remote_car_queue_each_size
 0x48d6 mem_remote_car_queue_length
Index: output/program.lis
===================================================================
--- /YC1308AF/branch/mouse/mouse_public_4mode_usb _1M/output/program.lis	(revision 5448)
+++ /YC1308AF/branch/mouse/mouse_public_4mode_usb _1M/output/program.lis	(working copy)
@@ -1,1880 +1,2055 @@
               include "bt_format "
               org 0x0000
-0000 c284001f bbit1 8 ,pf_patch_ext 
-0001 c0000046 beq patch00_0 ,p_soft_reset 
-0002 c0410058 beq patch10_2 ,p_shutdown_radio 
-0003 c041805f beq patch10_3 ,p_set_sync_on 
-0004 c0450074 beq patch11_2 ,p_txon_next 
-0005 c045806d beq patch11_3 ,p_initialize_radio_cont 
-0006 c056807e beq patch15_5 ,p_app_init 
-0007 c0618135 beq patch18_3 ,p_mouse_start_work 
-0008 c0630270 beq patch18_6 ,p_mouse_app_enter_hibernate 
-0009 c063827b beq patch18_7 ,p_mouse_before_hibernate 
-000a c0640288 beq patch19_0 ,p_mouse_setgpio_hibernate 
-000b c06482ba beq patch19_1 ,p_mouse_lpm_before_common 
-000c c065818e beq patch19_3 ,p_mouse_adc_read_start 
-000d c066842a beq patch19_5 ,p_mouse_motion 
-000e c06702e8 beq patch19_6 ,p_mouse_dpi_process 
-000f c06782f1 beq patch19_7 ,p_mouse_seting_dpi 
-0010 c0680454 beq patch1a_0 ,p_mouse_check_key_gpio 
-0011 c069024a beq patch1a_2 ,p_mouse_init_sunt 
-0012 c069825f beq patch1a_3 ,p_mouse_sensor_poweron 
-0013 c06a8304 beq patch1a_5 ,p_mouse_priority_bb_event 
-0014 c06c0161 beq patch1b_0 ,p_mouse_bb_event_timer 
-0015 c06e82c0 beq patch1b_5 ,p_mouse_idle 
-0016 c06f0039 beq patch1b_6 ,p_mouse_ready_reconnection_by_button 
-0017 c0700031 beq patch1c_0 ,p_mouse_led_off 
-0018 c070802d beq patch1c_1 ,p_mouse_led_on 
-0019 c06c83c2 beq patch1b_1 ,p_mouse_start_discovery 
-001a c06d03cc beq patch1b_2 ,p_mouse_stop_discovery 
-001b c06e0243 beq patch1b_4 ,p_mouse_store_device_info 
-001c c04f8072 beq patch13_7 ,p_init_param 
-001d c07383da beq patch1c_7 ,p_hid_rx_process 
-001e 2020137e branch loop 
+0000 c2840020 bbit1 8 ,pf_patch_ext 
+0001 c0000054 beq patch00_0 ,p_soft_reset 
+0002 c0410066 beq patch10_2 ,p_shutdown_radio 
+0003 c041806d beq patch10_3 ,p_set_sync_on 
+0004 c0450082 beq patch11_2 ,p_txon_next 
+0005 c045807b beq patch11_3 ,p_initialize_radio_cont 
+0006 c056808c beq patch15_5 ,p_app_init 
+0007 c0618179 beq patch18_3 ,p_mouse_start_work 
+0008 c062002e beq patch18_4 ,p_mouse_start_reconnect_device 
+0009 c06302bc beq patch18_6 ,p_mouse_app_enter_hibernate 
+000a c06382c7 beq patch18_7 ,p_mouse_before_hibernate 
+000b c06402d4 beq patch19_0 ,p_mouse_setgpio_hibernate 
+000c c064830b beq patch19_1 ,p_mouse_lpm_before_common 
+000d c06581cf beq patch19_3 ,p_mouse_adc_read_start 
+000e c06684a5 beq patch19_5 ,p_mouse_motion 
+000f c0670348 beq patch19_6 ,p_mouse_dpi_process 
+0010 c0678351 beq patch19_7 ,p_mouse_seting_dpi 
+0011 c06804d1 beq patch1a_0 ,p_mouse_check_key_gpio 
+0012 c069028b beq patch1a_2 ,p_mouse_init_sunt 
+0013 c06982ab beq patch1a_3 ,p_mouse_sensor_poweron 
+0014 c06a8373 beq patch1a_5 ,p_mouse_priority_bb_event 
+0015 c06c01a2 beq patch1b_0 ,p_mouse_bb_event_timer 
+0016 c06e8314 beq patch1b_5 ,p_mouse_idle 
+0017 c06f0046 beq patch1b_6 ,p_mouse_ready_reconnection_by_button 
+0018 c0700034 beq patch1c_0 ,p_mouse_led_off 
+0019 c0708030 beq patch1c_1 ,p_mouse_led_on 
+001a c06c843c beq patch1b_1 ,p_mouse_start_discovery 
+001b c06d0447 beq patch1b_2 ,p_mouse_stop_discovery 
+001c c06e0284 beq patch1b_4 ,p_mouse_store_device_info 
+001d c04f8080 beq patch13_7 ,p_init_param 
+001e c0738455 beq patch1c_7 ,p_hid_rx_process 
+001f 2020137e branch loop 
 
 pf_patch_ext:
-001f c00f808a beq patch23_7 ,p_twspi_reset 
-0020 c04283cf beq patch30_5 ,p_ui_timer_check 
-0021 c0470497 beq patch31_6 ,p_usb_class_type 
-0022 c04984a8 beq patch32_3 ,p_usb_tx 
-0023 c05303d3 beq patch34_6 ,p_le_enable_phy_by_pdata 
-0024 c0710378 beq patch3c_2 ,p_g24_pair_dispatch 
-0025 c0748380 beq patch3d_1 ,p_g24_reconn_dispatch 
-0026 c07500eb beq patch3d_2 ,p_g24_transmit_no_interrupt 
-0027 c07603b7 beq patch3d_4 ,p_g24_lpm_wait 
-0028 c00c83ee beq patch23_1 ,p_send_lmp 
-0029 c04f83f8 beq patch33_7 ,p_le_slave_match 
-002a c0508402 beq patch34_1 ,p_le_slave_unsync 
-002b c05f0404 beq patch37_6 ,p_le_parse_l2cap 
-002c 2020137e branch loop 
+0020 c00f809d beq patch23_7 ,p_twspi_reset 
+0021 c042844a beq patch30_5 ,p_ui_timer_check 
+0022 c0470514 beq patch31_6 ,p_usb_class_type 
+0023 c0498525 beq patch32_3 ,p_usb_tx 
+0024 c053044e beq patch34_6 ,p_le_enable_phy_by_pdata 
+0025 c07103f2 beq patch3c_2 ,p_g24_pair_dispatch 
+0026 c07483fa beq patch3d_1 ,p_g24_reconn_dispatch 
+0027 c075012f beq patch3d_2 ,p_g24_transmit_no_interrupt 
+0028 c0760431 beq patch3d_4 ,p_g24_lpm_wait 
+0029 c00c8469 beq patch23_1 ,p_send_lmp 
+002a c04f8473 beq patch33_7 ,p_le_slave_match 
+002b c050847d beq patch34_1 ,p_le_slave_unsync 
+002c c05f047f beq patch37_6 ,p_le_parse_l2cap 
+002d 2020137e branch loop 
+
+p_mouse_start_reconnect_device:
+002e 204045fd call mouse_select_reconn_device 
+002f 20203e1d branch mouse_start_reconnect_device + 1 
 
 p_mouse_led_on:
-002d 18427e00 copy temp ,pdata 
-002e c17f8000 rtneq gpio_disable 
-002f 1fe20400 copy pdata ,temp 
-0030 2020497d branch mouse_led_on + 1 
+0030 18427e00 copy temp ,pdata 
+0031 c17f8000 rtneq gpio_disable 
+0032 1fe20400 copy pdata ,temp 
+0033 2020497d branch mouse_led_on + 1 
 
 p_mouse_led_off:
-0031 18427e00 copy temp ,pdata 
-0032 c17f8000 rtneq gpio_disable 
-0033 1fe20400 copy pdata ,temp 
-0034 20204979 branch mouse_led_off + 1 
+0034 18427e00 copy temp ,pdata 
+0035 c17f8000 rtneq gpio_disable 
+0036 1fe20400 copy pdata ,temp 
+0037 20204979 branch mouse_led_off + 1 
 
 p_led_num_check:
-0035 6fe0cbc0 fetch 1 ,mem_mouse_flag + 4 
-0036 247a0000 nrtn blank 
-0037 70448e00 jam 0 ,mem_ui_led_struct_num 
-0038 20600000 rtn 
+0038 6fe0cbc0 fetch 1 ,mem_mouse_flag + 4 
+0039 247a0000 nrtn blank 
+003a 70448e00 jam 0 ,mem_ui_led_struct_num 
+003b 20600000 rtn 
+
+p_mouse_select_device_number:
+003c 6fe0c93d fetch 1 ,mem_device_flag 
+003d c0008043 beq mode_bt_device1 ,p_mouse_select_le_device2_mode 
+003e c0010040 beq mode_bt_device2 ,p_mouse_select_le_device1_mode 
+003f 20600000 rtn 
+
+p_mouse_select_le_device1_mode:
+0040 7049a101 jam mode_switch_bt1_temp ,mem_mouse_retention + 3 
+0041 70493d01 jam mode_bt_device1 ,mem_device_flag 
+0042 20204831 branch mouse_24g_stop 
+
+p_mouse_select_le_device2_mode:
+0043 7049a102 jam mode_switch_bt2_temp ,mem_mouse_retention + 3 
+0044 70493d02 jam mode_bt_device2 ,mem_device_flag 
+0045 20204831 branch mouse_24g_stop 
 
 p_mouse_ready_reconnection_by_button:
-0039 6fe0cbc5 fetch 1 ,mem_device_number 
-003a c1008000 rtneq 1 
-003b 204001cf call p_mouse_multi_led_blink_disable 
-003c 20404700 call mouse_select_device_number 
-003d 6048c93d storet 1 ,mem_device_flag 
+0046 6fe0cbc5 fetch 1 ,mem_device_number 
+0047 c1008000 rtneq 1 
+0048 6fe0c93d fetch 1 ,mem_device_flag 
+0049 c1000000 rtneq mode_24g_device 
+004a 20400210 call p_mouse_multi_led_blink_disable 
+004b 2040003c call p_mouse_select_device_number 
 
 p_mouse_store_device_number_before_reset:
-003e 7041ca00 jam 0 ,mem_link_key_exists 
-003f 20404718 call mouse_select_device_enable 
-0040 20400043 call p_mouse_stop_bluetooth_mode 
-0041 204031e6 call app_evt_button_long_pressed 
-0042 202046fb branch mouse_store_device_number_before_reset + 3 
+004c 7041ca00 jam 0 ,mem_link_key_exists 
+004d 20404718 call mouse_select_device_enable 
+004e 20400051 call p_mouse_stop_bluetooth_mode 
+004f 204031e6 call app_evt_button_long_pressed 
+0050 202046fb branch mouse_store_device_number_before_reset + 3 
 
 p_mouse_stop_bluetooth_mode:
-0043 6fe1478f fetch 2 ,mem_ui_state_map 
-0044 c3838000 rtnbit1 ui_state_bt_reconnect 
-0045 20204358 branch mouse_stop_bluetooth_mode + 2 
+0051 6fe1478f fetch 2 ,mem_ui_state_map 
+0052 c3838000 rtnbit1 ui_state_bt_reconnect 
+0053 20204358 branch mouse_stop_bluetooth_mode + 2 
 
 p_soft_reset:
-0046 20800000 clear_stack 
-0047 20403166 call app_param_init 
-0048 24558035 ncall p_led_num_check ,wake 
-0049 58004c37 setarg mem_mouse_rssi_signal_buf_patch 
-004a 67e1489d store 2 ,mem_rssi_signal_buf_ptr 
-004b 20403cb3 call mouse_xtal_init 
-004c 20200804 branch soft_reset + 3 
+0054 20800000 clear_stack 
+0055 20403166 call app_param_init 
+0056 24558038 ncall p_led_num_check ,wake 
+0057 58004c37 setarg mem_mouse_rssi_signal_buf_patch 
+0058 67e1489d store 2 ,mem_rssi_signal_buf_ptr 
+0059 20403cb3 call mouse_xtal_init 
+005a 20200804 branch soft_reset + 3 
 
 p_enable_rc_clock:
-004d 6ff20138 fetch 4 ,core_lpm_ctrl 
-004e 79207e02 set1 2 ,pdata 
-004f 67f2004c store 4 ,core_lpm_reg 
-0050 58000001 setarg lpmreg_sel_ctrl 
-0051 37d98200 until null ,lpo_edge 
-0052 67f08005 store 1 ,core_lpm_wr 
-0053 37d98200 until null ,lpo_edge 
-0054 37d98200 until null ,lpo_edge 
-0055 37d98200 until null ,lpo_edge 
-0056 20002710 nop 10000 
-0057 20600000 rtn 
+005b 6ff20138 fetch 4 ,core_lpm_ctrl 
+005c 79207e02 set1 2 ,pdata 
+005d 67f2004c store 4 ,core_lpm_reg 
+005e 58000001 setarg lpmreg_sel_ctrl 
+005f 37d98200 until null ,lpo_edge 
+0060 67f08005 store 1 ,core_lpm_wr 
+0061 37d98200 until null ,lpo_edge 
+0062 37d98200 until null ,lpo_edge 
+0063 37d98200 until null ,lpo_edge 
+0064 20002710 nop 10000 
+0065 20600000 rtn 
 
 p_shutdown_radio:
-0058 6fe0c1ea fetch 1 ,mem_gain_fix 
-0059 67e08964 store 1 ,mem_temp 
-005a 2040114c call shutdown_radio + 1 
-005b 708a0a00 jam 0 ,core_rf_ldo_en0 
-005c 6fe08964 fetch 1 ,mem_temp 
-005d 67e0c1ea store 1 ,mem_gain_fix 
-005e 20600000 rtn 
+0066 6fe0c1ea fetch 1 ,mem_gain_fix 
+0067 67e08964 store 1 ,mem_temp 
+0068 2040114c call shutdown_radio + 1 
+0069 708a0a00 jam 0 ,core_rf_ldo_en0 
+006a 6fe08964 fetch 1 ,mem_temp 
+006b 67e0c1ea store 1 ,mem_gain_fix 
+006c 20600000 rtn 
 
 p_set_sync_on:
-005f 70890005 jam 0x5 ,modem_en 
-0060 20000002 nop 2 
-0061 70890000 jam 0x0 ,modem_en 
-0062 6fe0c0c5 fetch 1 ,mem_fcomp_div 
-0063 c00c1164 beq xtal_24m ,set_sync_on_24m 
+006d 70890005 jam 0x5 ,modem_en 
+006e 20000002 nop 2 
+006f 70890000 jam 0x0 ,modem_en 
+0070 6fe0c0c5 fetch 1 ,mem_fcomp_div 
+0071 c00c1164 beq xtal_24m ,set_sync_on_24m 
 
 p_set_sync_on_16m:
-0064 708a8729 jam 0x29 ,core_syn_afc_cfg1 
-0065 20201179 branch set_sync_on_16m 
+0072 708a8729 jam 0x29 ,core_syn_afc_cfg1 
+0073 20201179 branch set_sync_on_16m 
 
 p_rf_da_ldo_abb_en_init:
-0066 6ff08a0a fetch 1 ,core_rf_ldo_en0 
-0067 79207e03 set1 3 ,pdata 
-0068 67f08a0a store 1 ,core_rf_ldo_en0 
-0069 200000f0 nop 240 
-006a 793ffe03 set0 3 ,pdata 
-006b 67f08a0a store 1 ,core_rf_ldo_en0 
-006c 20600000 rtn 
+0074 6ff08a0a fetch 1 ,core_rf_ldo_en0 
+0075 79207e03 set1 3 ,pdata 
+0076 67f08a0a store 1 ,core_rf_ldo_en0 
+0077 200000f0 nop 240 
+0078 793ffe03 set0 3 ,pdata 
+0079 67f08a0a store 1 ,core_rf_ldo_en0 
+007a 20600000 rtn 
 
 p_initialize_radio_cont:
-006d 7041eaff jam 0xff ,mem_gain_fix 
-006e 708a8500 jam 0x00 ,core_syn_loopdiv_dsm_cfg 
-006f 70892140 jam 0x40 ,core_rx_ctrl1 
-0070 20400066 call p_rf_da_ldo_abb_en_init 
-0071 20201252 branch initialize_radio_cont + 1 
+007b 7041eaff jam 0xff ,mem_gain_fix 
+007c 708a8500 jam 0x00 ,core_syn_loopdiv_dsm_cfg 
+007d 70892140 jam 0x40 ,core_rx_ctrl1 
+007e 20400074 call p_rf_da_ldo_abb_en_init 
+007f 20201252 branch initialize_radio_cont + 1 
 
 p_init_param:
-0072 70007f00 jam 0 ,mem_lmo_tid2 
-0073 202013b9 branch init_param_next + 1 
+0080 70007f00 jam 0 ,mem_lmo_tid2 
+0081 202013b9 branch init_param_next + 1 
 
 p_txon_next:
-0074 6fe0c1e8 fetch 1 ,mem_tx_power 
-0075 c0488078 beq tx_power_f17db ,p_set_tx_power_f17db 
-0076 c04a807b beq tx_power_pair ,p_set_tx_power_pair 
-0077 20201237 branch set_tx_power_10db 
+0082 6fe0c1e8 fetch 1 ,mem_tx_power 
+0083 c0488086 beq tx_power_f17db ,p_set_tx_power_f17db 
+0084 c04a8089 beq tx_power_pair ,p_set_tx_power_pair 
+0085 20201237 branch set_tx_power_10db 
 
 p_set_tx_power_f17db:
-0078 708a390a jam 0x0a ,core_tx_pwr_ctrl0 
-0079 708a3a00 jam 0x00 ,core_tx_pwr_ctrl1 
-007a 20201226 branch set_rf_ldo_cfg89 
+0086 708a390a jam 0x0a ,core_tx_pwr_ctrl0 
+0087 708a3a00 jam 0x00 ,core_tx_pwr_ctrl1 
+0088 20201226 branch set_rf_ldo_cfg89 
 
 p_set_tx_power_pair:
-007b 708a390a jam 0x0a ,core_tx_pwr_ctrl0 
-007c 708a3a00 jam 0x00 ,core_tx_pwr_ctrl1 
-007d 20201226 branch set_rf_ldo_cfg89 
+0089 708a390a jam 0x0a ,core_tx_pwr_ctrl0 
+008a 708a3a00 jam 0x00 ,core_tx_pwr_ctrl1 
+008b 20201226 branch set_rf_ldo_cfg89 
 
 p_app_init:
 
 p_mouse_init:
-007e 20406e5e call enable_authrom 
-007f 6fe0cc86 fetch 1 ,mem_usb_offline_gpio_retention 
-0080 67e08b58 store 1 ,mem_usb_offline_check_gpio 
-0081 204000bb call p_mouse_setting_config 
-0082 204041e7 call mouse_init_sunt 
-0083 20758000 rtn wake 
-0084 204002f2 call p_mouse_seting_sensor_type 
-0085 204004b4 call p_mouse_usb_check_enable 
-0086 20404766 call mouse_drawing_optima_init 
-0087 204000ca call p_mouse_cb_fuction 
-0088 20400269 call p_mouse_sensor_powerdown 
-0089 20203c7f branch mouse_init_wireless 
+008c 20406e5e call enable_authrom 
+008d 6fe0cc86 fetch 1 ,mem_usb_offline_gpio_retention 
+008e 67e08b58 store 1 ,mem_usb_offline_check_gpio 
+008f 204000ce call p_mouse_setting_config 
+0090 580000d2 setarg 0x00d2 
+0091 67e148e7 store 2 ,mem_mouse_vdd_full_vol 
+0092 204041e7 call mouse_init_sunt 
+0093 20758000 rtn wake 
+0094 20400352 call p_mouse_seting_sensor_type 
+0095 20400531 call p_mouse_usb_check_enable 
+0096 20404766 call mouse_drawing_optima_init 
+0097 204000dd call p_mouse_cb_fuction 
+0098 204002b5 call p_mouse_sensor_powerdown 
+0099 6fe1478f fetch 2 ,mem_ui_state_map 
+009a c2864593 bbit1 ui_state_btn_down ,mouse_start_discovery 
+009b 20400325 call p_mouse_check_select_device_by_switch_new 
+009c 20203e15 branch mouse_start_work 
 
 p_twspi_reset:
-008a 6fe0c923 fetch 1 ,mem_mouse_sensor_sclk_gpio 
-008b 20205b56 branch twspi_reset + 1 
+009d 6fe0c923 fetch 1 ,mem_mouse_sensor_sclk_gpio 
+009e 20205b56 branch twspi_reset + 1 
 
 p_mouse_le_name_load:
-008c 6fe44c00 fetch 8 ,mem_le_name_patch 
-008d 207a0000 rtn blank 
-008e 6fe0cbff fetch 1 ,mem_le_name_patch_len 
-008f 1fe22200 copy pdata ,rega 
-0090 1fe67c0b sub pdata ,11 ,null 
-0091 242100a2 nbranch p_mouse_le_name_patch_len_overflow ,positive 
-0092 2040009b call p_mouse_le_name_clear 
-0093 d8a04aec arg mem_le_adv_swift_pair + 9 ,contw 
-0094 20400098 call p_mouse_le_name_load_next 
-0095 d8a0440a arg mem_le_scan_data + 2 ,contw 
-0096 20400098 call p_mouse_le_name_load_next 
-0097 d8a042f8 arg mem_le_name ,contw 
+009f 6fe44c00 fetch 8 ,mem_le_name_patch 
+00a0 207a0000 rtn blank 
+00a1 6fe0cbff fetch 1 ,mem_le_name_patch_len 
+00a2 1fe22200 copy pdata ,rega 
+00a3 1fe67c0b sub pdata ,11 ,null 
+00a4 242100b5 nbranch p_mouse_le_name_patch_len_overflow ,positive 
+00a5 204000ae call p_mouse_le_name_clear 
+00a6 d8a04aec arg mem_le_adv_swift_pair + 9 ,contw 
+00a7 204000ab call p_mouse_le_name_load_next 
+00a8 d8a0440a arg mem_le_scan_data + 2 ,contw 
+00a9 204000ab call p_mouse_le_name_load_next 
+00aa d8a042f8 arg mem_le_name ,contw 
 
 p_mouse_le_name_load_next:
-0098 d8c04c00 arg mem_le_name_patch ,contr 
-0099 1a227200 copy rega ,loopcnt 
-009a 20207dd4 branch memcpy 
+00ab d8c04c00 arg mem_le_name_patch ,contr 
+00ac 1a227200 copy rega ,loopcnt 
+00ad 20207dd4 branch memcpy 
 
 p_mouse_le_name_clear:
-009b d8a04aec arg mem_le_adv_swift_pair + 9 ,contw 
-009c 204000a0 call p_mouse_le_name_clear_next 
-009d d8a0440a arg mem_le_scan_data + 2 ,contw 
-009e 204000a0 call p_mouse_le_name_clear_next 
-009f d8a042f8 arg mem_le_name ,contw 
+00ae d8a04aec arg mem_le_adv_swift_pair + 9 ,contw 
+00af 204000b3 call p_mouse_le_name_clear_next 
+00b0 d8a0440a arg mem_le_scan_data + 2 ,contw 
+00b1 204000b3 call p_mouse_le_name_clear_next 
+00b2 d8a042f8 arg mem_le_name ,contw 
 
 p_mouse_le_name_clear_next:
-00a0 df20000b arg 11 ,loopcnt 
-00a1 20207d9b branch clear_mem 
+00b3 df20000b arg 11 ,loopcnt 
+00b4 20207d9b branch clear_mem 
 
 p_mouse_le_name_patch_len_overflow:
-00a2 204000b8 call p_mouse_le_swift_pair_disable 
-00a3 6fe0cbff fetch 1 ,mem_le_name_patch_len 
-00a4 1fe0fe01 increase 1 ,pdata 
-00a5 67e0cae3 store 1 ,mem_le_adv_swift_pair 
-00a6 704ae409 jam 9 ,mem_le_adv_swift_pair + 1 
-00a7 d8c04c00 arg mem_le_name_patch ,contr 
-00a8 d8a04ae5 arg mem_le_adv_swift_pair + 2 ,contw 
-00a9 1a227200 copy rega ,loopcnt 
-00aa 20407dd4 call memcpy 
-00ab 6fe0cbff fetch 1 ,mem_le_name_patch_len 
-00ac 1fe0fe01 increase 1 ,pdata 
-00ad 67e0c408 store 1 ,mem_le_scan_data 
-00ae 70440909 jam 9 ,mem_le_scan_data + 1 
-00af d8c04c00 arg mem_le_name_patch ,contr 
-00b0 d8a0440a arg mem_le_scan_data + 2 ,contw 
-00b1 1a227200 copy rega ,loopcnt 
-00b2 20407dd4 call memcpy 
-00b3 d8c04bff arg mem_le_name_patch_len ,contr 
-00b4 d8a042f7 arg mem_le_name_len ,contw 
-00b5 1a227200 copy rega ,loopcnt 
-00b6 1f20f201 increase 1 ,loopcnt 
-00b7 20207dd4 branch memcpy 
+00b5 204000cb call p_mouse_le_swift_pair_disable 
+00b6 6fe0cbff fetch 1 ,mem_le_name_patch_len 
+00b7 1fe0fe01 increase 1 ,pdata 
+00b8 67e0cae3 store 1 ,mem_le_adv_swift_pair 
+00b9 704ae409 jam 9 ,mem_le_adv_swift_pair + 1 
+00ba d8c04c00 arg mem_le_name_patch ,contr 
+00bb d8a04ae5 arg mem_le_adv_swift_pair + 2 ,contw 
+00bc 1a227200 copy rega ,loopcnt 
+00bd 20407dd4 call memcpy 
+00be 6fe0cbff fetch 1 ,mem_le_name_patch_len 
+00bf 1fe0fe01 increase 1 ,pdata 
+00c0 67e0c408 store 1 ,mem_le_scan_data 
+00c1 70440909 jam 9 ,mem_le_scan_data + 1 
+00c2 d8c04c00 arg mem_le_name_patch ,contr 
+00c3 d8a0440a arg mem_le_scan_data + 2 ,contw 
+00c4 1a227200 copy rega ,loopcnt 
+00c5 20407dd4 call memcpy 
+00c6 d8c04bff arg mem_le_name_patch_len ,contr 
+00c7 d8a042f7 arg mem_le_name_len ,contw 
+00c8 1a227200 copy rega ,loopcnt 
+00c9 1f20f201 increase 1 ,loopcnt 
+00ca 20207dd4 branch memcpy 
 
 p_mouse_le_swift_pair_disable:
-00b8 d8a04ae3 arg mem_le_adv_swift_pair ,contw 
-00b9 df200014 arg 20 ,loopcnt 
-00ba 20207d9b branch clear_mem 
+00cb d8a04ae3 arg mem_le_adv_swift_pair ,contw 
+00cc df200014 arg 20 ,loopcnt 
+00cd 20207d9b branch clear_mem 
 
 p_mouse_setting_config:
-00bb 20758000 rtn wake 
-00bc 2040260e call g24_transmit_init 
-00bd 204022b5 call g24_chmap_param_init 
-00be 20403f60 call mouse_gpio_init 
-00bf 2040008c call p_mouse_le_name_load 
-00c0 20403dd6 call mouse_param_init 
-00c1 204001bc call p_mouse_led_multi_parm_init 
-00c2 204000c4 call p_mouse_store_normal_tx_power 
-00c3 20203cab branch mouse_setting_config + 5 
+00ce 20758000 rtn wake 
+00cf 2040260e call g24_transmit_init 
+00d0 204022b5 call g24_chmap_param_init 
+00d1 20403f60 call mouse_gpio_init 
+00d2 2040009f call p_mouse_le_name_load 
+00d3 20403dd6 call mouse_param_init 
+00d4 204001fd call p_mouse_led_multi_parm_init 
+00d5 204000d7 call p_mouse_store_normal_tx_power 
+00d6 20203cab branch mouse_setting_config + 5 
 
 p_mouse_store_normal_tx_power:
-00c4 6fe0c1e8 fetch 1 ,mem_tx_power 
-00c5 67e0cc72 store 1 ,mem_normal_tx_power 
-00c6 20600000 rtn 
+00d7 6fe0c1e8 fetch 1 ,mem_tx_power 
+00d8 67e0cc72 store 1 ,mem_normal_tx_power 
+00d9 20600000 rtn 
 
 p_mouse_fetch_normal_tx_power:
-00c7 6fe0cc72 fetch 1 ,mem_normal_tx_power 
-00c8 67e0c1e8 store 1 ,mem_tx_power 
-00c9 20600000 rtn 
+00da 6fe0cc72 fetch 1 ,mem_normal_tx_power 
+00db 67e0c1e8 store 1 ,mem_tx_power 
+00dc 20600000 rtn 
 
 p_mouse_cb_fuction:
-00ca 58004902 setarg mouse_24g_before_lpm_sleep 
-00cb 67e14479 store 2 ,mem_cb_before_lpm_sleep 
-00cc 580000cf setarg p_mouse_24g_package_data 
-00cd 67e1489f store 2 ,mem_cb_24g_transmit_data 
-00ce 20203c89 branch mouse_cb_fuction + 6 
+00dd 58004902 setarg mouse_24g_before_lpm_sleep 
+00de 67e14479 store 2 ,mem_cb_before_lpm_sleep 
+00df 580000e4 setarg p_mouse_24g_package_data 
+00e0 67e1489f store 2 ,mem_cb_24g_transmit_data 
+00e1 580000f7 setarg p_mouse_24g_search_dongle 
+00e2 67e148a1 store 2 ,mem_cb_24g_search_receiver 
+00e3 20203c89 branch mouse_cb_fuction + 6 
 
 p_mouse_24g_package_data:
-00cf c6930000 rtnmark0 mark_24g 
-00d0 20403fb0 call mouse_motion 
-00d1 24740000 nrtn user 
-00d2 6fe0cc32 fetch 1 ,mem_long_sleep_flag 
-00d3 704c3200 jam 0 ,mem_long_sleep_flag 
-00d4 245a02b8 ncall p_mouse_short_sleep_clear_wake ,blank 
-00d5 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-00d6 c30a80d9 bbit0 mouse_enable_keyboard ,p_mouse_24g_mouse_package_data 
-00d7 6fe0cb9c fetch 1 ,mem_customer_key 
-00d8 243a48c1 nbranch mouse_24g_keyboard_package_data ,blank 
+00e4 c6930000 rtnmark0 mark_24g 
+00e5 20403fb0 call mouse_motion 
+00e6 24740000 nrtn user 
+00e7 6fe0cc32 fetch 1 ,mem_long_sleep_flag 
+00e8 704c3200 jam 0 ,mem_long_sleep_flag 
+00e9 245a0309 ncall p_mouse_short_sleep_clear_wake ,blank 
+00ea 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+00eb c30a80ee bbit0 mouse_enable_keyboard ,p_mouse_24g_mouse_package_data 
+00ec 6fe0cb9c fetch 1 ,mem_customer_key 
+00ed 243a48c1 nbranch mouse_24g_keyboard_package_data ,blank 
 
 p_mouse_24g_mouse_package_data:
-00d9 204000db call p_mouse_data_xy_release 
-00da 202048ac branch mouse_24g_mouse_package_data 
+00ee 204000f0 call p_mouse_data_xy_release 
+00ef 202048ac branch mouse_24g_mouse_package_data 
 
 p_mouse_data_xy_release:
-00db 6fe0c915 fetch 1 ,mem_sensor_motion_gpio 
-00dc c1ff8000 rtnne gpio_disable 
-00dd 6fe0cc73 fetch 1 ,mem_mouse_24g_clear_sensor_data_flag 
-00de 243a00e0 nbranch p_mouse_data_xy_release_before ,blank 
-00df 2020430d branch mouse_data_xy_release + 2 
+00f0 6fe0c915 fetch 1 ,mem_sensor_motion_gpio 
+00f1 c1ff8000 rtnne gpio_disable 
+00f2 6fe0cc73 fetch 1 ,mem_mouse_24g_clear_sensor_data_flag 
+00f3 243a00f5 nbranch p_mouse_data_xy_release_before ,blank 
+00f4 2020430d branch mouse_data_xy_release + 2 
 
 p_mouse_data_xy_release_before:
-00e0 704c7300 jam 0 ,mem_mouse_24g_clear_sensor_data_flag 
-00e1 2020430f branch mouse_data_xy_release + 4 
+00f5 704c7300 jam 0 ,mem_mouse_24g_clear_sensor_data_flag 
+00f6 2020430f branch mouse_data_xy_release + 4 
+
+p_mouse_24g_search_dongle:
+00f7 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+00f8 c40b0000 rtnbit0 mouse_enable_24g_search_dongle 
+00f9 6fe0cabf fetch 1 ,mem_mouse_long_mult_flag 
+00fa 207a0000 rtn blank 
+00fb 6fe0c8ab fetch 1 ,mem_24g_abort_pac 
+00fc 207a0000 rtn blank 
+00fd 6fe0cbb2 fetch 1 ,mem_mouse_search_dongle_interval 
+00fe 1fe0fe01 increase 1 ,pdata 
+00ff 1fe17e03 and_into 3 ,pdata 
+0100 67e0cbb2 store 1 ,mem_mouse_search_dongle_interval 
+0101 247a0000 nrtn blank 
+0102 704bb300 jam 0 ,mem_mouse_search_dongle_ch 
+
+p_mouse_24g_search_dongle_loop:
+0103 6fe0cbb3 fetch 1 ,mem_mouse_search_dongle_ch 
+0104 1fe0fe01 increase 1 ,pdata 
+0105 67e0cbb3 store 1 ,mem_mouse_search_dongle_ch 
+0106 1fe67c08 sub pdata ,g24_ch_number ,null 
+0107 2421010d nbranch p_mouse_24g_search_dongle_loop_end ,positive 
+0108 204025a3 call g24_reconn_data_prep 
+0109 20402662 call g24_transmit_receive_ack 
+010a 242c0113 nbranch p_mouse_24g_search_dongle_loop_retry ,sync 
+010b 24378113 nbranch p_mouse_24g_search_dongle_loop_retry ,user3 
+010c 2040011d call p_mouse_24g_search_dongle_success 
+
+p_mouse_24g_search_dongle_loop_end:
+010d 204025a0 call g24_txbuf_clear 
+010e 6fe0cbb4 fetch 1 ,mem_mouse_search_dongle_count 
+010f 1fe0fe01 increase 1 ,pdata 
+0110 67e0cbb4 store 1 ,mem_mouse_search_dongle_count 
+0111 c0080115 beq g24_ch_poll_count ,p_mouse_24g_search_dongle_check 
+0112 20600000 rtn 
+
+p_mouse_24g_search_dongle_loop_retry:
+0113 20402281 call g24_ch 
+0114 20200103 branch p_mouse_24g_search_dongle_loop 
+
+p_mouse_24g_search_dongle_check:
+0115 704bb400 jam 0 ,mem_mouse_search_dongle_count 
+0116 6fe0cbb5 fetch 1 ,mem_mouse_search_dongle_action 
+0117 c3800000 rtnbit1 g24_disconn_state 
+0118 79207e00 set1 g24_disconn_state ,pdata 
+0119 67e0cbb5 store 1 ,mem_mouse_search_dongle_action 
+011a 6fe14bcd fetch 2 ,mem_mouse_24g_search_dongle_time_init 
+011b 67e14ac3 store 2 ,mem_mouse_no_data_timer 
+011c 202002b5 branch p_mouse_sensor_powerdown 
+
+p_mouse_24g_search_dongle_success:
+011d 6fe0c8ab fetch 1 ,mem_24g_abort_pac 
+011e 203a48c9 branch mouse_24g_search_dongle_init ,blank 
+011f 704bb400 jam 0 ,mem_mouse_search_dongle_count 
+0120 6fe0cbb5 fetch 1 ,mem_mouse_search_dongle_action 
+0121 c4000000 rtnbit0 g24_disconn_state 
+0122 793ffe00 set0 g24_disconn_state ,pdata 
+0123 67e0cbb5 store 1 ,mem_mouse_search_dongle_action 
+0124 20404584 call mouse_no_data_timer_init 
+0125 2020028d branch p_mouse_init_sensor_wakeup 
 
 p_mouse_24g_fast_conn_mode_check:
-00e2 6fe24895 fetch 4 ,mem_24g_receiver_addr 
-00e3 684a4891 fetcht 4 ,mem_24g_fast_conn_addr 
-00e4 98467c00 isub temp ,null 
-00e5 202280e8 branch p_mouse_soft_agc_enable ,zero 
+0126 6fe24895 fetch 4 ,mem_24g_receiver_addr 
+0127 684a4891 fetcht 4 ,mem_24g_fast_conn_addr 
+0128 98467c00 isub temp ,null 
+0129 2022812c branch p_mouse_soft_agc_enable ,zero 
 
 p_mouse_soft_agc_disable:
-00e6 7041eaff jam 0xff ,mem_gain_fix 
-00e7 20600000 rtn 
+012a 7041eaff jam 0xff ,mem_gain_fix 
+012b 20600000 rtn 
 
 p_mouse_soft_agc_enable:
-00e8 7041ea00 jam 0 ,mem_gain_fix 
-00e9 7041e891 jam tx_power_f17db ,mem_tx_power 
-00ea 20600000 rtn 
+012c 7041ea00 jam 0 ,mem_gain_fix 
+012d 7041e891 jam tx_power_f17db ,mem_tx_power 
+012e 20600000 rtn 
 
 p_g24_transmit_no_interrupt:
-00eb 20402638 call g24_txdata_prep 
-00ec 24340330 nbranch p_g24_nodata_transmit ,user 
+012f 20402638 call g24_txdata_prep 
+0130 243403b1 nbranch p_g24_nodata_transmit ,user 
 
 p_g24_transmit_start:
-00ed 204000fb call p_g24_transmit_process 
-00ee 204000e2 call p_mouse_24g_fast_conn_mode_check 
-00ef 6fe0cbf2 fetch 1 ,mem_sensor_shutdown_flag 
-00f0 243a00f5 nbranch p_g24_short_sleep ,blank 
-00f1 6fe448b4 fetch 8 ,mem_24g_long_sleep_set 
-00f2 67e4485f store 8 ,mem_24g_enter_hibernate 
-00f3 6fe148c6 fetch 2 ,mem_24g_long_sleep_param_update_timer_init 
-00f4 67e148c8 store 2 ,mem_24g_long_sleep_param_update_timer 
+0131 2040013f call p_g24_transmit_process 
+0132 20400126 call p_mouse_24g_fast_conn_mode_check 
+0133 6fe0cbf2 fetch 1 ,mem_sensor_shutdown_flag 
+0134 243a0139 nbranch p_g24_short_sleep ,blank 
+0135 6fe448b4 fetch 8 ,mem_24g_long_sleep_set 
+0136 67e4485f store 8 ,mem_24g_enter_hibernate 
+0137 6fe148c6 fetch 2 ,mem_24g_long_sleep_param_update_timer_init 
+0138 67e148c8 store 2 ,mem_24g_long_sleep_param_update_timer 
 
 p_g24_short_sleep:
-00f5 204026c2 call g24_lpm_wait 
-00f6 24740000 nrtn user 
-00f7 204026cb call g24_setgpio_lpm_before 
-00f8 20407f52 call clear_wake 
-00f9 6fe1c8b1 fetch 3 ,mem_24g_short_sleep_set 
-00fa 202026bf branch g24_long_seep2 
+0139 204026c2 call g24_lpm_wait 
+013a 24740000 nrtn user 
+013b 204026cb call g24_setgpio_lpm_before 
+013c 20407f52 call clear_wake 
+013d 6fe1c8b1 fetch 3 ,mem_24g_short_sleep_set 
+013e 202026bf branch g24_long_seep2 
 
 p_g24_transmit_process:
-00fb 58000000 setarg 0 
-00fc 67e0c8aa store 1 ,mem_24g_retry 
+013f 58000000 setarg 0 
+0140 67e0c8aa store 1 ,mem_24g_retry 
 
 p_g24_transmit_loop:
-00fd 20402662 call g24_transmit_receive_ack 
-00fe 6fe0c82f fetch 1 ,mem_24g_no_ack 
-00ff c000a658 beq no_ack_24g ,g24_transmit_no_ack 
-0100 242c0105 nbranch p_g24_retransmit ,sync 
-0101 24378105 nbranch p_g24_retransmit ,user3 
-0102 20402679 call g24_ackpayload_parse 
-0103 20400122 call p_mouse_wakeup_24g 
-0104 20202658 branch g24_transmit_no_ack 
+0141 20402662 call g24_transmit_receive_ack 
+0142 6fe0c82f fetch 1 ,mem_24g_no_ack 
+0143 c000a658 beq no_ack_24g ,g24_transmit_no_ack 
+0144 242c0149 nbranch p_g24_retransmit ,sync 
+0145 24378149 nbranch p_g24_retransmit ,user3 
+0146 20402679 call g24_ackpayload_parse 
+0147 20400166 call p_mouse_wakeup_24g 
+0148 20202658 branch g24_transmit_no_ack 
 
 p_g24_retransmit:
-0105 6fe0cad6 fetch 1 ,mem_mouse_need_soft_reset 
-0106 247a0000 nrtn blank 
-0107 20400112 call p_mouse_select_device_by_pb_button 
-0108 6fe0c8ab fetch 1 ,mem_24g_abort_pac 
-0109 247a0000 nrtn blank 
-010a 6fe148a7 fetch 2 ,mem_24g_txfail_cnt 
-010b 1fe0fe01 increase 1 ,pdata 
-010c 67e148a7 store 2 ,mem_24g_txfail_cnt 
-010d 6fe148a7 fetch 2 ,mem_24g_txfail_cnt 
-010e c2842680 bbit1 8 ,g24_tx_attempt_fail 
-010f 20402685 call g24_transmit_hop_process 
-0110 2040012f call p_delay_40ms 
-0111 202000fd branch p_g24_transmit_loop 
+0149 6fe0cad6 fetch 1 ,mem_mouse_need_soft_reset 
+014a 247a0000 nrtn blank 
+014b 20400156 call p_mouse_select_device_by_pb_button 
+014c 6fe0c8ab fetch 1 ,mem_24g_abort_pac 
+014d 247a0000 nrtn blank 
+014e 6fe148a7 fetch 2 ,mem_24g_txfail_cnt 
+014f 1fe0fe01 increase 1 ,pdata 
+0150 67e148a7 store 2 ,mem_24g_txfail_cnt 
+0151 6fe148a7 fetch 2 ,mem_24g_txfail_cnt 
+0152 c2842680 bbit1 8 ,g24_tx_attempt_fail 
+0153 20402685 call g24_transmit_hop_process 
+0154 20400173 call p_delay_40ms 
+0155 20200141 branch p_g24_transmit_loop 
 
 p_mouse_select_device_by_pb_button:
-0112 6fe0c91f fetch 1 ,mem_config_select_device_button_gpio 
-0113 c17f8000 rtneq gpio_disable 
-0114 da200000 arg 0 ,rega 
-0115 704ba706 jam mouse_pb_key ,mem_mouse_key_temp 
-0116 6848c91f fetcht 1 ,mem_config_select_device_button_gpio 
-0117 204046a8 call mouse_pb_button_check 
-0118 67e0cba5 store 1 ,mem_mouse_pbkey_press_status 
-0119 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
-011a c07f811f beq gpio_disable ,p_mouse_3io6key_pb_button_check_end 
-011b 204041a8 call mouse_matrix_public_gpio_reset 
+0156 6fe0c91f fetch 1 ,mem_config_select_device_button_gpio 
+0157 c17f8000 rtneq gpio_disable 
+0158 da200000 arg 0 ,rega 
+0159 704ba706 jam mouse_pb_key ,mem_mouse_key_temp 
+015a 6848c91f fetcht 1 ,mem_config_select_device_button_gpio 
+015b 204046a8 call mouse_pb_button_check 
+015c 67e0cba5 store 1 ,mem_mouse_pbkey_press_status 
+015d 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
+015e c07f8163 beq gpio_disable ,p_mouse_3io6key_pb_button_check_end 
+015f 204041a8 call mouse_matrix_public_gpio_reset 
 
 p_mouse_select_device_by_pb_button_exit:
-011c 1a227e00 copy rega ,pdata 
-011d c28346cb bbit1 mouse_pb_key ,mouse_select_device_button_down + 2 
-011e 202046be branch mouse_select_device_button_up 
+0160 1a227e00 copy rega ,pdata 
+0161 c28346cb bbit1 mouse_pb_key ,mouse_select_device_button_down + 2 
+0162 202046be branch mouse_select_device_button_up 
 
 p_mouse_3io6key_pb_button_check_end:
-011f 6848c91f fetcht 1 ,mem_config_select_device_button_gpio 
-0120 20403f96 call mouse_gpio_config_input_pu 
-0121 2020011c branch p_mouse_select_device_by_pb_button_exit 
+0163 6848c91f fetcht 1 ,mem_config_select_device_button_gpio 
+0164 20403f96 call mouse_gpio_config_input_pu 
+0165 20200160 branch p_mouse_select_device_by_pb_button_exit 
 
 p_mouse_wakeup_24g:
-0122 6fe0cbf2 fetch 1 ,mem_sensor_shutdown_flag 
-0123 245a0126 ncall p_mouse_wakeup_24g_from_long_sleep ,blank 
-0124 704bf200 jam 0 ,mem_sensor_shutdown_flag 
-0125 20600000 rtn 
+0166 6fe0cbf2 fetch 1 ,mem_sensor_shutdown_flag 
+0167 245a016a ncall p_mouse_wakeup_24g_from_long_sleep ,blank 
+0168 704bf200 jam 0 ,mem_sensor_shutdown_flag 
+0169 20600000 rtn 
 
 p_mouse_wakeup_24g_from_long_sleep:
-0126 2040024c call p_mouse_init_sensor_wakeup 
-0127 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-0128 c41e0000 rtnbit0 mouse_enable_wheel_wake_up_cancel 
+016a 2040028d call p_mouse_init_sensor_wakeup 
+016b 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+016c c41e0000 rtnbit0 mouse_enable_wheel_wake_up_cancel 
 
 p_mouse_wheel_set_wakeup:
-0129 6fe0c917 fetch 1 ,mem_whee_a_data_gpio 
-012a 20403f96 call mouse_gpio_config_input_pu 
-012b 6fe0c918 fetch 1 ,mem_whee_b_data_gpio 
-012c 20203f96 branch mouse_gpio_config_input_pu 
+016d 6fe0c917 fetch 1 ,mem_whee_a_data_gpio 
+016e 20403f96 call mouse_gpio_config_input_pu 
+016f 6fe0c918 fetch 1 ,mem_whee_b_data_gpio 
+0170 20203f96 branch mouse_gpio_config_input_pu 
 
 p_g24_tx_fast_hop:
-012d 2040012f call p_delay_40ms 
-012e 20202281 branch g24_ch 
+0171 20400173 call p_delay_40ms 
+0172 20202281 branch g24_ch 
 
 p_delay_40ms:
-012f 6fe0c8a7 fetch 1 ,mem_24g_txfail_cnt 
-0130 1fe67c80 sub pdata ,0x80 ,null 
-0131 20610000 rtn positive 
-0132 704c7301 jam 1 ,mem_mouse_24g_clear_sensor_data_flag 
-0133 df200028 arg 40 ,loopcnt 
-0134 20207d86 branch delay_ms_wait 
+0173 6fe0c8a7 fetch 1 ,mem_24g_txfail_cnt 
+0174 1fe67c80 sub pdata ,0x80 ,null 
+0175 20610000 rtn positive 
+0176 704c7301 jam 1 ,mem_mouse_24g_clear_sensor_data_flag 
+0177 df200028 arg 40 ,loopcnt 
+0178 20207d86 branch delay_ms_wait 
 
 p_mouse_start_work:
-0135 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-0136 c30a0142 bbit0 mouse_enable_adc ,p_mouse_start_work_next 
-0137 20406166 call enable_adc 
-0138 2040618d call vdd_calculate_by_mode 
-0139 67e148ed store 2 ,mem_mouse_vdd_now_vol 
-013a 68494496 fetcht 2 ,mem_2v_adc_vinlpm_data 
-013b 6fe144a4 fetch 2 ,mem_adc_current_value 
-013c 98467c00 isub temp ,null 
-013d 20210135 branch p_mouse_start_work ,positive 
-013e da2048e7 arg mem_mouse_vdd_calculate_set ,rega 
-013f 20403f1a call mouse_adc_bat_percent_lowpower_out 
-0140 6fe0c4a6 fetch 1 ,mem_adc_power_flag 
-0141 c280be5a bbit1 1 ,mouse_app_enter_hibernate 
 
 p_mouse_start_work_next:
-0142 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-0143 c297c849 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
-0144 6fe0c93d fetch 1 ,mem_device_flag 
-0145 c0000156 beq mode_24g_device ,p_mouse_24g_start_mode 
+0179 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+017a c297c849 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
+017b 6fe0c93d fetch 1 ,mem_device_flag 
+017c c0000197 beq mode_24g_device ,p_mouse_24g_start_mode 
+017d 7048e7d2 jam 0xd2 ,mem_mouse_vdd_full_vol 
+017e 7048e997 jam 0x97 ,mem_mouse_vdd_full_vol + 2 
+017f 7048eba3 jam 0xa3 ,mem_mouse_vdd_full_vol + 4 
+0180 20400187 call p_mouse_buleyooyh_type_choose 
 
 p_mouse_le_fast_conn_judge:
-0146 20400204 call p_mouse_device_le_reconn_led_config 
-0147 20404354 call mouse_bluetooth_fast_conn_disable 
-0148 6fe0c93d fetch 1 ,mem_device_flag 
-0149 c000814c beq mode_bt_device1 ,p_mouse_le_device1_judge 
-014a c0010151 beq mode_bt_device2 ,p_mouse_le_device2_judge 
-014b 20600000 rtn 
+0181 20400245 call p_mouse_device_le_reconn_led_config 
+0182 20404354 call mouse_bluetooth_fast_conn_disable 
+0183 6fe0c93d fetch 1 ,mem_device_flag 
+0184 c000818d beq mode_bt_device1 ,p_mouse_le_device1_judge 
+0185 c0010192 beq mode_bt_device2 ,p_mouse_le_device2_judge 
+0186 20600000 rtn 
+
+p_mouse_buleyooyh_type_choose:
+0187 6fe0c93d fetch 1 ,mem_device_flag 
+0188 c000818b beq 1 ,p_mouse_buletooth_choose_ble 
+
+p_mouse_buletooth_choose_bt:
+0189 704bc401 jam 1 ,mem_mouse_bluetooth_type 
+018a 20600000 rtn 
+
+p_mouse_buletooth_choose_ble:
+018b 704bc402 jam 2 ,mem_mouse_bluetooth_type 
+018c 20600000 rtn 
 
 p_mouse_le_device1_judge:
-014c 6fe3493f fetch 6 ,mem_device1_addr 
-014d 684b4979 fetcht 6 ,mem_mouse_compare_addr_ff 
-014e 98467c00 isub temp ,null 
-014f 2022c32b branch mouse_buletooth_fast_conn_init ,zero 
-0150 20203e1c branch mouse_start_reconnect_device 
+018d 6fe3493f fetch 6 ,mem_device1_addr 
+018e 684b4979 fetcht 6 ,mem_mouse_compare_addr_ff 
+018f 98467c00 isub temp ,null 
+0190 2022c32b branch mouse_buletooth_fast_conn_init ,zero 
+0191 20203e1c branch mouse_start_reconnect_device 
 
 p_mouse_le_device2_judge:
-0151 6fe3495c fetch 6 ,mem_device2_addr 
-0152 684b4979 fetcht 6 ,mem_mouse_compare_addr_ff 
-0153 98467c00 isub temp ,null 
-0154 2022c32b branch mouse_buletooth_fast_conn_init ,zero 
-0155 20203e1c branch mouse_start_reconnect_device 
+0192 6fe3495c fetch 6 ,mem_device2_addr 
+0193 684b4979 fetcht 6 ,mem_mouse_compare_addr_ff 
+0194 98467c00 isub temp ,null 
+0195 2022c32b branch mouse_buletooth_fast_conn_init ,zero 
+0196 20203e1c branch mouse_start_reconnect_device 
 
 p_mouse_24g_start_mode:
-0156 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-0157 c308c842 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
-0158 204001f8 call p_mouse_device_pair_led_config 
-0159 20403e28 call mouse_wakeup_from_power_check 
-015a 20344845 branch mouse_24g_reconn_dongle_start ,user 
-015b 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-015c c298484b bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
-015d c318c84b bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
-015e 20404150 call mouse_key_check_once 
-015f 1a217e07 and rega ,0x07 ,pdata 
-0160 2020483e branch mouse_24g_start_mode + 9 
+0197 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0198 c308c842 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
+0199 20400239 call p_mouse_device_pair_led_config 
+019a 20403e28 call mouse_wakeup_from_power_check 
+019b 20344845 branch mouse_24g_reconn_dongle_start ,user 
+019c 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+019d c298484b bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
+019e c318c84b bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
+019f 20404150 call mouse_key_check_once 
+01a0 1a217e07 and rega ,0x07 ,pdata 
+01a1 2020483e branch mouse_24g_start_mode + 9 
 
 p_mouse_bb_event_timer:
-0161 20403edc call mouse_adc_read 
-0162 204001ab call p_mouse_low_voltage_led_timer 
-0163 204022e1 call g24_pair_timeout_timer 
-0164 2040255f call g24_reconn_timeout_timer 
-0165 2040480b call mouse_24g_long_sleep_param_update_timer 
-0166 204001c4 call p_mouse_led_multi_timer 
-0167 20400178 call p_mouse_dpi_led_timer 
-0168 204040bc call mouse_dpi_key_check_long_press 
-0169 204002d1 call p_mouse_bt_discovery_check 
-016a 2040020a call p_mouse_commbination_key_process 
-016b 2040453f call mouse_check_discovery_timeout_timer 
-016c 20400221 call p_mouse_check_direct_timeout_timer 
-016d 20404552 call mouse_le_enable_att_list_timer 
-016e 20400225 call p_mouse_le_battery_updata_timer 
-016f 20404555 call mouse_le_send_smp_security_request_timer 
-0170 20400228 call p_mouse_le_send_conn_param_update_timer 
-0171 2040456a call mouse_check_hid_handshake_timer 
-0172 2040456d call mouse_bt_check_sniff_req_timeout_timer 
-0173 20404572 call mouse_check_reconnect_delay_long_sleep 
-0174 20404575 call mouse_current_mult_update_timer 
-0175 20404062 call mouse_wheel_trigger_timer 
-0176 2040023b call p_mouse_store_information_delay_timer 
-0177 2020022b branch p_mouse_check_no_data_timeout_timer 
+01a2 20403edc call mouse_adc_read 
+01a3 204001ec call p_mouse_low_voltage_led_timer 
+01a4 204022e1 call g24_pair_timeout_timer 
+01a5 2040255f call g24_reconn_timeout_timer 
+01a6 2040480b call mouse_24g_long_sleep_param_update_timer 
+01a7 20400205 call p_mouse_led_multi_timer 
+01a8 204001b9 call p_mouse_dpi_led_timer 
+01a9 204040bc call mouse_dpi_key_check_long_press 
+01aa 20400331 call p_mouse_bt_discovery_check 
+01ab 2040024b call p_mouse_commbination_key_process 
+01ac 2040453f call mouse_check_discovery_timeout_timer 
+01ad 20400262 call p_mouse_check_direct_timeout_timer 
+01ae 20404552 call mouse_le_enable_att_list_timer 
+01af 20400266 call p_mouse_le_battery_updata_timer 
+01b0 20404555 call mouse_le_send_smp_security_request_timer 
+01b1 20400269 call p_mouse_le_send_conn_param_update_timer 
+01b2 2040456a call mouse_check_hid_handshake_timer 
+01b3 2040456d call mouse_bt_check_sniff_req_timeout_timer 
+01b4 20404572 call mouse_check_reconnect_delay_long_sleep 
+01b5 20404575 call mouse_current_mult_update_timer 
+01b6 20404062 call mouse_wheel_trigger_timer 
+01b7 2040027c call p_mouse_store_information_delay_timer 
+01b8 2020026c branch p_mouse_check_no_data_timeout_timer 
 
 p_mouse_dpi_led_timer:
-0178 6fe0ccbf fetch 1 ,mem_mouse_dpi_led_blink_enable 
-0179 207a0000 rtn blank 
-017a 6fe0ccc1 fetch 1 ,mem_mouse_dpi_blink_time 
-017b 1fe0fe01 pincrease 1 
-017c 67e0ccc1 store 1 ,mem_mouse_dpi_blink_time 
-017d c0018180 beq 3 ,p_mouse_dpi_led_on 
-017e c0030184 beq 6 ,p_mouse_dpi_led_off_check 
-017f 20600000 rtn 
+01b9 6fe0ccbf fetch 1 ,mem_mouse_dpi_led_blink_enable 
+01ba 207a0000 rtn blank 
+01bb 6fe0ccc1 fetch 1 ,mem_mouse_dpi_blink_time 
+01bc 1fe0fe01 pincrease 1 
+01bd 67e0ccc1 store 1 ,mem_mouse_dpi_blink_time 
+01be c00181c1 beq 3 ,p_mouse_dpi_led_on 
+01bf c00301c5 beq 6 ,p_mouse_dpi_led_off_check 
+01c0 20600000 rtn 
 
 p_mouse_dpi_led_on:
-0180 6fe0ccb5 fetch 1 ,mem_mouse_led_multi_type 
-0181 c28001d7 bbit1 led_multi_dpi ,p_mouse_device_multi_led_on 
-0182 6848ccbc fetcht 1 ,mem_mouse_1io2led_dpi_led 
-0183 2020610d branch gpio_out_active 
+01c1 6fe0ccb5 fetch 1 ,mem_mouse_led_multi_type 
+01c2 c2800218 bbit1 led_multi_dpi ,p_mouse_device_multi_led_on 
+01c3 6848ccbc fetcht 1 ,mem_mouse_1io2led_dpi_led 
+01c4 2020610d branch gpio_out_active 
 
 p_mouse_dpi_led_off_check:
-0184 704cc100 jam 0 ,mem_mouse_dpi_blink_time 
-0185 6fe0ccc0 fetch 1 ,mem_mouse_dpi_blink_count 
-0186 1fe0ffff increase -1 ,pdata 
-0187 67e0ccc0 store 1 ,mem_mouse_dpi_blink_count 
-0188 243a018a nbranch p_mouse_dpi_led_off ,blank 
-0189 704cbf00 jam 0 ,mem_mouse_dpi_led_blink_enable 
+01c5 704cc100 jam 0 ,mem_mouse_dpi_blink_time 
+01c6 6fe0ccc0 fetch 1 ,mem_mouse_dpi_blink_count 
+01c7 1fe0ffff increase -1 ,pdata 
+01c8 67e0ccc0 store 1 ,mem_mouse_dpi_blink_count 
+01c9 243a01cb nbranch p_mouse_dpi_led_off ,blank 
+01ca 704cbf00 jam 0 ,mem_mouse_dpi_led_blink_enable 
 
 p_mouse_dpi_led_off:
-018a 6fe0ccb5 fetch 1 ,mem_mouse_led_multi_type 
-018b c28001dd bbit1 led_multi_dpi ,p_mouse_device_multi_led_off 
-018c 6848ccbc fetcht 1 ,mem_mouse_1io2led_dpi_led 
-018d 20206109 branch gpio_out_inactive 
+01cb 6fe0ccb5 fetch 1 ,mem_mouse_led_multi_type 
+01cc c280021e bbit1 led_multi_dpi ,p_mouse_device_multi_led_off 
+01cd 6848ccbc fetcht 1 ,mem_mouse_1io2led_dpi_led 
+01ce 20206109 branch gpio_out_inactive 
 
 p_mouse_adc_read_start:
-018e 7048fa00 jam 0 ,mem_adc_read_timer 
-018f 20406166 call enable_adc 
-0190 2040618d call vdd_calculate_by_mode 
-0191 67e148ed store 2 ,mem_mouse_vdd_now_vol 
-0192 6fe0c4a2 fetch 1 ,mem_adc_config_flag 
-0193 c081019a bne adc_config_gpio ,p_mouse_adc_data_process 
-0194 684948ed fetcht 2 ,mem_mouse_vdd_now_vol 
-0195 184ffe08 mul32 temp ,8 ,pdata 
-0196 1fe6fc0a div pdata ,10 
-0197 20407e61 call get_div_result 
-0198 9840fe00 iadd temp ,pdata 
-0199 67e148ed store 2 ,mem_mouse_vdd_now_vol 
+01cf 7048fa00 jam 0 ,mem_adc_read_timer 
+01d0 20406166 call enable_adc 
+01d1 2040618d call vdd_calculate_by_mode 
+01d2 67e148ed store 2 ,mem_mouse_vdd_now_vol 
+01d3 6fe0c4a2 fetch 1 ,mem_adc_config_flag 
+01d4 c08101db bne adc_config_gpio ,p_mouse_adc_data_process 
+01d5 684948ed fetcht 2 ,mem_mouse_vdd_now_vol 
+01d6 184ffe08 mul32 temp ,8 ,pdata 
+01d7 1fe6fc0a div pdata ,10 
+01d8 20407e61 call get_div_result 
+01d9 9840fe00 iadd temp ,pdata 
+01da 67e148ed store 2 ,mem_mouse_vdd_now_vol 
 
 p_mouse_adc_data_process:
-019a da2048e7 arg mem_mouse_vdd_calculate_set ,rega 
-019b 20403f1a call mouse_adc_bat_percent_lowpower_out 
-019c 6fe0c4a6 fetch 1 ,mem_adc_power_flag 
-019d c280bf5e bbit1 1 ,mouse_power_down 
-019e c30001a1 bbit0 0 ,p_mouse_adc_no_low_voltage 
-019f 7048fe01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
-01a0 20203f10 branch mouse_adc_low_voltage 
+01db da2048e7 arg mem_mouse_vdd_calculate_set ,rega 
+01dc 20403f1a call mouse_adc_bat_percent_lowpower_out 
+01dd 6fe0c4a6 fetch 1 ,mem_adc_power_flag 
+01de c280bf5e bbit1 1 ,mouse_power_down 
+01df c30001e2 bbit0 0 ,p_mouse_adc_no_low_voltage 
+01e0 7048fe01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
+01e1 20203f10 branch mouse_adc_low_voltage 
 
 p_mouse_adc_no_low_voltage:
-01a1 d8e00004 arg mouse_low_voltage_flag ,queue 
-01a2 20404732 call mouse_disable_function_flag 
-01a3 7048fc0c jam 12 ,mem_adc_low_volatage_led_timer_count 
-01a4 6fe0c8fe fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
-01a5 207a0000 rtn blank 
-01a6 7048fe00 jam 0 ,mem_mouse_adc_last_low_voltage_flag 
+01e2 d8e00004 arg mouse_low_voltage_flag ,queue 
+01e3 20404732 call mouse_disable_function_flag 
+01e4 7048fc0c jam 12 ,mem_adc_low_volatage_led_timer_count 
+01e5 6fe0c8fe fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
+01e6 207a0000 rtn blank 
+01e7 7048fe00 jam 0 ,mem_mouse_adc_last_low_voltage_flag 
 
 p_mouse_low_voltage_led_off:
-01a7 6fe0ccb5 fetch 1 ,mem_mouse_led_multi_type 
-01a8 c28081dd bbit1 led_multi_low ,p_mouse_device_multi_led_off 
-01a9 6848ccbd fetcht 1 ,mem_mouse_1io2led_low_led 
-01aa 20206109 branch gpio_out_inactive 
+01e8 6fe0ccb5 fetch 1 ,mem_mouse_led_multi_type 
+01e9 c280821e bbit1 led_multi_low ,p_mouse_device_multi_led_off 
+01ea 6848ccbd fetcht 1 ,mem_mouse_1io2led_low_led 
+01eb 20206109 branch gpio_out_inactive 
 
 p_mouse_low_voltage_led_timer:
-01ab 6fe0ccbe fetch 1 ,mem_mouse_pair_success 
-01ac 207a0000 rtn blank 
-01ad 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-01ae c4020000 rtnbit0 mouse_low_voltage_flag 
-01af 6fe0c8fc fetch 1 ,mem_adc_low_volatage_led_timer_count 
-01b0 1fe0fe01 increase 1 ,pdata 
-01b1 67e0c8fc store 1 ,mem_adc_low_volatage_led_timer_count 
-01b2 1fe67c14 sub pdata ,20 ,null 
-01b3 244101ba ncall p_mouse_low_volatage_led_timer_count_clean ,positive 
-01b4 1fe67c0a sub pdata ,10 ,null 
-01b5 202101a7 branch p_mouse_low_voltage_led_off ,positive 
+01ec 6fe0ccbe fetch 1 ,mem_mouse_pair_success 
+01ed 207a0000 rtn blank 
+01ee 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+01ef c4020000 rtnbit0 mouse_low_voltage_flag 
+01f0 6fe0c8fc fetch 1 ,mem_adc_low_volatage_led_timer_count 
+01f1 1fe0fe01 increase 1 ,pdata 
+01f2 67e0c8fc store 1 ,mem_adc_low_volatage_led_timer_count 
+01f3 1fe67c14 sub pdata ,20 ,null 
+01f4 244101fb ncall p_mouse_low_volatage_led_timer_count_clean ,positive 
+01f5 1fe67c0a sub pdata ,10 ,null 
+01f6 202101e8 branch p_mouse_low_voltage_led_off ,positive 
 
 p_mouse_low_voltage_led_on:
-01b6 6fe0ccb5 fetch 1 ,mem_mouse_led_multi_type 
-01b7 c28081d7 bbit1 led_multi_low ,p_mouse_device_multi_led_on 
-01b8 6848ccbd fetcht 1 ,mem_mouse_1io2led_low_led 
-01b9 2020610d branch gpio_out_active 
+01f7 6fe0ccb5 fetch 1 ,mem_mouse_led_multi_type 
+01f8 c2808218 bbit1 led_multi_low ,p_mouse_device_multi_led_on 
+01f9 6848ccbd fetcht 1 ,mem_mouse_1io2led_low_led 
+01fa 2020610d branch gpio_out_active 
 
 p_mouse_low_volatage_led_timer_count_clean:
-01ba 7048fc01 jam 1 ,mem_adc_low_volatage_led_timer_count 
-01bb 20600000 rtn 
+01fb 7048fc01 jam 1 ,mem_adc_low_volatage_led_timer_count 
+01fc 20600000 rtn 
 
 p_mouse_led_multi_parm_init:
-01bc 704cb100 jam 0 ,mem_mouse_multi_led_blink_enable 
-01bd 704cbf00 jam 0 ,mem_mouse_dpi_led_blink_enable 
-01be 704cc100 jam 0 ,mem_mouse_dpi_blink_time 
+01fd 704cb100 jam 0 ,mem_mouse_multi_led_blink_enable 
+01fe 704cbf00 jam 0 ,mem_mouse_dpi_led_blink_enable 
+01ff 704cc100 jam 0 ,mem_mouse_dpi_blink_time 
 
 p_mouse_device_led_all_off:
-01bf 204001e9 call p_mouse_device_24g_led_off 
-01c0 204001eb call p_mouse_device_bt1_led_off 
-01c1 204001ed call p_mouse_device_bt2_led_off 
-01c2 2040018a call p_mouse_dpi_led_off 
-01c3 202001a7 branch p_mouse_low_voltage_led_off 
+0200 2040022a call p_mouse_device_24g_led_off 
+0201 2040022c call p_mouse_device_bt1_led_off 
+0202 2040022e call p_mouse_device_bt2_led_off 
+0203 204001cb call p_mouse_dpi_led_off 
+0204 202001e8 branch p_mouse_low_voltage_led_off 
 
 p_mouse_led_multi_timer:
-01c4 6fe0ccb1 fetch 1 ,mem_mouse_multi_led_blink_enable 
-01c5 207a0000 rtn blank 
-01c6 6fe0ccb2 fetch 1 ,mem_mouse_multi_led_type 
-01c7 c00081d1 beq multi_led_blink ,p_mouse_multi_led_type_blink 
+0205 6fe0ccb1 fetch 1 ,mem_mouse_multi_led_blink_enable 
+0206 207a0000 rtn blank 
+0207 6fe0ccb2 fetch 1 ,mem_mouse_multi_led_type 
+0208 c0008212 beq multi_led_blink ,p_mouse_multi_led_type_blink 
 
 p_mouse_device_multi_led_type_on:
-01c8 6fe0ccb6 fetch 1 ,mem_mouse_multi_led_powon_timer 
-01c9 203a01cd branch p_mouse_device_poweron_led_off ,blank 
-01ca 1fe0ffff increase -1 ,pdata 
-01cb 67e0ccb6 store 1 ,mem_mouse_multi_led_powon_timer 
-01cc 202001d7 branch p_mouse_device_multi_led_on 
+0209 6fe0ccb6 fetch 1 ,mem_mouse_multi_led_powon_timer 
+020a 203a020e branch p_mouse_device_poweron_led_off ,blank 
+020b 1fe0ffff increase -1 ,pdata 
+020c 67e0ccb6 store 1 ,mem_mouse_multi_led_powon_timer 
+020d 20200218 branch p_mouse_device_multi_led_on 
 
 p_mouse_device_poweron_led_off:
-01cd 704cbe01 jam 1 ,mem_mouse_pair_success 
-01ce 704cb600 jam 0 ,mem_mouse_multi_led_powon_timer 
+020e 704cbe01 jam 1 ,mem_mouse_pair_success 
+020f 704cb600 jam 0 ,mem_mouse_multi_led_powon_timer 
 
 p_mouse_multi_led_blink_disable:
-01cf 704cb100 jam 0 ,mem_mouse_multi_led_blink_enable 
-01d0 202001dd branch p_mouse_device_multi_led_off 
+0210 704cb100 jam 0 ,mem_mouse_multi_led_blink_enable 
+0211 2020021e branch p_mouse_device_multi_led_off 
 
 p_mouse_multi_led_type_blink:
-01d1 da604cb8 arg mem_mouse_multi_led_blink_timer ,regc 
-01d2 da4001d4 arg p_mouse_multi_led_blink_start ,regb 
-01d3 202031fc branch timer_single_step 
+0212 da604cb8 arg mem_mouse_multi_led_blink_timer ,regc 
+0213 da400215 arg p_mouse_multi_led_blink_start ,regb 
+0214 202031fc branch timer_single_step 
 
 p_mouse_multi_led_blink_start:
-01d4 204001ef call p_mouse_multi_led_blink_timer_init 
-01d5 6fe0ccb3 fetch 1 ,mem_mouse_multi_led_state 
-01d6 c00081dd beq on ,p_mouse_device_multi_led_off 
+0215 20400230 call p_mouse_multi_led_blink_timer_init 
+0216 6fe0ccb3 fetch 1 ,mem_mouse_multi_led_state 
+0217 c000821e beq on ,p_mouse_device_multi_led_off 
 
 p_mouse_device_multi_led_on:
-01d7 704cb301 jam on ,mem_mouse_multi_led_state 
-01d8 6fe0c93d fetch 1 ,mem_device_flag 
-01d9 c00001e3 beq mode_24g_device ,p_mouse_device_24g_led_on 
-01da c00081e5 beq mode_bt_device1 ,p_mouse_device_bt1_led_on 
-01db c00101e7 beq mode_bt_device2 ,p_mouse_device_bt2_led_on 
-01dc 20600000 rtn 
+0218 704cb301 jam on ,mem_mouse_multi_led_state 
+0219 6fe0c93d fetch 1 ,mem_device_flag 
+021a c0000224 beq mode_24g_device ,p_mouse_device_24g_led_on 
+021b c0008226 beq mode_bt_device1 ,p_mouse_device_bt1_led_on 
+021c c0010228 beq mode_bt_device2 ,p_mouse_device_bt2_led_on 
+021d 20600000 rtn 
 
 p_mouse_device_multi_led_off:
-01dd 704cb300 jam off ,mem_mouse_multi_led_state 
-01de 6fe0c93d fetch 1 ,mem_device_flag 
-01df c00001e9 beq mode_24g_device ,p_mouse_device_24g_led_off 
-01e0 c00081eb beq mode_bt_device1 ,p_mouse_device_bt1_led_off 
-01e1 c00101ed beq mode_bt_device2 ,p_mouse_device_bt2_led_off 
-01e2 20600000 rtn 
+021e 704cb300 jam off ,mem_mouse_multi_led_state 
+021f 6fe0c93d fetch 1 ,mem_device_flag 
+0220 c000022a beq mode_24g_device ,p_mouse_device_24g_led_off 
+0221 c000822c beq mode_bt_device1 ,p_mouse_device_bt1_led_off 
+0222 c001022e beq mode_bt_device2 ,p_mouse_device_bt2_led_off 
+0223 20600000 rtn 
 
 p_mouse_device_24g_led_on:
-01e3 6848ccb9 fetcht 1 ,mem_mouse_1io2led_multi_24gled 
-01e4 2020610d branch gpio_out_active 
+0224 6848ccb9 fetcht 1 ,mem_mouse_1io2led_multi_24gled 
+0225 2020610d branch gpio_out_active 
 
 p_mouse_device_bt1_led_on:
-01e5 6848ccba fetcht 1 ,mem_mouse_1io2led_multi_bt1led 
-01e6 2020610d branch gpio_out_active 
+0226 6848ccba fetcht 1 ,mem_mouse_1io2led_multi_bt1led 
+0227 2020610d branch gpio_out_active 
 
 p_mouse_device_bt2_led_on:
-01e7 6848ccbb fetcht 1 ,mem_mouse_1io2led_multi_bt2led 
-01e8 2020610d branch gpio_out_active 
+0228 6848ccbb fetcht 1 ,mem_mouse_1io2led_multi_bt2led 
+0229 2020610d branch gpio_out_active 
 
 p_mouse_device_24g_led_off:
-01e9 6848ccb9 fetcht 1 ,mem_mouse_1io2led_multi_24gled 
-01ea 20206109 branch gpio_out_inactive 
+022a 6848ccb9 fetcht 1 ,mem_mouse_1io2led_multi_24gled 
+022b 20206109 branch gpio_out_inactive 
 
 p_mouse_device_bt1_led_off:
-01eb 6848ccba fetcht 1 ,mem_mouse_1io2led_multi_bt1led 
-01ec 20206109 branch gpio_out_inactive 
+022c 6848ccba fetcht 1 ,mem_mouse_1io2led_multi_bt1led 
+022d 20206109 branch gpio_out_inactive 
 
 p_mouse_device_bt2_led_off:
-01ed 6848ccbb fetcht 1 ,mem_mouse_1io2led_multi_bt2led 
-01ee 20206109 branch gpio_out_inactive 
+022e 6848ccbb fetcht 1 ,mem_mouse_1io2led_multi_bt2led 
+022f 20206109 branch gpio_out_inactive 
 
 p_mouse_multi_led_blink_timer_init:
-01ef 6fe0ccb7 fetch 1 ,mem_mouse_multi_led_blink_timer_init 
-01f0 67e0ccb8 store 1 ,mem_mouse_multi_led_blink_timer 
-01f1 20600000 rtn 
+0230 6fe0ccb7 fetch 1 ,mem_mouse_multi_led_blink_timer_init 
+0231 67e0ccb8 store 1 ,mem_mouse_multi_led_blink_timer 
+0232 20600000 rtn 
 
 p_mouse_device_poweron_led_config:
-01f2 6fe0ccb0 fetch 1 ,mem_mouse_led_new_interface_enable 
-01f3 207a0000 rtn blank 
-01f4 704cb614 jam 20 ,mem_mouse_multi_led_powon_timer 
-01f5 704cb200 jam multi_led_on ,mem_mouse_multi_led_type 
-01f6 704cb101 jam on ,mem_mouse_multi_led_blink_enable 
-01f7 20600000 rtn 
+0233 6fe0ccb0 fetch 1 ,mem_mouse_led_new_interface_enable 
+0234 207a0000 rtn blank 
+0235 704cb614 jam 20 ,mem_mouse_multi_led_powon_timer 
+0236 704cb200 jam multi_led_on ,mem_mouse_multi_led_type 
+0237 704cb101 jam on ,mem_mouse_multi_led_blink_enable 
+0238 20600000 rtn 
 
 p_mouse_device_pair_led_config:
-01f8 6fe0ccb0 fetch 1 ,mem_mouse_led_new_interface_enable 
-01f9 207a0000 rtn blank 
-01fa 704cb702 jam 2 ,mem_mouse_multi_led_blink_timer_init 
+0239 6fe0ccb0 fetch 1 ,mem_mouse_led_new_interface_enable 
+023a 207a0000 rtn blank 
+023b 704cb702 jam 2 ,mem_mouse_multi_led_blink_timer_init 
 
 p_mouse_multi_led_blink_enable:
-01fb 704cb300 jam off ,mem_mouse_multi_led_state 
-01fc 704cb803 jam 3 ,mem_mouse_multi_led_blink_timer 
-01fd 704cb101 jam on ,mem_mouse_multi_led_blink_enable 
-01fe 704cb201 jam multi_led_blink ,mem_mouse_multi_led_type 
-01ff 202001d7 branch p_mouse_device_multi_led_on 
+023c 704cb300 jam off ,mem_mouse_multi_led_state 
+023d 704cb803 jam 3 ,mem_mouse_multi_led_blink_timer 
+023e 704cb101 jam on ,mem_mouse_multi_led_blink_enable 
+023f 704cb201 jam multi_led_blink ,mem_mouse_multi_led_type 
+0240 20200218 branch p_mouse_device_multi_led_on 
 
 p_mouse_device_discovery_led_config:
-0200 6fe0ccb0 fetch 1 ,mem_mouse_led_new_interface_enable 
-0201 207a0000 rtn blank 
-0202 704cb702 jam 2 ,mem_mouse_multi_led_blink_timer_init 
-0203 202001fb branch p_mouse_multi_led_blink_enable 
+0241 6fe0ccb0 fetch 1 ,mem_mouse_led_new_interface_enable 
+0242 207a0000 rtn blank 
+0243 704cb702 jam 2 ,mem_mouse_multi_led_blink_timer_init 
+0244 2020023c branch p_mouse_multi_led_blink_enable 
 
 p_mouse_device_le_reconn_led_config:
-0204 6fe0ccb0 fetch 1 ,mem_mouse_led_new_interface_enable 
-0205 207a0000 rtn blank 
-0206 6fe0ccb4 fetch 1 ,mem_mouse_le_reconn_led_fuction_enable 
-0207 207a0000 rtn blank 
-0208 704cb705 jam 5 ,mem_mouse_multi_led_blink_timer_init 
-0209 202001fb branch p_mouse_multi_led_blink_enable 
+0245 6fe0ccb0 fetch 1 ,mem_mouse_led_new_interface_enable 
+0246 207a0000 rtn blank 
+0247 6fe0ccb4 fetch 1 ,mem_mouse_le_reconn_led_fuction_enable 
+0248 207a0000 rtn blank 
+0249 704cb705 jam 5 ,mem_mouse_multi_led_blink_timer_init 
+024a 2020023c branch p_mouse_multi_led_blink_enable 
 
 p_mouse_commbination_key_process:
-020a 6fe0c93d fetch 1 ,mem_device_flag 
-020b c0000210 beq mode_24g_device ,p_mouse_24g_commbination_key_process 
-020c 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-020d c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
-020e 6848cbdb fetcht 1 ,mem_mouse_commbination_key_bt 
-020f 20200213 branch p_mouse_commbination_key_start 
+024b 6fe0c93d fetch 1 ,mem_device_flag 
+024c c0000251 beq mode_24g_device ,p_mouse_24g_commbination_key_process 
+024d 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+024e c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
+024f 6848cbdb fetcht 1 ,mem_mouse_commbination_key_bt 
+0250 20200254 branch p_mouse_commbination_key_start 
 
 p_mouse_24g_commbination_key_process:
-0210 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-0211 c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
-0212 6848cbdc fetcht 1 ,mem_mouse_commbination_key_24g 
+0251 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0252 c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
+0253 6848cbdc fetcht 1 ,mem_mouse_commbination_key_24g 
 
 p_mouse_commbination_key_start:
-0213 6048cbae storet 1 ,mem_mouse_commbination_key 
-0214 20404155 call mouse_check_key_gpio 
-0215 1fe17e07 and pdata ,0x07 ,pdata 
-0216 6848cbae fetcht 1 ,mem_mouse_commbination_key 
-0217 98467c00 isub temp ,null 
-0218 2022821a branch p_mouse_commbination_key_down ,zero 
-0219 2020452b branch mouse_commbination_key_up 
+0254 6048cbae storet 1 ,mem_mouse_commbination_key 
+0255 20404155 call mouse_check_key_gpio 
+0256 1fe17e07 and pdata ,0x07 ,pdata 
+0257 6848cbae fetcht 1 ,mem_mouse_commbination_key 
+0258 98467c00 isub temp ,null 
+0259 2022825b branch p_mouse_commbination_key_down ,zero 
+025a 2020452b branch mouse_commbination_key_up 
 
 p_mouse_commbination_key_down:
-021a 2040021f call p_mouse_combination_ui_timer 
-021b 6fe0cbb0 fetch 1 ,mem_commbination_key_statue 
-021c c1008000 rtneq commbination_key_state_down 
-021d 704bb001 jam commbination_key_state_down ,mem_commbination_key_statue 
-021e 20600000 rtn 
+025b 20400260 call p_mouse_combination_ui_timer 
+025c 6fe0cbb0 fetch 1 ,mem_commbination_key_statue 
+025d c1008000 rtneq commbination_key_state_down 
+025e 704bb001 jam commbination_key_state_down ,mem_commbination_key_statue 
+025f 20600000 rtn 
 
 p_mouse_combination_ui_timer:
-021f da400355 arg p_mouse_24g_start_pair_mode ,regb 
-0220 20204537 branch mouse_combination_ui_timer + 1 
+0260 da4003d6 arg p_mouse_24g_start_pair_mode ,regb 
+0261 20204537 branch mouse_combination_ui_timer + 1 
 
 p_mouse_check_direct_timeout_timer:
-0221 da604b88 arg mem_mouse_direct_timer ,regc 
-0222 da40454a arg mouse_check_direct_timeout ,regb 
-0223 204031fc call timer_single_step 
-0224 20204547 branch mouse_check_direct_timeout_timer + 3 
+0262 da604b88 arg mem_mouse_direct_timer ,regc 
+0263 da40454a arg mouse_check_direct_timeout ,regb 
+0264 204031fc call timer_single_step 
+0265 20204547 branch mouse_check_direct_timeout_timer + 3 
 
 p_mouse_le_battery_updata_timer:
-0225 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-0226 c39d8000 rtnbit1 mouse_enable_le_battery_service_cancel 
-0227 2020455f branch mouse_le_battery_updata_timer 
+0266 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0267 c39d8000 rtnbit1 mouse_enable_le_battery_service_cancel 
+0268 2020455f branch mouse_le_battery_updata_timer 
 
 p_mouse_le_send_conn_param_update_timer:
-0228 da604c70 arg mem_mouse_le_send_conn_param_update_timer ,regc 
-0229 da4043ac arg mouse_updata_le_param ,regb 
-022a 202031fc branch timer_single_step 
+0269 da604c70 arg mem_mouse_le_send_conn_param_update_timer ,regc 
+026a da4043ac arg mouse_updata_le_param ,regb 
+026b 202031fc branch timer_single_step 
 
 p_mouse_check_no_data_timeout_timer:
-022b da604ac3 arg mem_mouse_no_data_timer ,regc 
-022c da40022e arg p_mouse_check_no_data_timeout ,regb 
-022d 20203203 branch timer_single_step_2b 
+026c da604ac3 arg mem_mouse_no_data_timer ,regc 
+026d da40026f arg p_mouse_check_no_data_timeout ,regb 
+026e 20203203 branch timer_single_step_2b 
 
 p_mouse_check_no_data_timeout:
-022e 6fe0c92f fetch 1 ,mem_usb_addr 
-022f c3838000 rtnbit1 7 
-0230 6fe0c93d fetch 1 ,mem_device_flag 
-0231 c080435b bne mode_24g_device ,mouse_disconnect 
+026f 6fe0c92f fetch 1 ,mem_usb_addr 
+0270 c3838000 rtnbit1 7 
+0271 6fe0c93d fetch 1 ,mem_device_flag 
+0272 c080435b bne mode_24g_device ,mouse_disconnect 
 
 p_mouse_24g_hibernate_set:
-0232 7048a900 jam 0 ,mem_24g_attempt_fail_flag 
-0233 20402659 call g24_transmit_next_packet 
-0234 5fffffff setarg -1 
-0235 67e2485f store 4 ,mem_24g_enter_hibernate 
-0236 58000000 setarg 0 
-0237 67e3c8d4 store 7 ,mem_mouse_key 
-0238 704bf201 jam 1 ,mem_sensor_shutdown_flag 
-0239 20400269 call p_mouse_sensor_powerdown 
-023a 20200335 branch p_g24_long_sleep 
+0273 7048a900 jam 0 ,mem_24g_attempt_fail_flag 
+0274 20402659 call g24_transmit_next_packet 
+0275 5fffffff setarg -1 
+0276 67e2485f store 4 ,mem_24g_enter_hibernate 
+0277 58000000 setarg 0 
+0278 67e3c8d4 store 7 ,mem_mouse_key 
+0279 704bf201 jam 1 ,mem_sensor_shutdown_flag 
+027a 204002b5 call p_mouse_sensor_powerdown 
+027b 202003b6 branch p_g24_long_sleep 
 
 p_mouse_store_information_delay_timer:
-023b da6049c4 arg mem_store_information_delay_timer ,regc 
-023c da40023e arg p_mouse_store_device_info_check ,regb 
-023d 202031fc branch timer_single_step 
+027c da6049c4 arg mem_store_information_delay_timer ,regc 
+027d da40027f arg p_mouse_store_device_info_check ,regb 
+027e 202031fc branch timer_single_step 
 
 p_mouse_store_device_info_check:
-023e 20404631 call mouse_store_device_info 
-023f 6fe0cad6 fetch 1 ,mem_mouse_need_soft_reset 
-0240 207a0000 rtn blank 
+027f 20404631 call mouse_store_device_info 
+0280 6fe0cad6 fetch 1 ,mem_mouse_need_soft_reset 
+0281 207a0000 rtn blank 
 
 p_mouse_soft_reset:
-0241 2040004d call p_enable_rc_clock 
-0242 202046fe branch mouse_soft_reset 
+0282 2040005b call p_enable_rc_clock 
+0283 202046fe branch mouse_soft_reset 
 
 p_mouse_store_device_info:
-0243 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-0244 c289c67f bbit1 mouse_enable_eeprom ,mouse_store_eeprom_device_info 
-0245 20405daf call spid_init_flash 
-0246 2040464a call mouse_spid_flash_release_form_powerdown 
-0247 2040465f call mouse_flash_erase_sector 
-0248 20405db4 call spid_unlock_flash 
-0249 20204646 branch mouse_store_flash_device_info + 3 
+0284 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0285 c289c67f bbit1 mouse_enable_eeprom ,mouse_store_eeprom_device_info 
+0286 20405daf call spid_init_flash 
+0287 2040464a call mouse_spid_flash_release_form_powerdown 
+0288 2040465f call mouse_flash_erase_sector 
+0289 20405db4 call spid_unlock_flash 
+028a 20204646 branch mouse_store_flash_device_info + 3 
 
 p_mouse_init_sunt:
-024a 20403fa5 call mouse_sensor_spi_init 
-024b 20758000 rtn wake 
+028b 20403fa5 call mouse_sensor_spi_init 
+028c 20758000 rtn wake 
 
 p_mouse_init_sensor_wakeup:
-024c 20404276 call mouse_sensor_poweron 
+028d 20404276 call mouse_sensor_poweron 
 
 p_mouse_init_sensor:
-024d 204041f5 call mouse_read_sensor_id 
-024e c0180254 beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
-024f c018c257 beq p3065_id1 ,mouse_init_p3065 
-0250 c02c0258 beq pka8g2_id1 ,p_mouse_ka8g2_id2_judge 
-0251 204041f2 call mouse_twspi_reset 
-0252 20001af4 nop 6900 
-0253 2020024d branch p_mouse_init_sensor 
+028e 204041f5 call mouse_read_sensor_id 
+028f c0180295 beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
+0290 c018c257 beq p3065_id1 ,mouse_init_p3065 
+0291 c02c02a4 beq pka8g2_id1 ,p_mouse_ka8g2_id2_judge 
+0292 204041f2 call mouse_twspi_reset 
+0293 20001af4 nop 6900 
+0294 2020028e branch p_mouse_init_sensor 
 
 p_mouse_init_p32xx_id2_judge:
-0254 6fe0c9c7 fetch 1 ,mem_sensor_id2 
-0255 1fe17ef0 and_into 0xf0 ,pdata 
-0256 c060425e beq p3204_tjdm_id2 ,mouse_p3065xy_init_param 
-0257 202041fc branch mouse_init_p32xx_id2_judge 
+0295 6fe0c9c7 fetch 1 ,mem_sensor_id2 
+0296 c02d029a beq p_mx8650 ,p_mouse_mx8650_init_param 
+0297 1fe17ef0 and_into 0xf0 ,pdata 
+0298 c060425e beq p3204_tjdm_id2 ,mouse_p3065xy_init_param 
+0299 202041fc branch mouse_init_p32xx_id2_judge 
+
+p_mouse_mx8650_init_param:
+029a 5800007a setarg 0x7a 
+029b 20405d65 call twspi_read 
+029c c061029e beq p8670 ,p_mouse_sg8670_parm_init 
+029d 202041fc branch mouse_init_p32xx_id2_judge 
+
+p_mouse_sg8670_parm_init:
+029e 70492c0d jam sg8670 ,mem_config_sensor_type 
+029f 20404272 call mouse_sensor_reset 
+02a0 20407d85 call delay_10ms 
+02a1 da604cd3 arg mem_sensor_sg8670_init ,regc 
+02a2 2040426b call mouse_sensor_wr_seq 
+02a3 20200352 branch p_mouse_seting_sensor_type 
 
 p_mouse_ka8g2_id2_judge:
-0258 6fe0c9c7 fetch 1 ,mem_sensor_id2 
-0259 c02b825c beq ka5857_id2 ,p_mouse_ka5857_init_param 
-025a c02cc264 beq pka8g2_id2 ,mouse_ka8g2_init_param 
-025b 2020024d branch p_mouse_init_sensor 
+02a4 6fe0c9c7 fetch 1 ,mem_sensor_id2 
+02a5 c02b82a8 beq ka5857_id2 ,p_mouse_ka5857_init_param 
+02a6 c02cc264 beq pka8g2_id2 ,mouse_ka8g2_init_param 
+02a7 2020028e branch p_mouse_init_sensor 
 
 p_mouse_ka5857_init_param:
-025c 70492c0c jam ka5857 ,mem_config_sensor_type 
-025d da604c74 arg mem_sensor_ka5857_init ,regc 
-025e 20200264 branch p_mouse_sensor_poweron_end 
+02a8 70492c0c jam ka5857 ,mem_config_sensor_type 
+02a9 da604c74 arg mem_sensor_ka5857_init ,regc 
+02aa 202002b0 branch p_mouse_sensor_poweron_end 
 
 p_mouse_sensor_poweron:
-025f 20403fa5 call mouse_sensor_spi_init 
-0260 6fe0c92c fetch 1 ,mem_config_sensor_type 
-0261 c0058266 beq ka8g2 ,p_mouse_ka8g2_sensor_init 
+02ab 20403fa5 call mouse_sensor_spi_init 
+02ac 6fe0c92c fetch 1 ,mem_config_sensor_type 
+02ad c00582b2 beq ka8g2 ,p_mouse_ka8g2_sensor_init 
 
 p_mouse_sensor_poweron_next:
-0262 20404272 call mouse_sensor_reset 
-0263 da604ab4 arg mem_sensor_poweron_init ,regc 
+02ae 20404272 call mouse_sensor_reset 
+02af da604ab4 arg mem_sensor_poweron_init ,regc 
 
 p_mouse_sensor_poweron_end:
-0264 2040426b call mouse_sensor_wr_seq 
-0265 202002f2 branch p_mouse_seting_sensor_type 
+02b0 2040426b call mouse_sensor_wr_seq 
+02b1 20200352 branch p_mouse_seting_sensor_type 
 
 p_mouse_ka8g2_sensor_init:
-0266 20400279 call p_mouse_ka8g2_sensor_reset 
-0267 da604bf5 arg mem_ka8g2_sensor_poweron_init ,regc 
-0268 20200264 branch p_mouse_sensor_poweron_end 
+02b2 204002c5 call p_mouse_ka8g2_sensor_reset 
+02b3 da604bf5 arg mem_ka8g2_sensor_poweron_init ,regc 
+02b4 202002b0 branch p_mouse_sensor_poweron_end 
 
 p_mouse_sensor_powerdown:
-0269 204041e7 call mouse_init_sunt 
-026a 20403fa5 call mouse_sensor_spi_init 
-026b 6fe0c92c fetch 1 ,mem_config_sensor_type 
-026c c005826e beq ka8g2 ,p_mouse_ka8g2_sensor_powerdown 
-026d 2020427e branch mouse_sensor_powerdown_end 
+02b5 204041e7 call mouse_init_sunt 
+02b6 20403fa5 call mouse_sensor_spi_init 
+02b7 6fe0c92c fetch 1 ,mem_config_sensor_type 
+02b8 c00582ba beq ka8g2 ,p_mouse_ka8g2_sensor_powerdown 
+02b9 2020427e branch mouse_sensor_powerdown_end 
 
 p_mouse_ka8g2_sensor_powerdown:
-026e 58001f06 setarg 0x1f06 
-026f 20205d5e branch twspi_write 
+02ba 58001f06 setarg 0x1f06 
+02bb 20205d5e branch twspi_write 
 
 p_mouse_app_enter_hibernate:
-0270 58000006 setarg pan_reg_config 
-0271 20405d65 call twspi_read 
-0272 c281be5d bbit1 3 ,mouse_app_enter_hibernate + 3 
-0273 20400276 call p_mouse_sensor_reset 
-0274 20400269 call p_mouse_sensor_powerdown 
-0275 20203e5d branch mouse_app_enter_hibernate + 3 
+02bc 58000006 setarg pan_reg_config 
+02bd 20405d65 call twspi_read 
+02be c281be5d bbit1 3 ,mouse_app_enter_hibernate + 3 
+02bf 204002c2 call p_mouse_sensor_reset 
+02c0 204002b5 call p_mouse_sensor_powerdown 
+02c1 20203e5d branch mouse_app_enter_hibernate + 3 
 
 p_mouse_sensor_reset:
-0276 6fe0c92c fetch 1 ,mem_config_sensor_type 
-0277 c0058279 beq ka8g2 ,p_mouse_ka8g2_sensor_reset 
-0278 20204272 branch mouse_sensor_reset 
+02c2 6fe0c92c fetch 1 ,mem_config_sensor_type 
+02c3 c00582c5 beq ka8g2 ,p_mouse_ka8g2_sensor_reset 
+02c4 20204272 branch mouse_sensor_reset 
 
 p_mouse_ka8g2_sensor_reset:
-0279 58009706 setarg 0x9706 
-027a 20204273 branch mouse_sensor_reset_end 
+02c5 58009706 setarg 0x9706 
+02c6 20204273 branch mouse_sensor_reset_end 
 
 p_mouse_before_hibernate:
-027b 6ff20138 fetch 4 ,core_lpm_ctrl 
-027c 79207e1a set1 26 ,pdata 
-027d 67f2004c store 4 ,core_lpm_reg 
-027e 2040154c call lpm_write_ctrl 
-027f 20406e62 call disable_authrom 
-0280 2040495b call mouse_device_led_all_off 
-0281 20404055 call mouse_before_hibernate_wheel_gpio_set 
-0282 20403e6a call mouse_setgpio_hibernate 
-0283 2040466d call mouse_flash_power_down 
-0284 6848c4b8 fetcht 1 ,mem_spi_si_gpio 
-0285 204060f7 call gpio_config_input_without_wake 
-0286 6848c915 fetcht 1 ,mem_sensor_motion_gpio 
-0287 202060e6 branch gpio_clr_wake 
+02c7 6ff20138 fetch 4 ,core_lpm_ctrl 
+02c8 79207e1a set1 26 ,pdata 
+02c9 67f2004c store 4 ,core_lpm_reg 
+02ca 2040154c call lpm_write_ctrl 
+02cb 20406e62 call disable_authrom 
+02cc 2040495b call mouse_device_led_all_off 
+02cd 20404055 call mouse_before_hibernate_wheel_gpio_set 
+02ce 20403e6a call mouse_setgpio_hibernate 
+02cf 2040466d call mouse_flash_power_down 
+02d0 6848c4b8 fetcht 1 ,mem_spi_si_gpio 
+02d1 204060f7 call gpio_config_input_without_wake 
+02d2 6848c915 fetcht 1 ,mem_sensor_motion_gpio 
+02d3 202060e6 branch gpio_clr_wake 
 
 p_mouse_setgpio_hibernate:
-0288 20404329 call mouse_set_sdio_high 
-0289 20407f52 call clear_wake 
-028a 20404055 call mouse_before_hibernate_wheel_gpio_set 
-028b 6848c914 fetcht 1 ,mem_matrix_public_gpio 
-028c 2040610d call gpio_out_active 
-028d 6848c914 fetcht 1 ,mem_matrix_public_gpio 
-028e 204060e6 call gpio_clr_wake 
-028f 6fe0c924 fetch 1 ,mem_mouse_sensor_sdio_gpio 
-0290 20400484 call p_mouse_gpio_config_output_high 
-0291 20403e80 call mouse_lpm_before_common 
-0292 20403e72 call mouse_gpio_pu_idle 
-0293 d8400001 arg 0x01 ,temp 
-0294 2040610d call gpio_config_output 
-0295 d8400013 arg 19 ,temp 
-0296 20403f96 call mouse_gpio_config_input_pu 
-0297 204001bf call p_mouse_device_led_all_off 
-0298 2040029d call p_mouse_gpio_set_high_impedance 
-0299 204002aa call p_mouse_device_switch_gpio_high_impedance 
-029a 204002ae call p_mouse_wheel_gpio_set_before_hibernate 
-029b d8400000 arg 0x00 ,temp 
-029c 202060e6 branch gpio_clr_wake 
+02d4 20404329 call mouse_set_sdio_high 
+02d5 20407f52 call clear_wake 
+02d6 20404055 call mouse_before_hibernate_wheel_gpio_set 
+02d7 6848c914 fetcht 1 ,mem_matrix_public_gpio 
+02d8 2040610d call gpio_out_active 
+02d9 6848c914 fetcht 1 ,mem_matrix_public_gpio 
+02da 204060e6 call gpio_clr_wake 
+02db 6fe0c924 fetch 1 ,mem_mouse_sensor_sdio_gpio 
+02dc 20400501 call p_mouse_gpio_config_output_high 
+02dd 20403e80 call mouse_lpm_before_common 
+02de 20403e72 call mouse_gpio_pu_idle 
+02df d8400001 arg 0x01 ,temp 
+02e0 2040610d call gpio_config_output 
+02e1 d8400013 arg 19 ,temp 
+02e2 20403f96 call mouse_gpio_config_input_pu 
+02e3 20400200 call p_mouse_device_led_all_off 
+02e4 204002e8 call p_mouse_gpio_set_high_impedance 
+02e5 204002ff call p_mouse_wheel_gpio_set_before_hibernate 
+02e6 d8400000 arg 0x00 ,temp 
+02e7 202060e6 branch gpio_clr_wake 
 
 p_mouse_gpio_set_high_impedance:
-029d 6fe1cbef fetch 3 ,mem_mouse_set_high_impedance_bit_set 
-029e 67e1895c store 3 ,mem_pdatatemp 
-029f df200014 arg 20 ,loopcnt 
-02a0 d8400000 arg 0 ,temp 
+02e8 6fe1cbef fetch 3 ,mem_mouse_set_high_impedance_bit_set 
+02e9 67e1895c store 3 ,mem_pdatatemp 
+02ea df200014 arg 20 ,loopcnt 
+02eb d8400000 arg 0 ,temp 
 
 p_mouse_gpio_set_high_impedance_bit_loop:
-02a1 6fe1895c fetch 3 ,mem_pdatatemp 
-02a2 2feffe00 isolate1 0 ,pdata 
-02a3 2040e121 call gpio_set_high_impedance ,true 
-02a4 6fe1895c fetch 3 ,mem_pdatatemp 
-02a5 1fe37e00 rshift pdata ,pdata 
-02a6 67e1895c store 3 ,mem_pdatatemp 
-02a7 18408401 increase 1 ,temp 
-02a8 c20002a1 loop p_mouse_gpio_set_high_impedance_bit_loop 
-02a9 20600000 rtn 
+02ec 6fe1895c fetch 3 ,mem_pdatatemp 
+02ed 2feffe00 isolate1 0 ,pdata 
+02ee 2040e121 call gpio_set_high_impedance ,true 
+02ef 6fe1895c fetch 3 ,mem_pdatatemp 
+02f0 1fe37e00 rshift pdata ,pdata 
+02f1 67e1895c store 3 ,mem_pdatatemp 
+02f2 18408401 increase 1 ,temp 
+02f3 c20002ec loop p_mouse_gpio_set_high_impedance_bit_loop 
+02f4 20600000 rtn 
 
 p_mouse_device_switch_gpio_high_impedance:
-02aa 6fe0c922 fetch 1 ,mem_device_switch_gpio 
-02ab c17f8000 rtneq gpio_disable 
-02ac 6848c922 fetcht 1 ,mem_device_switch_gpio 
-02ad 20206121 branch gpio_set_high_impedance 
+02f5 6fe0c93d fetch 1 ,mem_device_flag 
+02f6 c00002fb beq mode_24g_device ,p_mouse_device_switch_gpio_low 
+02f7 6fe0c922 fetch 1 ,mem_device_switch_gpio 
+02f8 c17f8000 rtneq gpio_disable 
+02f9 6848c922 fetcht 1 ,mem_device_switch_gpio 
+02fa 20203f96 branch mouse_gpio_config_input_pu 
+
+p_mouse_device_switch_gpio_low:
+02fb 6fe0c922 fetch 1 ,mem_device_switch_gpio 
+02fc c17f8000 rtneq gpio_disable 
+02fd 6848c922 fetcht 1 ,mem_device_switch_gpio 
+02fe 20203f94 branch mouse_gpio_config_input_pd 
 
 p_mouse_wheel_gpio_set_before_hibernate:
-02ae 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-02af c41e0000 rtnbit0 mouse_enable_wheel_wake_up_cancel 
+02ff 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0300 c41e0000 rtnbit0 mouse_enable_wheel_wake_up_cancel 
 
 p_mouse_wheel_clr_wakeup:
-02b0 6848c917 fetcht 1 ,mem_whee_a_data_gpio 
-02b1 204060e6 call gpio_clr_wake 
-02b2 6848c918 fetcht 1 ,mem_whee_b_data_gpio 
-02b3 204060e6 call gpio_clr_wake 
-02b4 6848c917 fetcht 1 ,mem_whee_a_data_gpio 
-02b5 20403f94 call mouse_gpio_config_input_pd 
-02b6 6848c918 fetcht 1 ,mem_whee_b_data_gpio 
-02b7 20203f94 branch mouse_gpio_config_input_pd 
+0301 6848c917 fetcht 1 ,mem_whee_a_data_gpio 
+0302 204060e6 call gpio_clr_wake 
+0303 6848c918 fetcht 1 ,mem_whee_b_data_gpio 
+0304 204060e6 call gpio_clr_wake 
+0305 6848c917 fetcht 1 ,mem_whee_a_data_gpio 
+0306 20403f94 call mouse_gpio_config_input_pd 
+0307 6848c918 fetcht 1 ,mem_whee_b_data_gpio 
+0308 20203f94 branch mouse_gpio_config_input_pd 
 
 p_mouse_short_sleep_clear_wake:
-02b8 20407f52 call clear_wake 
-02b9 2020155d branch lpm_write_gpio_wakeup 
+0309 20407f52 call clear_wake 
+030a 2020155d branch lpm_write_gpio_wakeup 
 
 p_mouse_lpm_before_common:
-02ba 20407f52 call clear_wake 
-02bb 6848c917 fetcht 1 ,mem_whee_a_data_gpio 
-02bc 204060f4 call gpio_config_input 
-02bd 6848c918 fetcht 1 ,mem_whee_b_data_gpio 
-02be 204060f4 call gpio_config_input 
-02bf 20203e81 branch mouse_lpm_before_common + 1 
+030b 20407f52 call clear_wake 
+030c 6848c917 fetcht 1 ,mem_whee_a_data_gpio 
+030d 204060f4 call gpio_config_input 
+030e 6848c918 fetcht 1 ,mem_whee_b_data_gpio 
+030f 204060f4 call gpio_config_input 
+0310 20403e81 call mouse_lpm_before_common + 1 
+0311 204002f5 call p_mouse_device_switch_gpio_high_impedance 
+0312 6848c922 fetcht 1 ,mem_device_switch_gpio 
+0313 202060e6 branch gpio_clr_wake 
 
 p_mouse_idle:
-02c0 204049dd call mouse_low_voltage_led_no_enter_lpm 
-02c1 204079a1 call ui_check_paring_button 
-02c2 204002d4 call p_mouse_dpi_check 
-02c3 204002cb call p_mouse_select_device_check 
-02c4 204002ce call p_mouse_check_select_device_by_switch 
-02c5 20404714 call mouse_bt_button_check 
-02c6 20403fc8 call mouse_wheel_check 
-02c7 204004f6 call p_mouse_usb_isr 
-02c8 20400532 call p_mouse_usb_mode 
-02c9 20400524 call p_mouse_usb_mode_flag_check 
-02ca 20600000 rtn 
+0314 204049dd call mouse_low_voltage_led_no_enter_lpm 
+0315 204079a1 call ui_check_paring_button 
+0316 20400334 call p_mouse_dpi_check 
+0317 2040031f call p_mouse_select_device_check 
+0318 20400322 call p_mouse_check_select_device_by_switch 
+0319 20404714 call mouse_bt_button_check 
+031a 20403fc8 call mouse_wheel_check 
+031b 20400573 call p_mouse_usb_isr 
+031c 204005af call p_mouse_usb_mode 
+031d 204005a1 call p_mouse_usb_mode_flag_check 
+031e 20600000 rtn 
 
 p_mouse_select_device_check:
-02cb 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
-02cc 247a0000 nrtn blank 
-02cd 20204693 branch mouse_select_device_check 
+031f 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
+0320 247a0000 nrtn blank 
+0321 20204693 branch mouse_select_device_check 
 
 p_mouse_check_select_device_by_switch:
-02ce 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
-02cf 247a0000 nrtn blank 
-02d0 202046de branch mouse_check_select_device_by_switch 
+0322 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
+0323 247a0000 nrtn blank 
+0324 20200325 branch p_mouse_check_select_device_by_switch_new 
+
+p_mouse_check_select_device_by_switch_new:
+0325 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0326 c4150000 rtnbit0 mouse_enable_select_device_by_switch_gpio 
+0327 6848c922 fetcht 1 ,mem_device_switch_gpio 
+0328 20403f94 call mouse_gpio_config_input_pd 
+0329 6848c922 fetcht 1 ,mem_device_switch_gpio 
+032a 204060fd call gpio_get_bit 
+032b 2020c6eb branch mouse_check_select_24gdevice ,true 
+
+p_mouse_select_btdevice:
+032c 6fe0c9a1 fetch 1 ,mem_mouse_retention + 3 
+032d c07f8040 beq mode_switch_default_temp ,p_mouse_select_le_device1_mode 
+032e c0008040 beq mode_switch_bt1_temp ,p_mouse_select_le_device1_mode 
+032f c0010043 beq mode_switch_bt2_temp ,p_mouse_select_le_device2_mode 
+0330 20600000 rtn 
 
 p_mouse_bt_discovery_check:
-02d1 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
-02d2 247a0000 nrtn blank 
-02d3 2020450c branch mouse_bt_discovery_check 
+0331 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
+0332 247a0000 nrtn blank 
+0333 2020450c branch mouse_bt_discovery_check 
 
 p_mouse_dpi_check:
-02d4 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-02d5 c2974076 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
-02d6 6fe0c913 fetch 1 ,mem_dpi_button_gpio 
-02d7 c17f8000 rtneq gpio_disable 
-02d8 da200000 arg 0 ,rega 
-02d9 704ba705 jam mouse_dpi_key ,mem_mouse_key_temp 
-02da 6848c913 fetcht 1 ,mem_dpi_button_gpio 
-02db 204002dd call p_mouse_dpi_key_check 
-02dc 2020406f branch mouse_dpi_check_next 
+0334 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0335 c2974076 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
+0336 6fe0c913 fetch 1 ,mem_dpi_button_gpio 
+0337 c17f8000 rtneq gpio_disable 
+0338 da200000 arg 0 ,rega 
+0339 704ba705 jam mouse_dpi_key ,mem_mouse_key_temp 
+033a 6848c913 fetcht 1 ,mem_dpi_button_gpio 
+033b 2040033d call p_mouse_dpi_key_check 
+033c 2020406f branch mouse_dpi_check_next 
 
 p_mouse_dpi_key_check:
-02dd 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-02de c2964088 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
-02df 6fe0cba4 fetch 1 ,mem_mouse_dpikey_press_status 
-02e0 1fe22600 copy pdata ,regc 
-02e1 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
-02e2 c07f82e4 beq gpio_disable ,p_mouse_3io6key_dpi_check 
-02e3 2020407f branch mouse_dpi_key_check_next 
+033d 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+033e c2964088 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
+033f 6fe0cba4 fetch 1 ,mem_mouse_dpikey_press_status 
+0340 1fe22600 copy pdata ,regc 
+0341 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
+0342 c07f8344 beq gpio_disable ,p_mouse_3io6key_dpi_check 
+0343 2020407f branch mouse_dpi_key_check_next 
 
 p_mouse_3io6key_dpi_check:
-02e4 6fe0c913 fetch 1 ,mem_dpi_button_gpio 
-02e5 20400487 call p_mouse_gpio_config_output_low 
-02e6 6848c913 fetcht 1 ,mem_dpi_button_gpio 
-02e7 202041d5 branch mouse_3io6key_check 
+0344 6fe0c913 fetch 1 ,mem_dpi_button_gpio 
+0345 20400504 call p_mouse_gpio_config_output_low 
+0346 6848c913 fetcht 1 ,mem_dpi_button_gpio 
+0347 202041d5 branch mouse_3io6key_check 
 
 p_mouse_dpi_process:
-02e8 204040b2 call mouse_dpi_ghost_check 
-02e9 20740000 rtn user 
-02ea 6fe0c997 fetch 1 ,mem_mouse_dpi 
-02eb 1fe0fe01 increase 1 ,pdata 
-02ec 1fe17e03 and pdata ,0x03 ,pdata 
-02ed 67e0c997 store 1 ,mem_mouse_dpi 
-02ee 204002f1 call p_mouse_seting_dpi 
-02ef 204002f5 call p_mouse_dpi_led_blink_init 
-02f0 2020462e branch mouse_store_device_info_delay 
+0348 204040b2 call mouse_dpi_ghost_check 
+0349 20740000 rtn user 
+034a 6fe0c997 fetch 1 ,mem_mouse_dpi 
+034b 1fe0fe01 increase 1 ,pdata 
+034c 1fe17e03 and pdata ,0x03 ,pdata 
+034d 67e0c997 store 1 ,mem_mouse_dpi 
+034e 20400351 call p_mouse_seting_dpi 
+034f 20400364 call p_mouse_dpi_led_blink_init 
+0350 2020462e branch mouse_store_device_info_delay 
 
 p_mouse_seting_dpi:
-02f1 204040cf call mouse_setting_dpi_4_level 
+0351 204040cf call mouse_setting_dpi_4_level 
 
 p_mouse_seting_sensor_type:
-02f2 6fe0c92c fetch 1 ,mem_config_sensor_type 
-02f3 c00640fb beq ka5857 ,mouse_seting_3212_dpi 
-02f4 202040da branch mouse_seting_sensor_type + 2 
+0352 6fe0c92c fetch 1 ,mem_config_sensor_type 
+0353 c0068356 beq sg8670 ,p_mouse_seting_sg8670_dpi 
+0354 c00640fb beq ka5857 ,mouse_seting_3212_dpi 
+0355 202040da branch mouse_seting_sensor_type + 2 
+
+p_mouse_seting_sg8670_dpi:
+0356 6fe0c997 fetch 1 ,mem_mouse_dpi 
+0357 c000035c beq mouse_dpi_level1 ,p_mouse_set_sg8670_dpi_1 
+0358 c000835e beq mouse_dpi_level2 ,p_mouse_set_sg8670_dpi_2 
+0359 c0010360 beq mouse_dpi_level3 ,p_mouse_set_sg8670_dpi_3 
+035a c0018362 beq mouse_dpi_level4 ,p_mouse_set_sg8670_dpi_4 
+035b 2020035c branch p_mouse_set_sg8670_dpi_1 
+
+p_mouse_set_sg8670_dpi_1:
+035c da604d11 arg mem_sensor_sg8670_dpi_1200 ,regc 
+035d 2020426b branch mouse_sensor_wr_seq 
+
+p_mouse_set_sg8670_dpi_2:
+035e da604d21 arg mem_sensor_sg8670_dpi_1600 ,regc 
+035f 2020426b branch mouse_sensor_wr_seq 
+
+p_mouse_set_sg8670_dpi_3:
+0360 da604d31 arg mem_sensor_sg8670_dpi_2400 ,regc 
+0361 2020426b branch mouse_sensor_wr_seq 
+
+p_mouse_set_sg8670_dpi_4:
+0362 da604d01 arg mem_sensor_sg8670_dpi_800 ,regc 
+0363 2020426b branch mouse_sensor_wr_seq 
 
 p_mouse_dpi_led_blink_init:
-02f5 6fe0ccbe fetch 1 ,mem_mouse_pair_success 
-02f6 207a0000 rtn blank 
-02f7 6fe0c997 fetch 1 ,mem_mouse_dpi 
-02f8 c00002fe beq mouse_dpi_level1 ,p_mouse_dpi_level_2 
-02f9 c0008300 beq mouse_dpi_level2 ,p_mouse_dpi_level_3 
-02fa c00102fc beq mouse_dpi_level3 ,p_mouse_dpi_level_1 
-02fb 20600000 rtn 
+0364 6fe0ccbe fetch 1 ,mem_mouse_pair_success 
+0365 207a0000 rtn blank 
+0366 6fe0c997 fetch 1 ,mem_mouse_dpi 
+0367 c000036d beq mouse_dpi_level1 ,p_mouse_dpi_level_2 
+0368 c000836f beq mouse_dpi_level2 ,p_mouse_dpi_level_3 
+0369 c001036b beq mouse_dpi_level3 ,p_mouse_dpi_level_1 
+036a 20600000 rtn 
 
 p_mouse_dpi_level_1:
-02fc 58000001 setarg 1 
-02fd 20200301 branch p_mouse_dpi_blink_count_init 
+036b 58000001 setarg 1 
+036c 20200370 branch p_mouse_dpi_blink_count_init 
 
 p_mouse_dpi_level_2:
-02fe 58000002 setarg 2 
-02ff 20200301 branch p_mouse_dpi_blink_count_init 
+036d 58000002 setarg 2 
+036e 20200370 branch p_mouse_dpi_blink_count_init 
 
 p_mouse_dpi_level_3:
-0300 58000003 setarg 3 
+036f 58000003 setarg 3 
 
 p_mouse_dpi_blink_count_init:
-0301 67e0ccc0 store 1 ,mem_mouse_dpi_blink_count 
-0302 704cbf01 jam 1 ,mem_mouse_dpi_led_blink_enable 
-0303 20600000 rtn 
+0370 67e0ccc0 store 1 ,mem_mouse_dpi_blink_count 
+0371 704cbf01 jam 1 ,mem_mouse_dpi_led_blink_enable 
+0372 20600000 rtn 
 
 p_mouse_priority_bb_event:
-0304 1a627e00 copy regc ,pdata 
-0305 c01e0319 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-0306 c01c8315 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
-0307 c01d0329 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-0308 c0190357 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
-0309 c00a8363 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
-030a c00a036c beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
-030b c020035e beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
-030c c000836e beq bt_evt_bb_connected ,p_mouse_bb_event_connected 
-030d c0010371 beq bt_evt_bb_disconnected ,p_mouse_bb_disconnected 
-030e c0090310 beq bt_evt_hid_handshake ,p_mouse_bt_hid_handshake 
-030f 20204376 branch mouse_priority_bb_event + 2 
+0373 1a627e00 copy regc ,pdata 
+0374 c01e039a beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+0375 c01c8396 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
+0376 c01d03aa beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+0377 c01903d8 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
+0378 c00a83e4 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
+0379 c00a03ed beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
+037a c02003df beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
+037b c00083ef beq bt_evt_bb_connected ,p_mouse_bb_event_connected 
+037c c0090391 beq bt_evt_hid_handshake ,p_mouse_bt_hid_handshake 
+037d c0010380 beq bt_evt_bb_disconnected ,p_mouse_bb_disconnected 
+037e c0158384 beq bt_evt_switch_success_master ,p_mouse_enter_sniff_check 
+037f 20204376 branch mouse_priority_bb_event + 2 
+
+p_mouse_bb_disconnected:
+0380 704b9000 jam 0 ,mem_mouse_enter_sniff_count 
+0381 704b9900 jam 0 ,mem_mouse_bt_send_first_package_flag 
+0382 2040038a call p_mouse_bt_sniff_param_interval_setup 
+0383 20204441 branch mouse_bb_disconnected + 3 
+
+p_mouse_enter_sniff_check:
+0384 6fe0cb90 fetch 1 ,mem_mouse_enter_sniff_count 
+0385 c1810000 rtnne 2 
+0386 704b9000 jam 0 ,mem_mouse_enter_sniff_count 
+0387 2040038a call p_mouse_bt_sniff_param_interval_setup 
+0388 20404462 call mouse_bt_send_first_package_timer_init 
+0389 2020328d branch app_bt_enter_sniff 
+
+p_mouse_bt_sniff_param_interval_setup:
+038a 5800000c setarg classic_interval_7_5ms 
+038b 67e14455 store 2 ,mem_sniff_param_interval 
+038c 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+038d c38d8000 rtnbit1 mouse_enable_bt_125hz 
+038e 58000012 setarg classic_interval_11_25ms 
+038f 67e14455 store 2 ,mem_sniff_param_interval 
+0390 20600000 rtn 
 
 p_mouse_bt_hid_handshake:
-0310 70445401 jam app_handshake_done ,mem_app_handshake_flag 
-0311 20403295 call app_lpm_mult_enable 
-0312 20204467 branch mouse_bt_hid_handshake + 3 
+0391 70445401 jam app_handshake_done ,mem_app_handshake_flag 
+0392 20403295 call app_lpm_mult_enable 
+0393 20204467 branch mouse_bt_hid_handshake + 3 
 
 p_mouse_agc_disable_nomal_power:
-0313 204000e6 call p_mouse_soft_agc_disable 
-0314 202000c7 branch p_mouse_fetch_normal_tx_power 
+0394 2040012a call p_mouse_soft_agc_disable 
+0395 202000da branch p_mouse_fetch_normal_tx_power 
 
 p_mouse_24g_pairing_complete:
-0315 20400313 call p_mouse_agc_disable_nomal_power 
-0316 20404584 call mouse_no_data_timer_init 
-0317 204001f2 call p_mouse_device_poweron_led_config 
-0318 20204896 branch mouse_24g_pairing_complete 
+0396 20400394 call p_mouse_agc_disable_nomal_power 
+0397 20404584 call mouse_no_data_timer_init 
+0398 20400233 call p_mouse_device_poweron_led_config 
+0399 20204896 branch mouse_24g_pairing_complete 
 
 p_mouse_24g_attempt_success:
-0319 6fe2483f fetch 4 ,mem_24g_addr 
-031a 67e24895 store 4 ,mem_24g_receiver_addr 
-031b 67e24998 store 4 ,mem_mouse_24g_addr 
-031c 20402587 call g24_ch_syncword_crc8_init 
-031d 20404584 call mouse_no_data_timer_init 
-031e 2040430a call mouse_init_sensor_reset 
-031f 704abf00 jam 0 ,mem_mouse_long_mult_flag 
-0320 7048a500 jam 0 ,mem_24g_conn_sm 
-0321 70488f00 jam 0 ,mem_24g_reconn_type 
-0322 6fe24895 fetch 4 ,mem_24g_receiver_addr 
-0323 684a4891 fetcht 4 ,mem_24g_fast_conn_addr 
-0324 98467c00 isub temp ,null 
-0325 20628000 rtn zero 
-0326 204001f2 call p_mouse_device_poweron_led_config 
-0327 20400313 call p_mouse_agc_disable_nomal_power 
-0328 20204861 branch mouse_24g_first_store_reconn_info 
+039a 6fe2483f fetch 4 ,mem_24g_addr 
+039b 67e24895 store 4 ,mem_24g_receiver_addr 
+039c 67e24998 store 4 ,mem_mouse_24g_addr 
+039d 20402587 call g24_ch_syncword_crc8_init 
+039e 20404584 call mouse_no_data_timer_init 
+039f 2040430a call mouse_init_sensor_reset 
+03a0 704abf00 jam 0 ,mem_mouse_long_mult_flag 
+03a1 7048a500 jam 0 ,mem_24g_conn_sm 
+03a2 70488f00 jam 0 ,mem_24g_reconn_type 
+03a3 6fe24895 fetch 4 ,mem_24g_receiver_addr 
+03a4 684a4891 fetcht 4 ,mem_24g_fast_conn_addr 
+03a5 98467c00 isub temp ,null 
+03a6 20628000 rtn zero 
+03a7 20400233 call p_mouse_device_poweron_led_config 
+03a8 20400394 call p_mouse_agc_disable_nomal_power 
+03a9 20204861 branch mouse_24g_first_store_reconn_info 
 
 p_mouse_24g_attempt_fail:
-0329 704cbe00 jam 0 ,mem_mouse_pair_success 
-032a 20400313 call p_mouse_agc_disable_nomal_power 
-032b 6fe0c8a9 fetch 1 ,mem_24g_attempt_fail_flag 
-032c 243a0232 nbranch p_mouse_24g_hibernate_set ,blank 
-032d 6fe0c88f fetch 1 ,mem_24g_reconn_type 
-032e c001034c beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
-032f 20204876 branch mouse_24g_attempt_fail + 4 
+03aa 704cbe00 jam 0 ,mem_mouse_pair_success 
+03ab 20400394 call p_mouse_agc_disable_nomal_power 
+03ac 6fe0c8a9 fetch 1 ,mem_24g_attempt_fail_flag 
+03ad 243a0273 nbranch p_mouse_24g_hibernate_set ,blank 
+03ae 6fe0c88f fetch 1 ,mem_24g_reconn_type 
+03af c00103cd beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
+03b0 20204876 branch mouse_24g_attempt_fail + 4 
 
 p_g24_nodata_transmit:
-0330 6fe0c8ab fetch 1 ,mem_24g_abort_pac 
-0331 205a033e call p_g24_send_abort_packet ,blank 
-0332 6fe0c8c1 fetch 1 ,mem_24g_transmit_by_interrupt 
-0333 c1008000 rtneq g24_tx_timer_int_enable 
-0334 204026a6 call g24_search_receiver 
+03b1 6fe0c8ab fetch 1 ,mem_24g_abort_pac 
+03b2 205a03bf call p_g24_send_abort_packet ,blank 
+03b3 6fe0c8c1 fetch 1 ,mem_24g_transmit_by_interrupt 
+03b4 c1008000 rtneq g24_tx_timer_int_enable 
+03b5 204026a6 call g24_search_receiver 
 
 p_g24_long_sleep:
-0335 204026c2 call g24_lpm_wait 
-0336 24740000 nrtn user 
-0337 204026cb call g24_setgpio_lpm_before 
-0338 704c3100 jam 0 ,mem_sleep_miss 
-0339 704c3201 jam 1 ,mem_long_sleep_flag 
-033a 6fe0cbf2 fetch 1 ,mem_sensor_shutdown_flag 
-033b 245a3e6a ncall mouse_setgpio_hibernate ,blank 
-033c 6fe2485f fetch 4 ,mem_24g_enter_hibernate 
-033d 202026bf branch g24_long_seep2 
+03b6 204026c2 call g24_lpm_wait 
+03b7 24740000 nrtn user 
+03b8 204026cb call g24_setgpio_lpm_before 
+03b9 704c3100 jam 0 ,mem_sleep_miss 
+03ba 704c3201 jam 1 ,mem_long_sleep_flag 
+03bb 6fe0cbf2 fetch 1 ,mem_sensor_shutdown_flag 
+03bc 245a3e6a ncall mouse_setgpio_hibernate ,blank 
+03bd 6fe2485f fetch 4 ,mem_24g_enter_hibernate 
+03be 202026bf branch g24_long_seep2 
 
 p_g24_send_abort_packet:
-033e 70483901 jam type_ms ,mem_24g_data_type 
-033f 7048ab01 jam 1 ,mem_24g_abort_pac 
-0340 20402649 call g24_transmit_rf_ctrl_clear 
-0341 67e0c7c9 store 1 ,mem_24g_txbuf 
-0342 58000000 setarg 0 
-0343 67e3c7ca store 7 ,mem_24g_txbuf + 1 
-0344 6fe248ad fetch 4 ,mem_24g_device_addr 
-0345 67e247d1 store 4 ,mem_24g_txbuf + 8 
-0346 7048380c jam 12 ,mem_24g_datalen 
-0347 6fe0c839 fetch 1 ,mem_24g_data_type 
-0348 79207e03 set1 bit_abort ,pdata 
-0349 67e0c839 store 1 ,mem_24g_data_type 
-034a 20402247 call g24_transmit_prep 
-034b 202000ed branch p_g24_transmit_start 
+03bf 70483901 jam type_ms ,mem_24g_data_type 
+03c0 7048ab01 jam 1 ,mem_24g_abort_pac 
+03c1 20402649 call g24_transmit_rf_ctrl_clear 
+03c2 67e0c7c9 store 1 ,mem_24g_txbuf 
+03c3 58000000 setarg 0 
+03c4 67e3c7ca store 7 ,mem_24g_txbuf + 1 
+03c5 6fe248ad fetch 4 ,mem_24g_device_addr 
+03c6 67e247d1 store 4 ,mem_24g_txbuf + 8 
+03c7 7048380c jam 12 ,mem_24g_datalen 
+03c8 6fe0c839 fetch 1 ,mem_24g_data_type 
+03c9 79207e03 set1 bit_abort ,pdata 
+03ca 67e0c839 store 1 ,mem_24g_data_type 
+03cb 20402247 call g24_transmit_prep 
+03cc 20200131 branch p_g24_transmit_start 
 
 p_mouse_24g_fast_conn_attempt_fail:
-034c 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-034d c297c850 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_start_auto_pair 
-034e c2984850 bbit1 mouse_enable_auto_24g_paring ,mouse_24g_start_auto_pair 
-034f c31d4845 bbit0 mouse_enable_24g_auto_pair_nerver_been_paired ,mouse_24g_reconn_dongle_start 
-0350 6fe24998 fetch 4 ,mem_mouse_24g_addr 
-0351 684a4979 fetcht 4 ,mem_mouse_compare_addr_ff 
-0352 98467c00 isub temp ,null 
-0353 20228355 branch p_mouse_24g_start_pair_mode ,zero 
-0354 20204845 branch mouse_24g_reconn_dongle_start 
+03cd 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+03ce c297c850 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_start_auto_pair 
+03cf c2984850 bbit1 mouse_enable_auto_24g_paring ,mouse_24g_start_auto_pair 
+03d0 c31d4845 bbit0 mouse_enable_24g_auto_pair_nerver_been_paired ,mouse_24g_reconn_dongle_start 
+03d1 6fe24998 fetch 4 ,mem_mouse_24g_addr 
+03d2 684a4979 fetcht 4 ,mem_mouse_compare_addr_ff 
+03d3 98467c00 isub temp ,null 
+03d4 202283d6 branch p_mouse_24g_start_pair_mode ,zero 
+03d5 20204845 branch mouse_24g_reconn_dongle_start 
 
 p_mouse_24g_start_pair_mode:
-0355 70488f00 jam 0 ,mem_24g_reconn_type 
-0356 20204866 branch mouse_24g_start_pair_mode 
+03d6 70488f00 jam 0 ,mem_24g_reconn_type 
+03d7 20204866 branch mouse_24g_start_pair_mode 
 
 p_mouse_le_ll_start_encryt:
-0357 6fe0cad8 fetch 1 ,mem_mouse_le_reconnect_flag 
-0358 c000835b beq 1 ,p_mouse_le_ll_reconn_start_encryt 
-0359 704b8714 jam 20 ,mem_le_start_encrypt_timer 
-035a 202043b3 branch mouse_le_ll_enable_start_enc_flag 
+03d8 6fe0cad8 fetch 1 ,mem_mouse_le_reconnect_flag 
+03d9 c00083dc beq 1 ,p_mouse_le_ll_reconn_start_encryt 
+03da 704b8714 jam 20 ,mem_le_start_encrypt_timer 
+03db 202043b3 branch mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_le_ll_reconn_start_encryt:
-035b 204043ac call mouse_updata_le_param 
-035c 704b870a jam 10 ,mem_le_start_encrypt_timer 
-035d 202043b3 branch mouse_le_ll_enable_start_enc_flag 
+03dc 204043ac call mouse_updata_le_param 
+03dd 704b870a jam 10 ,mem_le_start_encrypt_timer 
+03de 202043b3 branch mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_le_conn_param_update_rsp_recieved:
-035e 6fe0cc6f fetch 1 ,mem_mouse_le_send_conn_param_update 
-035f 247a0000 nrtn blank 
-0360 704c6f01 jam 1 ,mem_mouse_le_send_conn_param_update 
-0361 704c701e jam 30 ,mem_mouse_le_send_conn_param_update_timer 
-0362 20600000 rtn 
+03df 6fe0cc6f fetch 1 ,mem_mouse_le_send_conn_param_update 
+03e0 247a0000 nrtn blank 
+03e1 704c6f01 jam 1 ,mem_mouse_le_send_conn_param_update 
+03e2 704c701e jam 30 ,mem_mouse_le_send_conn_param_update_timer 
+03e3 20600000 rtn 
 
 p_mouse_le_bb_disconnected:
-0363 58000000 setarg 0 
-0364 67e14b03 store 2 ,mem_le_battery_level_updata_timer 
-0365 67e0cc6f store 1 ,mem_mouse_le_send_conn_param_update 
-0366 67e0cc70 store 1 ,mem_mouse_le_send_conn_param_update_timer 
-0367 67e0cad7 store 1 ,mem_mouse_le_bb_connected_flag 
-0368 704b0500 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
-0369 704abd00 jam 0 ,mem_mouse_clear_sensor_data_flag 
-036a 20401ac8 call le_clr_config_more_data 
-036b 20200371 branch p_mouse_bb_disconnected 
+03e4 58000000 setarg 0 
+03e5 67e14b03 store 2 ,mem_le_battery_level_updata_timer 
+03e6 67e0cc6f store 1 ,mem_mouse_le_send_conn_param_update 
+03e7 67e0cc70 store 1 ,mem_mouse_le_send_conn_param_update_timer 
+03e8 67e0cad7 store 1 ,mem_mouse_le_bb_connected_flag 
+03e9 704b0500 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
+03ea 704abd00 jam 0 ,mem_mouse_clear_sensor_data_flag 
+03eb 20401ac8 call le_clr_config_more_data 
+03ec 20200380 branch p_mouse_bb_disconnected 
 
 p_mouse_le_bb_event_connected:
-036c 204001f2 call p_mouse_device_poweron_led_config 
-036d 20204390 branch mouse_le_bb_event_connected 
+03ed 20400233 call p_mouse_device_poweron_led_config 
+03ee 20204390 branch mouse_le_bb_event_connected 
 
 p_mouse_bb_event_connected:
-036e 20404584 call mouse_no_data_timer_init 
-036f 204001f2 call p_mouse_device_poweron_led_config 
-0370 2020443a branch mouse_bb_event_connected 
-
-p_mouse_bb_disconnected:
-0371 704b9000 jam 0 ,mem_mouse_enter_sniff_count 
-0372 704b9900 jam 0 ,mem_mouse_bt_send_first_package_flag 
-0373 20404433 call mouse_bt_sniff_param_interval_setup 
-0374 20404449 call mouse_bb_discon_clear_stack 
-0375 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
-0376 247a0000 nrtn blank 
-0377 20204442 branch mouse_bb_disconnected + 4 
+03ef 20404584 call mouse_no_data_timer_init 
+03f0 20400233 call p_mouse_device_poweron_led_config 
+03f1 2020443a branch mouse_bb_event_connected 
 
 p_g24_pair_dispatch:
-0378 70488f00 jam default_24g_device ,mem_24g_reconn_type 
-0379 6fe14bfd fetch 2 ,mem_24g_pair_count 
-037a 1fe0fe01 increase 1 ,pdata 
-037b 67e14bfd store 2 ,mem_24g_pair_count 
-037c 6fe0cbfd fetch 1 ,mem_24g_pair_count 
-037d 1fe17eff and pdata ,0xff ,pdata 
-037e c00022f7 beq 0 ,g24_pair_dispatch + 1 
-037f 20600000 rtn 
+03f2 70488f00 jam default_24g_device ,mem_24g_reconn_type 
+03f3 6fe14bfd fetch 2 ,mem_24g_pair_count 
+03f4 1fe0fe01 increase 1 ,pdata 
+03f5 67e14bfd store 2 ,mem_24g_pair_count 
+03f6 6fe0cbfd fetch 1 ,mem_24g_pair_count 
+03f7 1fe17eff and pdata ,0xff ,pdata 
+03f8 c00022f7 beq 0 ,g24_pair_dispatch + 1 
+03f9 20600000 rtn 
 
 p_g24_reconn_dispatch:
-0380 6fe1488d fetch 2 ,mem_24g_reconn_count 
-0381 d84001f8 arg 0x01f8 ,temp 
-0382 98417e00 iand temp ,pdata 
-0383 203a038b branch p_g24_reconn_dispatch_next ,blank 
-0384 6fe1488d fetch 2 ,mem_24g_reconn_count 
-0385 1fe0fe01 increase 1 ,pdata 
-0386 67e1488d store 2 ,mem_24g_reconn_count 
-0387 20600000 rtn 
+03fa 6fe1488d fetch 2 ,mem_24g_reconn_count 
+03fb d84001f8 arg 0x01f8 ,temp 
+03fc 98417e00 iand temp ,pdata 
+03fd 203a0405 branch p_g24_reconn_dispatch_next ,blank 
+03fe 6fe1488d fetch 2 ,mem_24g_reconn_count 
+03ff 1fe0fe01 increase 1 ,pdata 
+0400 67e1488d store 2 ,mem_24g_reconn_count 
+0401 20600000 rtn 
 
 p_g24_reconn_mode_judge:
-0388 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-0389 c29822e4 bbit1 mouse_enable_auto_24g_paring ,g24_pair_start 
-038a 20202577 branch g24_reconn_receiver_addr 
+0402 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0403 c29822e4 bbit1 mouse_enable_auto_24g_paring ,g24_pair_start 
+0404 20202577 branch g24_reconn_receiver_addr 
 
 p_g24_reconn_dispatch_next:
-038b 204025a3 call g24_reconn_data_prep 
-038c 20402662 call g24_transmit_receive_ack 
-038d 242c03a4 nbranch p_g24_reconn_device_fail ,sync 
-038e 243783a4 nbranch p_g24_reconn_device_fail ,user3 
-038f 20402679 call g24_ackpayload_parse 
-0390 6fe2487b fetch 4 ,mem_24g_pair_addr 
-0391 684a483f fetcht 4 ,mem_24g_addr 
-0392 98467c00 isub temp ,null 
-0393 20228388 branch p_g24_reconn_mode_judge ,zero 
-0394 6fe248ad fetch 4 ,mem_24g_device_addr 
-0395 684a483f fetcht 4 ,mem_24g_addr 
-0396 98467c00 isub temp ,null 
-0397 204283a0 call p_g24_store_receiver_addr ,zero 
-0398 6fe0c8a5 fetch 1 ,mem_24g_conn_sm 
-0399 793ffe02 set0 state_24g_reconn ,pdata 
-039a 67e0c8a5 store 1 ,mem_24g_conn_sm 
-039b 58000000 setarg 0 
-039c 67e14887 store 2 ,mem_24g_pair_timeout 
-039d 67e1488d store 2 ,mem_24g_reconn_count 
-039e 67e1488b store 2 ,mem_24g_reconn_timeout 
-039f 2020259e branch g24_reconn_attempt_success 
+0405 204025a3 call g24_reconn_data_prep 
+0406 20402662 call g24_transmit_receive_ack 
+0407 242c041e nbranch p_g24_reconn_device_fail ,sync 
+0408 2437841e nbranch p_g24_reconn_device_fail ,user3 
+0409 20402679 call g24_ackpayload_parse 
+040a 6fe2487b fetch 4 ,mem_24g_pair_addr 
+040b 684a483f fetcht 4 ,mem_24g_addr 
+040c 98467c00 isub temp ,null 
+040d 20228402 branch p_g24_reconn_mode_judge ,zero 
+040e 6fe248ad fetch 4 ,mem_24g_device_addr 
+040f 684a483f fetcht 4 ,mem_24g_addr 
+0410 98467c00 isub temp ,null 
+0411 2042841a call p_g24_store_receiver_addr ,zero 
+0412 6fe0c8a5 fetch 1 ,mem_24g_conn_sm 
+0413 793ffe02 set0 state_24g_reconn ,pdata 
+0414 67e0c8a5 store 1 ,mem_24g_conn_sm 
+0415 58000000 setarg 0 
+0416 67e14887 store 2 ,mem_24g_pair_timeout 
+0417 67e1488d store 2 ,mem_24g_reconn_count 
+0418 67e1488b store 2 ,mem_24g_reconn_timeout 
+0419 2020259e branch g24_reconn_attempt_success 
 
 p_g24_store_receiver_addr:
-03a0 6fe2480f fetch 4 ,mem_24g_rxpayload + 2 
-03a1 207a0000 rtn blank 
-03a2 67e24895 store 4 ,mem_24g_receiver_addr 
-03a3 20202587 branch g24_ch_syncword_crc8_init 
+041a 6fe2480f fetch 4 ,mem_24g_rxpayload + 2 
+041b 207a0000 rtn blank 
+041c 67e24895 store 4 ,mem_24g_receiver_addr 
+041d 20202587 branch g24_ch_syncword_crc8_init 
 
 p_g24_reconn_device_fail:
-03a4 6fe0c890 fetch 1 ,mem_24g_fast_conn_enable 
-03a5 203a2281 branch g24_ch ,blank 
-03a6 6fe1488d fetch 2 ,mem_24g_reconn_count 
-03a7 1fe0fe01 increase 1 ,pdata 
-03a8 67e1488d store 2 ,mem_24g_reconn_count 
-03a9 2feffe09 isolate1 9 ,pdata 
-03aa 6fe0c88f fetch 1 ,mem_24g_reconn_type 
-03ab c00103ae beq fast_conn_and_3_0_addr ,p_g24_reconn_fast_conn_and_3_0 
-03ac c00203b5 beq pair_and_3_0_addr ,p_g24_reconn_pair_and_3_0 
-03ad 202025b1 branch g24_reconn_device_fail + 7 
+041e 6fe0c890 fetch 1 ,mem_24g_fast_conn_enable 
+041f 203a2281 branch g24_ch ,blank 
+0420 6fe1488d fetch 2 ,mem_24g_reconn_count 
+0421 1fe0fe01 increase 1 ,pdata 
+0422 67e1488d store 2 ,mem_24g_reconn_count 
+0423 2feffe09 isolate1 9 ,pdata 
+0424 6fe0c88f fetch 1 ,mem_24g_reconn_type 
+0425 c0010428 beq fast_conn_and_3_0_addr ,p_g24_reconn_fast_conn_and_3_0 
+0426 c002042f beq pair_and_3_0_addr ,p_g24_reconn_pair_and_3_0 
+0427 202025b1 branch g24_reconn_device_fail + 7 
 
 p_g24_reconn_fast_conn_and_3_0:
-03ae 6fe0cc85 fetch 1 ,mem_24g_reconn_pairing_switch 
-03af 1fe0fe01 increase 1 ,pdata 
-03b0 1fe17e03 and_into 3 ,pdata 
-03b1 67e0cc85 store 1 ,mem_24g_reconn_pairing_switch 
-03b2 c000257e beq 0 ,g24_reconn_device_3_0_addr 
-03b3 c001256f beq 2 ,g24_reconn_fast_conn 
-03b4 202022ef branch g24_pair_init_param 
+0428 6fe0cc85 fetch 1 ,mem_24g_reconn_pairing_switch 
+0429 1fe0fe01 increase 1 ,pdata 
+042a 1fe17e03 and_into 3 ,pdata 
+042b 67e0cc85 store 1 ,mem_24g_reconn_pairing_switch 
+042c c000257e beq 0 ,g24_reconn_device_3_0_addr 
+042d c001256f beq 2 ,g24_reconn_fast_conn 
+042e 202022ef branch g24_pair_init_param 
 
 p_g24_reconn_pair_and_3_0:
-03b5 2020a57e branch g24_reconn_device_3_0_addr ,true 
-03b6 202022ef branch g24_pair_init_param 
+042f 2020a57e branch g24_reconn_device_3_0_addr ,true 
+0430 202022ef branch g24_pair_init_param 
 
 p_g24_lpm_wait:
-03b7 6fe0cbbb fetch 1 ,mem_24g_device_led_status 
-03b8 243a7ec7 nbranch disable_user ,blank 
-03b9 78347c00 enable user 
-03ba 20401436 call lpo_calibration 
-03bb 6fe1c174 fetch 3 ,mem_clks_per_lpo 
-03bc 203a7ec7 branch disable_user ,blank 
-03bd 6fe0c099 fetch 1 ,mem_lpm_mode 
-03be 203a7ec7 branch disable_user ,blank 
-03bf 6fe0c8c1 fetch 1 ,mem_24g_transmit_by_interrupt 
-03c0 c000fec7 beq g24_tx_timer_int_enable ,disable_user 
-03c1 20600000 rtn 
+0431 6fe0cbbb fetch 1 ,mem_24g_device_led_status 
+0432 243a7ec7 nbranch disable_user ,blank 
+0433 78347c00 enable user 
+0434 20401436 call lpo_calibration 
+0435 6fe1c174 fetch 3 ,mem_clks_per_lpo 
+0436 203a7ec7 branch disable_user ,blank 
+0437 6fe0c099 fetch 1 ,mem_lpm_mode 
+0438 203a7ec7 branch disable_user ,blank 
+0439 6fe0c8c1 fetch 1 ,mem_24g_transmit_by_interrupt 
+043a c000fec7 beq g24_tx_timer_int_enable ,disable_user 
+043b 20600000 rtn 
 
 p_mouse_start_discovery:
-03c2 20400200 call p_mouse_device_discovery_led_config 
-03c3 6fe1478f fetch 2 ,mem_ui_state_map 
-03c4 2feffe0b isolate1 ui_state_ble_adv ,pdata 
-03c5 2040c5c1 call mouse_stop_le_adv ,true 
-03c6 6fe1478f fetch 2 ,mem_ui_state_map 
-03c7 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
-03c8 2040c362 call mouse_cancel_reconnect ,true 
-03c9 58000000 setarg 0 
-03ca 67e14b03 store 2 ,mem_le_battery_level_updata_timer 
-03cb 20204594 branch mouse_start_discovery + 1 
+043c 20400241 call p_mouse_device_discovery_led_config 
+043d 6fe1478f fetch 2 ,mem_ui_state_map 
+043e 2feffe0b isolate1 ui_state_ble_adv ,pdata 
+043f 2040c5c1 call mouse_stop_le_adv ,true 
+0440 6fe1478f fetch 2 ,mem_ui_state_map 
+0441 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
+0442 2040c362 call mouse_cancel_reconnect ,true 
+0443 58000000 setarg 0 
+0444 67e14b03 store 2 ,mem_le_battery_level_updata_timer 
+0445 67e0c454 store 1 ,mem_app_handshake_flag 
+0446 20204594 branch mouse_start_discovery + 1 
 
 p_mouse_stop_discovery:
-03cc 58000000 setarg 0 
-03cd 67e14ad3 store 2 ,mem_mouse_discovery_timer 
-03ce 202045b7 branch mouse_stop_discovery + 1 
+0447 58000000 setarg 0 
+0448 67e14ad3 store 2 ,mem_mouse_discovery_timer 
+0449 202045b7 branch mouse_stop_discovery + 1 
 
 p_ui_timer_check:
-03cf 6fe0cbf4 fetch 1 ,mem_power_on_flag 
-03d0 245a78cc ncall ui_timer_init ,blank 
-03d1 704bf400 jam 0 ,mem_power_on_flag 
-03d2 202078bc branch ui_timer_check + 1 
+044a 6fe0cbf4 fetch 1 ,mem_power_on_flag 
+044b 245a78cc ncall ui_timer_init ,blank 
+044c 704bf400 jam 0 ,mem_power_on_flag 
+044d 202078bc branch ui_timer_check + 1 
 
 p_le_enable_phy_by_pdata:
-03d3 18427e00 copy temp ,pdata 
-03d4 c2801651 bbit1 bit_le_1m_phy ,le_enable 
-03d5 c28083d7 bbit1 bit_le_2m_phy ,p_le_enable_2m 
-03d6 2020163c branch le_enable_phy_by_pdata + 5 
+044e 18427e00 copy temp ,pdata 
+044f c2801651 bbit1 bit_le_1m_phy ,le_enable 
+0450 c2808452 bbit1 bit_le_2m_phy ,p_le_enable_2m 
+0451 2020163c branch le_enable_phy_by_pdata + 5 
 
 p_le_enable_2m:
-03d7 20401640 call le_enable_2m 
-03d8 708a6d89 jam 0x89 ,core_rx_bq_cfg0 
-03d9 20600000 rtn 
+0452 20401640 call le_enable_2m 
+0453 708a6d89 jam 0x89 ,core_rx_bq_cfg0 
+0454 20600000 rtn 
 
 p_hid_rx_process:
-03da 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
-03db 1fe20c00 copy pdata ,contr 
-03dc efe08006 ifetch 1 ,contr 
-03dd 67e0c5f8 store 1 ,mem_l2cap_rcv_hidtype 
-03de 1fe1040f and pdata ,0x0f ,temp 
-03df 1ff1fe00 rshift4 pdata ,pdata 
-03e0 c00483e2 beq hid_type_set_idle ,p_hid_rx_process_handshake 
-03e1 20204df1 branch hid_rx_process + 7 
+0455 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
+0456 1fe20c00 copy pdata ,contr 
+0457 efe08006 ifetch 1 ,contr 
+0458 67e0c5f8 store 1 ,mem_l2cap_rcv_hidtype 
+0459 1fe1040f and pdata ,0x0f ,temp 
+045a 1ff1fe00 rshift4 pdata ,pdata 
+045b c004845d beq hid_type_set_idle ,p_hid_rx_process_handshake 
+045c 20204df1 branch hid_rx_process + 7 
 
 p_hid_rx_process_handshake:
-03e2 da200001 arg 1 ,rega 
-03e3 20404e1e call hid_malloc_tx_buff 
-03e4 6fe144df fetch 2 ,mem_hid_ctrl_remote_cid 
-03e5 e7e10005 istore 2 ,contw 
-03e6 58000000 setarg 0 
-03e7 e7e08005 istore 1 ,contw 
-03e8 70095001 jam 1 ,mem_ui_data_txbuff_length 
-03e9 6fe0c4e5 fetch 1 ,mem_hid_control_state 
-03ea 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
-03eb 67e0c4e5 store 1 ,mem_hid_control_state 
-03ec 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
-03ed 202078dc branch ui_ipc_send_event 
+045d da200001 arg 1 ,rega 
+045e 20404e1e call hid_malloc_tx_buff 
+045f 6fe144df fetch 2 ,mem_hid_ctrl_remote_cid 
+0460 e7e10005 istore 2 ,contw 
+0461 58000000 setarg 0 
+0462 e7e08005 istore 1 ,contw 
+0463 70095001 jam 1 ,mem_ui_data_txbuff_length 
+0464 6fe0c4e5 fetch 1 ,mem_hid_control_state 
+0465 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
+0466 67e0c4e5 store 1 ,mem_hid_control_state 
+0467 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
+0468 202078dc branch ui_ipc_send_event 
 
 p_send_lmp:
-03ee 78547c00 disable user 
-03ef 20405a44 call lmo_fifo_process 
-03f0 6fe08048 fetch 1 ,mem_lmp_to_send 
-03f1 207a0000 rtn blank 
-03f2 c283d78e bbit1 7 ,send_lmp_escape 
+0469 78547c00 disable user 
+046a 20405a44 call lmo_fifo_process 
+046b 6fe08048 fetch 1 ,mem_lmp_to_send 
+046c 207a0000 rtn blank 
+046d c283d78e bbit1 7 ,send_lmp_escape 
 
 p_send_lmp0:
-03f3 c00383f5 beq lmp_detach ,p_send_lmp_detach 
-03f4 2020575f branch send_lmp0 
+046e c0038470 beq lmp_detach ,p_send_lmp_detach 
+046f 2020575f branch send_lmp0 
 
 p_send_lmp_detach:
-03f5 204058bb call send_lmp_detach 
-03f6 70007278 jam 120 ,mem_conn_timer 
-03f7 20600000 rtn 
+0470 204058bb call send_lmp_detach 
+0471 70007278 jam 120 ,mem_conn_timer 
+0472 20600000 rtn 
 
 p_le_slave_match:
-03f8 6fe0c3dd fetch 1 ,mem_le_md_count 
-03f9 1fe0fe01 pincrease 1 
-03fa 67e0c3dd store 1 ,mem_le_md_count 
-03fb c0061606 beq le_md_max_count ,le_slave_cont 
-03fc 204018c7 call le_acknowledge 
-03fd 20401916 call le_prepare_tx 
-03fe 6fe082bd fetch 1 ,mem_le_tx_phy 
-03ff 20401637 call le_enable_phy_by_pdata 
-0400 204017e4 call le_transmit 
-0401 20201601 branch le_slave_match + 10 
+0473 6fe0c3dd fetch 1 ,mem_le_md_count 
+0474 1fe0fe01 pincrease 1 
+0475 67e0c3dd store 1 ,mem_le_md_count 
+0476 c0061606 beq le_md_max_count ,le_slave_cont 
+0477 204018c7 call le_acknowledge 
+0478 20401916 call le_prepare_tx 
+0479 6fe082bd fetch 1 ,mem_le_tx_phy 
+047a 20401637 call le_enable_phy_by_pdata 
+047b 204017e4 call le_transmit 
+047c 20201601 branch le_slave_match + 10 
 
 p_le_slave_unsync:
-0402 20400e7c call end_of_packet 
-0403 2020160d branch le_slave_unsync + 1 
+047d 20400e7c call end_of_packet 
+047e 2020160d branch le_slave_unsync + 1 
 
 p_le_parse_l2cap:
-0404 efe10006 ifetch 2 ,contr 
-0405 c0020407 beq le_l2cap_cid_att ,p_le_parse_att 
-0406 20201990 branch le_parse_l2cap + 10 
+047f efe10006 ifetch 2 ,contr 
+0480 c0020482 beq le_l2cap_cid_att ,p_le_parse_att 
+0481 20201990 branch le_parse_l2cap + 10 
 
 p_le_parse_att:
-0407 efe18006 ifetch 3 ,contr 
-0408 67e1c436 store 3 ,mem_le_att_opcode 
-0409 c005040c beq attop_read_request ,p_le_parse_att_read_request 
-040a c009041b beq attop_write_request ,p_le_parse_att_write_request 
-040b 20201c7f branch le_parse_att + 2 
+0482 efe18006 ifetch 3 ,contr 
+0483 67e1c436 store 3 ,mem_le_att_opcode 
+0484 c0050487 beq attop_read_request ,p_le_parse_att_read_request 
+0485 c0090496 beq attop_write_request ,p_le_parse_att_write_request 
+0486 20201c7f branch le_parse_att + 2 
 
 p_le_parse_att_read_request:
-040c 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-040d c31d9d93 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
-040e 20401e39 call le_check_encrypt_state 
-040f 68494437 fetcht 2 ,mem_le_att_handle 
-0410 6fe0c3c0 fetch 1 ,mem_le_configuration 
-0411 c2818416 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
+0487 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0488 c31d9d93 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
+0489 20401e39 call le_check_encrypt_state 
+048a 68494437 fetcht 2 ,mem_le_att_handle 
+048b 6fe0c3c0 fetch 1 ,mem_le_configuration 
+048c c2818491 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
 
 p_le_send_att_read_response:
-0412 6fe14437 fetch 2 ,mem_le_att_handle 
-0413 c0181e74 beq 0x30 ,le_send_att_error_response_notfound 
-0414 68494437 fetcht 2 ,mem_le_att_handle 
-0415 20201d97 branch le_send_att_read_response 
+048d 6fe14437 fetch 2 ,mem_le_att_handle 
+048e c0181e74 beq 0x30 ,le_send_att_error_response_notfound 
+048f 68494437 fetcht 2 ,mem_le_att_handle 
+0490 20201d97 branch le_send_att_read_response 
 
 p_le_send_att_read_response_check_auth:
-0416 6fe143d1 fetch 2 ,mem_le_pairing_handle 
-0417 98467c00 isub temp ,null 
-0418 24228412 nbranch p_le_send_att_read_response ,zero 
-0419 24340412 nbranch p_le_send_att_read_response ,user 
-041a 20201dbc branch le_send_att_read_response_error_insufficient_auth 
+0491 6fe143d1 fetch 2 ,mem_le_pairing_handle 
+0492 98467c00 isub temp ,null 
+0493 2422848d nbranch p_le_send_att_read_response ,zero 
+0494 2434048d nbranch p_le_send_att_read_response ,user 
+0495 20201dbc branch le_send_att_read_response_error_insufficient_auth 
 
 p_le_parse_att_write_request:
-041b 18c22200 copy contr ,rega 
-041c 6fe143d4 fetch 2 ,mem_le_l2cap_size 
-041d 1fe0a5fd add pdata ,-3 ,regb 
-041e 204019d1 call le_writeatt_cb 
-041f 6fe0cad2 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-0420 c07f9e1f beq 0xff ,le_send_att_write_response_check_auth 
-0421 6fe0cad8 fetch 1 ,mem_mouse_le_reconnect_flag 
-0422 203a1e1f branch le_send_att_write_response_check_auth ,blank 
-0423 6fe0cb86 fetch 1 ,mem_le_connect_status_flag 
-0424 c2809e1f bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
-0425 5800001a setarg 0x001a 
-0426 68494437 fetcht 2 ,mem_le_att_handle 
-0427 98467c00 isub temp ,null 
-0428 24229e1f nbranch le_send_att_write_response_check_auth ,zero 
-0429 20201dbc branch le_send_att_read_response_error_insufficient_auth 
+0496 18c22200 copy contr ,rega 
+0497 6fe143d4 fetch 2 ,mem_le_l2cap_size 
+0498 1fe0a5fd add pdata ,-3 ,regb 
+0499 204019d1 call le_writeatt_cb 
+049a 6fe0cad2 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+049b c07f9e1f beq 0xff ,le_send_att_write_response_check_auth 
+049c 6fe0cad8 fetch 1 ,mem_mouse_le_reconnect_flag 
+049d 203a1e1f branch le_send_att_write_response_check_auth ,blank 
+049e 6fe0cb86 fetch 1 ,mem_le_connect_status_flag 
+049f c2809e1f bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
+04a0 5800001a setarg 0x001a 
+04a1 68494437 fetcht 2 ,mem_le_att_handle 
+04a2 98467c00 isub temp ,null 
+04a3 24229e1f nbranch le_send_att_write_response_check_auth ,zero 
+04a4 20201dbc branch le_send_att_read_response_error_insufficient_auth 
 
 p_mouse_motion:
-042a 78547c00 disable user 
-042b 58000000 setarg 0 
-042c 67e348d5 store 6 ,mem_mouse_x 
-042d 2040043a call p_mouse_check_sensor_data 
-042e 58000089 setarg 0x0089 
-042f 20405d5e call twspi_write 
-0430 204002f2 call p_mouse_seting_sensor_type 
-0431 20403fbe call mouse_zwheel 
-0432 20403fc3 call mouse_t_zwheel 
-0433 20400451 call p_mouse_key 
-0434 6fe0c8d4 fetch 1 ,mem_mouse_key 
-0435 1fe17e1f and_into 0x1f ,pdata 
-0436 67e0c8d4 store 1 ,mem_mouse_key 
-0437 24344766 nbranch mouse_drawing_optima_init ,user 
-0438 2040044a call p_mouse_drawing_optima 
-0439 20204584 branch mouse_no_data_timer_init 
+04a5 78547c00 disable user 
+04a6 58000000 setarg 0 
+04a7 67e348d5 store 6 ,mem_mouse_x 
+04a8 204004b5 call p_mouse_check_sensor_data 
+04a9 58000089 setarg 0x0089 
+04aa 20405d5e call twspi_write 
+04ab 20400352 call p_mouse_seting_sensor_type 
+04ac 20403fbe call mouse_zwheel 
+04ad 20403fc3 call mouse_t_zwheel 
+04ae 204004ce call p_mouse_key 
+04af 6fe0c8d4 fetch 1 ,mem_mouse_key 
+04b0 1fe17e1f and_into 0x1f ,pdata 
+04b1 67e0c8d4 store 1 ,mem_mouse_key 
+04b2 24344766 nbranch mouse_drawing_optima_init ,user 
+04b3 204004c6 call p_mouse_drawing_optima 
+04b4 20204584 branch mouse_no_data_timer_init 
 
 p_mouse_check_sensor_data:
-043a 6fe0c4ae fetch 1 ,mem_spi_write_flash_sm 
-043b c1800000 rtnne flash_sm_no_buys 
-043c 6fe0c92c fetch 1 ,mem_config_sensor_type 
-043d c0060440 beq ka5857 ,p_mouse_ka5857_sensor_motion 
-043e c0058440 beq ka8g2 ,p_mouse_ka5857_sensor_motion 
-043f 20204283 branch mouse_check_sensor_data + 3 
+04b5 6fe0c4ae fetch 1 ,mem_spi_write_flash_sm 
+04b6 c1800000 rtnne flash_sm_no_buys 
+04b7 6fe0c92c fetch 1 ,mem_config_sensor_type 
+04b8 c00604bc beq ka5857 ,p_mouse_ka5857_sensor_motion 
+04b9 c006c2b0 beq sg8670 ,mouse_p3212_sensor_motion 
+04ba c00584bc beq ka8g2 ,p_mouse_ka5857_sensor_motion 
+04bb 20204283 branch mouse_check_sensor_data + 3 
 
 p_mouse_ka5857_sensor_motion:
-0440 20404304 call mouse_clear_sensor_data 
-0441 6fe0c915 fetch 1 ,mem_sensor_motion_gpio 
-0442 c07f8446 beq gpio_disable ,p_mouse_ka5857_sensor_motion_1 
-0443 6848c915 fetcht 1 ,mem_sensor_motion_gpio 
-0444 204060fd call gpio_get_bit 
-0445 24608000 nrtn true 
+04bc 20404304 call mouse_clear_sensor_data 
+04bd 6fe0c915 fetch 1 ,mem_sensor_motion_gpio 
+04be c07f84c2 beq gpio_disable ,p_mouse_ka5857_sensor_motion_1 
+04bf 6848c915 fetcht 1 ,mem_sensor_motion_gpio 
+04c0 204060fd call gpio_get_bit 
+04c1 24608000 nrtn true 
 
 p_mouse_ka5857_sensor_motion_1:
-0446 58000000 setarg pan_reg_pid_l 
-0447 20405d65 call twspi_read 
-0448 c0ac41f2 bne pka8g2_id1 ,mouse_twspi_reset 
-0449 202042b9 branch mouse_p3212_sensor_motion_2 
+04c2 58000000 setarg pan_reg_pid_l 
+04c3 20405d65 call twspi_read 
+04c4 c0ac41f2 bne pka8g2_id1 ,mouse_twspi_reset 
+04c5 202042b9 branch mouse_p3212_sensor_motion_2 
 
 p_mouse_drawing_optima:
-044a 6fe0c92c fetch 1 ,mem_config_sensor_type 
-044b c1018000 rtneq p3212 
-044c c1058000 rtneq ka8g2 
-044d 204004ae call p_usb_store_mem 
-044e 20404758 call mouse_drawing_optima 
-044f 204004b1 call p_usb_get_mem 
-0450 20600000 rtn 
+04c6 6fe0c92c fetch 1 ,mem_config_sensor_type 
+04c7 c1018000 rtneq p3212 
+04c8 c1058000 rtneq ka8g2 
+04c9 c1068000 rtneq sg8670 
+04ca 2040052b call p_usb_store_mem 
+04cb 20404758 call mouse_drawing_optima 
+04cc 2040052e call p_usb_get_mem 
+04cd 20600000 rtn 
 
 p_mouse_key:
-0451 20400454 call p_mouse_check_key_gpio 
-0452 2040048a call p_mouse_ghost_key_check 
-0453 2020411e branch mouse_key + 2 
+04ce 204004d1 call p_mouse_check_key_gpio 
+04cf 20400507 call p_mouse_ghost_key_check 
+04d0 2020411e branch mouse_key + 2 
 
 p_mouse_check_key_gpio:
-0454 6fe0cbf2 fetch 1 ,mem_sensor_shutdown_flag 
-0455 245a4161 ncall mouse_check_key_gpio_once ,blank 
-0456 da200000 arg 0 ,rega 
-0457 2040045b call p_mouse_check_lkey_gpio 
-0458 2040046a call p_mouse_check_bkkey_gpio 
-0459 20400477 call p_mouse_check_fwkey_gpio 
-045a 2020415e branch mouse_check_key_gpio_next 
+04d1 6fe0cbf2 fetch 1 ,mem_sensor_shutdown_flag 
+04d2 245a4161 ncall mouse_check_key_gpio_once ,blank 
+04d3 da200000 arg 0 ,rega 
+04d4 204004d8 call p_mouse_check_lkey_gpio 
+04d5 204004e7 call p_mouse_check_bkkey_gpio 
+04d6 204004f4 call p_mouse_check_fwkey_gpio 
+04d7 2020415e branch mouse_check_key_gpio_next 
 
 p_mouse_check_lkey_gpio:
-045b 6fe0c91c fetch 1 ,mem_lbutton_gpio 
-045c 20400484 call p_mouse_gpio_config_output_high 
-045d 20404164 call mouse_check_lkey_gpio 
-045e 6848c91c fetcht 1 ,mem_lbutton_gpio 
-045f 20403f96 call mouse_gpio_config_input_pu 
+04d8 6fe0c91c fetch 1 ,mem_lbutton_gpio 
+04d9 20400501 call p_mouse_gpio_config_output_high 
+04da 20404164 call mouse_check_lkey_gpio 
+04db 6848c91c fetcht 1 ,mem_lbutton_gpio 
+04dc 20403f96 call mouse_gpio_config_input_pu 
 
 p_mouse_check_rkey_gpio:
-0460 6fe0c91d fetch 1 ,mem_rbutton_gpio 
-0461 20400484 call p_mouse_gpio_config_output_high 
-0462 2040416a call mouse_check_rkey_gpio 
-0463 6848c91d fetcht 1 ,mem_rbutton_gpio 
-0464 20403f96 call mouse_gpio_config_input_pu 
+04dd 6fe0c91d fetch 1 ,mem_rbutton_gpio 
+04de 20400501 call p_mouse_gpio_config_output_high 
+04df 2040416a call mouse_check_rkey_gpio 
+04e0 6848c91d fetcht 1 ,mem_rbutton_gpio 
+04e1 20403f96 call mouse_gpio_config_input_pu 
 
 p_mouse_check_mkey_gpio:
-0465 6fe0c91e fetch 1 ,mem_mbutton_gpio 
-0466 20400484 call p_mouse_gpio_config_output_high 
-0467 20404170 call mouse_check_mkey_gpio 
-0468 6848c91e fetcht 1 ,mem_mbutton_gpio 
-0469 20203f96 branch mouse_gpio_config_input_pu 
+04e2 6fe0c91e fetch 1 ,mem_mbutton_gpio 
+04e3 20400501 call p_mouse_gpio_config_output_high 
+04e4 20404170 call mouse_check_mkey_gpio 
+04e5 6848c91e fetcht 1 ,mem_mbutton_gpio 
+04e6 20203f96 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_bkkey_gpio:
-046a 6fe0c911 fetch 1 ,mem_bk_button_gpio 
-046b c17f8000 rtneq gpio_disable 
-046c 704ba703 jam mouse_bk_key ,mem_mouse_key_temp 
-046d 6fe0cba2 fetch 1 ,mem_mouse_bkkey_press_status 
-046e 1fe22600 copy pdata ,regc 
-046f 6848c911 fetcht 1 ,mem_bk_button_gpio 
-0470 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
-0471 c07f8473 beq gpio_disable ,p_mouse_3io6key_bk_check 
-0472 2020417e branch mouse_check_bkkey_gpio_next 
+04e7 6fe0c911 fetch 1 ,mem_bk_button_gpio 
+04e8 c17f8000 rtneq gpio_disable 
+04e9 704ba703 jam mouse_bk_key ,mem_mouse_key_temp 
+04ea 6fe0cba2 fetch 1 ,mem_mouse_bkkey_press_status 
+04eb 1fe22600 copy pdata ,regc 
+04ec 6848c911 fetcht 1 ,mem_bk_button_gpio 
+04ed 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
+04ee c07f84f0 beq gpio_disable ,p_mouse_3io6key_bk_check 
+04ef 2020417e branch mouse_check_bkkey_gpio_next 
 
 p_mouse_3io6key_bk_check:
-0473 6fe0c911 fetch 1 ,mem_bk_button_gpio 
-0474 20400487 call p_mouse_gpio_config_output_low 
-0475 6848c911 fetcht 1 ,mem_bk_button_gpio 
-0476 2020418b branch mouse_3io6key_bk_check 
+04f0 6fe0c911 fetch 1 ,mem_bk_button_gpio 
+04f1 20400504 call p_mouse_gpio_config_output_low 
+04f2 6848c911 fetcht 1 ,mem_bk_button_gpio 
+04f3 2020418b branch mouse_3io6key_bk_check 
 
 p_mouse_check_fwkey_gpio:
-0477 6fe0c912 fetch 1 ,mem_fw_button_gpio 
-0478 c17f8000 rtneq gpio_disable 
-0479 704ba704 jam mouse_fw_key ,mem_mouse_key_temp 
-047a 6fe0cba3 fetch 1 ,mem_mouse_fwkey_press_status 
-047b 1fe22600 copy pdata ,regc 
-047c 6848c912 fetcht 1 ,mem_fw_button_gpio 
-047d 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
-047e c07f8480 beq gpio_disable ,p_mouse_3io6key_fw_check 
-047f 20204197 branch mouse_check_fwkey_gpio_next 
+04f4 6fe0c912 fetch 1 ,mem_fw_button_gpio 
+04f5 c17f8000 rtneq gpio_disable 
+04f6 704ba704 jam mouse_fw_key ,mem_mouse_key_temp 
+04f7 6fe0cba3 fetch 1 ,mem_mouse_fwkey_press_status 
+04f8 1fe22600 copy pdata ,regc 
+04f9 6848c912 fetcht 1 ,mem_fw_button_gpio 
+04fa 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
+04fb c07f84fd beq gpio_disable ,p_mouse_3io6key_fw_check 
+04fc 20204197 branch mouse_check_fwkey_gpio_next 
 
 p_mouse_3io6key_fw_check:
-0480 6fe0c912 fetch 1 ,mem_fw_button_gpio 
-0481 20400487 call p_mouse_gpio_config_output_low 
-0482 6848c912 fetcht 1 ,mem_fw_button_gpio 
-0483 202041a4 branch mouse_3io6key_fw_check 
+04fd 6fe0c912 fetch 1 ,mem_fw_button_gpio 
+04fe 20400504 call p_mouse_gpio_config_output_low 
+04ff 6848c912 fetcht 1 ,mem_fw_button_gpio 
+0500 202041a4 branch mouse_3io6key_fw_check 
 
 p_mouse_gpio_config_output_high:
-0484 c17f8000 rtneq gpio_disable 
-0485 d840003f arg gpcfg_output_high ,temp 
-0486 2020612c branch gpio_config_function_int 
+0501 c17f8000 rtneq gpio_disable 
+0502 d840003f arg gpcfg_output_high ,temp 
+0503 2020612c branch gpio_config_function_int 
 
 p_mouse_gpio_config_output_low:
-0487 c17f8000 rtneq gpio_disable 
-0488 d840003e arg gpcfg_output_low ,temp 
-0489 2020612c branch gpio_config_function_int 
+0504 c17f8000 rtneq gpio_disable 
+0505 d840003e arg gpcfg_output_low ,temp 
+0506 2020612c branch gpio_config_function_int 
 
 p_mouse_ghost_key_check:
-048a 704ba900 jam 0 ,mem_mouse_matrix_key_cow_count 
-048b 704baa00 jam 0 ,mem_mouse_matrix_key_row_count 
-048c 704bab00 jam 0 ,mem_mouse_ghost_flag 
-048d 1fe20400 copy pdata ,temp 
-048e 20400491 call p_mouse_ghost_key_check_l_fw 
-048f 20400494 call p_mouse_ghost_key_check_r_bk 
-0490 20204133 branch mouse_ghost_key_check + 6 
+0507 704ba900 jam 0 ,mem_mouse_matrix_key_cow_count 
+0508 704baa00 jam 0 ,mem_mouse_matrix_key_row_count 
+0509 704bab00 jam 0 ,mem_mouse_ghost_flag 
+050a 1fe20400 copy pdata ,temp 
+050b 2040050e call p_mouse_ghost_key_check_l_fw 
+050c 20400511 call p_mouse_ghost_key_check_r_bk 
+050d 20204133 branch mouse_ghost_key_check + 6 
 
 p_mouse_ghost_key_check_l_fw:
-0491 18417e11 and temp ,mouse_l_fw_button ,pdata 
-0492 c008c14e beq mouse_l_fw_button ,mouse_matrix_cow_more_than_one_key 
-0493 20600000 rtn 
+050e 18417e11 and temp ,mouse_l_fw_button ,pdata 
+050f c008c14e beq mouse_l_fw_button ,mouse_matrix_cow_more_than_one_key 
+0510 20600000 rtn 
 
 p_mouse_ghost_key_check_r_bk:
-0494 18417e0a and temp ,mouse_r_bk_button ,pdata 
-0495 c005414e beq mouse_r_bk_button ,mouse_matrix_cow_more_than_one_key 
-0496 20600000 rtn 
+0511 18417e0a and temp ,mouse_r_bk_button ,pdata 
+0512 c005414e beq mouse_r_bk_button ,mouse_matrix_cow_more_than_one_key 
+0513 20600000 rtn 
 
 p_usb_class_type:
-0497 793f8023 set0 mark_isstr ,mark 
-0498 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
-0499 1fe17e80 and_into 0x80 ,pdata 
-049a c000049c beq out_device ,p_usb_out_device 
-049b 20207aa1 branch usb_class_type + 4 
+0514 793f8023 set0 mark_isstr ,mark 
+0515 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
+0516 1fe17e80 and_into 0x80 ,pdata 
+0517 c0000519 beq out_device ,p_usb_out_device 
+0518 20207aa1 branch usb_class_type + 4 
 
 p_usb_out_device:
-049c 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
-049d 1ff1fe00 rshift4 pdata ,pdata 
-049e 1fe37e00 rshift pdata ,pdata 
-049f 1fe17e03 and_into 0x03 ,pdata 
-04a0 c0007ac4 beq standard_req ,usb_out_standard_req 
-04a1 c00084a3 beq class_req ,p_usb_out_class_req 
-04a2 20207ab4 branch usb_out_device + 4 
+0519 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
+051a 1ff1fe00 rshift4 pdata ,pdata 
+051b 1fe37e00 rshift pdata ,pdata 
+051c 1fe17e03 and_into 0x03 ,pdata 
+051d c0007ac4 beq standard_req ,usb_out_standard_req 
+051e c0008520 beq class_req ,p_usb_out_class_req 
+051f 20207ab4 branch usb_out_device + 4 
 
 p_usb_out_class_req:
-04a3 6fe08b5a fetch 1 ,mem_usb_setup_brequest 
-04a4 c00484a6 beq set_report ,p_usb_set_report 
-04a5 20207acd branch usb_out_class_req + 1 
+0520 6fe08b5a fetch 1 ,mem_usb_setup_brequest 
+0521 c0048523 beq set_report ,p_usb_set_report 
+0522 20207acd branch usb_out_class_req + 1 
 
 p_usb_set_report:
-04a6 20003a98 nop 15000 
-04a7 20207c4a branch usb_set_report 
+0523 20003a98 nop 15000 
+0524 20207c4a branch usb_set_report 
 
 p_usb_tx:
-04a8 6fe08bf9 fetch 1 ,mem_usb_tx_enable 
-04a9 207a0000 rtn blank 
-04aa 6ff08c24 fetch 1 ,core_usb_txbusy 
-04ab 1fe17e0f and_into 0x0f ,pdata 
-04ac 243a7d17 nbranch usb_inwake_state_tx_dispose ,blank 
-04ad 20207ccc branch usb_tx + 3 
+0525 6fe08bf9 fetch 1 ,mem_usb_tx_enable 
+0526 207a0000 rtn blank 
+0527 6ff08c24 fetch 1 ,core_usb_txbusy 
+0528 1fe17e0f and_into 0x0f ,pdata 
+0529 243a7d17 nbranch usb_inwake_state_tx_dispose ,blank 
+052a 20207ccc branch usb_tx + 3 
 
 p_usb_store_mem:
-04ae d8c009f6 arg mem_usb_status ,contr 
-04af d8a00c4b arg mem_usb_mem_temp ,contw 
-04b0 20207d7f branch memcpy16 
+052b d8c009f6 arg mem_usb_status ,contr 
+052c d8a00c4b arg mem_usb_mem_temp ,contw 
+052d 20207d7f branch memcpy16 
 
 p_usb_get_mem:
-04b1 d8a009f6 arg mem_usb_status ,contw 
-04b2 d8c00c4b arg mem_usb_mem_temp ,contr 
-04b3 20207d7f branch memcpy16 
+052e d8a009f6 arg mem_usb_status ,contw 
+052f d8c00c4b arg mem_usb_mem_temp ,contr 
+0530 20207d7f branch memcpy16 
 
 p_mouse_usb_check_enable:
-04b4 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-04b5 c4068000 rtnbit0 mouse_enable_usb 
-04b6 704930a5 jam mouse_usb_interface_remove ,mem_mouse_usb_vdd_status 
-04b7 20600000 rtn 
+0531 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0532 c4068000 rtnbit0 mouse_enable_usb 
+0533 704930a5 jam mouse_usb_interface_remove ,mem_mouse_usb_vdd_status 
+0534 20600000 rtn 
 
 p_mouse_usb_config_param:
-04b8 204004c1 call p_mouse_usb_config_kb_check 
-04b9 204004e9 call p_mouse_usb_report_rate_set 
-04ba 204004c6 call p_mouse_usb_config_param_setup 
+0535 2040053e call p_mouse_usb_config_kb_check 
+0536 20400566 call p_mouse_usb_report_rate_set 
+0537 20400543 call p_mouse_usb_config_param_setup 
 
 p_mouse_usb_device_name_config:
-04bb 6fe0cc91 fetch 1 ,mem_usb_device_name_retention 
-04bc 207a0000 rtn blank 
-04bd d8c04c91 arg mem_usb_device_name_retention ,contr 
-04be d8a00b09 arg mem_string2 ,contw 
-04bf df20001e arg 30 ,loopcnt 
-04c0 20207dd4 branch memcpy 
+0538 6fe0cc91 fetch 1 ,mem_usb_device_name_retention 
+0539 207a0000 rtn blank 
+053a d8c04c91 arg mem_usb_device_name_retention ,contr 
+053b d8a00b09 arg mem_string2 ,contw 
+053c df20001e arg 30 ,loopcnt 
+053d 20207dd4 branch memcpy 
 
 p_mouse_usb_config_kb_check:
-04c1 70493100 jam dongle_kb_bind_eeprom_offect ,mem_mouse_usb_keyboard_flag 
-04c2 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-04c3 c40a8000 rtnbit0 mouse_enable_keyboard 
-04c4 7049315a jam dongle_kb_bind_success ,mem_mouse_usb_keyboard_flag 
-04c5 20600000 rtn 
+053e 70493100 jam dongle_kb_bind_eeprom_offect ,mem_mouse_usb_keyboard_flag 
+053f 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0540 c40a8000 rtnbit0 mouse_enable_keyboard 
+0541 7049315a jam dongle_kb_bind_success ,mem_mouse_usb_keyboard_flag 
+0542 20600000 rtn 
 
 p_mouse_usb_config_param_setup:
-04c6 20407a5b call usb_tx_interval_config 
-04c7 204004ca call p_mouse_usb_vid_pid_config 
+0543 20407a5b call usb_tx_interval_config 
+0544 20400547 call p_mouse_usb_vid_pid_config 
 
 p_mouse_usb_hid_icon_config:
-04c8 6fe0c931 fetch 1 ,mem_mouse_usb_keyboard_flag 
-04c9 202036ee branch dongle_usb_hid_icon_config + 1 
+0545 6fe0c931 fetch 1 ,mem_mouse_usb_keyboard_flag 
+0546 202036ee branch dongle_usb_hid_icon_config + 1 
 
 p_mouse_usb_vid_pid_config:
-04ca 6fe08b48 fetch 1 ,mem_usb_vid_pid 
-04cb 207a0000 rtn blank 
-04cc 6fe0c931 fetch 1 ,mem_mouse_usb_keyboard_flag 
-04cd c02d36eb beq dongle_kb_bind_success ,dongle_usb_vid_pid_for_suit 
-04ce 202036e8 branch dongle_usb_vid_pid_for_mouse_only_auto_pair 
+0547 6fe08b48 fetch 1 ,mem_usb_vid_pid 
+0548 207a0000 rtn blank 
+0549 6fe0c931 fetch 1 ,mem_mouse_usb_keyboard_flag 
+054a c02d36eb beq dongle_kb_bind_success ,dongle_usb_vid_pid_for_suit 
+054b 202036e8 branch dongle_usb_vid_pid_for_mouse_only_auto_pair 
 
 p_usb_timer_check:
-04cf 20407ec7 call disable_user 
-04d0 684a4ace fetcht 4 ,mem_btclk_sensor 
-04d1 1c427e00 copy clkn_bt ,pdata 
-04d2 98467c00 isub temp ,null 
-04d3 244104de ncall p_usb_timer_timeout ,positive 
-04d4 1fe22400 copy pdata ,regb 
-04d5 6fe24ace fetch 4 ,mem_btclk_sensor 
-04d6 6848c92e fetcht 1 ,mem_wire_usb_interval 
-04d7 98408400 iadd temp ,temp 
-04d8 1a427e00 copy regb ,pdata 
-04d9 98467c00 isub temp ,null 
-04da 24610000 nrtn positive 
-04db 793ffe1c set0 28 ,pdata 
-04dc 67e24ace store 4 ,mem_btclk_sensor 
-04dd 20207ec5 branch enable_user 
+054c 20407ec7 call disable_user 
+054d 684a4ace fetcht 4 ,mem_btclk_sensor 
+054e 1c427e00 copy clkn_bt ,pdata 
+054f 98467c00 isub temp ,null 
+0550 2441055b ncall p_usb_timer_timeout ,positive 
+0551 1fe22400 copy pdata ,regb 
+0552 6fe24ace fetch 4 ,mem_btclk_sensor 
+0553 6848c92e fetcht 1 ,mem_wire_usb_interval 
+0554 98408400 iadd temp ,temp 
+0555 1a427e00 copy regb ,pdata 
+0556 98467c00 isub temp ,null 
+0557 24610000 nrtn positive 
+0558 793ffe1c set0 28 ,pdata 
+0559 67e24ace store 4 ,mem_btclk_sensor 
+055a 20207ec5 branch enable_user 
 
 p_usb_timer_timeout:
-04de 20628000 rtn zero 
-04df 79207e1c set1 28 ,pdata 
-04e0 20600000 rtn 
+055b 20628000 rtn zero 
+055c 79207e1c set1 28 ,pdata 
+055d 20600000 rtn 
 
 p_usb_timer_init:
-04e1 58000000 setarg 0 
-04e2 67e24ace store 4 ,mem_btclk_sensor 
-04e3 20600000 rtn 
+055e 58000000 setarg 0 
+055f 67e24ace store 4 ,mem_btclk_sensor 
+0560 20600000 rtn 
 
 p_select_system_clk_24m_dpll:
-04e4 7041f018 jam system_clk_24m ,mem_system_clk 
-04e5 70804201 jam clksel_dpll_24m ,core_clksel 
-04e6 5800176f setarg 5999 
-04e7 67f10040 store 2 ,core_halfslot 
-04e8 20206312 branch calc_new_param 
+0561 7041f018 jam system_clk_24m ,mem_system_clk 
+0562 70804201 jam clksel_dpll_24m ,core_clksel 
+0563 5800176f setarg 5999 
+0564 67f10040 store 2 ,core_halfslot 
+0565 20206312 branch calc_new_param 
 
 p_mouse_usb_report_rate_set:
-04e9 204004e1 call p_usb_timer_init 
-04ea 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-04eb c28e84f0 bbit1 mouse_enable_usb_250 ,p_usb_report_rate_set_250hz 
-04ec c28f04f2 bbit1 mouse_enable_usb_500 ,p_usb_report_rate_set_500hz 
-04ed c28f84f4 bbit1 mouse_enable_usb_1000 ,p_usb_report_rate_set_1000hz 
+0566 2040055e call p_usb_timer_init 
+0567 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0568 c28e856d bbit1 mouse_enable_usb_250 ,p_usb_report_rate_set_250hz 
+0569 c28f056f bbit1 mouse_enable_usb_500 ,p_usb_report_rate_set_500hz 
+056a c28f8571 bbit1 mouse_enable_usb_1000 ,p_usb_report_rate_set_1000hz 
 
 p_usb_report_rate_set_125hz:
-04ee 70492e20 jam 32 ,mem_wire_usb_interval 
-04ef 20600000 rtn 
+056b 70492e20 jam 32 ,mem_wire_usb_interval 
+056c 20600000 rtn 
 
 p_usb_report_rate_set_250hz:
-04f0 70492e10 jam 16 ,mem_wire_usb_interval 
-04f1 20600000 rtn 
+056d 70492e10 jam 16 ,mem_wire_usb_interval 
+056e 20600000 rtn 
 
 p_usb_report_rate_set_500hz:
-04f2 70492e08 jam 8 ,mem_wire_usb_interval 
-04f3 20600000 rtn 
+056f 70492e08 jam 8 ,mem_wire_usb_interval 
+0570 20600000 rtn 
 
 p_usb_report_rate_set_1000hz:
-04f4 70492e04 jam 4 ,mem_wire_usb_interval 
-04f5 20600000 rtn 
+0571 70492e04 jam 4 ,mem_wire_usb_interval 
+0572 20600000 rtn 
 
 p_mouse_usb_isr:
-04f6 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-04f7 c4068000 rtnbit0 mouse_enable_usb 
-04f8 204004fc call p_mouse_usb_interface_check 
-04f9 6fe0c930 fetch 1 ,mem_mouse_usb_vdd_status 
-04fa c1ad0000 rtnne mouse_usb_interface_insert 
-04fb 202079fc branch usb_isr 
+0573 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0574 c4068000 rtnbit0 mouse_enable_usb 
+0575 20400579 call p_mouse_usb_interface_check 
+0576 6fe0c930 fetch 1 ,mem_mouse_usb_vdd_status 
+0577 c1ad0000 rtnne mouse_usb_interface_insert 
+0578 202079fc branch usb_isr 
 
 p_mouse_usb_interface_check:
-04fc 68488b58 fetcht 1 ,mem_usb_offline_check_gpio 
-04fd 204060fd call gpio_get_bit 
-04fe 24208500 nbranch p_mouse_usb_gpio_low ,true 
-04ff 2020050d branch p_mouse_usb_gpio_high 
+0579 68488b58 fetcht 1 ,mem_usb_offline_check_gpio 
+057a 204060fd call gpio_get_bit 
+057b 2420857d nbranch p_mouse_usb_gpio_low ,true 
+057c 2020058a branch p_mouse_usb_gpio_high 
 
 p_mouse_usb_gpio_low:
-0500 6fe0c930 fetch 1 ,mem_mouse_usb_vdd_status 
-0501 c1528000 rtneq mouse_usb_interface_remove 
-0502 704930a5 jam mouse_usb_interface_remove ,mem_mouse_usb_vdd_status 
-0503 704caf00 jam 0 ,mem_usb_mode_enable 
-0504 700bfa00 jam 0 ,mem_usb_device_enumeration_endflag 
-0505 7009f600 jam 0 ,mem_usb_status 
-0506 700bec00 jam 0 ,mem_usb_state 
-0507 6ff10050 fetch 2 ,core_clkoff 
-0508 79207e0a set1 clock_off_usb ,pdata 
-0509 67f10050 store 2 ,core_clkoff 
-050a 70409901 jam 1 ,mem_lpm_mode 
-050b 20406321 call select_system_clk_12m_dpll 
-050c 20200241 branch p_mouse_soft_reset 
+057d 6fe0c930 fetch 1 ,mem_mouse_usb_vdd_status 
+057e c1528000 rtneq mouse_usb_interface_remove 
+057f 704930a5 jam mouse_usb_interface_remove ,mem_mouse_usb_vdd_status 
+0580 704caf00 jam 0 ,mem_usb_mode_enable 
+0581 700bfa00 jam 0 ,mem_usb_device_enumeration_endflag 
+0582 7009f600 jam 0 ,mem_usb_status 
+0583 700bec00 jam 0 ,mem_usb_state 
+0584 6ff10050 fetch 2 ,core_clkoff 
+0585 79207e0a set1 clock_off_usb ,pdata 
+0586 67f10050 store 2 ,core_clkoff 
+0587 70409901 jam 1 ,mem_lpm_mode 
+0588 20406321 call select_system_clk_12m_dpll 
+0589 20200282 branch p_mouse_soft_reset 
 
 p_mouse_usb_gpio_high:
-050d 6fe0c930 fetch 1 ,mem_mouse_usb_vdd_status 
-050e c12d0000 rtneq mouse_usb_interface_insert 
-050f 7049305a jam mouse_usb_interface_insert ,mem_mouse_usb_vdd_status 
-0510 704caf01 jam 1 ,mem_usb_mode_enable 
-0511 58000000 setarg 0 
-0512 67e14887 store 2 ,mem_24g_pair_timeout 
-0513 67e1488b store 2 ,mem_24g_reconn_timeout 
-0514 204001cf call p_mouse_multi_led_blink_disable 
-0515 70409900 jam 0 ,mem_lpm_mode 
-0516 204004e4 call p_select_system_clk_24m_dpll 
-0517 20404831 call mouse_24g_stop 
-0518 20400043 call p_mouse_stop_bluetooth_mode 
-0519 7855fc00 disable wake 
-051a 2040430a call mouse_init_sensor_reset 
-051b 580004b8 setarg p_mouse_usb_config_param 
-051c 67e10b45 store 2 ,mem_cb_usb_config 
-051d 6fe0cc87 fetch 1 ,mem_usb_tx_interval_retention 
-051e 67e08b47 store 1 ,mem_usb_tx_interval 
-051f d8c04c88 arg mem_usb_vid_pid_retention ,contr 
-0520 d8a00b48 arg mem_usb_vid_pid ,contw 
-0521 df200009 arg 9 ,loopcnt 
-0522 20407dd4 call memcpy 
-0523 20207a08 branch usb_init 
+058a 6fe0c930 fetch 1 ,mem_mouse_usb_vdd_status 
+058b c12d0000 rtneq mouse_usb_interface_insert 
+058c 7049305a jam mouse_usb_interface_insert ,mem_mouse_usb_vdd_status 
+058d 704caf01 jam 1 ,mem_usb_mode_enable 
+058e 58000000 setarg 0 
+058f 67e14887 store 2 ,mem_24g_pair_timeout 
+0590 67e1488b store 2 ,mem_24g_reconn_timeout 
+0591 20400210 call p_mouse_multi_led_blink_disable 
+0592 70409900 jam 0 ,mem_lpm_mode 
+0593 20400561 call p_select_system_clk_24m_dpll 
+0594 20404831 call mouse_24g_stop 
+0595 20400051 call p_mouse_stop_bluetooth_mode 
+0596 7855fc00 disable wake 
+0597 2040430a call mouse_init_sensor_reset 
+0598 58000535 setarg p_mouse_usb_config_param 
+0599 67e10b45 store 2 ,mem_cb_usb_config 
+059a 6fe0cc87 fetch 1 ,mem_usb_tx_interval_retention 
+059b 67e08b47 store 1 ,mem_usb_tx_interval 
+059c d8c04c88 arg mem_usb_vid_pid_retention ,contr 
+059d d8a00b48 arg mem_usb_vid_pid ,contw 
+059e df200009 arg 9 ,loopcnt 
+059f 20407dd4 call memcpy 
+05a0 20207a08 branch usb_init 
 
 p_mouse_usb_mode_flag_check:
-0524 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-0525 c4068000 rtnbit0 mouse_enable_usb 
-0526 6fe0c930 fetch 1 ,mem_mouse_usb_vdd_status 
-0527 c02d052a beq mouse_usb_interface_insert ,p_mouse_usb_mode_flag_enable 
-0528 c052852e beq mouse_usb_interface_remove ,p_mouse_usb_mode_flag_disable 
-0529 20600000 rtn 
+05a1 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+05a2 c4068000 rtnbit0 mouse_enable_usb 
+05a3 6fe0c930 fetch 1 ,mem_mouse_usb_vdd_status 
+05a4 c02d05a7 beq mouse_usb_interface_insert ,p_mouse_usb_mode_flag_enable 
+05a5 c05285ab beq mouse_usb_interface_remove ,p_mouse_usb_mode_flag_disable 
+05a6 20600000 rtn 
 
 p_mouse_usb_mode_flag_enable:
-052a 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
-052b 207a0000 rtn blank 
-052c 704cbe01 jam 1 ,mem_mouse_pair_success 
-052d 20600000 rtn 
+05a7 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
+05a8 207a0000 rtn blank 
+05a9 704cbe01 jam 1 ,mem_mouse_pair_success 
+05aa 20600000 rtn 
 
 p_mouse_usb_mode_flag_disable:
-052e 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
-052f 207a0000 rtn blank 
-0530 704cbe00 jam 0 ,mem_mouse_pair_success 
-0531 20600000 rtn 
+05ab 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
+05ac 207a0000 rtn blank 
+05ad 704cbe00 jam 0 ,mem_mouse_pair_success 
+05ae 20600000 rtn 
 
 p_mouse_usb_mode:
-0532 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-0533 c4068000 rtnbit0 mouse_enable_usb 
-0534 6ff08c02 fetch 1 ,core_usb_addr 
-0535 67e0c92f store 1 ,mem_usb_addr 
-0536 c4038000 rtnbit0 7 
-0537 204004cf call p_usb_timer_check 
-0538 24740000 nrtn user 
-0539 20403fb0 call mouse_motion 
-053a 24740000 nrtn user 
-053b 2020053c branch p_mouse_push_data_to_usb 
+05af 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+05b0 c4068000 rtnbit0 mouse_enable_usb 
+05b1 6ff08c02 fetch 1 ,core_usb_addr 
+05b2 67e0c92f store 1 ,mem_usb_addr 
+05b3 c4038000 rtnbit0 7 
+05b4 2040054c call p_usb_timer_check 
+05b5 24740000 nrtn user 
+05b6 20403fb0 call mouse_motion 
+05b7 24740000 nrtn user 
+05b8 202005b9 branch p_mouse_push_data_to_usb 
 
 p_mouse_push_data_to_usb:
-053c 6ff08c02 fetch 1 ,core_usb_addr 
-053d c4038000 rtnbit0 7 
-053e 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-053f c30a8542 bbit0 mouse_enable_keyboard ,p_mouse_push_mouse_data_to_usb 
-0540 6fe0cb9c fetch 1 ,mem_customer_key 
-0541 c0008548 beq 1 ,p_mouse_push_keyboard_data_to_usb 
+05b9 6ff08c02 fetch 1 ,core_usb_addr 
+05ba c4038000 rtnbit0 7 
+05bb 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+05bc c30a85bf bbit0 mouse_enable_keyboard ,p_mouse_push_mouse_data_to_usb 
+05bd 6fe0cb9c fetch 1 ,mem_customer_key 
+05be c00085c5 beq 1 ,p_mouse_push_keyboard_data_to_usb 
 
 p_mouse_push_mouse_data_to_usb:
-0542 2040370f call dongle_usb_tx_ms_data 
-0543 58000001 setarg ms_report_id 
-0544 67e08bff store 1 ,mem_usb_mouse_data 
-0545 6fe3c8d4 fetch 7 ,mem_mouse_key 
-0546 e7e38005 istore 7 ,contw 
-0547 20600000 rtn 
+05bf 2040370f call dongle_usb_tx_ms_data 
+05c0 58000001 setarg ms_report_id 
+05c1 67e08bff store 1 ,mem_usb_mouse_data 
+05c2 6fe3c8d4 fetch 7 ,mem_mouse_key 
+05c3 e7e38005 istore 7 ,contw 
+05c4 20600000 rtn 
 
 p_mouse_push_keyboard_data_to_usb:
-0548 6fe0cb9d fetch 1 ,mem_customer_data_trigger 
-0549 203a0553 branch p_mouse_push_release_keyboard_data_to_usb ,blank 
-054a 6fe44bde fetch 8 ,mem_customer_key_press + 1 
+05c5 6fe0cb9d fetch 1 ,mem_customer_data_trigger 
+05c6 203a05d0 branch p_mouse_push_release_keyboard_data_to_usb ,blank 
+05c7 6fe44bde fetch 8 ,mem_customer_key_press + 1 
 
 p_mouse_push_keyboard_package_data_to_usb:
-054b 67e4095c store 8 ,mem_pdatatemp 
-054c 6fe0cbdd fetch 1 ,mem_customer_key_press 
-054d c0018555 beq kb_multikey_report_id ,p_mouse_push_multimedia_key_data_to_usb 
-054e c001055c beq kb_system_conctrl_report_id ,p_mouse_push_systemctrl_key_data_to_usb 
-054f 2040371d call dongle_usb_tx_kb_data 
-0550 6fe4095c fetch 8 ,mem_pdatatemp 
-0551 67e40c0f store 8 ,mem_usb_kb_data 
-0552 20600000 rtn 
+05c8 67e4095c store 8 ,mem_pdatatemp 
+05c9 6fe0cbdd fetch 1 ,mem_customer_key_press 
+05ca c00185d2 beq kb_multikey_report_id ,p_mouse_push_multimedia_key_data_to_usb 
+05cb c00105d9 beq kb_system_conctrl_report_id ,p_mouse_push_systemctrl_key_data_to_usb 
+05cc 2040371d call dongle_usb_tx_kb_data 
+05cd 6fe4095c fetch 8 ,mem_pdatatemp 
+05ce 67e40c0f store 8 ,mem_usb_kb_data 
+05cf 20600000 rtn 
 
 p_mouse_push_release_keyboard_data_to_usb:
-0553 6fe44be7 fetch 8 ,mem_customer_key_release + 1 
-0554 2020054b branch p_mouse_push_keyboard_package_data_to_usb 
+05d0 6fe44be7 fetch 8 ,mem_customer_key_release + 1 
+05d1 202005c8 branch p_mouse_push_keyboard_package_data_to_usb 
 
 p_mouse_push_multimedia_key_data_to_usb:
-0555 20403710 call dongle_usb_tx_enable_ep2 
-0556 700bf821 jam usb_ep2_multikey ,mem_usb_ep2_data 
-0557 58000003 setarg kb_multikey_report_id 
-0558 67e08c1f store 1 ,mem_usb_kb_multikey 
-0559 6fe1095c fetch 2 ,mem_pdatatemp 
-055a e7e10005 istore 2 ,contw 
-055b 20600000 rtn 
+05d2 20403710 call dongle_usb_tx_enable_ep2 
+05d3 700bf821 jam usb_ep2_multikey ,mem_usb_ep2_data 
+05d4 58000003 setarg kb_multikey_report_id 
+05d5 67e08c1f store 1 ,mem_usb_kb_multikey 
+05d6 6fe1095c fetch 2 ,mem_pdatatemp 
+05d7 e7e10005 istore 2 ,contw 
+05d8 20600000 rtn 
 
 p_mouse_push_systemctrl_key_data_to_usb:
-055c 20403710 call dongle_usb_tx_enable_ep2 
-055d 700bf822 jam usb_ep2_systemkey ,mem_usb_ep2_data 
-055e 58000002 setarg kb_system_conctrl_report_id 
-055f 67e08c2f store 1 ,mem_usb_kb_system 
-0560 6fe0895c fetch 1 ,mem_pdatatemp 
-0561 e7e08005 istore 1 ,contw 
-0562 20600000 rtn 
+05d9 20403710 call dongle_usb_tx_enable_ep2 
+05da 700bf822 jam usb_ep2_systemkey ,mem_usb_ep2_data 
+05db 58000002 setarg kb_system_conctrl_report_id 
+05dc 67e08c2f store 1 ,mem_usb_kb_system 
+05dd 6fe0895c fetch 1 ,mem_pdatatemp 
+05de e7e08005 istore 1 ,contw 
+05df 20600000 rtn 
               org 0x800
 
 start:
Index: program/patch.prog
===================================================================
--- /YC1308AF/branch/mouse/mouse_public_4mode_usb _1M/program/patch.prog	(revision 5448)
+++ /YC1308AF/branch/mouse/mouse_public_4mode_usb _1M/program/patch.prog	(working copy)
@@ -5,10 +5,11 @@
 //define RSSI_PATCH
 //define RSSI_SORT
 //define LOGO_LED
-//define SEARCH_DONGLE
+define SEARCH_DONGLE
 define USB
 //define AUTO_SEND
 //define SENSOR_ANGLE_SELECT 
+//define PULING_AUTO
 
 	bbit1 8,pf_patch_ext
 	beq patch00_0,p_soft_reset
@@ -21,6 +22,7 @@
 endif
 	beq patch15_5,p_app_init
 	beq patch18_3,p_mouse_start_work
+	beq patch18_4,p_mouse_start_reconnect_device
 	beq patch18_6,p_mouse_app_enter_hibernate
 	beq patch18_7,p_mouse_before_hibernate
 	beq patch19_0,p_mouse_setgpio_hibernate
@@ -75,6 +77,10 @@
 endif
 	branch loop
 
+p_mouse_start_reconnect_device:
+	call mouse_select_reconn_device
+	branch mouse_start_reconnect_device+1
+
 p_mouse_led_on:
 	copy temp,pdata
 	rtneq GPIO_DISABLE
@@ -93,12 +99,29 @@
 	jam 0,mem_ui_led_struct_num
 	rtn
 
+p_mouse_select_device_number:
+	fetch 1,mem_device_flag
+	beq MODE_BT_DEVICE1,p_mouse_select_le_device2_mode
+	beq MODE_BT_DEVICE2,p_mouse_select_le_device1_mode
+	rtn
+p_mouse_select_le_device1_mode:
+	jam MODE_SWITCH_BT1_TEMP,mem_mouse_retention+3
+	jam MODE_BT_DEVICE1,mem_device_flag
+	branch mouse_24g_stop
+
+p_mouse_select_le_device2_mode:
+	jam MODE_SWITCH_BT2_TEMP,mem_mouse_retention+3
+	jam MODE_BT_DEVICE2,mem_device_flag
+	branch mouse_24g_stop
+
 p_mouse_ready_reconnection_by_button:	
 	fetch 1,mem_device_number
 	rtneq 1		// 1channel
+	fetch 1,mem_device_flag
+	rtneq MODE_24G_DEVICE
 	call p_mouse_multi_led_blink_disable
-	call mouse_select_device_number
-	storet 1,mem_device_flag
+	call p_mouse_select_device_number
+	// storet 1,mem_device_flag
 p_mouse_store_device_number_before_reset:	
 	jam 0,mem_link_key_exists
 	call mouse_select_device_enable
@@ -245,6 +268,8 @@
 	store 1,mem_usb_offline_check_gpio
 endif
 	call p_mouse_setting_config
+	setarg 0x00d2
+	store 2,mem_mouse_vdd_full_vol
 ifdef SENSOR_ANGLE_SELECT
 	ncall p_mouse_sensor_init_param_check,wake		//select sensor angle
 	ncall mouse_gpio_init,wake
@@ -258,7 +283,10 @@
 	call mouse_drawing_optima_init
 	call p_mouse_cb_fuction
 	call p_mouse_sensor_powerdown
-	branch mouse_init_wireless
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BTN_DOWN,mouse_start_discovery
+	call p_mouse_check_select_device_by_switch_new
+	branch mouse_start_work
 
 p_twspi_reset:
 	fetch 1,mem_mouse_sensor_sclk_gpio
@@ -652,24 +680,28 @@
 	branch delay_ms_wait
 
 p_mouse_start_work:
-	fetch MOUSE_FLAG_LEN,mem_mouse_flag
-	bbit0 MOUSE_ENABLE_ADC,p_mouse_start_work_next
-	call enable_adc
-	call vdd_calculate_by_mode
-	store 2,mem_mouse_vdd_now_vol
-	fetcht 2,mem_2v_adc_vinlpm_data
-	fetch 2,mem_adc_current_value
-	isub temp,null
-	branch p_mouse_start_work,positive
-	arg mem_mouse_vdd_calculate_set,rega
-	call mouse_adc_bat_percent_lowpower_out
-	fetch 1,mem_adc_power_flag
-	bbit1 1,mouse_app_enter_hibernate
+	// fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	// bbit0 MOUSE_ENABLE_ADC,p_mouse_start_work_next
+	// call enable_adc
+	// call vdd_calculate_by_mode
+	// store 2,mem_mouse_vdd_now_vol
+	// fetcht 2,mem_2v_adc_vinlpm_data
+	// fetch 2,mem_adc_current_value
+	// isub temp,null
+	// branch p_mouse_start_work,positive
+	// arg mem_mouse_vdd_calculate_set,rega
+	// call mouse_adc_bat_percent_lowpower_out
+	// fetch 1,mem_adc_power_flag
+	// bbit1 1,mouse_app_enter_hibernate
 p_mouse_start_work_next:	
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
 	bbit1 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING,mouse_24g_first_start_auto_pair_mode
 	fetch 1,mem_device_flag
 	beq MODE_24G_DEVICE,p_mouse_24g_start_mode
+	jam 0xd2,mem_mouse_vdd_full_vol
+	jam 0x97,mem_mouse_vdd_full_vol+2
+	jam 0xa3,mem_mouse_vdd_full_vol+4
+	call p_mouse_buleyooyh_type_choose
 p_mouse_le_fast_conn_judge:
 	call p_mouse_device_le_reconn_led_config
 	call mouse_bluetooth_fast_conn_disable
@@ -678,6 +710,16 @@
 	beq MODE_BT_DEVICE2,p_mouse_le_device2_judge
 	rtn
 
+p_mouse_buleyooyh_type_choose:
+	fetch 1,mem_device_flag
+	beq 1,p_mouse_buletooth_choose_ble
+p_mouse_buletooth_choose_bt:
+	jam 1,mem_mouse_bluetooth_type
+	rtn
+p_mouse_buletooth_choose_ble:
+	jam 2,mem_mouse_bluetooth_type
+	rtn
+
 p_mouse_le_device1_judge:
 	fetch 6,mem_device1_addr
 	fetcht 6,mem_mouse_compare_addr_ff
@@ -716,9 +758,16 @@
 	call g24_reconn_timeout_timer
 	call mouse_24g_long_sleep_param_update_timer
 	//led
+ifdef PULING_AUTO
+	call p_mouse_check_lazy_state_timer
+endif
 	call p_mouse_led_multi_timer
 	call p_mouse_dpi_led_timer
+ifdef PULING_AUTO
+	call p_mouse_dpi_key_check_long_press
+else
 	call mouse_dpi_key_check_long_press
+endif
 	call p_mouse_bt_discovery_check
 	call p_mouse_commbination_key_process
 	call mouse_check_discovery_timeout_timer
@@ -743,6 +792,49 @@
 	call p_mouse_logo_led_on_timer
 endif
 	branch p_mouse_check_no_data_timeout_timer
+
+ifdef PULING_AUTO
+p_mouse_dpi_key_check_long_press:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	// bbit1 MOUSE_ENABLE_SELECT_DEVICE_BY_DPI_BUTTON,mouse_select_device_by_dpi_button
+	bbit1 MOUSE_ENABLE_DPI_KEY_LONG_PRESS_DISCONVERY,p_mouse_dpi_key_long_press_ruling
+	rtn
+p_mouse_dpi_key_long_press_ruling:
+	fetch 1,mem_mouse_dpi_button_state
+	rtneq DPI_BUTTON_STATE_UP	
+	arg mem_select_device_count,regc
+	arg p_mouse_check_lazy_state,regb
+	branch timer_single_step
+
+p_mouse_check_lazy_state:
+	fetch 1,mem_mouse_lazy_state
+	beq OFF,p_mouse_enable_lazy
+
+p_mouse_disable_lazy:
+	jam OFF,mem_mouse_lazy_state
+	jam 0,mem_mouse_lazy_flag
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_LOW_VOLTAGE_FLAG
+	branch p_mouse_device_multi_led_off
+
+p_mouse_enable_lazy:
+	jam ON,mem_mouse_lazy_state
+	jam 1,mem_mouse_lazy_flag
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit1 MOUSE_LOW_VOLTAGE_FLAG
+	branch p_mouse_device_multi_led_on
+
+
+p_mouse_check_lazy_state_timer:
+	fetch 2,mem_mouse_no_data_timer
+	rtn blank
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit1 MOUSE_LOW_VOLTAGE_FLAG
+	fetch 1,mem_mouse_lazy_state
+	beq 0,p_mouse_device_multi_led_off
+	branch p_mouse_device_multi_led_on
+endif
+
 	
 //-------------------------dpi led fuction--------------------------//
 p_mouse_dpi_led_timer:
@@ -1085,10 +1177,24 @@
 
 p_mouse_init_p32xx_id2_judge:
 	fetch 1,mem_sensor_id2
+	beq P_MX8650,p_mouse_mx8650_init_param
 	and_into 0xf0,pdata
 	beq P3204_TJDM_ID2,mouse_p3065xy_init_param
 	branch mouse_init_p32xx_id2_judge
 
+p_mouse_mx8650_init_param:
+	setarg 0x7a
+	call twspi_read
+	beq P8670,p_mouse_sg8670_parm_init
+	branch mouse_init_p32xx_id2_judge
+
+p_mouse_sg8670_parm_init:
+	jam SG8670,mem_config_sensor_type
+	call mouse_sensor_reset
+	call delay_10ms
+	arg mem_sensor_sg8670_init,regc
+	call mouse_sensor_wr_seq
+	branch p_mouse_seting_sensor_type
 
 p_mouse_ka8g2_id2_judge:
 	fetch 1,mem_sensor_id2
@@ -1183,7 +1289,7 @@
 	call mouse_gpio_config_input_pu
 	call p_mouse_device_led_all_off
 	call p_mouse_gpio_set_high_impedance
-	call p_mouse_device_switch_gpio_high_impedance
+	// call p_mouse_device_switch_gpio_high_impedance
 //	call p_mouse_adc_gpio_set_before_hibernate
 	call p_mouse_wheel_gpio_set_before_hibernate
 	arg 0x00,temp
@@ -1206,11 +1312,18 @@
 	rtn
 
 p_mouse_device_switch_gpio_high_impedance:
+	fetch 1,mem_device_flag
+	beq MODE_24G_DEVICE,p_mouse_device_switch_gpio_low
 	fetch 1,mem_device_switch_gpio
 	rtneq GPIO_DISABLE
 	fetcht 1,mem_device_switch_gpio
-	branch gpio_set_high_impedance
-	
+	branch mouse_gpio_config_input_pu
+p_mouse_device_switch_gpio_low:
+	fetch 1,mem_device_switch_gpio
+	rtneq GPIO_DISABLE
+	fetcht 1,mem_device_switch_gpio
+	branch mouse_gpio_config_input_pd
+
 /*
 p_mouse_adc_gpio_set_before_hibernate:	
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
@@ -1246,7 +1359,12 @@
 	call gpio_config_input
 	fetcht 1,mem_whee_b_data_gpio
 	call gpio_config_input
-	branch mouse_lpm_before_common+1
+	call mouse_lpm_before_common+1
+	call p_mouse_device_switch_gpio_high_impedance
+	// fetcht 1,mem_device_switch_gpio
+	// call mouse_gpio_config_input_pd
+	fetcht 1,mem_device_switch_gpio
+	branch gpio_clr_wake
 	
 
 /////////////////////////////////////////////////dpi process start////////////////////////////////////////////
@@ -1273,8 +1391,23 @@
 p_mouse_check_select_device_by_switch:
 	fetch 1,mem_usb_mode_enable
 	nrtn blank
-	branch mouse_check_select_device_by_switch
+	branch p_mouse_check_select_device_by_switch_new
 	
+p_mouse_check_select_device_by_switch_new:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_SELECT_DEVICE_BY_SWITCH_GPIO
+	fetcht 1,mem_device_switch_gpio
+	call mouse_gpio_config_input_pd
+	fetcht 1,mem_device_switch_gpio
+	call gpio_get_bit
+	branch mouse_check_select_24gdevice,true
+p_mouse_select_btdevice:
+	fetch 1,mem_mouse_retention+3
+	beq MODE_SWITCH_DEFAULT_TEMP,p_mouse_select_le_device1_mode
+	beq MODE_SWITCH_BT1_TEMP,p_mouse_select_le_device1_mode
+	beq MODE_SWITCH_BT2_TEMP,p_mouse_select_le_device2_mode
+	rtn
+
 p_mouse_bt_discovery_check:
 	fetch 1,mem_usb_mode_enable
 	nrtn blank
@@ -1307,6 +1440,10 @@
 	branch mouse_3io6key_check
 
 p_mouse_dpi_process:
+ifdef PULING_AUTO
+	fetch 1,mem_mouse_lazy_flag
+	nrtn blank
+endif
 	call mouse_dpi_ghost_check
 	rtn user
 	fetch 1,mem_mouse_dpi
@@ -1321,9 +1458,35 @@
 	call mouse_setting_dpi_4_level
 p_mouse_seting_sensor_type:
 	fetch 1,mem_config_sensor_type
+	beq SG8670,p_mouse_seting_SG8670_dpi
 	beq KA5857,mouse_seting_3212_dpi
 	branch mouse_seting_sensor_type+2
 
+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	//800
+	branch p_mouse_set_SG8670_dpi_1
+
+p_mouse_set_SG8670_dpi_1:	//1200
+	arg mem_sensor_sg8670_dpi_1200,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_3:	//2400
+	arg mem_sensor_sg8670_dpi_2400,regc
+	branch mouse_sensor_wr_seq
+
+p_mouse_set_SG8670_dpi_4:	//800
+	arg mem_sensor_sg8670_dpi_800,regc
+	branch mouse_sensor_wr_seq
+
+
 p_mouse_dpi_led_blink_init:
 	fetch 1,mem_mouse_pair_success
 	rtn blank
@@ -1363,11 +1526,35 @@
 endif
 ifdef CLASSIC
 	beq BT_EVT_BB_CONNECTED,p_mouse_bb_event_connected
-	beq BT_EVT_BB_DISCONNECTED,p_mouse_bb_disconnected
+	// beq BT_EVT_BB_DISCONNECTED,p_mouse_bb_disconnected
 	beq BT_EVT_HID_HANDSHAKE,p_mouse_bt_hid_handshake
 endif
+	beq BT_EVT_BB_DISCONNECTED,p_mouse_bb_disconnected
+	beq BT_EVT_SWITCH_SUCCESS_MASTER,p_mouse_enter_sniff_check
 	branch mouse_priority_bb_event+2
 
+p_mouse_bb_disconnected:
+	jam 0,mem_mouse_enter_sniff_count
+	jam 0,mem_mouse_bt_send_first_package_flag
+	call p_mouse_bt_sniff_param_interval_setup
+	branch mouse_bb_disconnected+3
+p_mouse_enter_sniff_check:
+	fetch 1,mem_mouse_enter_sniff_count
+	rtnne 2
+	jam 0,mem_mouse_enter_sniff_count
+	call p_mouse_bt_sniff_param_interval_setup
+	call mouse_bt_send_first_package_timer_init
+	branch app_bt_enter_sniff
+p_mouse_bt_sniff_param_interval_setup:
+	setarg CLASSIC_INTERVAL_7_5MS
+	store 2,mem_sniff_param_interval
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit1 MOUSE_ENABLE_BT_125Hz
+	setarg CLASSIC_INTERVAL_11_25MS
+	store 2,mem_sniff_param_interval
+	rtn
+
+
 p_mouse_bt_hid_handshake:
 	jam APP_HANDSHAKE_DONE,mem_app_handshake_flag
 	call app_lpm_mult_enable
@@ -1505,14 +1692,14 @@
 	call p_mouse_device_poweron_led_config
 	branch mouse_bb_event_connected
 
-p_mouse_bb_disconnected:
-	jam 0,mem_mouse_enter_sniff_count	
-	jam 0,mem_mouse_bt_send_first_package_flag
-	call mouse_bt_sniff_param_interval_setup
-	call mouse_bb_discon_clear_stack
-	fetch 1,mem_usb_mode_enable
-	nrtn blank
-	branch mouse_bb_disconnected+4
+// p_mouse_bb_disconnected:
+// 	jam 0,mem_mouse_enter_sniff_count	
+// 	jam 0,mem_mouse_bt_send_first_package_flag
+// 	call mouse_bt_sniff_param_interval_setup
+// 	call mouse_bb_discon_clear_stack
+// 	fetch 1,mem_usb_mode_enable
+// 	nrtn blank
+// 	branch mouse_bb_disconnected+4
 endif
 
 ////////////////////////////////////////////////bb event end///////////////////////////////////////////////
@@ -1621,6 +1808,7 @@
 	call mouse_cancel_reconnect,true
 	setarg 0
 	store 2,mem_le_battery_level_updata_timer
+	store 1,mem_app_handshake_flag
 	branch mouse_start_discovery+1
 
 p_mouse_stop_discovery:
@@ -1835,6 +2023,241 @@
 endif
 
 endif
+ifdef PULING_AUTO
+p_mouse_start_lazy_check:
+	fetch 1,mem_mouse_lazy_flag
+	rtn blank
+	arg 13,queue
+	call timer_check
+	nrtn blank
+	//call p_mouse_start_lazy_start 
+	call p_auto_ruling_random
+	call p_mouse_auto_ruling_check
+p_mouse_fake_data_100ms_timer_init:
+	arg 13,queue
+	setarg 80
+	branch timer_init
+p_auto_ruling_random:
+	fetch 1,mem_auto_ruling_cnt
+	nrtn blank
+	random pdata
+	// and_into 0x07,pdata
+	// add pdata,0x07,pdata
+	and_into 0x03,pdata
+	add pdata,0x01,pdata
+	store 1,mem_auto_run_temp
+p_auto_ruling_random_next:
+	fetch 1,mem_auto_run_random_status
+	and_into 0x0f,pdata
+	beq 0x0f,p_auto_run_mem_clear
+	random pdata
+	and_into 0x03,pdata
+	store 1,mem_24g_matrix_cnt
+	beq 0,p_auto_run_random_0
+	beq 1,p_auto_run_random_1
+	beq 2,p_auto_run_random_2
+	branch p_auto_run_random_3
+
+p_auto_run_mem_clear:
+	setarg 0
+	store 5,mem_auto_run_random_0_count
+	branch p_auto_ruling_random_next
+
+
+p_auto_run_random_0:
+	fetch 1,mem_auto_run_random_0_count
+	beq 20,p_auto_run_random_0_overflow
+	increase 1,pdata
+	store 1,mem_auto_run_random_0_count
+	rtn
+
+p_auto_run_random_0_overflow:
+	fetch 1,mem_auto_run_random_status
+	set1 0,pdata
+	store 1,mem_auto_run_random_status
+	branch p_auto_ruling_random_next
+
+p_auto_run_random_1:
+	fetch 1,mem_auto_run_random_1_count
+	beq 20,p_auto_run_random_1_overflow
+	increase 1,pdata
+	store 1,mem_auto_run_random_1_count
+	rtn
+	
+p_auto_run_random_1_overflow:
+	fetch 1,mem_auto_run_random_status
+	set1 1,pdata
+	store 1,mem_auto_run_random_status
+	branch p_auto_ruling_random_next
+
+p_auto_run_random_2:
+	fetch 1,mem_auto_run_random_2_count
+	beq 20,p_auto_run_random_2_overflow
+	increase 1,pdata
+	store 1,mem_auto_run_random_2_count
+	rtn
+
+p_auto_run_random_2_overflow:
+	fetch 1,mem_auto_run_random_status
+	set1 2,pdata
+	store 1,mem_auto_run_random_status
+	branch p_auto_ruling_random_next
+
+p_auto_run_random_3:
+	fetch 1,mem_auto_run_random_3_count
+	beq 20,p_auto_run_random_3_overflow
+	increase 1,pdata
+	store 1,mem_auto_run_random_3_count
+	rtn
+
+p_auto_run_random_3_overflow:
+	fetch 1,mem_auto_run_random_status
+	set1 3,pdata
+	store 1,mem_auto_run_random_status
+	branch p_auto_ruling_random_next
+
+p_mouse_auto_ruling_count:
+	fetch 1,mem_auto_ruling_cnt
+	pincrease 1
+	store 1,mem_auto_ruling_cnt
+	rtnne 0x0a
+	jam 0x00,mem_auto_ruling_cnt
+	rtn
+p_mouse_auto_ruling_check:
+	call p_mouse_auto_ruling_count
+
+	branch p_auto_ruling_random_0_3
+/*	
+	fetch 1,mem_auto_run_temp
+	beq 0,p_auto_ruling_random_0_3
+	beq 1,p_auto_ruling_random_4_7
+	beq 2,p_auto_ruling_random_8_11
+	branch p_auto_ruling_random_9_15
+*/
+p_auto_ruling_random_0_3:	
+	fetch 1,mem_24g_matrix_cnt
+	beq 0,p_ms_x_right
+	beq 1,p_ms_y_up
+	beq 2,p_ms_x_left
+	branch p_ms_y_down
+/*	
+p_auto_ruling_random_4_7:
+	fetch 1,mem_24g_matrix_cnt
+	beq 0,p_ruling_step_1
+	beq 2,p_ruling_step_2
+	beq 1,p_ruling_step_3
+	branch p_ruling_step_4
+p_auto_ruling_random_8_11:
+	fetch 1,mem_24g_matrix_cnt
+	beq 0,p_ruling_step_5
+	beq 2,p_ruling_step_6
+	beq 1,p_ruling_step_7
+	branch p_ruling_step_8
+p_auto_ruling_random_9_15:
+	fetch 1,mem_24g_matrix_cnt
+	beq 0,p_ruling_step_9
+	beq 2,p_ruling_step_10
+	beq 1,p_ruling_step_11
+	branch p_ruling_step_12
+*/
+	
+p_ms_x_right:
+	fetch 1,mem_auto_run_temp
+	store 2,mem_mouse_x
+p_data:
+	enable user
+	rtn
+p_ms_x_left:
+	fetch 1,mem_auto_run_temp
+	sub pdata,0,pdata
+	store 2,mem_mouse_x
+	branch p_data
+
+p_ms_y_up:
+	fetch 1,mem_auto_run_temp
+	sub pdata,0,pdata
+	store 2,mem_mouse_y
+	branch p_data
+p_ms_y_down:
+	fetch 1,mem_auto_run_temp
+	store 2,mem_mouse_y
+	branch p_data
+/*
+p_ruling_step_1:
+	setarg 8
+	store 2,mem_mouse_x
+	store 2,mem_mouse_y
+	branch p_data
+p_ruling_step_2:
+	setarg -8
+	store 2,mem_mouse_x
+	store 2,mem_mouse_y
+	branch p_data
+p_ruling_step_3:
+	setarg 8
+	store 2,mem_mouse_x
+	setarg -9
+	store 2,mem_mouse_y
+	branch p_data
+p_ruling_step_4:
+	setarg -9
+	store 2,mem_mouse_x
+	setarg 8
+	store 2,mem_mouse_y
+	branch p_data
+	
+p_ruling_step_5:
+	setarg 10
+	store 2,mem_mouse_x
+	setarg 6
+	store 2,mem_mouse_y
+	branch p_data
+p_ruling_step_6:
+	setarg -10
+	store 2,mem_mouse_x
+	setarg -6
+	store 2,mem_mouse_y
+	branch p_data
+p_ruling_step_7:
+	setarg -10
+	store 2,mem_mouse_x
+	setarg 6
+	store 2,mem_mouse_y
+	branch p_data
+p_ruling_step_8:
+	setarg 10
+	store 2,mem_mouse_x
+	setarg -6
+	store 2,mem_mouse_y
+	branch p_data
+
+p_ruling_step_9:
+	setarg 6
+	store 2,mem_mouse_x
+	setarg 10
+	store 2,mem_mouse_y
+	branch p_data
+p_ruling_step_10:
+	setarg -6
+	store 2,mem_mouse_x
+	setarg -10
+	store 2,mem_mouse_y
+	branch p_data
+
+p_ruling_step_11:
+	setarg -6
+	store 2,mem_mouse_x
+	setarg 10
+	store 2,mem_mouse_y
+	branch p_data
+p_ruling_step_12:
+	setarg 6
+	store 2,mem_mouse_x
+	setarg -10
+	store 2,mem_mouse_y
+	branch p_data
+*/
+endif
 
 p_mouse_motion:
 ifdef AUTO_SEND
@@ -1844,6 +2267,9 @@
 	setarg 0
 	store 6,mem_mouse_x
 	call p_mouse_check_sensor_data
+ifdef PULING_AUTO
+	call p_mouse_start_lazy_check
+endif
 	setarg 0x0089			
 	call twspi_write
 	call p_mouse_seting_sensor_type
@@ -1862,6 +2288,7 @@
 	rtnne FLASH_SM_NO_BUYS
 	fetch 1,mem_config_sensor_type
 	beq KA5857,p_mouse_ka5857_sensor_motion
+	beq SG8670,mouse_p3212_sensor_motion
 	beq KA8G2,p_mouse_ka5857_sensor_motion
 	branch mouse_check_sensor_data+3
 
@@ -1882,6 +2309,7 @@
 	fetch 1,mem_config_sensor_type
 	rtneq P3212
 	rtneq KA8G2
+	rtneq SG8670
 ifdef USB
 	call p_usb_store_mem
 endif
Index: sched/mouse.dat
===================================================================
--- /YC1308AF/branch/mouse/mouse_public_4mode_usb _1M/sched/mouse.dat	(revision 5448)
+++ /YC1308AF/branch/mouse/mouse_public_4mode_usb _1M/sched/mouse.dat	(working copy)
@@ -30,7 +30,7 @@
 #bit3 MOUSE_ENABLE_WAKEUP_FROM_POWER
 #bit4 MOUSE_ENABLE_16M
 #bit5 MOUSE_ENABLE_USB
-29
+09
 
 #mouse flag byte3
 #bit0 MOUSE_ENABLE_SPI2
@@ -40,7 +40,7 @@
 #bit4 MOUSE_ENABLE_ADC
 #bit5 MOUSE_ENABLE_KEYBOARD
 #bit6 MOUSE_ENABLE_24G_SEARCH_DONGLE
-46
+56
 
 #mouse flag byte4
 #bit0 MOUSE_ENABLE_24G_250Hz
@@ -51,7 +51,7 @@
 #bit5 MOUSE_ENABLE_USB_250
 #bit6 MOUSE_ENABLE_USB_500
 #bit7 MOUSE_ENABLE_USB_1000
-40
+18
 
 #mouse flag byte5
 #bit0 MOUSE_ENABLE_POWER_ON_LED
@@ -73,7 +73,7 @@
 #bit5 MOUSE_ENABLE_PB_BUTTON_CONNECT_GND
 #bit6 MOUSE_ENABLE_DPI_KEY_CONNECT_ADC
 #bit7 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING
-22
+36
 
 #mouse flag byte7
 #bit0 MOUSE_ENABLE_AUTO_24G_PARING
@@ -84,7 +84,7 @@
 #bit5 MOUSE_ENABLE_COMMBINATION_KEY_BY_BT_DISCOVERY
 #bit6 MOUSE_ENABLE_DPI_KEY_LONG_PRESS_DISCONVERY
 #bit7 MOUSE_ENABLE_PB_BUTTON_LONG_PRESS_DISCONVERY
-02
+82
 
 #mouse flag byte8
 #bit0 MOUSE_ENABLE_SMOOTHER
@@ -93,7 +93,7 @@
 #bit3 MOUSE_ENABLE_LE_BATTERY_SERVICE_CANCEL
 #bit4 MOUSE_ENABLE_WHEEL_WAKE_UP_CANCEL
 #bit5 MOUSE_ENABLE_DOUBLE_DPI_KEY
-1f
+17
 
 
 mem_spi_hold_gpio:ff
@@ -110,40 +110,40 @@
 mem_rssi_dis_min_ble_init:75
 mem_rssi_dis_max_ble_init:80
 
-mem_bk_button_gpio:02
-mem_fw_button_gpio:0f
-mem_dpi_button_gpio:0e
+mem_bk_button_gpio:ff
+mem_fw_button_gpio:ff
+mem_dpi_button_gpio:03
 mem_matrix_public_gpio:ff
-mem_sensor_motion_gpio:03
+mem_sensor_motion_gpio:00
 mem_customer_key_gpio:ff
-mem_whee_a_data_gpio:06
-mem_whee_b_data_gpio:04
+mem_whee_a_data_gpio:0c
+mem_whee_b_data_gpio:0b
 mem_select_sensor_angle_gpio:ff
 mem_mouse_reuse_2ice_gpio:ff
 
-mem_lbutton_gpio:02
-mem_rbutton_gpio:0f
-mem_mbutton_gpio:0e
-mem_config_select_device_button_gpio:00
+mem_lbutton_gpio:0d
+mem_rbutton_gpio:07
+mem_mbutton_gpio:0a
+mem_config_select_device_button_gpio:0f
 mem_whee_ta_data_gpio:ff
 mem_whee_tb_data_gpio:ff
-mem_device_switch_gpio:ff
-mem_mouse_sensor_sclk_gpio:05
-mem_mouse_sensor_sdio_gpio:07
+mem_device_switch_gpio:0e
+mem_mouse_sensor_sclk_gpio:01
+mem_mouse_sensor_sdio_gpio:02
 
-mem_sensor_angle_default:00	#00--6CLK   01--9CLK   02--12CLK   03--3CLK
-mem_sensor_angle_switch:00	#00--6CLK   01--9CLK   02--12CLK   03--3CLK
+mem_sensor_angle_default:01	#00--6CLK   01--9CLK   02--12CLK   03--3CLK
+mem_sensor_angle_switch:01	#00--6CLK   01--9CLK   02--12CLK   03--3CLK
 mem_config_sensor_dpi:00		#00--1200   01--1600
 
 #new led interface configure
 mem_mouse_led_new_interface_enable:01
-mem_mouse_led_multi_type:00	#bit0=1:led+dpi   bit1=1:led+low
+mem_mouse_led_multi_type:02	#bit0=1:led+dpi   bit1=1:led+low
 mem_mouse_le_reconn_led_fuction_enable:01	#01:enable  00:disable
-mem_mouse_1io2led_multi_24gled:8a
-mem_mouse_1io2led_multi_bt1led:8d
-mem_mouse_1io2led_multi_bt2led:ff
+mem_mouse_1io2led_multi_24gled:09
+mem_mouse_1io2led_multi_bt1led:84
+mem_mouse_1io2led_multi_bt2led:85
 mem_mouse_1io2led_dpi_led:ff
-mem_mouse_1io2led_low_led:81
+mem_mouse_1io2led_low_led:ff
 
 mem_mouse_logo_led_gpio:ff
 mem_mouse_logo_led_on_time_init:58 02	#1min
@@ -164,7 +164,7 @@
 mem_lpm_mode:01
 
 mem_mouse_bluetooth_type:03	#03 bt3.0+ble   #02 ble   #01 bt3.0
-mem_device_number:02  #max device number   value:01,02,03
+mem_device_number:03  #max device number   value:01,02,03
 
 mem_device_flag:
 00
@@ -187,16 +187,16 @@
 
 #bit0:mouse_key_l    bit1:mouse_key_r  bit2:mouse_key_m
 mem_mouse_commbination_key_bt:07
-mem_mouse_commbination_key_24g:05
+mem_mouse_commbination_key_24g:03
 
 mem_store_information_delay_timer_init:01
 
 #adc start
 mem_adc_config_flag_init:02 		#00-vinlpm   01-hvin   02-gpio
-mem_adc_channel:05 		#00-gpio4   01-gpio5   02-gpio6  03-gpio7    04-gpio9  05-gpio10  06-gpio11  07-gpio12
-mem_mouse_vdd_full_vol:0f 01		#1.5V
-a2 00#mem_mouse_vdd_empty_vol  :0.9V
-b4 00#mem_mouse_vdd_low_vol   :1.0V
+mem_adc_channel:02 		#00-gpio4   01-gpio5   02-gpio6  03-gpio7    04-gpio9  05-gpio10  06-gpio11  07-gpio12
+mem_mouse_vdd_full_vol:e2 00		#1.5V
+a7 00#mem_mouse_vdd_empty_vol  :0.9V
+b2 00#mem_mouse_vdd_low_vol   :1.0V
 #mem_mouse_vdd_full_vol:3c 01		#3.3V
 #1e 01#mem_mouse_vdd_empty_vol  :3.0V
 #30 01#mem_mouse_vdd_low_vol   :3.2V
@@ -215,9 +215,9 @@
 mem_app_connection_options:06
 mem_lap:06 a4 d8 16 08 53
 mem_local_name_length:
-'BT3.0 Mouse
+'Bluetooth mouse3.0
 mem_sniff_param_interval:
-0e 00 
+12 00 
 01 00 ##mem_sniff_param_attempt:01 00
 02##mem_sniff_param_timeout:00 00
 
@@ -248,20 +248,20 @@
 
 mem_le_adv_swift_pair:
 #microsoft swift pair
-06 ff 06 00 03 00 80
+# 06 ff 06 00 03 00 80
 #name
-'\09BT5.2 Mouse
+'\09Bluetooth mouse5.2
 
 mem_le_scan_data_len:1f
 mem_le_scan_data:
 #name
-'\09BT5.2 Mouse
+'\09Bluetooth mouse5.2
 
 mem_le_name_len:
-'BT5.2 Mouse
+'Bluetooth mouse5.2
 
 mem_le_name_patch_len:	#max 18bytes
-'BT5.2 Mouse
+'Bluetooth mouse5.2
 
 mem_le_lap:03 b1 2a 4e 8e ed
 
@@ -287,7 +287,7 @@
 mem_le_battery_level_handle:30 00
 mem_le_pairing_handle:2d 00
 
-mem_le_battery_level_updata_timer_init:96 #15s
+mem_le_battery_level_updata_timer_init:64 #15s
 
 mem_spi_ncs_gpio:ff
 
@@ -314,6 +314,70 @@
 15##mem_3212_dpi_3_new 800
 20##mem_3212_dpi_4_new 1200
 
+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:
+09 5a
+7f 26
+7e 00
+6e e8
+6f 68
+09 00
+7f 00
+ff ff
+
+mem_sensor_sg8670_init:
+7f 26
+09 5a
+0f 04
+28 0e
+29 10
+5b 00
+4e 1a
+4f 00
+70 00
+7e 01
+40 ff
+41 ff
+42 ff
+43 ff
+47 af
+4a 00
+4c 04
+4d 00
+4e 03
+7e 00
+7f 00
+09 00
+ff ff
+
+
 
 mem_sensor_3212_init:
 09 5a
