Index: format/app_mouse.format
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V40_Only2.4G_LRpair/format/app_mouse.format	(revision 4649)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V40_Only2.4G_LRpair/format/app_mouse.format	(working copy)
@@ -342,6 +342,7 @@
 1 mem_mouse_multi_led_blink_count
 1 mem_mouse_multi_led_blink_count_limited
 1 mem_mouse_multi_led_on_poweron2s_flag
+1 mem_mouse_customerkey_finish
 )
 
 
Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V40_Only2.4G_LRpair/output/eeprom.dat	(revision 4649)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V40_Only2.4G_LRpair/output/eeprom.dat	(working copy)
@@ -2,72 +2,80 @@
 02
 aa
 55
-82
-06
+7a
+07
 c2
 84
 00
-11
+13
 c0
 00
 00
-14
+16
 c0
 01
 80
-18
+1a
 c0
 45
 01
-9a
+d8
 c0
 45
 80
-c2
+d5
 c0
 4f
 80
-c0
+d3
 c0
 57
 00
-91
+93
 c0
 58
 00
-85
+87
 c0
 61
 80
-a1
+a3
 c0
 64
 80
-d5
+e8
 c0
 65
 00
-e5
+f8
 c0
 66
 00
-51
+53
 c0
 67
 01
-10
+23
 c0
 68
 01
-2a
+3f
+c0
+68
+80
+c2
+c0
+69
+81
+4a
 c0
 6b
-00
-f6
+01
+09
 c0
 6c
 81
-3b
+6d
 20
 20
 13
@@ -75,11 +83,11 @@
 c0
 19
 80
-31
+33
 c0
 1a
 00
-36
+38
 20
 20
 13
@@ -147,7 +155,7 @@
 20
 40
 00
-25
+27
 20
 20
 08
@@ -179,7 +187,7 @@
 20
 3a
 00
-2e
+30
 6f
 e0
 c6
@@ -331,7 +339,7 @@
 20
 40
 00
-36
+38
 70
 48
 f6
@@ -379,7 +387,7 @@
 c3
 00
 00
-60
+62
 70
 48
 fa
@@ -415,7 +423,7 @@
 20
 20
 00
-82
+84
 6f
 e1
 4a
@@ -491,7 +499,7 @@
 24
 41
 00
-7d
+7f
 1f
 e6
 7c
@@ -499,11 +507,11 @@
 20
 21
 00
-7f
+81
 20
 20
 00
-82
+84
 70
 48
 f8
@@ -583,7 +591,7 @@
 20
 20
 00
-85
+87
 20
 40
 6d
@@ -591,7 +599,7 @@
 20
 40
 00
-98
+9a
 20
 40
 3b
@@ -623,7 +631,7 @@
 20
 40
 01
-70
+ae
 6f
 e0
 c9
@@ -655,7 +663,7 @@
 c0
 00
 00
-a6
+a8
 20
 40
 3d
@@ -671,7 +679,7 @@
 20
 40
 01
-70
+ae
 6f
 e4
 4b
@@ -695,7 +703,7 @@
 20
 40
 00
-bb
+bd
 1f
 e1
 7e
@@ -747,7 +755,7 @@
 c2
 00
 00
-b6
+b8
 20
 60
 00
@@ -758,8 +766,8 @@
 21
 20
 40
-41
-15
+00
+c2
 d8
 40
 00
@@ -772,6 +780,74 @@
 60
 00
 00
+6f
+e0
+cb
+e1
+24
+5a
+41
+21
+da
+20
+00
+00
+20
+40
+41
+24
+20
+40
+41
+2a
+20
+40
+41
+30
+20
+40
+41
+36
+20
+40
+41
+4f
+70
+4b
+8b
+00
+6f
+e0
+c9
+de
+24
+5a
+41
+7a
+6f
+e0
+cb
+f3
+24
+5a
+00
+d1
+1a
+22
+7e
+00
+20
+60
+00
+00
+70
+4b
+f3
+00
+20
+20
+41
+7d
 70
 00
 80
@@ -827,7 +903,7 @@
 c0
 84
 00
-cf
+e2
 70
 8a
 08
@@ -851,7 +927,7 @@
 20
 40
 01
-9d
+db
 20
 20
 12
@@ -875,7 +951,7 @@
 c0
 7f
 80
-de
+f1
 68
 48
 c9
@@ -915,7 +991,7 @@
 20
 40
 01
-7e
+bc
 20
 20
 3e
@@ -994,12 +1070,12 @@
 00
 c0
 1d
-00
-fa
+01
+0d
 c0
 1e
 01
-08
+1b
 20
 20
 43
@@ -1019,7 +1095,7 @@
 c0
 01
 01
-01
+14
 c0
 02
 48
@@ -1039,7 +1115,7 @@
 c2
 97
 81
-05
+18
 c2
 98
 48
@@ -1051,7 +1127,7 @@
 20
 40
 00
-b2
+b4
 20
 34
 48
@@ -1075,7 +1151,7 @@
 20
 22
 81
-0e
+21
 67
 e2
 48
@@ -1136,10 +1212,18 @@
 e0
 c8
 d0
+6f
+e0
+cb
+8b
+24
+5a
+7e
+54
 24
 34
 01
-1f
+34
 20
 40
 47
@@ -1147,7 +1231,7 @@
 20
 40
 01
-22
+37
 20
 20
 45
@@ -1203,75 +1287,191 @@
 20
 40
 01
-2d
+5f
+6f
+e0
+c9
+27
+c0
+02
+81
+44
 20
 20
 40
-98
+99
 6f
 e0
 c9
-23
-c1
-7f
-80
-00
-6f
-e1
-4a
-c2
-24
-7a
-00
-00
-6f
-e1
-48
-83
-24
-7a
-00
-00
-6f
-e1
-48
-87
-24
-7a
-00
-00
-6f
-e0
-cb
-a7
-24
-7a
+92
+c0
 00
+40
+a2
+c0
 00
-6f
-e0
-cb
-c1
-20
-3a
+c0
+a0
+c0
 01
-85
-67
-e0
-cb
-a8
+40
+a4
+c0
+01
+c0
+a6
 20
-60
-00
-00
 20
 40
-3e
-9b
+a0
 20
 40
-00
-67
+3f
+65
+20
+75
+80
+00
+20
+40
+42
+36
+20
+40
+41
+b5
+c0
+18
+01
+54
+c0
+18
+c2
+17
+c0
+2c
+42
+20
+20
+40
+41
+b2
+20
+00
+1a
+f4
+20
+20
+01
+4d
+6f
+e0
+c9
+c2
+c0
+68
+c1
+da
+c0
+2d
+01
+58
+20
+20
+41
+be
+70
+49
+27
+05
+20
+40
+42
+32
+20
+40
+7d
+12
+da
+60
+4a
+39
+20
+20
+01
+5d
+20
+40
+42
+2b
+20
+20
+01
+41
+6f
+e0
+c9
+23
+c1
+7f
+80
+00
+6f
+e1
+4a
+c2
+24
+7a
+00
+00
+6f
+e1
+48
+83
+24
+7a
+00
+00
+6f
+e1
+48
+87
+24
+7a
+00
+00
+6f
+e0
+cb
+a7
+24
+7a
+00
+00
+6f
+e0
+cb
+c1
+20
+3a
+01
+c3
+67
+e0
+cb
+a8
+20
+60
+00
+00
+20
+40
+3e
+9b
+20
+40
+00
+69
 20
 40
 23
@@ -1291,20 +1491,68 @@
 20
 40
 01
-82
+c0
+20
+40
+01
+b3
 20
 40
 01
-75
+83
 20
 40
 01
-45
+78
 20
 20
 44
 bd
 6f
+e4
+4b
+ab
+c2
+94
+40
+80
+c2
+9b
+01
+7c
+20
+60
+00
+00
+6f
+e0
+c9
+dd
+c1
+80
+80
+00
+da
+60
+4b
+9b
+da
+40
+01
+81
+20
+20
+31
+8a
+70
+49
+de
+01
+20
+60
+00
+00
+6f
 e0
 cb
 e8
@@ -1319,11 +1567,11 @@
 c0
 00
 01
-4b
+89
 c0
 00
 81
-55
+93
 20
 60
 00
@@ -1331,7 +1579,7 @@
 20
 40
 00
-7f
+81
 6f
 e0
 cb
@@ -1355,7 +1603,7 @@
 20
 42
 81
-53
+91
 20
 60
 00
@@ -1367,7 +1615,7 @@
 20
 20
 01
-67
+a5
 6f
 e0
 cb
@@ -1399,7 +1647,7 @@
 20
 3a
 01
-61
+9f
 6f
 e0
 cb
@@ -1407,7 +1655,7 @@
 20
 3a
 01
-67
+a5
 1f
 e0
 ff
@@ -1423,11 +1671,11 @@
 c0
 00
 80
-82
+84
 c0
 00
 00
-7f
+81
 20
 60
 00
@@ -1439,7 +1687,7 @@
 20
 20
 00
-7f
+81
 58
 00
 00
@@ -1455,7 +1703,7 @@
 24
 3a
 01
-6d
+ab
 70
 4b
 e8
@@ -1475,7 +1723,7 @@
 20
 20
 00
-82
+84
 70
 4b
 f2
@@ -1527,7 +1775,7 @@
 da
 40
 01
-7e
+bc
 20
 20
 31
@@ -1555,7 +1803,7 @@
 da
 40
 01
-85
+c3
 20
 20
 31
@@ -1611,11 +1859,11 @@
 20
 41
 01
-94
+d2
 24
 41
 01
-98
+d6
 20
 20
 48
@@ -1651,7 +1899,7 @@
 c0
 4f
 81
-9d
+db
 20
 20
 12
@@ -1659,7 +1907,7 @@
 70
 8a
 39
-05
+03
 70
 8a
 3a
@@ -1668,8 +1916,8 @@
 20
 12
 2a
-2a
-df
+f4
+46
 aa
 55
 40
@@ -1702,7 +1950,7 @@
 00
 08
 56
-41
+4b
 02
 00
 00
@@ -1754,7 +2002,7 @@
 7a
 41
 88
-14
+16
 ce
 aa
 55
@@ -1814,11 +2062,11 @@
 4b
 04
 08
-5a
+7a
 00
 02
 80
-02
+42
 03
 aa
 55
@@ -1850,8 +2098,8 @@
 08
 ff
 ff
-04
 05
+04
 ff
 ff
 ff
@@ -1867,8 +2115,8 @@
 ff
 ff
 ff
-03
-03
+02
+02
 01
 aa
 55
@@ -1906,9 +2154,9 @@
 cc
 4b
 00
-08
+0a
 00
-07
+72
 00
 00
 00
@@ -2026,7 +2274,7 @@
 ca
 4b
 07
-03
+06
 aa
 55
 01
@@ -2058,7 +2306,7 @@
 00
 11
 00
-15
+19
 00
 aa
 55
@@ -2595,512 +2843,264 @@
 39
 4a
 b0
-4b
-a0
-4c
-90
-4d
-70
-09
-00
-ff
-ff
-09
-5a
-06
-02
-09
-69
-0d
-48
-0e
-9f
-0f
-ba
-09
-00
-ff
-ff
-aa
-55
-08
-00
-a3
-4a
-09
-5a
-0b
-f3
-09
-00
-ff
-ff
-aa
-55
-02
-00
-8d
-44
-2d
-49
-aa
-55
-01
-00
-8c
-44
-01
-aa
-55
-01
-00
-65
-48
-01
-aa
-55
-01
-00
-64
-48
-01
-aa
-55
-01
-00
-36
-48
-01
-aa
-55
-01
-00
-a8
-48
-06
-aa
-55
-02
-00
-38
-48
-c0
-12
-aa
-55
-03
-00
-54
-48
-19
-19
-1c
-aa
-55
-10
-00
-40
-48
-00
-13
-2c
-42
-06
-15
-36
-48
-0f
-1a
-3a
-4c
-11
-23
-31
-4d
-aa
-55
-01
-00
-5b
-48
-00
-aa
-55
-05
-00
-77
-48
-20
-15
-10
-05
-4e
-aa
-55
-05
-00
-8c
-48
-01
-0f
-0f
-0f
-0f
-aa
-55
-06
-00
-ad
-48
-0c
-f8
-00
-00
-77
-01
-aa
-55
-03
-00
-5c
-48
-00
-48
-60
-aa
-55
-01
-00
-7d
-48
-07
-aa
-55
-02
-00
-99
-48
-b5
-4a
-aa
-55
-01
-00
-ca
-48
-32
-aa
-55
-02
-00
-c2
-48
-14
-00
-aa
-55
-02
-00
-c0
-48
-50
-00
-aa
-55
-03
-00
-b8
-48
-00
-a6
-0e
-aa
-55
-03
-00
-b8
-49
-00
-50
-00
-aa
-55
-02
-00
-79
-44
-80
-1f
-aa
-55
-01
-00
-83
-44
-80
-aa
-55
-01
-00
-e8
-41
-01
-55
-aa
-aa
-55
-30
-5e
-dc
-62
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+4b
+a0
+4c
+90
+4d
+70
+09
+00
 ff
 ff
+09
+5a
+06
+02
+09
+69
+0d
+48
+0e
+9f
+0f
+ba
+09
+00
 ff
 ff
+aa
+55
+08
+00
+a3
+4a
+09
+5a
+0b
+f3
+09
+00
 ff
 ff
+aa
+55
+02
+00
+8d
+44
+2d
+49
+aa
+55
+01
+00
+8c
+44
+01
+aa
+55
+01
+00
+65
+48
+01
+aa
+55
+01
+00
+64
+48
+01
+aa
+55
+01
+00
+36
+48
+01
+aa
+55
+01
+00
+a8
+48
+06
+aa
+55
+02
+00
+38
+48
+c0
+12
+aa
+55
+03
+00
+54
+48
+19
+19
+1c
+aa
+55
+10
+00
+40
+48
+00
+13
+2c
+42
+06
+15
+36
+48
+0f
+1a
+3a
+4c
+11
+23
+31
+4d
+aa
+55
+01
+00
+5b
+48
+00
+aa
+55
+05
+00
+77
+48
+20
+15
+10
+05
+4e
+aa
+55
+05
+00
+8c
+48
+01
+0f
+0f
+0f
+0f
+aa
+55
+06
+00
+ad
+48
+0c
+f8
+00
+00
+77
+01
+aa
+55
+03
+00
+5c
+48
+00
+48
+60
+aa
+55
+01
+00
+7d
+48
+07
+aa
+55
+02
+00
+99
+48
+b5
+4a
+aa
+55
+01
+00
+ca
+48
+32
+aa
+55
+02
+00
+c2
+48
+14
+00
+aa
+55
+02
+00
+c0
+48
+50
+00
+aa
+55
+03
+00
+b8
+48
+00
+a6
+0e
+aa
+55
+03
+00
+b8
+49
+00
+50
+00
+aa
+55
+02
+00
+79
+44
+80
+1f
+aa
+55
+01
+00
+83
+44
+80
+aa
+55
+01
+00
+e8
+41
+01
+55
+aa
+aa
+55
+0e
+5f
+17
+3b
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-52
-6b
+06
+e8
Index: output/memmap.format
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V40_Only2.4G_LRpair/output/memmap.format	(revision 4649)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V40_Only2.4G_LRpair/output/memmap.format	(working copy)
@@ -2219,6 +2219,7 @@
 0x4bf0 mem_mouse_multi_led_blink_count
 0x4bf1 mem_mouse_multi_led_blink_count_limited
 0x4bf2 mem_mouse_multi_led_on_poweron2s_flag
+0x4bf3 mem_mouse_customerkey_finish
 0x48d0 mem_remote_car_hard_soft_switch
 0x48d1 mem_remote_car_queue_each_size
 0x48d2 mem_remote_car_queue_length
Index: output/program.lis
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V40_Only2.4G_LRpair/output/program.lis	(revision 4649)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V40_Only2.4G_LRpair/output/program.lis	(working copy)
@@ -1,547 +1,635 @@
               include "bt_format "
               org 0x0000
-0000 c2840011 bbit1 8 ,pf_patch_ext 
-0001 c0000014 beq patch00_0 ,p_soft_reset 
-0002 c0018018 beq patch00_3 ,p_main_loop 
-0003 c045019a beq patch11_2 ,p_txon 
-0004 c04580c2 beq patch11_3 ,p_initialize_radio_cont 
-0005 c04f80c0 beq patch13_7 ,p_init_param 
-0006 c0570091 beq patch15_6 ,p_app_init 
-0007 c0580085 beq patch16_0 ,p_app_evt_100ms_loop 
-0008 c06180a1 beq patch18_3 ,p_mouse_start_work 
-0009 c06480d5 beq patch19_1 ,p_mouse_setgpio_hibernate 
-000a c06500e5 beq patch19_2 ,p_mouse_lpm_before_common 
-000b c0660051 beq patch19_4 ,p_mouse_adc_read_start 
-000c c0670110 beq patch19_6 ,p_mouse_motion 
-000d c068012a beq patch1a_0 ,p_mouse_seting_dpi 
-000e c06b00f6 beq patch1a_6 ,p_mouse_priority_bb_event 
-000f c06c813b beq patch1b_1 ,p_mouse_bb_event_timer 
-0010 2020137c branch loop 
+0000 c2840013 bbit1 8 ,pf_patch_ext 
+0001 c0000016 beq patch00_0 ,p_soft_reset 
+0002 c001801a beq patch00_3 ,p_main_loop 
+0003 c04501d8 beq patch11_2 ,p_txon 
+0004 c04580d5 beq patch11_3 ,p_initialize_radio_cont 
+0005 c04f80d3 beq patch13_7 ,p_init_param 
+0006 c0570093 beq patch15_6 ,p_app_init 
+0007 c0580087 beq patch16_0 ,p_app_evt_100ms_loop 
+0008 c06180a3 beq patch18_3 ,p_mouse_start_work 
+0009 c06480e8 beq patch19_1 ,p_mouse_setgpio_hibernate 
+000a c06500f8 beq patch19_2 ,p_mouse_lpm_before_common 
+000b c0660053 beq patch19_4 ,p_mouse_adc_read_start 
+000c c0670123 beq patch19_6 ,p_mouse_motion 
+000d c068013f beq patch1a_0 ,p_mouse_seting_dpi 
+000e c06880c2 beq patch1a_1 ,p_mouse_check_key_gpio 
+000f c069814a beq patch1a_3 ,p_mouse_init_sunt 
+0010 c06b0109 beq patch1a_6 ,p_mouse_priority_bb_event 
+0011 c06c816d beq patch1b_1 ,p_mouse_bb_event_timer 
+0012 2020137c branch loop 
 
 pf_patch_ext:
-0011 c0198031 beq patch26_3 ,p_adc_init_data 
-0012 c01a0036 beq patch26_4 ,p_enable_adc 
-0013 2020137c branch loop 
+0013 c0198033 beq patch26_3 ,p_adc_init_data 
+0014 c01a0038 beq patch26_4 ,p_enable_adc 
+0015 2020137c branch loop 
 
 p_soft_reset:
-0014 20800000 clear_stack 
-0015 204030f3 call app_param_init 
-0016 20403bfd call mouse_xtal_init 
-0017 20200804 branch soft_reset + 3 
+0016 20800000 clear_stack 
+0017 204030f3 call app_param_init 
+0018 20403bfd call mouse_xtal_init 
+0019 20200804 branch soft_reset + 3 
 
 p_main_loop:
-0018 2040706c call sp_calc_sequence 
-0019 20407597 call sp_calc_sequence_256 
-001a 20406ea7 call sp_calc_sequence_256_check 
-001b 20401b93 call le_advertising_dispatch + 1 
-001c 2040083a call idle_dispatch 
-001d 20403108 call app_process_idle + 1 
-001e 20400892 call inquiry_dispatch + 1 
-001f 20400b08 call inquiry_scan_dispatch + 1 
-0020 20400b7b call page_scan_dispatch + 1 
-0021 20400823 call connection_dispatch + 1 
-0022 204021d3 call g24_dispatch + 2 
-0023 20400025 call p_lpm_dispatch 
-0024 20200813 branch main_loop 
+001a 2040706c call sp_calc_sequence 
+001b 20407597 call sp_calc_sequence_256 
+001c 20406ea7 call sp_calc_sequence_256_check 
+001d 20401b93 call le_advertising_dispatch + 1 
+001e 2040083a call idle_dispatch 
+001f 20403108 call app_process_idle + 1 
+0020 20400892 call inquiry_dispatch + 1 
+0021 20400b08 call inquiry_scan_dispatch + 1 
+0022 20400b7b call page_scan_dispatch + 1 
+0023 20400823 call connection_dispatch + 1 
+0024 204021d3 call g24_dispatch + 2 
+0025 20400027 call p_lpm_dispatch 
+0026 20200813 branch main_loop 
 
 p_lpm_dispatch:
-0025 20401465 call lpo_calibration 
-0026 6fe1c174 fetch 3 ,mem_clks_per_lpo 
-0027 207a0000 rtn blank 
-0028 6fe0c099 fetch 1 ,mem_lpm_mode 
+0027 20401465 call lpo_calibration 
+0028 6fe1c174 fetch 3 ,mem_clks_per_lpo 
 0029 207a0000 rtn blank 
-002a 6fe0c764 fetch 1 ,mem_ssp_enable 
-002b 203a002e branch p_lpm_dispatch_next ,blank 
-002c 6fe0c6b9 fetch 1 ,mem_sp_local_key_invalid 
-002d 207a0000 rtn blank 
+002a 6fe0c099 fetch 1 ,mem_lpm_mode 
+002b 207a0000 rtn blank 
+002c 6fe0c764 fetch 1 ,mem_ssp_enable 
+002d 203a0030 branch p_lpm_dispatch_next ,blank 
+002e 6fe0c6b9 fetch 1 ,mem_sp_local_key_invalid 
+002f 207a0000 rtn blank 
 
 p_lpm_dispatch_next:
-002e 6fe0c6ba fetch 1 ,mem_sc_calc 
-002f 247a0000 nrtn blank 
-0030 202014ea branch lpm_dispatch_next + 3 
+0030 6fe0c6ba fetch 1 ,mem_sc_calc 
+0031 247a0000 nrtn blank 
+0032 202014ea branch lpm_dispatch_next + 3 
 
 p_adc_init_data:
-0031 da20099e arg mem_temp_block2 ,rega 
-0032 d840000c arg 12 ,temp 
-0033 58000030 setarg efuse_offset_adc_param 
-0034 20405e63 call efuse_read_data 
-0035 202060bf branch adc_init_data + 6 
+0033 da20099e arg mem_temp_block2 ,rega 
+0034 d840000c arg 12 ,temp 
+0035 58000030 setarg efuse_offset_adc_param 
+0036 20405e63 call efuse_read_data 
+0037 202060bf branch adc_init_data + 6 
 
 p_enable_adc:
-0036 6a508a12 fetchr regb ,1 ,core_rf_ldo_cfg6 
-0037 708a123d jam 0x3d ,core_rf_ldo_cfg6 
-0038 708a11aa jam 0xaa ,core_rf_ldo_cfg5 
-0039 708a0a0c jam 0x0c ,core_rf_ldo_en0 
-003a 6ff08a09 fetch 1 ,core_clkpll_cfg6 
-003b 79207e07 set1 7 ,pdata 
-003c 67f08a09 store 1 ,core_clkpll_cfg6 
-003d 708a0b04 jam 0x04 ,core_rf_ldo_en1 
-003e 2000003c nop 60 
-003f 708a1600 jam 0 ,core_syn_en 
-0040 708a1706 jam 6 ,core_rx_en0 
-0041 2040611a call read_adc_mode 
-0042 67f08a97 store 1 ,core_gpadc_ctrl 
-0043 7080dc03 jam 0x03 ,core_sum_ctrl 
-0044 2000003c nop 60 
-0045 6ff08053 fetch 1 ,core_sum_en 
-0046 79207e07 set1 7 ,pdata 
-0047 67f08053 store 1 ,core_sum_en 
-0048 200003e8 nop 1000 
-0049 6ff10150 fetch 2 ,core_adc_sum 
-004a 67e144a2 store 2 ,mem_adc_current_value 
-004b 6ff08053 fetch 1 ,core_sum_en 
-004c 793ffe07 set0 7 ,pdata 
-004d 67f08053 store 1 ,core_sum_en 
-004e 708a9700 jam 0 ,core_gpadc_ctrl 
-004f 62508a12 storer regb ,1 ,core_rf_ldo_cfg6 
-0050 20600000 rtn 
+0038 6a508a12 fetchr regb ,1 ,core_rf_ldo_cfg6 
+0039 708a123d jam 0x3d ,core_rf_ldo_cfg6 
+003a 708a11aa jam 0xaa ,core_rf_ldo_cfg5 
+003b 708a0a0c jam 0x0c ,core_rf_ldo_en0 
+003c 6ff08a09 fetch 1 ,core_clkpll_cfg6 
+003d 79207e07 set1 7 ,pdata 
+003e 67f08a09 store 1 ,core_clkpll_cfg6 
+003f 708a0b04 jam 0x04 ,core_rf_ldo_en1 
+0040 2000003c nop 60 
+0041 708a1600 jam 0 ,core_syn_en 
+0042 708a1706 jam 6 ,core_rx_en0 
+0043 2040611a call read_adc_mode 
+0044 67f08a97 store 1 ,core_gpadc_ctrl 
+0045 7080dc03 jam 0x03 ,core_sum_ctrl 
+0046 2000003c nop 60 
+0047 6ff08053 fetch 1 ,core_sum_en 
+0048 79207e07 set1 7 ,pdata 
+0049 67f08053 store 1 ,core_sum_en 
+004a 200003e8 nop 1000 
+004b 6ff10150 fetch 2 ,core_adc_sum 
+004c 67e144a2 store 2 ,mem_adc_current_value 
+004d 6ff08053 fetch 1 ,core_sum_en 
+004e 793ffe07 set0 7 ,pdata 
+004f 67f08053 store 1 ,core_sum_en 
+0050 708a9700 jam 0 ,core_gpadc_ctrl 
+0051 62508a12 storer regb ,1 ,core_rf_ldo_cfg6 
+0052 20600000 rtn 
 
 p_mouse_adc_read_start:
-0051 20400036 call p_enable_adc 
-0052 7048f600 jam 0 ,mem_adc_read_timer 
-0053 6fe0cbe7 fetch 1 ,mem_low_voltage_alarm_gpio 
-0054 d8400000 arg gpcfg_high_impedance ,temp 
-0055 20406093 call gpio_config_function_int 
-0056 20406125 call vdd_calculate_by_mode 
-0057 67e148e9 store 2 ,mem_mouse_vdd_now_vol 
+0053 20400038 call p_enable_adc 
+0054 7048f600 jam 0 ,mem_adc_read_timer 
+0055 6fe0cbe7 fetch 1 ,mem_low_voltage_alarm_gpio 
+0056 d8400000 arg gpcfg_high_impedance ,temp 
+0057 20406093 call gpio_config_function_int 
+0058 20406125 call vdd_calculate_by_mode 
+0059 67e148e9 store 2 ,mem_mouse_vdd_now_vol 
 
 p_mouse_adc_data_process:
-0058 da2048e3 arg mem_mouse_vdd_calculate_set ,rega 
-0059 20403ed8 call mouse_adc_bat_percent_lowpower_out 
-005a 6fe0c4a4 fetch 1 ,mem_adc_power_flag 
-005b c2813f1a bbit1 2 ,mouse_adc_button_press 
-005c c280bf1c bbit1 1 ,mouse_power_down 
-005d c3000060 bbit0 0 ,p_mouse_adc_no_low_voltage 
-005e 7048fa01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
-005f 20203ece branch mouse_adc_low_voltage 
+005a da2048e3 arg mem_mouse_vdd_calculate_set ,rega 
+005b 20403ed8 call mouse_adc_bat_percent_lowpower_out 
+005c 6fe0c4a4 fetch 1 ,mem_adc_power_flag 
+005d c2813f1a bbit1 2 ,mouse_adc_button_press 
+005e c280bf1c bbit1 1 ,mouse_power_down 
+005f c3000062 bbit0 0 ,p_mouse_adc_no_low_voltage 
+0060 7048fa01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
+0061 20203ece branch mouse_adc_low_voltage 
 
 p_mouse_adc_no_low_voltage:
-0060 d8e00004 arg mouse_low_voltage_flag ,queue 
-0061 204046f4 call mouse_disable_function_flag 
-0062 7048f80c jam 12 ,mem_adc_low_volatage_led_timer_count 
-0063 6fe0c8fa fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
-0064 207a0000 rtn blank 
-0065 7048fa00 jam 0 ,mem_mouse_adc_last_low_voltage_flag 
-0066 20200082 branch p_mouse_low_voltage_led_off 
+0062 d8e00004 arg mouse_low_voltage_flag ,queue 
+0063 204046f4 call mouse_disable_function_flag 
+0064 7048f80c jam 12 ,mem_adc_low_volatage_led_timer_count 
+0065 6fe0c8fa fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
+0066 207a0000 rtn blank 
+0067 7048fa00 jam 0 ,mem_mouse_adc_last_low_voltage_flag 
+0068 20200084 branch p_mouse_low_voltage_led_off 
 
 p_mouse_low_voltage_led_timer:
-0067 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
-0068 247a0000 nrtn blank 
-0069 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+0069 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
 006a 247a0000 nrtn blank 
-006b 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+006b 6fe14883 fetch 2 ,mem_24g_pair_timeout 
 006c 247a0000 nrtn blank 
-006d 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
+006d 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
 006e 247a0000 nrtn blank 
-006f 20404904 call mouse_check_dpi_blink 
-0070 20740000 rtn user 
-0071 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0072 c4108000 rtnbit0 mouse_enable_low_voltage_led 
-0073 c4020000 rtnbit0 mouse_low_voltage_flag 
-0074 c291c97c bbit1 mouse_enable_low_voltage_led_blink_n_second ,mouse_low_voltage_led_blink_new_data 
-0075 6fe0c8f8 fetch 1 ,mem_adc_low_volatage_led_timer_count 
-0076 1fe0fe01 increase 1 ,pdata 
-0077 67e0c8f8 store 1 ,mem_adc_low_volatage_led_timer_count 
-0078 1fe67c0a sub pdata ,10 ,null 
-0079 2441007d ncall p_mouse_adc_low_volatage_led_timer_count_clean ,positive 
-007a 1fe67c05 sub pdata ,5 ,null 
-007b 2021007f branch p_mouse_low_voltage_led_on ,positive 
-007c 20200082 branch p_mouse_low_voltage_led_off 
+006f 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
+0070 247a0000 nrtn blank 
+0071 20404904 call mouse_check_dpi_blink 
+0072 20740000 rtn user 
+0073 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0074 c4108000 rtnbit0 mouse_enable_low_voltage_led 
+0075 c4020000 rtnbit0 mouse_low_voltage_flag 
+0076 c291c97c bbit1 mouse_enable_low_voltage_led_blink_n_second ,mouse_low_voltage_led_blink_new_data 
+0077 6fe0c8f8 fetch 1 ,mem_adc_low_volatage_led_timer_count 
+0078 1fe0fe01 increase 1 ,pdata 
+0079 67e0c8f8 store 1 ,mem_adc_low_volatage_led_timer_count 
+007a 1fe67c0a sub pdata ,10 ,null 
+007b 2441007f ncall p_mouse_adc_low_volatage_led_timer_count_clean ,positive 
+007c 1fe67c05 sub pdata ,5 ,null 
+007d 20210081 branch p_mouse_low_voltage_led_on ,positive 
+007e 20200084 branch p_mouse_low_voltage_led_off 
 
 p_mouse_adc_low_volatage_led_timer_count_clean:
-007d 7048f801 jam 1 ,mem_adc_low_volatage_led_timer_count 
-007e 20600000 rtn 
+007f 7048f801 jam 1 ,mem_adc_low_volatage_led_timer_count 
+0080 20600000 rtn 
 
 p_mouse_low_voltage_led_on:
-007f 6fe0cbe7 fetch 1 ,mem_low_voltage_alarm_gpio 
-0080 d840003f arg gpcfg_output_high ,temp 
-0081 20206093 branch gpio_config_function_int 
+0081 6fe0cbe7 fetch 1 ,mem_low_voltage_alarm_gpio 
+0082 d840003f arg gpcfg_output_high ,temp 
+0083 20206093 branch gpio_config_function_int 
 
 p_mouse_low_voltage_led_off:
-0082 6fe0cbe7 fetch 1 ,mem_low_voltage_alarm_gpio 
-0083 d840003e arg gpcfg_output_low ,temp 
-0084 20206093 branch gpio_config_function_int 
+0084 6fe0cbe7 fetch 1 ,mem_low_voltage_alarm_gpio 
+0085 d840003e arg gpcfg_output_low ,temp 
+0086 20206093 branch gpio_config_function_int 
 
 p_app_evt_100ms_loop:
-0085 6fe0830d fetch 1 ,mem_app_evt_timer_count 
-0086 207a0000 rtn blank 
-0087 1fe0ffff increase -1 ,pdata 
-0088 67e0830d store 1 ,mem_app_evt_timer_count 
-0089 204077c5 call ui_button_polling 
-008a 204031e3 call app_lpm_wake_auto_lock_timer 
-008b 204031a4 call app_unsniff_delay_timer 
-008c 204031aa call app_discovery_timer 
-008d 20405cdc call flash_write_spi_sm_timer 
-008e 6fe1446f fetch 2 ,mem_cb_event_timer 
-008f 20407e05 call callback_func 
-0090 20200085 branch p_app_evt_100ms_loop 
+0087 6fe0830d fetch 1 ,mem_app_evt_timer_count 
+0088 207a0000 rtn blank 
+0089 1fe0ffff increase -1 ,pdata 
+008a 67e0830d store 1 ,mem_app_evt_timer_count 
+008b 204077c5 call ui_button_polling 
+008c 204031e3 call app_lpm_wake_auto_lock_timer 
+008d 204031a4 call app_unsniff_delay_timer 
+008e 204031aa call app_discovery_timer 
+008f 20405cdc call flash_write_spi_sm_timer 
+0090 6fe1446f fetch 2 ,mem_cb_event_timer 
+0091 20407e05 call callback_func 
+0092 20200087 branch p_app_evt_100ms_loop 
 
 p_app_init:
 
 p_mouse_init:
-0091 20406df3 call enable_authrom 
-0092 20400098 call p_mouse_wheel_set_wakeup 
-0093 20403bf0 call mouse_setting_config 
-0094 204041a7 call mouse_init_sunt 
-0095 20758000 rtn wake 
-0096 2040408e call mouse_dpi_config 
-0097 20203bc5 branch mouse_init + 4 
+0093 20406df3 call enable_authrom 
+0094 2040009a call p_mouse_wheel_set_wakeup 
+0095 20403bf0 call mouse_setting_config 
+0096 204041a7 call mouse_init_sunt 
+0097 20758000 rtn wake 
+0098 2040408e call mouse_dpi_config 
+0099 20203bc5 branch mouse_init + 4 
 
 p_mouse_wheel_set_wakeup:
-0098 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-0099 207a0000 rtn blank 
-009a 20400170 call p_mouse_mode_24g_device_multi_led_on 
-009b 6fe0c913 fetch 1 ,mem_whee_a_data_gpio 
-009c d8400040 arg gpcfg_pullup ,temp 
-009d 20406093 call gpio_config_function_int 
-009e 6fe0c914 fetch 1 ,mem_whee_b_data_gpio 
-009f d8400040 arg gpcfg_pullup ,temp 
-00a0 20206093 branch gpio_config_function_int 
+009a 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+009b 207a0000 rtn blank 
+009c 204001ae call p_mouse_mode_24g_device_multi_led_on 
+009d 6fe0c913 fetch 1 ,mem_whee_a_data_gpio 
+009e d8400040 arg gpcfg_pullup ,temp 
+009f 20406093 call gpio_config_function_int 
+00a0 6fe0c914 fetch 1 ,mem_whee_b_data_gpio 
+00a1 d8400040 arg gpcfg_pullup ,temp 
+00a2 20206093 branch gpio_config_function_int 
 
 p_mouse_start_work:
-00a1 6fe0c938 fetch 1 ,mem_device_flag 
-00a2 c00000a6 beq mode_24g_device ,p_mouse_24g_start_mode 
-00a3 20403d65 call mouse_wakeup_from_power_check 
-00a4 243442eb nbranch mouse_buletooth_fast_conn_init ,user 
-00a5 20203d59 branch mouse_start_reconnect_device 
+00a3 6fe0c938 fetch 1 ,mem_device_flag 
+00a4 c00000a8 beq mode_24g_device ,p_mouse_24g_start_mode 
+00a5 20403d65 call mouse_wakeup_from_power_check 
+00a6 243442eb nbranch mouse_buletooth_fast_conn_init ,user 
+00a7 20203d59 branch mouse_start_reconnect_device 
 
 p_mouse_24g_start_mode:
-00a6 20400170 call p_mouse_mode_24g_device_multi_led_on 
-00a7 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00a8 c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
+00a8 204001ae call p_mouse_mode_24g_device_multi_led_on 
 00a9 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00aa c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
-00ab c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
-00ac 204000bb call p_mouse_key_check_once 
-00ad 1fe17e07 and pdata ,0x07 ,pdata 
-00ae 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
-00af 98467c00 isub temp ,null 
-00b0 2022c827 branch mouse_24g_start_pair_mode ,zero 
-00b1 2020480c branch mouse_24g_reconn_general_dongle 
+00aa c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
+00ab 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00ac c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
+00ad c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
+00ae 204000bd call p_mouse_key_check_once 
+00af 1fe17e07 and pdata ,0x07 ,pdata 
+00b0 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
+00b1 98467c00 isub temp ,null 
+00b2 2022c827 branch mouse_24g_start_pair_mode ,zero 
+00b3 2020480c branch mouse_24g_reconn_general_dongle 
 
 p_g24_factory_check:
-00b2 df200002 arg 2 ,loopcnt 
-00b3 d8c04993 arg mem_mouse_24g_addr ,contr 
+00b4 df200002 arg 2 ,loopcnt 
+00b5 d8c04993 arg mem_mouse_24g_addr ,contr 
 
 p_pdata_0xff_check:
-00b4 20407e54 call enable_user 
-00b5 5800ffff setarg 0xffff 
+00b6 20407e54 call enable_user 
+00b7 5800ffff setarg 0xffff 
 
 p_pdata_0xff_check_loop:
-00b6 e8410006 ifetcht 2 ,contr 
-00b7 98467c00 isub temp ,null 
-00b8 2442fe56 ncall disable_user ,zero 
-00b9 c20000b6 loop p_pdata_0xff_check_loop 
-00ba 20600000 rtn 
+00b8 e8410006 ifetcht 2 ,contr 
+00b9 98467c00 isub temp ,null 
+00ba 2442fe56 ncall disable_user ,zero 
+00bb c20000b8 loop p_pdata_0xff_check_loop 
+00bc 20600000 rtn 
 
 p_mouse_key_check_once:
-00bb 20404121 call mouse_check_key_gpio_once 
-00bc 20404115 call mouse_check_key_gpio 
-00bd d8400000 arg 0 ,temp 
-00be 6049cb8e storet 3 ,mem_mouse_lkey_press_status 
-00bf 20600000 rtn 
+00bd 20404121 call mouse_check_key_gpio_once 
+00be 204000c2 call p_mouse_check_key_gpio 
+00bf d8400000 arg 0 ,temp 
+00c0 6049cb8e storet 3 ,mem_mouse_lkey_press_status 
+00c1 20600000 rtn 
+
+p_mouse_check_key_gpio:
+00c2 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+00c3 245a4121 ncall mouse_check_key_gpio_once ,blank 
+00c4 da200000 arg 0 ,rega 
+00c5 20404124 call mouse_check_lkey_gpio 
+00c6 2040412a call mouse_check_rkey_gpio 
+00c7 20404130 call mouse_check_mkey_gpio 
+00c8 20404136 call mouse_check_bkkey_gpio 
+00c9 2040414f call mouse_check_fwkey_gpio 
+00ca 704b8b00 jam 0 ,mem_customer_key 
+00cb 6fe0c9de fetch 1 ,mem_mouse_dpi_long_press_flag 
+00cc 245a417a ncall mouse_customerkey_press ,blank 
+00cd 6fe0cbf3 fetch 1 ,mem_mouse_customerkey_finish 
+00ce 245a00d1 ncall p_mouse_customerkey_release ,blank 
+00cf 1a227e00 copy rega ,pdata 
+00d0 20600000 rtn 
+
+p_mouse_customerkey_release:
+00d1 704bf300 jam 0 ,mem_mouse_customerkey_finish 
+00d2 2020417d branch mouse_customerkey_release 
 
 p_init_param:
-00c0 70008000 jam 0 ,mem_lmo_tid2 
-00c1 202013b7 branch init_param_next + 1 
+00d3 70008000 jam 0 ,mem_lmo_tid2 
+00d4 202013b7 branch init_param_next + 1 
 
 p_initialize_radio_cont:
-00c2 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
-00c3 2040126a call initialize_syn_afc_cfg1 
-00c4 20401271 call initialize_rf_ldo_cfg1 
-00c5 20401277 call initialize_rc_cal 
-00c6 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
-00c7 708a0305 jam 5 ,core_clkpll_cfg0 
-00c8 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
-00c9 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
-00ca 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
-00cb 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
-00cc 6fe0c0c5 fetch 1 ,mem_fcomp_div 
-00cd c08400cf bne xtal_16m ,p_initialize_radio_cont_next 
-00ce 708a0834 jam 0x34 ,core_clkpll_cfg5 
+00d5 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
+00d6 2040126a call initialize_syn_afc_cfg1 
+00d7 20401271 call initialize_rf_ldo_cfg1 
+00d8 20401277 call initialize_rc_cal 
+00d9 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
+00da 708a0305 jam 5 ,core_clkpll_cfg0 
+00db 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
+00dc 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
+00dd 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
+00de 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
+00df 6fe0c0c5 fetch 1 ,mem_fcomp_div 
+00e0 c08400e2 bne xtal_16m ,p_initialize_radio_cont_next 
+00e1 708a0834 jam 0x34 ,core_clkpll_cfg5 
 
 p_initialize_radio_cont_next:
-00cf 708a01ff jam 0xff ,core_clkpll_ctrl1 
-00d0 20000064 nop 100 
-00d1 708a020e jam 0x0e ,core_clkpll_ctrl2 
-00d2 708a0003 jam 0x03 ,core_clkpll_ctrl0 
-00d3 2040019d call p_set_tx_power_pair 
-00d4 20201265 branch initialize_radio_cont_next2 
+00e2 708a01ff jam 0xff ,core_clkpll_ctrl1 
+00e3 20000064 nop 100 
+00e4 708a020e jam 0x0e ,core_clkpll_ctrl2 
+00e5 708a0003 jam 0x03 ,core_clkpll_ctrl0 
+00e6 204001db call p_set_tx_power_pair 
+00e7 20201265 branch initialize_radio_cont_next2 
 
 p_mouse_setgpio_hibernate:
-00d5 204042e9 call mouse_set_sdio_high 
-00d6 20407fdc call clear_wake 
-00d7 20404015 call mouse_before_hibernate_wheel_gpio_set 
-00d8 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-00d9 c07f80de beq gpio_disable ,p_mouse_setgpio_hibernate_skip_public_gpio 
-00da 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-00db 20406069 call gpio_out_active 
-00dc 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-00dd 20406042 call gpio_clr_wake 
+00e8 204042e9 call mouse_set_sdio_high 
+00e9 20407fdc call clear_wake 
+00ea 20404015 call mouse_before_hibernate_wheel_gpio_set 
+00eb 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+00ec c07f80f1 beq gpio_disable ,p_mouse_setgpio_hibernate_skip_public_gpio 
+00ed 6848c910 fetcht 1 ,mem_matrix_public_gpio 
+00ee 20406069 call gpio_out_active 
+00ef 6848c910 fetcht 1 ,mem_matrix_public_gpio 
+00f0 20406042 call gpio_clr_wake 
 
 p_mouse_setgpio_hibernate_skip_public_gpio:
-00de 6848cbe2 fetcht 1 ,mem_mouse_reuse_2ice_gpio 
-00df 20403f56 call mouse_gpio_config_input_pu 
-00e0 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
-00e1 d840003f arg gpcfg_output_high ,temp 
-00e2 20406093 call gpio_config_function_int 
-00e3 2040017e call p_mouse_logo_led_on_timeout 
-00e4 20203e36 branch mouse_setgpio_hibernate + 3 
+00f1 6848cbe2 fetcht 1 ,mem_mouse_reuse_2ice_gpio 
+00f2 20403f56 call mouse_gpio_config_input_pu 
+00f3 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
+00f4 d840003f arg gpcfg_output_high ,temp 
+00f5 20406093 call gpio_config_function_int 
+00f6 204001bc call p_mouse_logo_led_on_timeout 
+00f7 20203e36 branch mouse_setgpio_hibernate + 3 
 
 p_mouse_lpm_before_common:
-00e5 20403f88 call mouse_wheel_check 
-00e6 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
-00e7 d840003f arg gpcfg_output_high ,temp 
-00e8 20406093 call gpio_config_function_int 
-00e9 20405b04 call twspi_disable 
-00ea 6848c918 fetcht 1 ,mem_lbutton_gpio 
-00eb 20406036 call gpio_set_wake 
-00ec 6848c919 fetcht 1 ,mem_rbutton_gpio 
-00ed 20406036 call gpio_set_wake 
-00ee 6848c91a fetcht 1 ,mem_mbutton_gpio 
-00ef 20406036 call gpio_set_wake 
-00f0 6848c90d fetcht 1 ,mem_bk_button_gpio 
-00f1 20406036 call gpio_set_wake 
-00f2 6848c90e fetcht 1 ,mem_fw_button_gpio 
-00f3 20406036 call gpio_set_wake 
-00f4 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-00f5 20206036 branch gpio_set_wake 
+00f8 20403f88 call mouse_wheel_check 
+00f9 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
+00fa d840003f arg gpcfg_output_high ,temp 
+00fb 20406093 call gpio_config_function_int 
+00fc 20405b04 call twspi_disable 
+00fd 6848c918 fetcht 1 ,mem_lbutton_gpio 
+00fe 20406036 call gpio_set_wake 
+00ff 6848c919 fetcht 1 ,mem_rbutton_gpio 
+0100 20406036 call gpio_set_wake 
+0101 6848c91a fetcht 1 ,mem_mbutton_gpio 
+0102 20406036 call gpio_set_wake 
+0103 6848c90d fetcht 1 ,mem_bk_button_gpio 
+0104 20406036 call gpio_set_wake 
+0105 6848c90e fetcht 1 ,mem_fw_button_gpio 
+0106 20406036 call gpio_set_wake 
+0107 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+0108 20206036 branch gpio_set_wake 
 
 p_mouse_priority_bb_event:
-00f6 1a627e00 copy regc ,pdata 
-00f7 c01d00fa beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-00f8 c01e0108 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-00f9 20204336 branch mouse_priority_bb_event + 2 
+0109 1a627e00 copy regc ,pdata 
+010a c01d010d beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+010b c01e011b beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+010c 20204336 branch mouse_priority_bb_event + 2 
 
 p_mouse_24g_attempt_fail:
-00fa 6fe0c8a5 fetch 1 ,mem_24g_attempt_fail_flag 
-00fb 243a47e1 nbranch mouse_24g_hibernate_set ,blank 
+010d 6fe0c8a5 fetch 1 ,mem_24g_attempt_fail_flag 
+010e 243a47e1 nbranch mouse_24g_hibernate_set ,blank 
 
 p_mouse_24g_attempt_fail_next:
-00fc 6fe0c88b fetch 1 ,mem_24g_reconn_type 
-00fd c0010101 beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
-00fe c0024844 beq pair_and_3_0_addr ,mouse_24g_auto_pair_attempt_fail 
-00ff c001c849 beq receiver_and_3_0_addr ,mouse_reconn_dongle_attempt_fail 
-0100 20204839 branch mouse_24g_attempt_fail_enter_hibernate 
+010f 6fe0c88b fetch 1 ,mem_24g_reconn_type 
+0110 c0010114 beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
+0111 c0024844 beq pair_and_3_0_addr ,mouse_24g_auto_pair_attempt_fail 
+0112 c001c849 beq receiver_and_3_0_addr ,mouse_reconn_dongle_attempt_fail 
+0113 20204839 branch mouse_24g_attempt_fail_enter_hibernate 
 
 p_mouse_24g_fast_conn_attempt_fail:
-0101 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0102 c2978105 bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_start_auto_pair 
-0103 c2984811 bbit1 mouse_enable_auto_24g_paring ,mouse_24g_start_auto_pair 
-0104 20204806 branch mouse_24g_reconn_dongle_start 
+0114 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0115 c2978118 bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_start_auto_pair 
+0116 c2984811 bbit1 mouse_enable_auto_24g_paring ,mouse_24g_start_auto_pair 
+0117 20204806 branch mouse_24g_reconn_dongle_start 
 
 p_mouse_24g_start_auto_pair:
-0105 204000b2 call p_g24_factory_check 
-0106 20344812 branch mouse_24g_start_auto_pair_next ,user 
-0107 20204806 branch mouse_24g_reconn_dongle_start 
+0118 204000b4 call p_g24_factory_check 
+0119 20344812 branch mouse_24g_start_auto_pair_next ,user 
+011a 20204806 branch mouse_24g_reconn_dongle_start 
 
 p_mouse_24g_attempt_success:
-0108 6fe2483c fetch 4 ,mem_24g_addr 
-0109 684a488d fetcht 4 ,mem_24g_fast_conn_addr 
-010a 98467c00 isub temp ,null 
-010b 2022810e branch p_mouse_24g_attempt_success_skip_store_addr ,zero 
-010c 67e24891 store 4 ,mem_24g_receiver_addr 
-010d 67e24993 store 4 ,mem_mouse_24g_addr 
+011b 6fe2483c fetch 4 ,mem_24g_addr 
+011c 684a488d fetcht 4 ,mem_24g_fast_conn_addr 
+011d 98467c00 isub temp ,null 
+011e 20228121 branch p_mouse_24g_attempt_success_skip_store_addr ,zero 
+011f 67e24891 store 4 ,mem_24g_receiver_addr 
+0120 67e24993 store 4 ,mem_mouse_24g_addr 
 
 p_mouse_24g_attempt_success_skip_store_addr:
-010e 204048c6 call mouse_device_poweron_timer_init 
-010f 2020484e branch mouse_24g_attempt_success 
+0121 204048c6 call mouse_device_poweron_timer_init 
+0122 2020484e branch mouse_24g_attempt_success 
 
 p_mouse_motion:
-0110 78547c00 disable user 
-0111 58000000 setarg 0 
-0112 67e348d1 store 6 ,mem_mouse_x 
-0113 20404240 call mouse_check_sensor_data 
-0114 2040408e call mouse_dpi_config 
-0115 20403f7e call mouse_zwheel 
-0116 20403f83 call mouse_t_zwheel 
-0117 204040dc call mouse_key 
-0118 6fe0c8d0 fetch 1 ,mem_mouse_key 
-0119 1fe17e1f and_into 0x1f ,pdata 
-011a 67e0c8d0 store 1 ,mem_mouse_key 
-011b 2434011f nbranch p_mouse_motion_nodata ,user 
-011c 2040471a call mouse_drawing_optima 
-011d 20400122 call p_mouse_logo_led_on_check 
-011e 20204544 branch mouse_no_data_timer_init 
+0123 78547c00 disable user 
+0124 58000000 setarg 0 
+0125 67e348d1 store 6 ,mem_mouse_x 
+0126 20404240 call mouse_check_sensor_data 
+0127 2040408e call mouse_dpi_config 
+0128 20403f7e call mouse_zwheel 
+0129 20403f83 call mouse_t_zwheel 
+012a 204040dc call mouse_key 
+012b 6fe0c8d0 fetch 1 ,mem_mouse_key 
+012c 1fe17e1f and_into 0x1f ,pdata 
+012d 67e0c8d0 store 1 ,mem_mouse_key 
+012e 6fe0cb8b fetch 1 ,mem_customer_key 
+012f 245a7e54 ncall enable_user ,blank 
+0130 24340134 nbranch p_mouse_motion_nodata ,user 
+0131 2040471a call mouse_drawing_optima 
+0132 20400137 call p_mouse_logo_led_on_check 
+0133 20204544 branch mouse_no_data_timer_init 
 
 p_mouse_motion_nodata:
-011f 20404728 call mouse_drawing_optima_init 
-0120 704be400 jam 0 ,mem_mouse_logo_led_on_check_count 
-0121 20600000 rtn 
+0134 20404728 call mouse_drawing_optima_init 
+0135 704be400 jam 0 ,mem_mouse_logo_led_on_check_count 
+0136 20600000 rtn 
 
 p_mouse_logo_led_on_check:
-0122 6fe0cbe4 fetch 1 ,mem_mouse_logo_led_on_check_count 
-0123 1fe0fe01 increase 1 ,pdata 
-0124 67e0cbe4 store 1 ,mem_mouse_logo_led_on_check_count 
-0125 1fe67c08 sub pdata ,low_voltage_led_count ,null 
-0126 20610000 rtn positive 
+0137 6fe0cbe4 fetch 1 ,mem_mouse_logo_led_on_check_count 
+0138 1fe0fe01 increase 1 ,pdata 
+0139 67e0cbe4 store 1 ,mem_mouse_logo_led_on_check_count 
+013a 1fe67c08 sub pdata ,low_voltage_led_count ,null 
+013b 20610000 rtn positive 
 
 p_mouse_logo_led_on:
-0127 58000258 setarg 0x0258 
-0128 67e14be5 store 2 ,mem_mouse_logo_led_on_timer 
-0129 20600000 rtn 
+013c 58000258 setarg 0x0258 
+013d 67e14be5 store 2 ,mem_mouse_logo_led_on_timer 
+013e 20600000 rtn 
 
 p_mouse_seting_dpi:
-012a 2040408f call mouse_setting_dpi_4_level 
-012b 2040012d call p_mouse_dpi_led_blink_delay 
-012c 20204098 branch mouse_seting_sensor_type 
+013f 2040408f call mouse_setting_dpi_4_level 
+0140 2040015f call p_mouse_dpi_led_blink_delay 
+
+p_mouse_seting_sensor_type:
+0141 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0142 c0028144 beq mx8650 ,p_mouse_setting_8650_dpi 
+0143 20204099 branch mouse_seting_sensor_type + 1 
+
+p_mouse_setting_8650_dpi:
+0144 6fe0c992 fetch 1 ,mem_mouse_dpi 
+0145 c00040a2 beq mouse_dpi_level1 ,mouse_set_cpi0 
+0146 c000c0a0 beq mouse_dpi_level2 ,mouse_set_cpi1 
+0147 c00140a4 beq mouse_dpi_level3 ,mouse_set_cpi2 
+0148 c001c0a6 beq mouse_dpi_level4 ,mouse_set_cpi3 
+0149 202040a0 branch mouse_set_cpi1 
+
+p_mouse_init_sunt:
+014a 20403f65 call mouse_sensor_spi_init 
+014b 20758000 rtn wake 
+
+p_mouse_init_sensor_wakeup:
+014c 20404236 call mouse_sensor_poweron 
+
+p_mouse_init_sensor:
+014d 204041b5 call mouse_read_sensor_id 
+014e c0180154 beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
+014f c018c217 beq p3065_id1 ,mouse_init_p3065 
+0150 c02c4220 beq pka8g2_id1 ,mouse_ka8g2_id2_judge 
+0151 204041b2 call mouse_twspi_reset 
+0152 20001af4 nop 6900 
+0153 2020014d branch p_mouse_init_sensor 
+
+p_mouse_init_p32xx_id2_judge:
+0154 6fe0c9c2 fetch 1 ,mem_sensor_id2 
+0155 c068c1da beq p3205_tj3t_id2 ,mouse_3205_3t_init_param 
+0156 c02d0158 beq p_mx8650 ,p_mouse_mx8650_init_param 
+0157 202041be branch mouse_init_p32xx_id2_judge + 2 
+
+p_mouse_mx8650_init_param:
+0158 70492705 jam mx8650 ,mem_config_sensor_type 
+0159 20404232 call mouse_sensor_reset 
+015a 20407d12 call delay_10ms 
+015b da604a39 arg mem_sensor_8650_init ,regc 
+015c 2020015d branch p_mouse_sensor_end 
+
+p_mouse_sensor_end:
+015d 2040422b call mouse_sensor_wr_seq 
+015e 20200141 branch p_mouse_seting_sensor_type 
 
 p_mouse_dpi_led_blink_delay:
-012d 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-012e c17f8000 rtneq gpio_disable 
-012f 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
-0130 247a0000 nrtn blank 
-0131 6fe14883 fetch 2 ,mem_24g_pair_timeout 
-0132 247a0000 nrtn blank 
-0133 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
-0134 247a0000 nrtn blank 
-0135 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
-0136 247a0000 nrtn blank 
-0137 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
-0138 203a0185 branch p_mouse_dpi_led_blink_init ,blank 
-0139 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
-013a 20600000 rtn 
+015f 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+0160 c17f8000 rtneq gpio_disable 
+0161 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
+0162 247a0000 nrtn blank 
+0163 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+0164 247a0000 nrtn blank 
+0165 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+0166 247a0000 nrtn blank 
+0167 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
+0168 247a0000 nrtn blank 
+0169 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
+016a 203a01c3 branch p_mouse_dpi_led_blink_init ,blank 
+016b 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
+016c 20600000 rtn 
 
 p_mouse_bb_event_timer:
-013b 20403e9b call mouse_adc_read 
-013c 20400067 call p_mouse_low_voltage_led_timer 
-013d 2040232b call g24_pair_timeout_timer 
-013e 20402556 call g24_reconn_timeout_timer 
-013f 204047cd call mouse_24g_long_sleep_param_update_timer 
-0140 204048be call mouse_device_poweron_timer 
-0141 20400182 call p_mouse_dpi_led_blink_delay_timer 
-0142 20400175 call p_mouse_logo_led_on_timer 
-0143 20400145 call p_mouse_multi_led_blink_timer 
-0144 202044bd branch mouse_bb_event_timer + 8 
+016d 20403e9b call mouse_adc_read 
+016e 20400069 call p_mouse_low_voltage_led_timer 
+016f 2040232b call g24_pair_timeout_timer 
+0170 20402556 call g24_reconn_timeout_timer 
+0171 204047cd call mouse_24g_long_sleep_param_update_timer 
+0172 204048be call mouse_device_poweron_timer 
+0173 204001c0 call p_mouse_dpi_led_blink_delay_timer 
+0174 204001b3 call p_mouse_logo_led_on_timer 
+0175 20400183 call p_mouse_multi_led_blink_timer 
+0176 20400178 call p_mouse_dpi_key_check_long_press 
+0177 202044bd branch mouse_bb_event_timer + 8 
+
+p_mouse_dpi_key_check_long_press:
+0178 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0179 c2944080 bbit1 mouse_enable_select_device_by_dpi_button ,mouse_select_device_by_dpi_button 
+017a c29b017c bbit1 mouse_enable_dpi_key_long_press_disconvery ,p_send_customer_by_dpi_button 
+017b 20600000 rtn 
+
+p_send_customer_by_dpi_button:
+017c 6fe0c9dd fetch 1 ,mem_mouse_dpi_button_state 
+017d c1808000 rtnne dpi_button_state_down 
+017e da604b9b arg mem_bt_discovery_count ,regc 
+017f da400181 arg p_mouse_customerkey_press ,regb 
+0180 2020318a branch timer_single_step 
+
+p_mouse_customerkey_press:
+0181 7049de01 jam 1 ,mem_mouse_dpi_long_press_flag 
+0182 20600000 rtn 
 
 p_mouse_multi_led_blink_timer:
-0145 6fe0cbe8 fetch 1 ,mem_mouse_multi_led_blink_enable 
-0146 207a0000 rtn blank 
-0147 6fe0cbeb fetch 1 ,mem_mouse_multi_led_type 
-0148 c000014b beq multi_led_on ,p_mouse_multi_led_type_on 
-0149 c0008155 beq multi_led_blink ,p_mouse_multi_led_type_blink 
-014a 20600000 rtn 
+0183 6fe0cbe8 fetch 1 ,mem_mouse_multi_led_blink_enable 
+0184 207a0000 rtn blank 
+0185 6fe0cbeb fetch 1 ,mem_mouse_multi_led_type 
+0186 c0000189 beq multi_led_on ,p_mouse_multi_led_type_on 
+0187 c0008193 beq multi_led_blink ,p_mouse_multi_led_type_blink 
+0188 20600000 rtn 
 
 p_mouse_multi_led_type_on:
-014b 2040007f call p_mouse_low_voltage_led_on 
-014c 6fe0cbec fetch 1 ,mem_mouse_multi_led_on_timer 
-014d 1fe0fe01 increase 1 ,pdata 
-014e 67e0cbec store 1 ,mem_mouse_multi_led_on_timer 
-014f 6848cbed fetcht 1 ,mem_mouse_multi_led_on_timer_init 
-0150 98467c00 isub temp ,null 
-0151 20428153 call p_mouse_multi_led_off_poweron2s ,zero 
-0152 20600000 rtn 
+0189 20400081 call p_mouse_low_voltage_led_on 
+018a 6fe0cbec fetch 1 ,mem_mouse_multi_led_on_timer 
+018b 1fe0fe01 increase 1 ,pdata 
+018c 67e0cbec store 1 ,mem_mouse_multi_led_on_timer 
+018d 6848cbed fetcht 1 ,mem_mouse_multi_led_on_timer_init 
+018e 98467c00 isub temp ,null 
+018f 20428191 call p_mouse_multi_led_off_poweron2s ,zero 
+0190 20600000 rtn 
 
 p_mouse_multi_led_off_poweron2s:
-0153 704bf200 jam 0 ,mem_mouse_multi_led_on_poweron2s_flag 
-0154 20200167 branch p_mouse_multi_led_blink_off 
+0191 704bf200 jam 0 ,mem_mouse_multi_led_on_poweron2s_flag 
+0192 202001a5 branch p_mouse_multi_led_blink_off 
 
 p_mouse_multi_led_type_blink:
-0155 6fe0cbef fetch 1 ,mem_mouse_multi_led_blink_timer 
-0156 1fe0ffff increase -1 ,pdata 
-0157 67e0cbef store 1 ,mem_mouse_multi_led_blink_timer 
-0158 247a0000 nrtn blank 
-0159 6fe0cbee fetch 1 ,mem_mouse_multi_led_blink_timer_init 
-015a 67e0cbef store 1 ,mem_mouse_multi_led_blink_timer 
-015b 6fe0cbf1 fetch 1 ,mem_mouse_multi_led_blink_count_limited 
-015c 203a0161 branch p_mouse_multi_led_blink_count_no_limited ,blank 
-015d 6fe0cbf0 fetch 1 ,mem_mouse_multi_led_blink_count 
-015e 203a0167 branch p_mouse_multi_led_blink_off ,blank 
-015f 1fe0ffff increase -1 ,pdata 
-0160 67e0cbf0 store 1 ,mem_mouse_multi_led_blink_count 
+0193 6fe0cbef fetch 1 ,mem_mouse_multi_led_blink_timer 
+0194 1fe0ffff increase -1 ,pdata 
+0195 67e0cbef store 1 ,mem_mouse_multi_led_blink_timer 
+0196 247a0000 nrtn blank 
+0197 6fe0cbee fetch 1 ,mem_mouse_multi_led_blink_timer_init 
+0198 67e0cbef store 1 ,mem_mouse_multi_led_blink_timer 
+0199 6fe0cbf1 fetch 1 ,mem_mouse_multi_led_blink_count_limited 
+019a 203a019f branch p_mouse_multi_led_blink_count_no_limited ,blank 
+019b 6fe0cbf0 fetch 1 ,mem_mouse_multi_led_blink_count 
+019c 203a01a5 branch p_mouse_multi_led_blink_off ,blank 
+019d 1fe0ffff increase -1 ,pdata 
+019e 67e0cbf0 store 1 ,mem_mouse_multi_led_blink_count 
 
 p_mouse_multi_led_blink_count_no_limited:
-0161 6fe0cbea fetch 1 ,mem_mouse_multi_led_state 
-0162 c0008082 beq on ,p_mouse_low_voltage_led_off 
-0163 c000007f beq off ,p_mouse_low_voltage_led_on 
-0164 20600000 rtn 
+019f 6fe0cbea fetch 1 ,mem_mouse_multi_led_state 
+01a0 c0008084 beq on ,p_mouse_low_voltage_led_off 
+01a1 c0000081 beq off ,p_mouse_low_voltage_led_on 
+01a2 20600000 rtn 
 
 p_mouse_multi_led_on:
-0165 704bea01 jam on ,mem_mouse_multi_led_state 
-0166 2020007f branch p_mouse_low_voltage_led_on 
+01a3 704bea01 jam on ,mem_mouse_multi_led_state 
+01a4 20200081 branch p_mouse_low_voltage_led_on 
 
 p_mouse_multi_led_blink_off:
-0167 58000000 setarg 0 
-0168 67e1cbef store 3 ,mem_mouse_multi_led_blink_timer 
+01a5 58000000 setarg 0 
+01a6 67e1cbef store 3 ,mem_mouse_multi_led_blink_timer 
 
 p_mouse_multi_led_off:
-0169 6fe0cbf0 fetch 1 ,mem_mouse_multi_led_blink_count 
-016a 243a016d nbranch p_mouse_multi_led_off_wait_blink_over ,blank 
-016b 704be800 jam 0 ,mem_mouse_multi_led_blink_enable 
-016c 704beb00 jam 0 ,mem_mouse_multi_led_type 
+01a7 6fe0cbf0 fetch 1 ,mem_mouse_multi_led_blink_count 
+01a8 243a01ab nbranch p_mouse_multi_led_off_wait_blink_over ,blank 
+01a9 704be800 jam 0 ,mem_mouse_multi_led_blink_enable 
+01aa 704beb00 jam 0 ,mem_mouse_multi_led_type 
 
 p_mouse_multi_led_off_wait_blink_over:
-016d 704bec00 jam 0 ,mem_mouse_multi_led_on_timer 
-016e 704bea00 jam off ,mem_mouse_multi_led_state 
-016f 20200082 branch p_mouse_low_voltage_led_off 
+01ab 704bec00 jam 0 ,mem_mouse_multi_led_on_timer 
+01ac 704bea00 jam off ,mem_mouse_multi_led_state 
+01ad 20200084 branch p_mouse_low_voltage_led_off 
 
 p_mouse_mode_bt_device1_multi_led_on:
 
 p_mouse_mode_24g_device_multi_led_on:
-0170 704bf201 jam 1 ,mem_mouse_multi_led_on_poweron2s_flag 
-0171 704be801 jam on ,mem_mouse_multi_led_blink_enable 
-0172 704beb00 jam multi_led_on ,mem_mouse_multi_led_type 
-0173 704bec00 jam 0 ,mem_mouse_multi_led_on_timer 
-0174 20600000 rtn 
+01ae 704bf201 jam 1 ,mem_mouse_multi_led_on_poweron2s_flag 
+01af 704be801 jam on ,mem_mouse_multi_led_blink_enable 
+01b0 704beb00 jam multi_led_on ,mem_mouse_multi_led_type 
+01b1 704bec00 jam 0 ,mem_mouse_multi_led_on_timer 
+01b2 20600000 rtn 
 
 p_mouse_logo_led_on_timer:
-0175 6fe0cbe3 fetch 1 ,mem_mouse_logo_led_gpio 
-0176 c17f8000 rtneq gpio_disable 
-0177 6fe14be5 fetch 2 ,mem_mouse_logo_led_on_timer 
-0178 207a0000 rtn blank 
-0179 6848cbe3 fetcht 1 ,mem_mouse_logo_led_gpio 
-017a 20406069 call gpio_out_active 
-017b da604be5 arg mem_mouse_logo_led_on_timer ,regc 
-017c da40017e arg p_mouse_logo_led_on_timeout ,regb 
-017d 20203191 branch timer_single_step_2b 
+01b3 6fe0cbe3 fetch 1 ,mem_mouse_logo_led_gpio 
+01b4 c17f8000 rtneq gpio_disable 
+01b5 6fe14be5 fetch 2 ,mem_mouse_logo_led_on_timer 
+01b6 207a0000 rtn blank 
+01b7 6848cbe3 fetcht 1 ,mem_mouse_logo_led_gpio 
+01b8 20406069 call gpio_out_active 
+01b9 da604be5 arg mem_mouse_logo_led_on_timer ,regc 
+01ba da4001bc arg p_mouse_logo_led_on_timeout ,regb 
+01bb 20203191 branch timer_single_step_2b 
 
 p_mouse_logo_led_on_timeout:
-017e 58000000 setarg 0 
-017f 67e14be5 store 2 ,mem_mouse_logo_led_on_timer 
-0180 6848cbe3 fetcht 1 ,mem_mouse_logo_led_gpio 
-0181 20206065 branch gpio_out_inactive 
+01bc 58000000 setarg 0 
+01bd 67e14be5 store 2 ,mem_mouse_logo_led_on_timer 
+01be 6848cbe3 fetcht 1 ,mem_mouse_logo_led_gpio 
+01bf 20206065 branch gpio_out_inactive 
 
 p_mouse_dpi_led_blink_delay_timer:
-0182 da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
-0183 da400185 arg p_mouse_dpi_led_blink_init ,regb 
-0184 2020318a branch timer_single_step 
+01c0 da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
+01c1 da4001c3 arg p_mouse_dpi_led_blink_init ,regb 
+01c2 2020318a branch timer_single_step 
 
 p_mouse_dpi_led_blink_init:
-0185 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0186 c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
-0187 c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
-0188 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-0189 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
-018a 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
-018b 67e14930 store 2 ,mem_mouse_on_time 
-018c 67e14932 store 2 ,mem_mouse_off_time 
-018d da200000 arg 0 ,rega 
-018e 6848c992 fetcht 1 ,mem_mouse_dpi 
-018f 18408402 increase 2 ,temp 
-0190 18467c03 sub temp ,3 ,null 
-0191 20410194 call p_mouse_dpi_led_blink_init_level_4 ,positive 
-0192 24410198 ncall p_mouse_dpi_led_blink_count_clean ,positive 
-0193 202048ff branch mouse_dpi_led_blink_init_end 
+01c3 6fe0c927 fetch 1 ,mem_config_sensor_type 
+01c4 c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
+01c5 c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
+01c6 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+01c7 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
+01c8 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
+01c9 67e14930 store 2 ,mem_mouse_on_time 
+01ca 67e14932 store 2 ,mem_mouse_off_time 
+01cb da200000 arg 0 ,rega 
+01cc 6848c992 fetcht 1 ,mem_mouse_dpi 
+01cd 18408402 increase 2 ,temp 
+01ce 18467c03 sub temp ,3 ,null 
+01cf 204101d2 call p_mouse_dpi_led_blink_init_level_4 ,positive 
+01d0 244101d6 ncall p_mouse_dpi_led_blink_count_clean ,positive 
+01d1 202048ff branch mouse_dpi_led_blink_init_end 
 
 p_mouse_dpi_led_blink_init_level_4:
-0194 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0195 c40e0000 rtnbit0 mouse_enable_dpi_level_4 
-0196 18408401 increase 1 ,temp 
-0197 20600000 rtn 
+01d2 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+01d3 c40e0000 rtnbit0 mouse_enable_dpi_level_4 
+01d4 18408401 increase 1 ,temp 
+01d5 20600000 rtn 
 
 p_mouse_dpi_led_blink_count_clean:
-0198 184085fd increase -3 ,temp 
-0199 20600000 rtn 
+01d6 184085fd increase -3 ,temp 
+01d7 20600000 rtn 
 
 p_txon:
-019a 6fe0c1e8 fetch 1 ,mem_tx_power 
-019b c04f819d beq tx_power_pair ,p_set_tx_power_pair 
-019c 2020121f branch txon_next 
+01d8 6fe0c1e8 fetch 1 ,mem_tx_power 
+01d9 c04f81db beq tx_power_pair ,p_set_tx_power_pair 
+01da 2020121f branch txon_next 
 
 p_set_tx_power_pair:
-019d 708a3905 jam 0x05 ,core_tx_pwr_ctrl0 
-019e 708a3a00 jam 0x00 ,core_tx_pwr_ctrl1 
-019f 2020122a branch set_rf_ldo_cfg89 
+01db 708a3903 jam 0x03 ,core_tx_pwr_ctrl0 
+01dc 708a3a00 jam 0x00 ,core_tx_pwr_ctrl1 
+01dd 2020122a branch set_rf_ldo_cfg89 
               org 0x800
 
 start:
Index: output/ramcode.rom
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V40_Only2.4G_LRpair/output/ramcode.rom	(revision 4649)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V40_Only2.4G_LRpair/output/ramcode.rom	(working copy)
@@ -1,22 +1,24 @@
-c2840011
-c0000014
-c0018018
-c045019a
-c04580c2
-c04f80c0
-c0570091
-c0580085
-c06180a1
-c06480d5
-c06500e5
-c0660051
-c0670110
-c068012a
-c06b00f6
-c06c813b
+c2840013
+c0000016
+c001801a
+c04501d8
+c04580d5
+c04f80d3
+c0570093
+c0580087
+c06180a3
+c06480e8
+c06500f8
+c0660053
+c0670123
+c068013f
+c06880c2
+c069814a
+c06b0109
+c06c816d
 2020137c
-c0198031
-c01a0036
+c0198033
+c01a0038
 2020137c
 20800000
 204030f3
@@ -33,7 +35,7 @@
 20400b7b
 20400823
 204021d3
-20400025
+20400027
 20200813
 20401465
 6fe1c174
@@ -41,7 +43,7 @@
 6fe0c099
 207a0000
 6fe0c764
-203a002e
+203a0030
 6fe0c6b9
 207a0000
 6fe0c6ba
@@ -79,7 +81,7 @@
 708a9700
 62508a12
 20600000
-20400036
+20400038
 7048f600
 6fe0cbe7
 d8400000
@@ -91,7 +93,7 @@
 6fe0c4a4
 c2813f1a
 c280bf1c
-c3000060
+c3000062
 7048fa01
 20203ece
 d8e00004
@@ -100,7 +102,7 @@
 6fe0c8fa
 207a0000
 7048fa00
-20200082
+20200084
 6fe14ac2
 247a0000
 6fe14883
@@ -119,10 +121,10 @@
 1fe0fe01
 67e0c8f8
 1fe67c0a
-2441007d
+2441007f
 1fe67c05
-2021007f
-20200082
+20210081
+20200084
 7048f801
 20600000
 6fe0cbe7
@@ -142,9 +144,9 @@
 20405cdc
 6fe1446f
 20407e05
-20200085
+20200087
 20406df3
-20400098
+2040009a
 20403bf0
 204041a7
 20758000
@@ -152,7 +154,7 @@
 20203bc5
 6fe0cbe1
 207a0000
-20400170
+204001ae
 6fe0c913
 d8400040
 20406093
@@ -160,17 +162,17 @@
 d8400040
 20206093
 6fe0c938
-c00000a6
+c00000a8
 20403d65
 243442eb
 20203d59
-20400170
+204001ae
 6fe44bab
 c308c803
 6fe44bab
 c298480c
 c318c80c
-204000bb
+204000bd
 1fe17e07
 6848cbcb
 98467c00
@@ -183,13 +185,30 @@
 e8410006
 98467c00
 2442fe56
-c20000b6
+c20000b8
 20600000
 20404121
-20404115
+204000c2
 d8400000
 6049cb8e
 20600000
+6fe0cbe1
+245a4121
+da200000
+20404124
+2040412a
+20404130
+20404136
+2040414f
+704b8b00
+6fe0c9de
+245a417a
+6fe0cbf3
+245a00d1
+1a227e00
+20600000
+704bf300
+2020417d
 70008000
 202013b7
 708a8be6
@@ -203,19 +222,19 @@
 708a0f05
 708a8390
 6fe0c0c5
-c08400cf
+c08400e2
 708a0834
 708a01ff
 20000064
 708a020e
 708a0003
-2040019d
+204001db
 20201265
 204042e9
 20407fdc
 20404015
 6fe0c910
-c07f80de
+c07f80f1
 6848c910
 20406069
 6848c910
@@ -225,7 +244,7 @@
 6fe0c920
 d840003f
 20406093
-2040017e
+204001bc
 20203e36
 20403f88
 6fe0c91f
@@ -245,27 +264,27 @@
 6848c90f
 20206036
 1a627e00
-c01d00fa
-c01e0108
+c01d010d
+c01e011b
 20204336
 6fe0c8a5
 243a47e1
 6fe0c88b
-c0010101
+c0010114
 c0024844
 c001c849
 20204839
 6fe44bab
-c2978105
+c2978118
 c2984811
 20204806
-204000b2
+204000b4
 20344812
 20204806
 6fe2483c
 684a488d
 98467c00
-2022810e
+20228121
 67e24891
 67e24993
 204048c6
@@ -281,9 +300,11 @@
 6fe0c8d0
 1fe17e1f
 67e0c8d0
-2434011f
+6fe0cb8b
+245a7e54
+24340134
 2040471a
-20400122
+20400137
 20204544
 20404728
 704be400
@@ -297,8 +318,37 @@
 67e14be5
 20600000
 2040408f
-2040012d
-20204098
+2040015f
+6fe0c927
+c0028144
+20204099
+6fe0c992
+c00040a2
+c000c0a0
+c00140a4
+c001c0a6
+202040a0
+20403f65
+20758000
+20404236
+204041b5
+c0180154
+c018c217
+c02c4220
+204041b2
+20001af4
+2020014d
+6fe0c9c2
+c068c1da
+c02d0158
+202041be
+70492705
+20404232
+20407d12
+da604a39
+2020015d
+2040422b
+20200141
 6fe0c923
 c17f8000
 6fe14ac2
@@ -310,35 +360,47 @@
 6fe0cba7
 247a0000
 6fe0cbc1
-203a0185
+203a01c3
 67e0cba8
 20600000
 20403e9b
-20400067
+20400069
 2040232b
 20402556
 204047cd
 204048be
-20400182
-20400175
-20400145
+204001c0
+204001b3
+20400183
+20400178
 202044bd
+6fe44bab
+c2944080
+c29b017c
+20600000
+6fe0c9dd
+c1808000
+da604b9b
+da400181
+2020318a
+7049de01
+20600000
 6fe0cbe8
 207a0000
 6fe0cbeb
-c000014b
-c0008155
+c0000189
+c0008193
 20600000
-2040007f
+20400081
 6fe0cbec
 1fe0fe01
 67e0cbec
 6848cbed
 98467c00
-20428153
+20428191
 20600000
 704bf200
-20200167
+202001a5
 6fe0cbef
 1fe0ffff
 67e0cbef
@@ -346,26 +408,26 @@
 6fe0cbee
 67e0cbef
 6fe0cbf1
-203a0161
+203a019f
 6fe0cbf0
-203a0167
+203a01a5
 1fe0ffff
 67e0cbf0
 6fe0cbea
-c0008082
-c000007f
+c0008084
+c0000081
 20600000
 704bea01
-2020007f
+20200081
 58000000
 67e1cbef
 6fe0cbf0
-243a016d
+243a01ab
 704be800
 704beb00
 704bec00
 704bea00
-20200082
+20200084
 704bf201
 704be801
 704beb00
@@ -378,14 +440,14 @@
 6848cbe3
 20406069
 da604be5
-da40017e
+da4001bc
 20203191
 58000000
 67e14be5
 6848cbe3
 20206065
 da604ba8
-da400185
+da4001c3
 2020318a
 6fe0c927
 c001c8f2
@@ -399,8 +461,8 @@
 6848c992
 18408402
 18467c03
-20410194
-24410198
+204101d2
+244101d6
 202048ff
 6fe44bab
 c40e0000
@@ -409,8 +471,8 @@
 184085fd
 20600000
 6fe0c1e8
-c04f819d
+c04f81db
 2020121f
-708a3905
+708a3903
 708a3a00
 2020122a
Index: output/sched.rom
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V40_Only2.4G_LRpair/output/sched.rom	(revision 4649)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V40_Only2.4G_LRpair/output/sched.rom	(working copy)
@@ -25,7 +25,7 @@
 00   #mem_patch17
 08   #mem_patch18
 56   #mem_patch19
-41   #mem_patch1a
+4b   #mem_patch1a
 02   #mem_patch1b
 00   #mem_patch1c
 00   #mem_patch1d
@@ -67,7 +67,7 @@
 
 mem_device_option:08	#08 mouse
 
-mem_lpm_config:88 14 ce	#4khz
+mem_lpm_config:88 16 ce	#4khz
 mem_fcomp_div:18
 
 mem_rf_init_data:ff
@@ -160,7 +160,7 @@
 08    #24M
 
 #2.4g+ee/flash+adc+customize key select  1byte
-5a	#2.4g+eeprom
+7a	#2.4g+eeprom
 
 #sensor select  1byte
 00 #3level dpi+(2.4g:125+bt/ble:115)Hz
@@ -169,7 +169,7 @@
 02 #poweron
 
 #mode switch+pair/discovery  2byte 
-80 02 #dip(matrix)+2.4 first
+80 42 #dip(matrix)+2.4 first
 
 #updata 1byte
 03
@@ -192,8 +192,8 @@
 mem_matrix_public_gpio:08
 mem_sensor_motion_gpio:ff
 mem_customer_key_gpio:ff
-mem_whee_a_data_gpio:04
-mem_whee_b_data_gpio:05
+mem_whee_a_data_gpio:05
+mem_whee_b_data_gpio:04
 mem_config_device_24g_led_gpio:ff#03
 mem_config_device_bt1_led_gpio:ff
 mem_select_sensor_angle_gpio:ff
@@ -211,8 +211,8 @@
 mem_config_device_bt2_led_gpio:ff
 mem_dpi_led_gpio:ff#03
 
-mem_sensor_angle_default:03	#00--6CLK   01--9CLK   02--12CLK   03--3CLK
-mem_sensor_angle_switch:03	#00--6CLK   01--9CLK   02--12CLK   03--3CLK
+mem_sensor_angle_default:02	#00--6CLK   01--9CLK   02--12CLK   03--3CLK
+mem_sensor_angle_switch:02	#00--6CLK   01--9CLK   02--12CLK   03--3CLK
 mem_config_sensor_dpi:01		#00--1200   01--1600
 
 
@@ -228,13 +228,13 @@
 #03 ea 00 00 00 00 00 00 00 #VOL DOWN
 #02 01 00 00 00 00 00 00 00 #POWERDOWN
 #00 05 00 04 00 00 00 00 00#CTRL+ALT+A
-00 08 00 07 00 00 00 00 00#WIN+D
-
+#00 08 00 07 00 00 00 00 00#WIN+D
+00 0a 00 72 00 00 00 00 00#copilot=win+shift+f23
 mem_customer_key_release:
 #03 00 00 00 00 00 00 00 00 #MEDIA RELEASE
 #02 00 00 00 00 00 00 00 00 #SYSTEM CRTL RELEASE
-00 00 00 00 00 00 00 00 00#STANDARD KEY RELEASE
-
+#00 00 00 00 00 00 00 00 00#STANDARD KEY RELEASE
+00 00 00 00 00 00 00 00 00#copilot
 mem_lpm_mode:01
 
 
@@ -259,7 +259,7 @@
 mem_mouse_fast_page_to:60 06	# 1600*0.625ms = 1s
 mem_mouse_24g_power_on_fast_conn_timer:0a 00 #1s
 mem_mouse_24g_search_dongle_time_init: 64 00
-mem_mouse_no_data_timeout:b8 0b#5min 70 17 #10min
+mem_mouse_no_data_timeout:b8 0b#5min 
 
 mem_mouse_device_poweron_timer_count_init:14	#2s
 mem_mouse_dpi_led_delay_count_init:0a	#1s
@@ -270,7 +270,7 @@
 
 #bit0:mouse_key_l    bit1:mouse_key_r  bit2:mouse_key_m
 mem_mouse_commbination_key_bt:07
-mem_mouse_commbination_key_24g:03
+mem_mouse_commbination_key_24g:06
 
 mem_store_information_delay_timer_init:02
 
@@ -279,7 +279,7 @@
 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:1c 00		#1.5V
 11 00#mem_mouse_vdd_empty_vol  :0.9V
-15 00#mem_mouse_vdd_low_vol   :1.1V
+19 00#mem_mouse_vdd_low_vol   :1.1V
 mem_mouse_vdd_button_press_vol:10 00
 mem_mouse_vdd_switch_gnd_24g_vol:52 00
 mem_mouse_vdd_switch_gnd_full_vol:35 00
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V40_Only2.4G_LRpair/program/patch.prog	(revision 4649)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V40_Only2.4G_LRpair/program/patch.prog	(working copy)
@@ -13,6 +13,8 @@
 	beq patch19_4,p_mouse_adc_read_start
 	beq patch19_6,p_mouse_motion
 	beq patch1a_0,p_mouse_seting_dpi
+	beq patch1a_1,p_mouse_check_key_gpio
+	beq patch1a_3,p_mouse_init_sunt
 	beq patch1a_6,p_mouse_priority_bb_event
 	beq patch1b_1,p_mouse_bb_event_timer
 	branch loop
@@ -261,10 +263,31 @@
 
 p_mouse_key_check_once:
 	call mouse_check_key_gpio_once
-	call mouse_check_key_gpio
+	call p_mouse_check_key_gpio
 	arg 0,temp
 	storet 3,mem_mouse_lkey_press_status
 	rtn
+p_mouse_check_key_gpio:
+	fetch 1,mem_sensor_shutdown_flag
+	ncall mouse_check_key_gpio_once,blank
+	arg 0,rega
+	call mouse_check_lkey_gpio
+	call mouse_check_rkey_gpio
+	call mouse_check_mkey_gpio
+	call mouse_check_bkkey_gpio
+	call mouse_check_fwkey_gpio
+	jam 0,mem_customer_key
+	fetch 1,mem_mouse_dpi_long_press_flag
+	ncall mouse_customerkey_press,blank
+	fetch 1,mem_mouse_customerkey_finish
+	ncall p_mouse_customerkey_release,blank
+	copy rega,pdata
+	rtn
+
+p_mouse_customerkey_release:
+	jam 0,mem_mouse_customerkey_finish
+	branch mouse_customerkey_release
+
 
 p_init_param:
 	jam 0,mem_lmo_tid2			// classic can't reconnect
@@ -395,6 +418,8 @@
 	fetch 1,mem_mouse_key
 	and_into 0x1f,pdata
 	store 1,mem_mouse_key
+	fetch 1,mem_customer_key
+	ncall enable_user,blank
 	nbranch p_mouse_motion_nodata,user
 	call mouse_drawing_optima
 	call p_mouse_logo_led_on_check
@@ -420,7 +445,46 @@
 p_mouse_seting_dpi:
 	call mouse_setting_dpi_4_level
 	call p_mouse_dpi_led_blink_delay
-	branch mouse_seting_sensor_type
+p_mouse_seting_sensor_type:
+	fetch 1,mem_config_sensor_type
+	beq MX8650,p_mouse_setting_8650_dpi
+	branch mouse_seting_sensor_type+1
+p_mouse_setting_8650_dpi:
+	fetch 1,mem_mouse_dpi
+	beq MOUSE_DPI_LEVEL1,mouse_set_cpi0		//1200
+	beq MOUSE_DPI_LEVEL2,mouse_set_cpi1		//1600
+	beq MOUSE_DPI_LEVEL3,mouse_set_cpi2		//800
+	beq MOUSE_DPI_LEVEL4,mouse_set_cpi3		//1000
+	branch mouse_set_cpi1
+p_mouse_init_sunt:
+	call mouse_sensor_spi_init		
+	rtn wake
+p_mouse_init_sensor_wakeup:	
+	call mouse_sensor_poweron
+p_mouse_init_sensor:
+	call mouse_read_sensor_id
+	beq P32XX_ID1,p_mouse_init_p32xx_id2_judge
+	beq P3065_ID1,mouse_init_p3065
+	beq PKA8G2_ID1,mouse_ka8g2_id2_judge
+	call mouse_twspi_reset
+	nop 6900
+	branch p_mouse_init_sensor
+
+p_mouse_init_p32xx_id2_judge:
+	fetch 1,mem_sensor_id2
+	beq P3205_TJ3T_ID2,mouse_3205_3t_init_param
+	beq P_MX8650,p_mouse_mx8650_init_param
+	branch mouse_init_p32xx_id2_judge+2
+
+p_mouse_mx8650_init_param:
+	jam MX8650,mem_config_sensor_type
+	call mouse_sensor_reset
+	call delay_10ms
+	arg mem_sensor_8650_init,regc
+	branch p_mouse_sensor_end
+p_mouse_sensor_end:
+	call mouse_sensor_wr_seq
+	branch p_mouse_seting_sensor_type	
 
 p_mouse_dpi_led_blink_delay:
 	fetch 1,mem_dpi_led_gpio
@@ -450,8 +514,23 @@
 	call p_mouse_dpi_led_blink_delay_timer
 	call p_mouse_logo_led_on_timer
 	call p_mouse_multi_led_blink_timer
+	call p_mouse_dpi_key_check_long_press
 	branch mouse_bb_event_timer+8
 
+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_send_customer_by_dpi_button
+	rtn
+p_send_customer_by_dpi_button:
+	fetch 1,mem_mouse_dpi_button_state
+	rtnne DPI_BUTTON_STATE_DOWN	
+	arg mem_bt_discovery_count,regc
+	arg p_mouse_customerkey_press,regb
+	branch timer_single_step
+p_mouse_customerkey_press:
+	jam 1,mem_mouse_dpi_long_press_flag
+	rtn
 ///////////////////////////////////multi led start////////////////////////////////
 p_mouse_multi_led_blink_timer:
 	fetch 1,mem_mouse_multi_led_blink_enable
@@ -574,8 +653,8 @@
 	beq TX_POWER_PAIR,p_set_tx_power_pair
 	branch txon_next
 
-p_set_tx_power_pair:	//20cm distance
-	jam 0x05,core_tx_pwr_ctrl0
+p_set_tx_power_pair:	//60cm distance
+	jam 0x03,core_tx_pwr_ctrl0
 	jam 0x00,core_tx_pwr_ctrl1
 	branch set_rf_ldo_cfg89
 
Index: sched/mouse.dat
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V40_Only2.4G_LRpair/sched/mouse.dat	(revision 4649)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V40_Only2.4G_LRpair/sched/mouse.dat	(working copy)
@@ -1,6 +1,6 @@
 mem_device_option:08	#08 mouse
 
-mem_lpm_config:88 14 ce	#4khz
+mem_lpm_config:88 16 ce	#4khz
 mem_fcomp_div:18
 
 mem_rf_init_data:ff
@@ -93,7 +93,7 @@
 08    #24M
 
 #2.4g+ee/flash+adc+customize key select  1byte
-5a	#2.4g+eeprom
+7a	#2.4g+eeprom
 
 #sensor select  1byte
 00 #3level dpi+(2.4g:125+bt/ble:115)Hz
@@ -102,7 +102,7 @@
 02 #poweron
 
 #mode switch+pair/discovery  2byte 
-80 02 #dip(matrix)+2.4 first
+80 42 #dip(matrix)+2.4 first
 
 #updata 1byte
 03
@@ -125,8 +125,8 @@
 mem_matrix_public_gpio:08
 mem_sensor_motion_gpio:ff
 mem_customer_key_gpio:ff
-mem_whee_a_data_gpio:04
-mem_whee_b_data_gpio:05
+mem_whee_a_data_gpio:05
+mem_whee_b_data_gpio:04
 mem_config_device_24g_led_gpio:ff#03
 mem_config_device_bt1_led_gpio:ff
 mem_select_sensor_angle_gpio:ff
@@ -144,8 +144,8 @@
 mem_config_device_bt2_led_gpio:ff
 mem_dpi_led_gpio:ff#03
 
-mem_sensor_angle_default:03	#00--6CLK   01--9CLK   02--12CLK   03--3CLK
-mem_sensor_angle_switch:03	#00--6CLK   01--9CLK   02--12CLK   03--3CLK
+mem_sensor_angle_default:02	#00--6CLK   01--9CLK   02--12CLK   03--3CLK
+mem_sensor_angle_switch:02	#00--6CLK   01--9CLK   02--12CLK   03--3CLK
 mem_config_sensor_dpi:01		#00--1200   01--1600
 
 
@@ -161,13 +161,13 @@
 #03 ea 00 00 00 00 00 00 00 #VOL DOWN
 #02 01 00 00 00 00 00 00 00 #POWERDOWN
 #00 05 00 04 00 00 00 00 00#CTRL+ALT+A
-00 08 00 07 00 00 00 00 00#WIN+D
-
+#00 08 00 07 00 00 00 00 00#WIN+D
+00 0a 00 72 00 00 00 00 00#copilot=win+shift+f23
 mem_customer_key_release:
 #03 00 00 00 00 00 00 00 00 #MEDIA RELEASE
 #02 00 00 00 00 00 00 00 00 #SYSTEM CRTL RELEASE
-00 00 00 00 00 00 00 00 00#STANDARD KEY RELEASE
-
+#00 00 00 00 00 00 00 00 00#STANDARD KEY RELEASE
+00 00 00 00 00 00 00 00 00#copilot
 mem_lpm_mode:01
 
 
@@ -192,7 +192,7 @@
 mem_mouse_fast_page_to:60 06	# 1600*0.625ms = 1s
 mem_mouse_24g_power_on_fast_conn_timer:0a 00 #1s
 mem_mouse_24g_search_dongle_time_init: 64 00
-mem_mouse_no_data_timeout:b8 0b#5min 70 17 #10min
+mem_mouse_no_data_timeout:b8 0b#5min 
 
 mem_mouse_device_poweron_timer_count_init:14	#2s
 mem_mouse_dpi_led_delay_count_init:0a	#1s
@@ -203,7 +203,7 @@
 
 #bit0:mouse_key_l    bit1:mouse_key_r  bit2:mouse_key_m
 mem_mouse_commbination_key_bt:07
-mem_mouse_commbination_key_24g:03
+mem_mouse_commbination_key_24g:06
 
 mem_store_information_delay_timer_init:02
 
@@ -212,7 +212,7 @@
 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:1c 00		#1.5V
 11 00#mem_mouse_vdd_empty_vol  :0.9V
-15 00#mem_mouse_vdd_low_vol   :1.1V
+19 00#mem_mouse_vdd_low_vol   :1.1V
 mem_mouse_vdd_button_press_vol:10 00
 mem_mouse_vdd_switch_gnd_24g_vol:52 00
 mem_mouse_vdd_switch_gnd_full_vol:35 00
