Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/SlideSwitch_3mode_3ch_X11/output/eeprom.dat	(revision 1197)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/SlideSwitch_3mode_3ch_X11/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-3a
+6e
 0f
 c2
 84
@@ -59,7 +59,7 @@
 c0
 67
 03
-39
+38
 c0
 67
 82
@@ -71,11 +71,11 @@
 c0
 68
 83
-7f
+8c
 c0
 6a
 03
-65
+72
 c0
 6b
 01
@@ -83,23 +83,23 @@
 c0
 70
 82
-b2
+b1
 c0
 6c
 82
-48
+47
 c0
 6d
 02
-d4
+d3
 c0
 6f
 03
-b5
+c2
 c0
 74
 02
-eb
+ea
 20
 20
 13
@@ -115,15 +115,15 @@
 c0
 43
 82
-e7
+e6
 c0
 50
 82
-ff
+fe
 c0
 60
 03
-09
+08
 c0
 6e
 81
@@ -143,7 +143,7 @@
 c0
 76
 03
-30
+2f
 20
 20
 13
@@ -579,7 +579,7 @@
 20
 40
 03
-77
+84
 20
 20
 3b
@@ -931,7 +931,7 @@
 20
 20
 03
-77
+84
 20
 40
 26
@@ -1175,11 +1175,11 @@
 20
 40
 03
-70
+7d
 20
 40
 03
-77
+84
 20
 20
 3e
@@ -1199,7 +1199,7 @@
 20
 20
 02
-6a
+69
 20
 40
 42
@@ -1479,7 +1479,7 @@
 20
 40
 03
-77
+84
 20
 20
 01
@@ -2075,11 +2075,11 @@
 24
 54
 02
-70
+6f
 20
 40
 02
-e1
+e0
 6f
 e4
 4b
@@ -2199,7 +2199,7 @@
 1f
 e6
 7c
-05
+04
 20
 42
 82
@@ -2210,8 +2210,8 @@
 92
 20
 40
-40
-95
+02
+2b
 20
 20
 45
@@ -2239,7 +2239,7 @@
 20
 40
 02
-3a
+39
 20
 20
 02
@@ -2267,7 +2267,7 @@
 c0
 00
 c0
-c0
+c4
 c0
 01
 40
@@ -2275,15 +2275,11 @@
 c0
 01
 c0
-c4
 c0
-02
-40
-c6
 20
 20
 40
-c0
+c2
 6f
 e0
 c9
@@ -2331,7 +2327,7 @@
 20
 3a
 02
-8a
+89
 67
 e0
 cb
@@ -2363,19 +2359,19 @@
 20
 40
 02
-aa
+a9
 20
 40
 02
-87
+86
 20
 40
 02
-60
+5f
 20
 40
 02
-76
+75
 20
 40
 40
@@ -2387,7 +2383,7 @@
 20
 40
 02
-b4
+b3
 20
 40
 44
@@ -2403,7 +2399,7 @@
 20
 40
 02
-c9
+c8
 20
 40
 45
@@ -2435,7 +2431,7 @@
 20
 20
 02
-cc
+cb
 6f
 e0
 cb
@@ -2475,7 +2471,7 @@
 20
 21
 02
-70
+6f
 6f
 e0
 cb
@@ -2599,7 +2595,7 @@
 da
 40
 02
-8a
+89
 20
 20
 31
@@ -2611,7 +2607,7 @@
 c0
 01
 82
-9f
+9e
 c0
 05
 c8
@@ -2655,11 +2651,11 @@
 20
 41
 02
-99
+98
 24
 41
 02
-9d
+9c
 20
 20
 48
@@ -2779,7 +2775,7 @@
 c0
 00
 02
-ba
+b9
 6f
 e4
 4b
@@ -2795,7 +2791,7 @@
 20
 20
 02
-bd
+bc
 6f
 e4
 4b
@@ -2831,7 +2827,7 @@
 20
 22
 82
-c4
+c3
 20
 20
 44
@@ -2883,7 +2879,7 @@
 da
 40
 02
-d1
+d0
 20
 20
 31
@@ -2943,7 +2939,7 @@
 c2
 95
 02
-e1
+e0
 c2
 95
 be
@@ -3019,7 +3015,7 @@
 c0
 04
 82
-f3
+f2
 20
 20
 4d
@@ -3119,7 +3115,7 @@
 c0
 02
 03
-0c
+0b
 20
 20
 19
@@ -3135,11 +3131,11 @@
 c0
 05
 03
-11
+10
 c0
 09
 03
-20
+1f
 20
 20
 1c
@@ -3167,7 +3163,7 @@
 c2
 81
 83
-1b
+1a
 6f
 e1
 44
@@ -3195,11 +3191,11 @@
 24
 22
 83
-17
+16
 24
 34
 03
-17
+16
 20
 20
 1e
@@ -3323,11 +3319,11 @@
 20
 40
 03
-41
+40
 20
 40
 03
-47
+46
 20
 40
 02
@@ -3372,9 +3368,17 @@
 e0
 c9
 92
-c1
-81
-80
+c0
+01
+03
+4c
+c0
+01
+83
+4c
+20
+60
+00
 00
 6f
 e1
@@ -3383,7 +3387,7 @@
 20
 40
 03
-52
+53
 67
 e1
 48
@@ -3395,7 +3399,7 @@
 20
 40
 03
-52
+53
 67
 e1
 48
@@ -3407,11 +3411,11 @@
 c2
 85
 83
-55
+56
 c3
 05
 83
-59
+5a
 20
 60
 00
@@ -3423,7 +3427,7 @@
 20
 40
 03
-59
+5a
 1f
 e6
 7e
@@ -3433,6 +3437,30 @@
 00
 00
 1f
+e2
+26
+00
+6f
+e0
+c9
+92
+c0
+01
+03
+5f
+c0
+01
+83
+69
+20
+60
+00
+00
+1a
+62
+7e
+00
+1f
 e3
 04
 00
@@ -3459,7 +3487,7 @@
 24
 41
 03
-62
+6f
 6f
 e1
 4b
@@ -3468,6 +3496,30 @@
 60
 00
 00
+1a
+62
+7e
+00
+1f
+e3
+84
+00
+79
+3f
+84
+0e
+79
+3f
+84
+0f
+98
+40
+fe
+00
+20
+20
+03
+63
 58
 00
 07
@@ -3491,7 +3543,7 @@
 c0
 05
 83
-6c
+79
 20
 40
 42
@@ -3511,7 +3563,7 @@
 20
 40
 03
-73
+80
 da
 60
 4b
@@ -3531,7 +3583,7 @@
 c0
 05
 83
-73
+80
 20
 20
 42
@@ -3567,7 +3619,7 @@
 c0
 05
 83
-7d
+8a
 58
 00
 08
@@ -3599,23 +3651,23 @@
 20
 40
 03
-88
+95
 20
 40
 03
-8d
+9a
 20
 40
 03
-92
+9f
 20
 40
 03
-97
+a4
 20
 40
 03
-a4
+b1
 20
 20
 41
@@ -3627,7 +3679,7 @@
 20
 40
 03
-b1
+be
 20
 40
 41
@@ -3647,7 +3699,7 @@
 20
 40
 03
-b1
+be
 20
 40
 41
@@ -3667,7 +3719,7 @@
 20
 40
 03
-b1
+be
 20
 40
 41
@@ -3711,7 +3763,7 @@
 c0
 7f
 83
-a0
+ad
 20
 20
 41
@@ -3723,7 +3775,7 @@
 20
 40
 03
-b3
+c0
 68
 48
 c9
@@ -3763,7 +3815,7 @@
 c0
 7f
 83
-ad
+ba
 20
 20
 41
@@ -3775,7 +3827,7 @@
 20
 40
 03
-b3
+c0
 68
 48
 c9
@@ -3811,11 +3863,11 @@
 20
 40
 03
-ba
+c7
 20
 40
 02
-dd
+dc
 20
 20
 46
@@ -3851,7 +3903,7 @@
 20
 40
 03
-c3
+d0
 20
 20
 40
@@ -3879,7 +3931,7 @@
 c0
 7f
 83
-ca
+d7
 20
 20
 40
@@ -3891,7 +3943,7 @@
 20
 40
 03
-b3
+c0
 68
 48
 c9
@@ -3900,8 +3952,8 @@
 20
 41
 95
-5a
-60
+e9
+1b
 aa
 55
 40
@@ -5106,60 +5158,8 @@
 e8
 41
 01
-5d
-59
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+0f
+71
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-77
-66
+c8
+9d
Index: output/flash.dat
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/SlideSwitch_3mode_3ch_X11/output/flash.dat	(revision 1197)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/SlideSwitch_3mode_3ch_X11/output/flash.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-3a
+6e
 0f
 c2
 84
@@ -59,7 +59,7 @@
 c0
 67
 03
-39
+38
 c0
 67
 82
@@ -71,11 +71,11 @@
 c0
 68
 83
-7f
+8c
 c0
 6a
 03
-65
+72
 c0
 6b
 01
@@ -83,23 +83,23 @@
 c0
 70
 82
-b2
+b1
 c0
 6c
 82
-48
+47
 c0
 6d
 02
-d4
+d3
 c0
 6f
 03
-b5
+c2
 c0
 74
 02
-eb
+ea
 20
 20
 13
@@ -115,15 +115,15 @@
 c0
 43
 82
-e7
+e6
 c0
 50
 82
-ff
+fe
 c0
 60
 03
-09
+08
 c0
 6e
 81
@@ -143,7 +143,7 @@
 c0
 76
 03
-30
+2f
 20
 20
 13
@@ -579,7 +579,7 @@
 20
 40
 03
-77
+84
 20
 20
 3b
@@ -931,7 +931,7 @@
 20
 20
 03
-77
+84
 20
 40
 26
@@ -1175,11 +1175,11 @@
 20
 40
 03
-70
+7d
 20
 40
 03
-77
+84
 20
 20
 3e
@@ -1199,7 +1199,7 @@
 20
 20
 02
-6a
+69
 20
 40
 42
@@ -1479,7 +1479,7 @@
 20
 40
 03
-77
+84
 20
 20
 01
@@ -2075,11 +2075,11 @@
 24
 54
 02
-70
+6f
 20
 40
 02
-e1
+e0
 6f
 e4
 4b
@@ -2199,7 +2199,7 @@
 1f
 e6
 7c
-05
+04
 20
 42
 82
@@ -2210,8 +2210,8 @@
 92
 20
 40
-40
-95
+02
+2b
 20
 20
 45
@@ -2239,7 +2239,7 @@
 20
 40
 02
-3a
+39
 20
 20
 02
@@ -2267,7 +2267,7 @@
 c0
 00
 c0
-c0
+c4
 c0
 01
 40
@@ -2275,15 +2275,11 @@
 c0
 01
 c0
-c4
 c0
-02
-40
-c6
 20
 20
 40
-c0
+c2
 6f
 e0
 c9
@@ -2331,7 +2327,7 @@
 20
 3a
 02
-8a
+89
 67
 e0
 cb
@@ -2363,19 +2359,19 @@
 20
 40
 02
-aa
+a9
 20
 40
 02
-87
+86
 20
 40
 02
-60
+5f
 20
 40
 02
-76
+75
 20
 40
 40
@@ -2387,7 +2383,7 @@
 20
 40
 02
-b4
+b3
 20
 40
 44
@@ -2403,7 +2399,7 @@
 20
 40
 02
-c9
+c8
 20
 40
 45
@@ -2435,7 +2431,7 @@
 20
 20
 02
-cc
+cb
 6f
 e0
 cb
@@ -2475,7 +2471,7 @@
 20
 21
 02
-70
+6f
 6f
 e0
 cb
@@ -2599,7 +2595,7 @@
 da
 40
 02
-8a
+89
 20
 20
 31
@@ -2611,7 +2607,7 @@
 c0
 01
 82
-9f
+9e
 c0
 05
 c8
@@ -2655,11 +2651,11 @@
 20
 41
 02
-99
+98
 24
 41
 02
-9d
+9c
 20
 20
 48
@@ -2779,7 +2775,7 @@
 c0
 00
 02
-ba
+b9
 6f
 e4
 4b
@@ -2795,7 +2791,7 @@
 20
 20
 02
-bd
+bc
 6f
 e4
 4b
@@ -2831,7 +2827,7 @@
 20
 22
 82
-c4
+c3
 20
 20
 44
@@ -2883,7 +2879,7 @@
 da
 40
 02
-d1
+d0
 20
 20
 31
@@ -2943,7 +2939,7 @@
 c2
 95
 02
-e1
+e0
 c2
 95
 be
@@ -3019,7 +3015,7 @@
 c0
 04
 82
-f3
+f2
 20
 20
 4d
@@ -3119,7 +3115,7 @@
 c0
 02
 03
-0c
+0b
 20
 20
 19
@@ -3135,11 +3131,11 @@
 c0
 05
 03
-11
+10
 c0
 09
 03
-20
+1f
 20
 20
 1c
@@ -3167,7 +3163,7 @@
 c2
 81
 83
-1b
+1a
 6f
 e1
 44
@@ -3195,11 +3191,11 @@
 24
 22
 83
-17
+16
 24
 34
 03
-17
+16
 20
 20
 1e
@@ -3323,11 +3319,11 @@
 20
 40
 03
-41
+40
 20
 40
 03
-47
+46
 20
 40
 02
@@ -3372,9 +3368,17 @@
 e0
 c9
 92
-c1
-81
-80
+c0
+01
+03
+4c
+c0
+01
+83
+4c
+20
+60
+00
 00
 6f
 e1
@@ -3383,7 +3387,7 @@
 20
 40
 03
-52
+53
 67
 e1
 48
@@ -3395,7 +3399,7 @@
 20
 40
 03
-52
+53
 67
 e1
 48
@@ -3407,11 +3411,11 @@
 c2
 85
 83
-55
+56
 c3
 05
 83
-59
+5a
 20
 60
 00
@@ -3423,7 +3427,7 @@
 20
 40
 03
-59
+5a
 1f
 e6
 7e
@@ -3433,6 +3437,30 @@
 00
 00
 1f
+e2
+26
+00
+6f
+e0
+c9
+92
+c0
+01
+03
+5f
+c0
+01
+83
+69
+20
+60
+00
+00
+1a
+62
+7e
+00
+1f
 e3
 04
 00
@@ -3459,7 +3487,7 @@
 24
 41
 03
-62
+6f
 6f
 e1
 4b
@@ -3468,6 +3496,30 @@
 60
 00
 00
+1a
+62
+7e
+00
+1f
+e3
+84
+00
+79
+3f
+84
+0e
+79
+3f
+84
+0f
+98
+40
+fe
+00
+20
+20
+03
+63
 58
 00
 07
@@ -3491,7 +3543,7 @@
 c0
 05
 83
-6c
+79
 20
 40
 42
@@ -3511,7 +3563,7 @@
 20
 40
 03
-73
+80
 da
 60
 4b
@@ -3531,7 +3583,7 @@
 c0
 05
 83
-73
+80
 20
 20
 42
@@ -3567,7 +3619,7 @@
 c0
 05
 83
-7d
+8a
 58
 00
 08
@@ -3599,23 +3651,23 @@
 20
 40
 03
-88
+95
 20
 40
 03
-8d
+9a
 20
 40
 03
-92
+9f
 20
 40
 03
-97
+a4
 20
 40
 03
-a4
+b1
 20
 20
 41
@@ -3627,7 +3679,7 @@
 20
 40
 03
-b1
+be
 20
 40
 41
@@ -3647,7 +3699,7 @@
 20
 40
 03
-b1
+be
 20
 40
 41
@@ -3667,7 +3719,7 @@
 20
 40
 03
-b1
+be
 20
 40
 41
@@ -3711,7 +3763,7 @@
 c0
 7f
 83
-a0
+ad
 20
 20
 41
@@ -3723,7 +3775,7 @@
 20
 40
 03
-b3
+c0
 68
 48
 c9
@@ -3763,7 +3815,7 @@
 c0
 7f
 83
-ad
+ba
 20
 20
 41
@@ -3775,7 +3827,7 @@
 20
 40
 03
-b3
+c0
 68
 48
 c9
@@ -3811,11 +3863,11 @@
 20
 40
 03
-ba
+c7
 20
 40
 02
-dd
+dc
 20
 20
 46
@@ -3851,7 +3903,7 @@
 20
 40
 03
-c3
+d0
 20
 20
 40
@@ -3879,7 +3931,7 @@
 c0
 7f
 83
-ca
+d7
 20
 20
 40
@@ -3891,7 +3943,7 @@
 20
 40
 03
-b3
+c0
 68
 48
 c9
@@ -3900,8 +3952,8 @@
 20
 41
 95
-5a
-60
+e9
+1b
 aa
 55
 40
@@ -5106,60 +5158,8 @@
 e8
 41
 01
-5d
-59
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+0f
+71
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-77
-66
+c8
+9d
Index: output/program.lis
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/SlideSwitch_3mode_3ch_X11/output/program.lis	(revision 1197)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/SlideSwitch_3mode_3ch_X11/output/program.lis	(working copy)
@@ -13,30 +13,30 @@
 000a c064812b beq patch19_1 ,p_mouse_setgpio_hibernate 
 000b c065015e beq patch19_2 ,p_mouse_lpm_before_common 
 000c c0660068 beq patch19_4 ,p_mouse_adc_read_start 
-000d c0670339 beq patch19_6 ,p_mouse_motion 
+000d c0670338 beq patch19_6 ,p_mouse_motion 
 000e c0678218 beq patch19_7 ,p_mouse_dpi_process 
 000f c068022b beq patch1a_0 ,p_mouse_seting_dpi 
-0010 c068837f beq patch1a_1 ,p_mouse_check_key_gpio 
-0011 c06a0365 beq patch1a_4 ,p_mouse_sensor_poweron 
+0010 c068838c beq patch1a_1 ,p_mouse_check_key_gpio 
+0011 c06a0372 beq patch1a_4 ,p_mouse_sensor_poweron 
 0012 c06b017d beq patch1a_6 ,p_mouse_priority_bb_event 
-0013 c07082b2 beq patch1c_1 ,p_mouse_led_off 
-0014 c06c8248 beq patch1b_1 ,p_mouse_bb_event_timer 
-0015 c06d02d4 beq patch1b_2 ,p_mouse_start_discovery 
-0016 c06f03b5 beq patch1b_6 ,p_mouse_idle 
-0017 c07402eb beq patch1d_0 ,p_hid_rx_process 
+0013 c07082b1 beq patch1c_1 ,p_mouse_led_off 
+0014 c06c8247 beq patch1b_1 ,p_mouse_bb_event_timer 
+0015 c06d02d3 beq patch1b_2 ,p_mouse_start_discovery 
+0016 c06f03c2 beq patch1b_6 ,p_mouse_idle 
+0017 c07402ea beq patch1d_0 ,p_hid_rx_process 
 0018 2020137c branch loop 
 
 pf_patch_ext:
 0019 c0198048 beq patch26_3 ,p_adc_init_data 
 001a c01a004d beq patch26_4 ,p_enable_adc 
-001b c04382e7 beq patch30_7 ,p_ui_timer_check 
-001c c05082ff beq patch34_1 ,p_le_slave_match 
-001d c0600309 beq patch38_0 ,p_le_parse_l2cap 
+001b c04382e6 beq patch30_7 ,p_ui_timer_check 
+001c c05082fe beq patch34_1 ,p_le_slave_match 
+001d c0600308 beq patch38_0 ,p_le_parse_l2cap 
 001e c06e81f4 beq patch3b_5 ,p_g24_dispatch 
 001f c07101cf beq patch3c_2 ,p_g24_pair_dispatch 
 0020 c07481d7 beq patch3d_1 ,p_g24_reconn_dispatch 
 0021 c07500e8 beq patch3d_2 ,p_g24_transmit_no_interrupt 
-0022 c0760330 beq patch3d_4 ,p_g24_lpm_wait 
+0022 c076032f beq patch3d_4 ,p_g24_lpm_wait 
 0023 2020137c branch loop 
 
 p_soft_reset:
@@ -173,7 +173,7 @@
 008c 20403d8a call mouse_usb_check_enable 
 008d 20404728 call mouse_drawing_optima_init 
 008e 204000a3 call p_mouse_cb_fuction 
-008f 20400377 call p_mouse_sensor_powerdown 
+008f 20400384 call p_mouse_sensor_powerdown 
 0090 20203bc9 branch mouse_init + 8 
 
 p_mouse_setting_config:
@@ -285,7 +285,7 @@
 00e4 67e0cba4 store 1 ,mem_mouse_search_dongle_action 
 00e5 6fe14bbc fetch 2 ,mem_mouse_24g_search_dongle_time_init 
 00e6 67e14ab2 store 2 ,mem_mouse_no_data_timer 
-00e7 20200377 branch p_mouse_sensor_powerdown 
+00e7 20200384 branch p_mouse_sensor_powerdown 
 
 p_g24_transmit_no_interrupt:
 00e8 20402631 call g24_txdata_prep 
@@ -368,15 +368,15 @@
 0121 58000006 setarg pan_reg_config 
 0122 20405b0d call twspi_read 
 0123 c281be23 bbit1 3 ,mouse_app_enter_hibernate + 3 
-0124 20400370 call p_mouse_sensor_reset 
-0125 20400377 call p_mouse_sensor_powerdown 
+0124 2040037d call p_mouse_sensor_reset 
+0125 20400384 call p_mouse_sensor_powerdown 
 0126 20203e23 branch mouse_app_enter_hibernate + 3 
 
 p_mouse_app_enter_hibernate_wait_light_off:
 0127 58000000 setarg 0 
 0128 67e14ab2 store 2 ,mem_mouse_no_data_timer 
 0129 704be601 jam 1 ,mem_mouse_enter_hibernate_wait_light_off 
-012a 2020026a branch p_mouse_customer_led_off 
+012a 20200269 branch p_mouse_customer_led_off 
 
 p_mouse_setgpio_hibernate:
 012b 204042e9 call mouse_set_sdio_high 
@@ -462,7 +462,7 @@
 016d 67e2485c store 4 ,mem_24g_enter_hibernate 
 016e 58000000 setarg 0 
 016f 67e3c8d0 store 7 ,mem_mouse_key 
-0170 20400377 call p_mouse_sensor_powerdown 
+0170 20400384 call p_mouse_sensor_powerdown 
 0171 20200177 branch p_g24_long_sleep 
 
 p_g24_nodata_transmit:
@@ -659,8 +659,8 @@
 
 p_mouse_start_work:
 0204 20403d65 call mouse_wakeup_from_power_check 
-0205 24540270 ncall p_mouse_customer_led_on ,user 
-0206 204002e1 call p_mouse_check_select_device_by_switch_gpio 
+0205 2454026f ncall p_mouse_customer_led_on ,user 
+0206 204002e0 call p_mouse_check_select_device_by_switch_gpio 
 0207 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
 0208 c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
 0209 6fe0c938 fetch 1 ,mem_device_flag 
@@ -696,10 +696,10 @@
 p_mouse_3212_dpi_process:
 0222 6fe0c992 fetch 1 ,mem_mouse_dpi 
 0223 1fe0fe01 increase 1 ,pdata 
-0224 1fe67c05 sub pdata ,5 ,null 
+0224 1fe67c04 sub pdata ,4 ,null 
 0225 20428229 call p_mouse_dpi_recount ,zero 
 0226 67e0c992 store 1 ,mem_mouse_dpi 
-0227 20404095 call mouse_seting_dpi 
+0227 2040022b call p_mouse_seting_dpi 
 0228 202045ee branch mouse_store_device_info_delay 
 
 p_mouse_dpi_recount:
@@ -710,7 +710,7 @@
 022b 6fe0c927 fetch 1 ,mem_config_sensor_type 
 022c 1fe67c03 sub pdata ,p3212 ,null 
 022d 2442c08f ncall mouse_setting_dpi_4_level ,zero 
-022e 2040023a call p_mouse_dpi_led_blink_delay 
+022e 20400239 call p_mouse_dpi_led_blink_delay 
 022f 20200230 branch p_mouse_seting_sensor_type 
 
 p_mouse_seting_sensor_type:
@@ -721,537 +721,558 @@
 p_mouse_seting_3212_dpi:
 0233 6fe0c992 fetch 1 ,mem_mouse_dpi 
 0234 c00040c2 beq mouse_dpi_level1 ,mouse_set_p3212_cpi0 
-0235 c000c0c0 beq mouse_dpi_level2 ,mouse_set_p3212_cpi1 
+0235 c000c0c4 beq mouse_dpi_level2 ,mouse_set_p3212_cpi2 
 0236 c00140c4 beq mouse_dpi_level3 ,mouse_set_p3212_cpi2 
-0237 c001c0c4 beq mouse_dpi_level4 ,mouse_set_p3212_cpi2 
-0238 c00240c6 beq mouse_dpi_level5 ,mouse_set_p3212_cpi3 
-0239 202040c0 branch mouse_set_p3212_cpi1 
+0237 c001c0c0 beq mouse_dpi_level4 ,mouse_set_p3212_cpi1 
+0238 202040c2 branch mouse_set_p3212_cpi0 
 
 p_mouse_dpi_led_blink_delay:
-023a 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-023b c17f8000 rtneq gpio_disable 
-023c 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
-023d 247a0000 nrtn blank 
-023e 6fe14883 fetch 2 ,mem_24g_pair_timeout 
-023f 247a0000 nrtn blank 
-0240 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
-0241 247a0000 nrtn blank 
-0242 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
-0243 247a0000 nrtn blank 
-0244 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
-0245 203a028a branch p_mouse_dpi_led_blink_init ,blank 
-0246 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
-0247 20600000 rtn 
+0239 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+023a c17f8000 rtneq gpio_disable 
+023b 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
+023c 247a0000 nrtn blank 
+023d 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+023e 247a0000 nrtn blank 
+023f 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+0240 247a0000 nrtn blank 
+0241 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
+0242 247a0000 nrtn blank 
+0243 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
+0244 203a0289 branch p_mouse_dpi_led_blink_init ,blank 
+0245 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
+0246 20600000 rtn 
 
 p_mouse_bb_event_timer:
-0248 20403e9b call mouse_adc_read 
-0249 20404956 call mouse_low_voltage_led_timer 
-024a 2040232b call g24_pair_timeout_timer 
-024b 20402556 call g24_reconn_timeout_timer 
-024c 204047cd call mouse_24g_long_sleep_param_update_timer 
-024d 204002aa call p_mouse_device_poweron_timer 
-024e 20400287 call p_mouse_dpi_led_blink_delay_timer 
-024f 20400260 call p_mouse_customer_led_on_timer 
-0250 20400276 call p_mouse_customer_led_control 
-0251 2040407c call mouse_dpi_key_check_long_press 
-0252 204044cc call mouse_bt_discovery_check 
-0253 204002b4 call p_mouse_commbination_key_process 
-0254 204044ff call mouse_check_discovery_timeout_timer 
-0255 20404504 call mouse_check_direct_timeout_timer 
-0256 20404512 call mouse_le_enable_att_list_timer 
-0257 204002c9 call p_mouse_le_battery_updata_timer 
-0258 20404515 call mouse_le_send_smp_security_request_timer 
-0259 2040452a call mouse_check_hid_handshake_timer 
-025a 2040452d call mouse_bt_check_sniff_req_timeout_timer 
-025b 20404532 call mouse_check_reconnect_delay_long_sleep 
-025c 20404535 call mouse_current_mult_update_timer 
-025d 20404022 call mouse_wheel_trigger_timer 
-025e 20404547 call mouse_store_information_delay_timer 
-025f 202002cc branch p_mouse_check_no_data_timeout_timer 
+0247 20403e9b call mouse_adc_read 
+0248 20404956 call mouse_low_voltage_led_timer 
+0249 2040232b call g24_pair_timeout_timer 
+024a 20402556 call g24_reconn_timeout_timer 
+024b 204047cd call mouse_24g_long_sleep_param_update_timer 
+024c 204002a9 call p_mouse_device_poweron_timer 
+024d 20400286 call p_mouse_dpi_led_blink_delay_timer 
+024e 2040025f call p_mouse_customer_led_on_timer 
+024f 20400275 call p_mouse_customer_led_control 
+0250 2040407c call mouse_dpi_key_check_long_press 
+0251 204044cc call mouse_bt_discovery_check 
+0252 204002b3 call p_mouse_commbination_key_process 
+0253 204044ff call mouse_check_discovery_timeout_timer 
+0254 20404504 call mouse_check_direct_timeout_timer 
+0255 20404512 call mouse_le_enable_att_list_timer 
+0256 204002c8 call p_mouse_le_battery_updata_timer 
+0257 20404515 call mouse_le_send_smp_security_request_timer 
+0258 2040452a call mouse_check_hid_handshake_timer 
+0259 2040452d call mouse_bt_check_sniff_req_timeout_timer 
+025a 20404532 call mouse_check_reconnect_delay_long_sleep 
+025b 20404535 call mouse_current_mult_update_timer 
+025c 20404022 call mouse_wheel_trigger_timer 
+025d 20404547 call mouse_store_information_delay_timer 
+025e 202002cb branch p_mouse_check_no_data_timeout_timer 
 
 p_mouse_customer_led_on_timer:
-0260 6fe0cbe3 fetch 1 ,mem_mouse_light_gpio 
-0261 c17f8000 rtneq gpio_disable 
-0262 6fe14ab2 fetch 2 ,mem_mouse_no_data_timer 
-0263 207a0000 rtn blank 
-0264 6fe14bbe fetch 2 ,mem_mouse_no_data_timeout 
-0265 68494ab2 fetcht 2 ,mem_mouse_no_data_timer 
-0266 98460400 isub temp ,temp 
-0267 58000258 setarg 600 
-0268 98467e00 isub temp ,pdata 
-0269 20210270 branch p_mouse_customer_led_on ,positive 
+025f 6fe0cbe3 fetch 1 ,mem_mouse_light_gpio 
+0260 c17f8000 rtneq gpio_disable 
+0261 6fe14ab2 fetch 2 ,mem_mouse_no_data_timer 
+0262 207a0000 rtn blank 
+0263 6fe14bbe fetch 2 ,mem_mouse_no_data_timeout 
+0264 68494ab2 fetcht 2 ,mem_mouse_no_data_timer 
+0265 98460400 isub temp ,temp 
+0266 58000258 setarg 600 
+0267 98467e00 isub temp ,pdata 
+0268 2021026f branch p_mouse_customer_led_on ,positive 
 
 p_mouse_customer_led_off:
-026a 6fe0cbe4 fetch 1 ,mem_mouse_light_status 
-026b c1000000 rtneq off 
-026c 704be400 jam off ,mem_mouse_light_status 
-026d 704be520 jam 0x20 ,mem_mouse_light_timer 
-026e 6848cbe3 fetcht 1 ,mem_mouse_light_gpio 
-026f 20206069 branch gpio_out_active 
+0269 6fe0cbe4 fetch 1 ,mem_mouse_light_status 
+026a c1000000 rtneq off 
+026b 704be400 jam off ,mem_mouse_light_status 
+026c 704be520 jam 0x20 ,mem_mouse_light_timer 
+026d 6848cbe3 fetcht 1 ,mem_mouse_light_gpio 
+026e 20206069 branch gpio_out_active 
 
 p_mouse_customer_led_on:
-0270 6fe0cbe4 fetch 1 ,mem_mouse_light_status 
-0271 c1008000 rtneq on 
-0272 704be401 jam on ,mem_mouse_light_status 
-0273 704be50f jam 0x0f ,mem_mouse_light_timer 
-0274 6848cbe3 fetcht 1 ,mem_mouse_light_gpio 
-0275 20206069 branch gpio_out_active 
+026f 6fe0cbe4 fetch 1 ,mem_mouse_light_status 
+0270 c1008000 rtneq on 
+0271 704be401 jam on ,mem_mouse_light_status 
+0272 704be50f jam 0x0f ,mem_mouse_light_timer 
+0273 6848cbe3 fetcht 1 ,mem_mouse_light_gpio 
+0274 20206069 branch gpio_out_active 
 
 p_mouse_customer_led_control:
-0276 6fe0cbe5 fetch 1 ,mem_mouse_light_timer 
-0277 207a0000 rtn blank 
-0278 1fe0ffff increase -1 ,pdata 
-0279 67e0cbe5 store 1 ,mem_mouse_light_timer 
-027a 247a0000 nrtn blank 
-027b 6848cbe3 fetcht 1 ,mem_mouse_light_gpio 
-027c 20406065 call gpio_out_inactive 
-027d 6848cbe3 fetcht 1 ,mem_mouse_light_gpio 
-027e 20403f56 call mouse_gpio_config_input_pu 
-027f 6fe0cbe4 fetch 1 ,mem_mouse_light_status 
-0280 c1008000 rtneq on 
-0281 6fe0cbe6 fetch 1 ,mem_mouse_enter_hibernate_wait_light_off 
-0282 207a0000 rtn blank 
-0283 704be600 jam 0 ,mem_mouse_enter_hibernate_wait_light_off 
-0284 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-0285 243a016a nbranch p_mouse_24g_hibernate_set + 3 ,blank 
-0286 20200121 branch p_mouse_app_enter_hibernate + 2 
+0275 6fe0cbe5 fetch 1 ,mem_mouse_light_timer 
+0276 207a0000 rtn blank 
+0277 1fe0ffff increase -1 ,pdata 
+0278 67e0cbe5 store 1 ,mem_mouse_light_timer 
+0279 247a0000 nrtn blank 
+027a 6848cbe3 fetcht 1 ,mem_mouse_light_gpio 
+027b 20406065 call gpio_out_inactive 
+027c 6848cbe3 fetcht 1 ,mem_mouse_light_gpio 
+027d 20403f56 call mouse_gpio_config_input_pu 
+027e 6fe0cbe4 fetch 1 ,mem_mouse_light_status 
+027f c1008000 rtneq on 
+0280 6fe0cbe6 fetch 1 ,mem_mouse_enter_hibernate_wait_light_off 
+0281 207a0000 rtn blank 
+0282 704be600 jam 0 ,mem_mouse_enter_hibernate_wait_light_off 
+0283 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+0284 243a016a nbranch p_mouse_24g_hibernate_set + 3 ,blank 
+0285 20200121 branch p_mouse_app_enter_hibernate + 2 
 
 p_mouse_dpi_led_blink_delay_timer:
-0287 da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
-0288 da40028a arg p_mouse_dpi_led_blink_init ,regb 
-0289 2020318a branch timer_single_step 
+0286 da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
+0287 da400289 arg p_mouse_dpi_led_blink_init ,regb 
+0288 2020318a branch timer_single_step 
 
 p_mouse_dpi_led_blink_init:
-028a 6fe0c927 fetch 1 ,mem_config_sensor_type 
-028b c001829f beq p3212 ,p_mouse_3212_dpi_led_blink_init 
-028c c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
-028d 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-028e 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
-028f 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
-0290 67e14930 store 2 ,mem_mouse_on_time 
-0291 67e14932 store 2 ,mem_mouse_off_time 
-0292 da200000 arg 0 ,rega 
-0293 6848c992 fetcht 1 ,mem_mouse_dpi 
-0294 18408402 increase 2 ,temp 
-0295 18467c03 sub temp ,3 ,null 
-0296 20410299 call p_mouse_dpi_led_blink_init_level_4 ,positive 
-0297 2441029d ncall p_mouse_dpi_led_blink_count_clean ,positive 
-0298 202048ff branch mouse_dpi_led_blink_init_end 
+0289 6fe0c927 fetch 1 ,mem_config_sensor_type 
+028a c001829e beq p3212 ,p_mouse_3212_dpi_led_blink_init 
+028b c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
+028c 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+028d 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
+028e 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
+028f 67e14930 store 2 ,mem_mouse_on_time 
+0290 67e14932 store 2 ,mem_mouse_off_time 
+0291 da200000 arg 0 ,rega 
+0292 6848c992 fetcht 1 ,mem_mouse_dpi 
+0293 18408402 increase 2 ,temp 
+0294 18467c03 sub temp ,3 ,null 
+0295 20410298 call p_mouse_dpi_led_blink_init_level_4 ,positive 
+0296 2441029c ncall p_mouse_dpi_led_blink_count_clean ,positive 
+0297 202048ff branch mouse_dpi_led_blink_init_end 
 
 p_mouse_dpi_led_blink_init_level_4:
-0299 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-029a c40e0000 rtnbit0 mouse_enable_dpi_level_4 
-029b 18408401 increase 1 ,temp 
-029c 20600000 rtn 
+0298 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0299 c40e0000 rtnbit0 mouse_enable_dpi_level_4 
+029a 18408401 increase 1 ,temp 
+029b 20600000 rtn 
 
 p_mouse_dpi_led_blink_count_clean:
-029d 184085fd increase -3 ,temp 
-029e 20600000 rtn 
+029c 184085fd increase -3 ,temp 
+029d 20600000 rtn 
 
 p_mouse_3212_dpi_led_blink_init:
-029f 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-02a0 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
-02a1 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
-02a2 67e14930 store 2 ,mem_mouse_on_time 
-02a3 67e14932 store 2 ,mem_mouse_off_time 
-02a4 da200000 arg 0 ,rega 
-02a5 6848c992 fetcht 1 ,mem_mouse_dpi 
-02a6 18408402 increase 2 ,temp 
-02a7 18467c05 sub temp ,5 ,null 
-02a8 24414902 ncall mouse_dpi_led_blink_count_clean ,positive 
-02a9 202048ff branch mouse_dpi_led_blink_init_end 
+029e 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+029f 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
+02a0 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
+02a1 67e14930 store 2 ,mem_mouse_on_time 
+02a2 67e14932 store 2 ,mem_mouse_off_time 
+02a3 da200000 arg 0 ,rega 
+02a4 6848c992 fetcht 1 ,mem_mouse_dpi 
+02a5 18408402 increase 2 ,temp 
+02a6 18467c05 sub temp ,5 ,null 
+02a7 24414902 ncall mouse_dpi_led_blink_count_clean ,positive 
+02a8 202048ff branch mouse_dpi_led_blink_init_end 
 
 p_mouse_device_poweron_timer:
-02aa 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-02ab c4100000 rtnbit0 mouse_enable_power_on_led 
-02ac 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
-02ad 207a0000 rtn blank 
-02ae 1fe0ffff increase -1 ,pdata 
-02af 67e0cba7 store 1 ,mem_mouse_device_poweron_timer_count 
-02b0 203a4912 branch mouse_device_led_off ,blank 
-02b1 20204920 branch mouse_device_led_on 
+02a9 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+02aa c4100000 rtnbit0 mouse_enable_power_on_led 
+02ab 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
+02ac 207a0000 rtn blank 
+02ad 1fe0ffff increase -1 ,pdata 
+02ae 67e0cba7 store 1 ,mem_mouse_device_poweron_timer_count 
+02af 203a4912 branch mouse_device_led_off ,blank 
+02b0 20204920 branch mouse_device_led_on 
 
 p_mouse_led_off:
-02b2 1841047f and temp ,0x7f ,temp 
-02b3 2020492c branch mouse_led_off + 1 
+02b1 1841047f and temp ,0x7f ,temp 
+02b2 2020492c branch mouse_led_off + 1 
 
 p_mouse_commbination_key_process:
-02b4 6fe0c938 fetch 1 ,mem_device_flag 
-02b5 c00002ba beq mode_24g_device ,p_mouse_24g_commbination_key_process 
-02b6 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-02b7 c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
-02b8 6848cbca fetcht 1 ,mem_mouse_commbination_key_bt 
-02b9 202002bd branch p_mouse_commbination_key_start 
+02b3 6fe0c938 fetch 1 ,mem_device_flag 
+02b4 c00002b9 beq mode_24g_device ,p_mouse_24g_commbination_key_process 
+02b5 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+02b6 c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
+02b7 6848cbca fetcht 1 ,mem_mouse_commbination_key_bt 
+02b8 202002bc branch p_mouse_commbination_key_start 
 
 p_mouse_24g_commbination_key_process:
-02ba 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-02bb c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
-02bc 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
+02b9 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+02ba c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
+02bb 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
 
 p_mouse_commbination_key_start:
-02bd 6048cb9d storet 1 ,mem_mouse_commbination_key 
-02be 20404115 call mouse_check_key_gpio 
-02bf 1fe17e07 and pdata ,0x07 ,pdata 
-02c0 6848cb9d fetcht 1 ,mem_mouse_commbination_key 
-02c1 98467c00 isub temp ,null 
-02c2 202282c4 branch p_mouse_commbination_key_down ,zero 
-02c3 202044eb branch mouse_commbination_key_up 
+02bc 6048cb9d storet 1 ,mem_mouse_commbination_key 
+02bd 20404115 call mouse_check_key_gpio 
+02be 1fe17e07 and pdata ,0x07 ,pdata 
+02bf 6848cb9d fetcht 1 ,mem_mouse_commbination_key 
+02c0 98467c00 isub temp ,null 
+02c1 202282c3 branch p_mouse_commbination_key_down ,zero 
+02c2 202044eb branch mouse_commbination_key_up 
 
 p_mouse_commbination_key_down:
-02c4 204044f6 call mouse_combination_ui_timer 
-02c5 6fe0cb9f fetch 1 ,mem_commbination_key_statue 
-02c6 c1008000 rtneq commbination_key_state_down 
-02c7 704b9f01 jam commbination_key_state_down ,mem_commbination_key_statue 
-02c8 20600000 rtn 
+02c3 204044f6 call mouse_combination_ui_timer 
+02c4 6fe0cb9f fetch 1 ,mem_commbination_key_statue 
+02c5 c1008000 rtneq commbination_key_state_down 
+02c6 704b9f01 jam commbination_key_state_down ,mem_commbination_key_statue 
+02c7 20600000 rtn 
 
 p_mouse_le_battery_updata_timer:
-02c9 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-02ca c39d8000 rtnbit1 mouse_enable_le_battery_service_cancel 
-02cb 2020451f branch mouse_le_battery_updata_timer 
+02c8 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+02c9 c39d8000 rtnbit1 mouse_enable_le_battery_service_cancel 
+02ca 2020451f branch mouse_le_battery_updata_timer 
 
 p_mouse_check_no_data_timeout_timer:
-02cc 6fe0c92a fetch 1 ,mem_usb_addr 
-02cd c3838000 rtnbit1 7 
-02ce da604ab2 arg mem_mouse_no_data_timer ,regc 
-02cf da4002d1 arg p_mouse_check_no_data_timeout ,regb 
-02d0 20203191 branch timer_single_step_2b 
+02cb 6fe0c92a fetch 1 ,mem_usb_addr 
+02cc c3838000 rtnbit1 7 
+02cd da604ab2 arg mem_mouse_no_data_timer ,regc 
+02ce da4002d0 arg p_mouse_check_no_data_timeout ,regb 
+02cf 20203191 branch timer_single_step_2b 
 
 p_mouse_check_no_data_timeout:
-02d1 6fe0c938 fetch 1 ,mem_device_flag 
-02d2 c0000167 beq mode_24g_device ,p_mouse_24g_hibernate_set 
-02d3 2020431b branch mouse_disconnect 
+02d0 6fe0c938 fetch 1 ,mem_device_flag 
+02d1 c0000167 beq mode_24g_device ,p_mouse_24g_hibernate_set 
+02d2 2020431b branch mouse_disconnect 
 
 p_mouse_start_discovery:
-02d4 6fe1478c fetch 2 ,mem_ui_state_map 
-02d5 2feffe0b isolate1 ui_state_ble_adv ,pdata 
-02d6 2040c581 call mouse_stop_le_adv ,true 
-02d7 6fe1478c fetch 2 ,mem_ui_state_map 
-02d8 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
-02d9 2040c322 call mouse_cancel_reconnect ,true 
-02da 58000000 setarg 0 
-02db 67e14af2 store 2 ,mem_le_battery_level_updata_timer 
-02dc 20204554 branch mouse_start_discovery + 1 
+02d3 6fe1478c fetch 2 ,mem_ui_state_map 
+02d4 2feffe0b isolate1 ui_state_ble_adv ,pdata 
+02d5 2040c581 call mouse_stop_le_adv ,true 
+02d6 6fe1478c fetch 2 ,mem_ui_state_map 
+02d7 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
+02d8 2040c322 call mouse_cancel_reconnect ,true 
+02d9 58000000 setarg 0 
+02da 67e14af2 store 2 ,mem_le_battery_level_updata_timer 
+02db 20204554 branch mouse_start_discovery + 1 
 
 p_mouse_check_select_device_by_switch:
-02dd 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-02de c29502e1 bbit1 mouse_enable_select_device_by_switch_gpio ,p_mouse_check_select_device_by_switch_gpio 
-02df c295be9b bbit1 mouse_enable_select_device_by_switch_adc ,mouse_adc_read 
-02e0 20600000 rtn 
+02dc 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+02dd c29502e0 bbit1 mouse_enable_select_device_by_switch_gpio ,p_mouse_check_select_device_by_switch_gpio 
+02de c295be9b bbit1 mouse_enable_select_device_by_switch_adc ,mouse_adc_read 
+02df 20600000 rtn 
 
 p_mouse_check_select_device_by_switch_gpio:
-02e1 6848c91e fetcht 1 ,mem_device_switch_gpio 
-02e2 20403f54 call mouse_gpio_config_input_pd 
-02e3 6848c91e fetcht 1 ,mem_device_switch_gpio 
-02e4 20406059 call gpio_get_bit 
-02e5 2420c6ad nbranch mouse_check_select_24gdevice ,true 
-02e6 202046a9 branch mouse_select_btdevice 
+02e0 6848c91e fetcht 1 ,mem_device_switch_gpio 
+02e1 20403f54 call mouse_gpio_config_input_pd 
+02e2 6848c91e fetcht 1 ,mem_device_switch_gpio 
+02e3 20406059 call gpio_get_bit 
+02e4 2420c6ad nbranch mouse_check_select_24gdevice ,true 
+02e5 202046a9 branch mouse_select_btdevice 
 
 p_ui_timer_check:
-02e7 6fe0cbe2 fetch 1 ,mem_power_on_flag 
-02e8 245a7861 ncall ui_timer_init ,blank 
-02e9 704be200 jam 0 ,mem_power_on_flag 
-02ea 20207851 branch ui_timer_check + 1 
+02e6 6fe0cbe2 fetch 1 ,mem_power_on_flag 
+02e7 245a7861 ncall ui_timer_init ,blank 
+02e8 704be200 jam 0 ,mem_power_on_flag 
+02e9 20207851 branch ui_timer_check + 1 
 
 p_hid_rx_process:
-02eb 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
-02ec 1fe20c00 copy pdata ,contr 
-02ed efe08006 ifetch 1 ,contr 
-02ee 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
-02ef 1fe1040f and pdata ,0x0f ,temp 
-02f0 1ff1fe00 rshift4 pdata ,pdata 
-02f1 c00482f3 beq hid_type_set_idle ,p_hid_rx_process_handshake 
-02f2 20204d93 branch hid_rx_process + 7 
+02ea 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
+02eb 1fe20c00 copy pdata ,contr 
+02ec efe08006 ifetch 1 ,contr 
+02ed 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
+02ee 1fe1040f and pdata ,0x0f ,temp 
+02ef 1ff1fe00 rshift4 pdata ,pdata 
+02f0 c00482f2 beq hid_type_set_idle ,p_hid_rx_process_handshake 
+02f1 20204d93 branch hid_rx_process + 7 
 
 p_hid_rx_process_handshake:
-02f3 da200001 arg 1 ,rega 
-02f4 20404dc0 call hid_malloc_tx_buff 
-02f5 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
-02f6 e7e10005 istore 2 ,contw 
-02f7 58000000 setarg 0 
-02f8 e7e08005 istore 1 ,contw 
-02f9 70095001 jam 1 ,mem_ui_data_txbuff_length 
-02fa 6fe0c4e2 fetch 1 ,mem_hid_control_state 
-02fb 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
-02fc 67e0c4e2 store 1 ,mem_hid_control_state 
-02fd 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
-02fe 20207871 branch ui_ipc_send_event 
+02f2 da200001 arg 1 ,rega 
+02f3 20404dc0 call hid_malloc_tx_buff 
+02f4 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
+02f5 e7e10005 istore 2 ,contw 
+02f6 58000000 setarg 0 
+02f7 e7e08005 istore 1 ,contw 
+02f8 70095001 jam 1 ,mem_ui_data_txbuff_length 
+02f9 6fe0c4e2 fetch 1 ,mem_hid_control_state 
+02fa 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
+02fb 67e0c4e2 store 1 ,mem_hid_control_state 
+02fc 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
+02fd 20207871 branch ui_ipc_send_event 
 
 p_le_slave_match:
-02ff 6fe0c3dd fetch 1 ,mem_le_md_count 
-0300 1fe0fe01 pincrease 1 
-0301 67e0c3dd store 1 ,mem_le_md_count 
-0302 c006165a beq le_md_max_count ,le_slave_cont 
-0303 2040191b call le_acknowledge 
-0304 2040196a call le_prepare_tx 
-0305 6fe082bd fetch 1 ,mem_le_tx_phy 
-0306 2040168b call le_enable_phy_by_pdata 
-0307 20401838 call le_transmit 
-0308 20201655 branch le_slave_match + 10 
+02fe 6fe0c3dd fetch 1 ,mem_le_md_count 
+02ff 1fe0fe01 pincrease 1 
+0300 67e0c3dd store 1 ,mem_le_md_count 
+0301 c006165a beq le_md_max_count ,le_slave_cont 
+0302 2040191b call le_acknowledge 
+0303 2040196a call le_prepare_tx 
+0304 6fe082bd fetch 1 ,mem_le_tx_phy 
+0305 2040168b call le_enable_phy_by_pdata 
+0306 20401838 call le_transmit 
+0307 20201655 branch le_slave_match + 10 
 
 p_le_parse_l2cap:
-0309 efe10006 ifetch 2 ,contr 
-030a c002030c beq le_l2cap_cid_att ,p_le_parse_att 
-030b 202019e4 branch le_parse_l2cap + 10 
+0308 efe10006 ifetch 2 ,contr 
+0309 c002030b beq le_l2cap_cid_att ,p_le_parse_att 
+030a 202019e4 branch le_parse_l2cap + 10 
 
 p_le_parse_att:
-030c efe18006 ifetch 3 ,contr 
-030d 67e1c436 store 3 ,mem_le_att_opcode 
-030e c0050311 beq attop_read_request ,p_le_parse_att_read_request 
-030f c0090320 beq attop_write_request ,p_le_parse_att_write_request 
-0310 20201cd3 branch le_parse_att + 2 
+030b efe18006 ifetch 3 ,contr 
+030c 67e1c436 store 3 ,mem_le_att_opcode 
+030d c0050310 beq attop_read_request ,p_le_parse_att_read_request 
+030e c009031f beq attop_write_request ,p_le_parse_att_write_request 
+030f 20201cd3 branch le_parse_att + 2 
 
 p_le_parse_att_read_request:
-0311 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0312 c31d9de7 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
-0313 20401e8d call le_check_encrypt_state 
-0314 68494437 fetcht 2 ,mem_le_att_handle 
-0315 6fe0c3c0 fetch 1 ,mem_le_configuration 
-0316 c281831b bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
+0310 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0311 c31d9de7 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
+0312 20401e8d call le_check_encrypt_state 
+0313 68494437 fetcht 2 ,mem_le_att_handle 
+0314 6fe0c3c0 fetch 1 ,mem_le_configuration 
+0315 c281831a bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
 
 p_le_send_att_read_response:
-0317 6fe14437 fetch 2 ,mem_le_att_handle 
-0318 c0181ec8 beq 0x30 ,le_send_att_error_response_notfound 
-0319 68494437 fetcht 2 ,mem_le_att_handle 
-031a 20201deb branch le_send_att_read_response 
+0316 6fe14437 fetch 2 ,mem_le_att_handle 
+0317 c0181ec8 beq 0x30 ,le_send_att_error_response_notfound 
+0318 68494437 fetcht 2 ,mem_le_att_handle 
+0319 20201deb branch le_send_att_read_response 
 
 p_le_send_att_read_response_check_auth:
-031b 6fe143d1 fetch 2 ,mem_le_pairing_handle 
-031c 98467c00 isub temp ,null 
-031d 24228317 nbranch p_le_send_att_read_response ,zero 
-031e 24340317 nbranch p_le_send_att_read_response ,user 
-031f 20201e10 branch le_send_att_read_response_error_insufficient_auth 
+031a 6fe143d1 fetch 2 ,mem_le_pairing_handle 
+031b 98467c00 isub temp ,null 
+031c 24228316 nbranch p_le_send_att_read_response ,zero 
+031d 24340316 nbranch p_le_send_att_read_response ,user 
+031e 20201e10 branch le_send_att_read_response_error_insufficient_auth 
 
 p_le_parse_att_write_request:
-0320 18c22200 copy contr ,rega 
-0321 6fe143d4 fetch 2 ,mem_le_l2cap_size 
-0322 1fe0a5fd add pdata ,-3 ,regb 
-0323 20401a25 call le_writeatt_cb 
-0324 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-0325 c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
-0326 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
-0327 203a1e73 branch le_send_att_write_response_check_auth ,blank 
-0328 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
-0329 c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
-032a 5800001a setarg 0x001a 
-032b 68494437 fetcht 2 ,mem_le_att_handle 
-032c 98467c00 isub temp ,null 
-032d 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
-032e 7002d805 jam att_err_insufficient_authentication ,mem_le_err_code 
-032f 20201ec9 branch le_send_att_error_response 
+031f 18c22200 copy contr ,rega 
+0320 6fe143d4 fetch 2 ,mem_le_l2cap_size 
+0321 1fe0a5fd add pdata ,-3 ,regb 
+0322 20401a25 call le_writeatt_cb 
+0323 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+0324 c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
+0325 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
+0326 203a1e73 branch le_send_att_write_response_check_auth ,blank 
+0327 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
+0328 c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
+0329 5800001a setarg 0x001a 
+032a 68494437 fetcht 2 ,mem_le_att_handle 
+032b 98467c00 isub temp ,null 
+032c 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
+032d 7002d805 jam att_err_insufficient_authentication ,mem_le_err_code 
+032e 20201ec9 branch le_send_att_error_response 
 
 p_g24_lpm_wait:
-0330 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
-0331 245a26e1 ncall g24_transmit_by_interrupt_enable ,blank 
-0332 78347c00 enable user 
-0333 20401465 call lpo_calibration 
-0334 6fe1c174 fetch 3 ,mem_clks_per_lpo 
-0335 203a7e56 branch disable_user ,blank 
-0336 6fe0c099 fetch 1 ,mem_lpm_mode 
-0337 203a7e56 branch disable_user ,blank 
-0338 202026c4 branch g24_setgpio_lpm_before 
+032f 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
+0330 245a26e1 ncall g24_transmit_by_interrupt_enable ,blank 
+0331 78347c00 enable user 
+0332 20401465 call lpo_calibration 
+0333 6fe1c174 fetch 3 ,mem_clks_per_lpo 
+0334 203a7e56 branch disable_user ,blank 
+0335 6fe0c099 fetch 1 ,mem_lpm_mode 
+0336 203a7e56 branch disable_user ,blank 
+0337 202026c4 branch g24_setgpio_lpm_before 
 
 p_mouse_motion:
-0339 78547c00 disable user 
-033a 58000000 setarg 0 
-033b 67e348d1 store 6 ,mem_mouse_x 
-033c 20404240 call mouse_check_sensor_data 
-033d 20400341 call p_mouse_p3212_shutdown_smooth 
-033e 20400347 call p_mouse_data_zoom 
-033f 20400230 call p_mouse_seting_sensor_type 
-0340 20203f75 branch mouse_motion + 5 
+0338 78547c00 disable user 
+0339 58000000 setarg 0 
+033a 67e348d1 store 6 ,mem_mouse_x 
+033b 20404240 call mouse_check_sensor_data 
+033c 20400340 call p_mouse_p3212_shutdown_smooth 
+033d 20400346 call p_mouse_data_zoom 
+033e 20400230 call p_mouse_seting_sensor_type 
+033f 20203f75 branch mouse_motion + 5 
 
 p_mouse_p3212_shutdown_smooth:
-0341 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0342 c1818000 rtnne p3212 
-0343 d8e00038 arg mouse_enable_smoother ,queue 
-0344 204046f4 call mouse_disable_function_flag 
-0345 d8e00039 arg mouse_enable_xy_offset ,queue 
-0346 202046f4 branch mouse_disable_function_flag 
+0340 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0341 c1818000 rtnne p3212 
+0342 d8e00038 arg mouse_enable_smoother ,queue 
+0343 204046f4 call mouse_disable_function_flag 
+0344 d8e00039 arg mouse_enable_xy_offset ,queue 
+0345 202046f4 branch mouse_disable_function_flag 
 
 p_mouse_data_zoom:
-0347 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0348 c1818000 rtnne p3212 
-0349 6fe0c992 fetch 1 ,mem_mouse_dpi 
-034a c1818000 rtnne mouse_dpi_level4 
-034b 6fe148d1 fetch 2 ,mem_mouse_x 
-034c 20400352 call p_mouse_2400_zoom 
-034d 67e148d1 store 2 ,mem_mouse_x 
-034e 6fe148d3 fetch 2 ,mem_mouse_y 
-034f 20400352 call p_mouse_2400_zoom 
-0350 67e148d3 store 2 ,mem_mouse_y 
-0351 20600000 rtn 
+0346 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0347 c1818000 rtnne p3212 
+0348 6fe0c992 fetch 1 ,mem_mouse_dpi 
+0349 c001034c beq mouse_dpi_level3 ,p_mouse_data_zoom_next 
+034a c001834c beq mouse_dpi_level4 ,p_mouse_data_zoom_next 
+034b 20600000 rtn 
+
+p_mouse_data_zoom_next:
+034c 6fe148d1 fetch 2 ,mem_mouse_x 
+034d 20400353 call p_mouse_2400_zoom 
+034e 67e148d1 store 2 ,mem_mouse_x 
+034f 6fe148d3 fetch 2 ,mem_mouse_y 
+0350 20400353 call p_mouse_2400_zoom 
+0351 67e148d3 store 2 ,mem_mouse_y 
+0352 20600000 rtn 
 
 p_mouse_2400_zoom:
-0352 c2858355 bbit1 11 ,p_mouse_xy_inverse 
-0353 c3058359 bbit0 11 ,p_mouse_xy_zoom 
-0354 20600000 rtn 
+0353 c2858356 bbit1 11 ,p_mouse_xy_inverse 
+0354 c305835a bbit0 11 ,p_mouse_xy_zoom 
+0355 20600000 rtn 
 
 p_mouse_xy_inverse:
-0355 1fe67e00 sub pdata ,0 ,pdata 
-0356 20400359 call p_mouse_xy_zoom 
-0357 1fe67e00 sub pdata ,0 ,pdata 
-0358 20600000 rtn 
+0356 1fe67e00 sub pdata ,0 ,pdata 
+0357 2040035a call p_mouse_xy_zoom 
+0358 1fe67e00 sub pdata ,0 ,pdata 
+0359 20600000 rtn 
 
 p_mouse_xy_zoom:
-0359 1fe30400 rshift pdata ,temp 
-035a 793f840f set0 15 ,temp 
-035b 9840fe00 iadd temp ,pdata 
-035c 67e14bf3 store 2 ,mem_mouse_temp_data 
-035d 6fe0cbf4 fetch 1 ,mem_mouse_temp_data + 1 
-035e 1fe67c07 sub pdata ,0x7 ,null 
-035f 24410362 ncall p_mouse_xy_forward_overflow ,positive 
-0360 6fe14bf3 fetch 2 ,mem_mouse_temp_data 
-0361 20600000 rtn 
+035a 1fe22600 copy pdata ,regc 
+035b 6fe0c992 fetch 1 ,mem_mouse_dpi 
+035c c001035f beq mouse_dpi_level3 ,p_mouse_xy_zoom1 
+035d c0018369 beq mouse_dpi_level4 ,p_mouse_xy_zoom2 
+035e 20600000 rtn 
+
+p_mouse_xy_zoom1:
+035f 1a627e00 copy regc ,pdata 
+0360 1fe30400 rshift pdata ,temp 
+0361 793f840f set0 15 ,temp 
+0362 9840fe00 iadd temp ,pdata 
 
-p_mouse_xy_forward_overflow:
-0362 580007ff setarg 0x7ff 
+p_mouse_xy_zoom_next:
 0363 67e14bf3 store 2 ,mem_mouse_temp_data 
-0364 20600000 rtn 
+0364 6fe0cbf4 fetch 1 ,mem_mouse_temp_data + 1 
+0365 1fe67c07 sub pdata ,0x7 ,null 
+0366 2441036f ncall p_mouse_xy_forward_overflow ,positive 
+0367 6fe14bf3 fetch 2 ,mem_mouse_temp_data 
+0368 20600000 rtn 
+
+p_mouse_xy_zoom2:
+0369 1a627e00 copy regc ,pdata 
+036a 1fe38400 lshift pdata ,temp 
+036b 793f840e set0 14 ,temp 
+036c 793f840f set0 15 ,temp 
+036d 9840fe00 iadd temp ,pdata 
+036e 20200363 branch p_mouse_xy_zoom_next 
+
+p_mouse_xy_forward_overflow:
+036f 580007ff setarg 0x7ff 
+0370 67e14bf3 store 2 ,mem_mouse_temp_data 
+0371 20600000 rtn 
 
 p_mouse_sensor_poweron:
-0365 20403f65 call mouse_sensor_spi_init 
-0366 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0367 c005836c beq ka8g2 ,p_mouse_ka8g2_sensor_init 
-0368 20404232 call mouse_sensor_reset 
-0369 da604aa3 arg mem_sensor_poweron_init ,regc 
-036a 2040422b call mouse_sensor_wr_seq 
-036b 20200230 branch p_mouse_seting_sensor_type 
+0372 20403f65 call mouse_sensor_spi_init 
+0373 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0374 c0058379 beq ka8g2 ,p_mouse_ka8g2_sensor_init 
+0375 20404232 call mouse_sensor_reset 
+0376 da604aa3 arg mem_sensor_poweron_init ,regc 
+0377 2040422b call mouse_sensor_wr_seq 
+0378 20200230 branch p_mouse_seting_sensor_type 
 
 p_mouse_ka8g2_sensor_init:
-036c 20400373 call p_mouse_ka8g2_sensor_reset 
-036d da604be7 arg mem_ka8g2_sensor_poweron_init ,regc 
-036e 2040422b call mouse_sensor_wr_seq 
-036f 20200230 branch p_mouse_seting_sensor_type 
+0379 20400380 call p_mouse_ka8g2_sensor_reset 
+037a da604be7 arg mem_ka8g2_sensor_poweron_init ,regc 
+037b 2040422b call mouse_sensor_wr_seq 
+037c 20200230 branch p_mouse_seting_sensor_type 
 
 p_mouse_sensor_reset:
-0370 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0371 c0058373 beq ka8g2 ,p_mouse_ka8g2_sensor_reset 
-0372 20204232 branch mouse_sensor_reset 
+037d 6fe0c927 fetch 1 ,mem_config_sensor_type 
+037e c0058380 beq ka8g2 ,p_mouse_ka8g2_sensor_reset 
+037f 20204232 branch mouse_sensor_reset 
 
 p_mouse_ka8g2_sensor_reset:
-0373 58009706 setarg 0x9706 
-0374 20405b0c call twspi_write 
-0375 20002ee0 nop 12000 
-0376 20600000 rtn 
+0380 58009706 setarg 0x9706 
+0381 20405b0c call twspi_write 
+0382 20002ee0 nop 12000 
+0383 20600000 rtn 
 
 p_mouse_sensor_powerdown:
-0377 204041a7 call mouse_init_sunt 
-0378 20403f65 call mouse_sensor_spi_init 
-0379 6fe0c927 fetch 1 ,mem_config_sensor_type 
-037a c005837d beq ka8g2 ,p_mouse_ka8g2_sensor_powerdown 
-037b 58000806 setarg 0x0806 
-037c 20205b0c branch twspi_write 
+0384 204041a7 call mouse_init_sunt 
+0385 20403f65 call mouse_sensor_spi_init 
+0386 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0387 c005838a beq ka8g2 ,p_mouse_ka8g2_sensor_powerdown 
+0388 58000806 setarg 0x0806 
+0389 20205b0c branch twspi_write 
 
 p_mouse_ka8g2_sensor_powerdown:
-037d 58001f06 setarg 0x1f06 
-037e 20205b0c branch twspi_write 
+038a 58001f06 setarg 0x1f06 
+038b 20205b0c branch twspi_write 
 
 p_mouse_check_key_gpio:
-037f 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-0380 245a4121 ncall mouse_check_key_gpio_once ,blank 
-0381 da200000 arg 0 ,rega 
-0382 20400388 call p_mouse_check_lkey_gpio 
-0383 2040038d call p_mouse_check_rkey_gpio 
-0384 20400392 call p_mouse_check_mkey_gpio 
-0385 20400397 call p_mouse_check_bkkey_gpio 
-0386 204003a4 call p_mouse_check_fwkey_gpio 
-0387 2020411e branch mouse_check_key_gpio_next 
+038c 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+038d 245a4121 ncall mouse_check_key_gpio_once ,blank 
+038e da200000 arg 0 ,rega 
+038f 20400395 call p_mouse_check_lkey_gpio 
+0390 2040039a call p_mouse_check_rkey_gpio 
+0391 2040039f call p_mouse_check_mkey_gpio 
+0392 204003a4 call p_mouse_check_bkkey_gpio 
+0393 204003b1 call p_mouse_check_fwkey_gpio 
+0394 2020411e branch mouse_check_key_gpio_next 
 
 p_mouse_check_lkey_gpio:
-0388 6fe0c918 fetch 1 ,mem_lbutton_gpio 
-0389 204003b1 call p_mouse_gpio_config_output_high 
-038a 20404124 call mouse_check_lkey_gpio 
-038b 6848c918 fetcht 1 ,mem_lbutton_gpio 
-038c 20203f56 branch mouse_gpio_config_input_pu 
+0395 6fe0c918 fetch 1 ,mem_lbutton_gpio 
+0396 204003be call p_mouse_gpio_config_output_high 
+0397 20404124 call mouse_check_lkey_gpio 
+0398 6848c918 fetcht 1 ,mem_lbutton_gpio 
+0399 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_rkey_gpio:
-038d 6fe0c919 fetch 1 ,mem_rbutton_gpio 
-038e 204003b1 call p_mouse_gpio_config_output_high 
-038f 2040412a call mouse_check_rkey_gpio 
-0390 6848c919 fetcht 1 ,mem_rbutton_gpio 
-0391 20203f56 branch mouse_gpio_config_input_pu 
+039a 6fe0c919 fetch 1 ,mem_rbutton_gpio 
+039b 204003be call p_mouse_gpio_config_output_high 
+039c 2040412a call mouse_check_rkey_gpio 
+039d 6848c919 fetcht 1 ,mem_rbutton_gpio 
+039e 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_mkey_gpio:
-0392 6fe0c91a fetch 1 ,mem_mbutton_gpio 
-0393 204003b1 call p_mouse_gpio_config_output_high 
-0394 20404130 call mouse_check_mkey_gpio 
-0395 6848c91a fetcht 1 ,mem_mbutton_gpio 
-0396 20203f56 branch mouse_gpio_config_input_pu 
+039f 6fe0c91a fetch 1 ,mem_mbutton_gpio 
+03a0 204003be call p_mouse_gpio_config_output_high 
+03a1 20404130 call mouse_check_mkey_gpio 
+03a2 6848c91a fetcht 1 ,mem_mbutton_gpio 
+03a3 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_bkkey_gpio:
-0397 6fe0c90d fetch 1 ,mem_bk_button_gpio 
-0398 c17f8000 rtneq gpio_disable 
-0399 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
-039a 6fe0cb91 fetch 1 ,mem_mouse_bkkey_press_status 
-039b 1fe22600 copy pdata ,regc 
-039c 6848c90d fetcht 1 ,mem_bk_button_gpio 
-039d 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-039e c07f83a0 beq gpio_disable ,p_mouse_3io6key_bk_check 
-039f 2020413e branch mouse_check_bkkey_gpio_next 
+03a4 6fe0c90d fetch 1 ,mem_bk_button_gpio 
+03a5 c17f8000 rtneq gpio_disable 
+03a6 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
+03a7 6fe0cb91 fetch 1 ,mem_mouse_bkkey_press_status 
+03a8 1fe22600 copy pdata ,regc 
+03a9 6848c90d fetcht 1 ,mem_bk_button_gpio 
+03aa 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+03ab c07f83ad beq gpio_disable ,p_mouse_3io6key_bk_check 
+03ac 2020413e branch mouse_check_bkkey_gpio_next 
 
 p_mouse_3io6key_bk_check:
-03a0 6fe0c90d fetch 1 ,mem_bk_button_gpio 
-03a1 204003b3 call p_mouse_gpio_config_output_low 
-03a2 6848c90d fetcht 1 ,mem_bk_button_gpio 
-03a3 2020414b branch mouse_3io6key_bk_check 
+03ad 6fe0c90d fetch 1 ,mem_bk_button_gpio 
+03ae 204003c0 call p_mouse_gpio_config_output_low 
+03af 6848c90d fetcht 1 ,mem_bk_button_gpio 
+03b0 2020414b branch mouse_3io6key_bk_check 
 
 p_mouse_check_fwkey_gpio:
-03a4 6fe0c90e fetch 1 ,mem_fw_button_gpio 
-03a5 c17f8000 rtneq gpio_disable 
-03a6 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
-03a7 6fe0cb92 fetch 1 ,mem_mouse_fwkey_press_status 
-03a8 1fe22600 copy pdata ,regc 
-03a9 6848c90e fetcht 1 ,mem_fw_button_gpio 
-03aa 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-03ab c07f83ad beq gpio_disable ,p_mouse_3io6key_fw_check 
-03ac 20204157 branch mouse_check_fwkey_gpio_next 
+03b1 6fe0c90e fetch 1 ,mem_fw_button_gpio 
+03b2 c17f8000 rtneq gpio_disable 
+03b3 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
+03b4 6fe0cb92 fetch 1 ,mem_mouse_fwkey_press_status 
+03b5 1fe22600 copy pdata ,regc 
+03b6 6848c90e fetcht 1 ,mem_fw_button_gpio 
+03b7 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+03b8 c07f83ba beq gpio_disable ,p_mouse_3io6key_fw_check 
+03b9 20204157 branch mouse_check_fwkey_gpio_next 
 
 p_mouse_3io6key_fw_check:
-03ad 6fe0c90e fetch 1 ,mem_fw_button_gpio 
-03ae 204003b3 call p_mouse_gpio_config_output_low 
-03af 6848c90e fetcht 1 ,mem_fw_button_gpio 
-03b0 20204164 branch mouse_3io6key_fw_check 
+03ba 6fe0c90e fetch 1 ,mem_fw_button_gpio 
+03bb 204003c0 call p_mouse_gpio_config_output_low 
+03bc 6848c90e fetcht 1 ,mem_fw_button_gpio 
+03bd 20204164 branch mouse_3io6key_fw_check 
 
 p_mouse_gpio_config_output_high:
-03b1 d840003f arg gpcfg_output_high ,temp 
-03b2 20206093 branch gpio_config_function_int 
+03be d840003f arg gpcfg_output_high ,temp 
+03bf 20206093 branch gpio_config_function_int 
 
 p_mouse_gpio_config_output_low:
-03b3 d840003e arg gpcfg_output_low ,temp 
-03b4 20206093 branch gpio_config_function_int 
+03c0 d840003e arg gpcfg_output_low ,temp 
+03c1 20206093 branch gpio_config_function_int 
 
 p_mouse_idle:
-03b5 20404990 call mouse_low_voltage_led_no_enter_lpm 
-03b6 20407936 call ui_check_paring_button 
-03b7 204003ba call p_mouse_dpi_check 
-03b8 204002dd call p_mouse_check_select_device_by_switch 
-03b9 20204651 branch mouse_idle + 6 
+03c2 20404990 call mouse_low_voltage_led_no_enter_lpm 
+03c3 20407936 call ui_check_paring_button 
+03c4 204003c7 call p_mouse_dpi_check 
+03c5 204002dc call p_mouse_check_select_device_by_switch 
+03c6 20204651 branch mouse_idle + 6 
 
 p_mouse_dpi_check:
-03ba 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-03bb c2974036 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
-03bc 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
-03bd c17f8000 rtneq gpio_disable 
-03be da200000 arg 0 ,rega 
-03bf 704b9605 jam mouse_dpi_key ,mem_mouse_key_temp 
-03c0 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-03c1 204003c3 call p_mouse_dpi_key_check 
-03c2 2020402f branch mouse_dpi_check_next 
+03c7 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+03c8 c2974036 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
+03c9 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
+03ca c17f8000 rtneq gpio_disable 
+03cb da200000 arg 0 ,rega 
+03cc 704b9605 jam mouse_dpi_key ,mem_mouse_key_temp 
+03cd 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+03ce 204003d0 call p_mouse_dpi_key_check 
+03cf 2020402f branch mouse_dpi_check_next 
 
 p_mouse_dpi_key_check:
-03c3 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-03c4 c2964048 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
-03c5 6fe0cb93 fetch 1 ,mem_mouse_dpikey_press_status 
-03c6 1fe22600 copy pdata ,regc 
-03c7 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-03c8 c07f83ca beq gpio_disable ,p_mouse_3io6key_dpi_check 
-03c9 2020403f branch mouse_dpi_key_check_next 
+03d0 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+03d1 c2964048 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
+03d2 6fe0cb93 fetch 1 ,mem_mouse_dpikey_press_status 
+03d3 1fe22600 copy pdata ,regc 
+03d4 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+03d5 c07f83d7 beq gpio_disable ,p_mouse_3io6key_dpi_check 
+03d6 2020403f branch mouse_dpi_key_check_next 
 
 p_mouse_3io6key_dpi_check:
-03ca 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
-03cb 204003b3 call p_mouse_gpio_config_output_low 
-03cc 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-03cd 20204195 branch mouse_3io6key_check 
+03d7 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
+03d8 204003c0 call p_mouse_gpio_config_output_low 
+03d9 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+03da 20204195 branch mouse_3io6key_check 
               org 0x800
 
 start:
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/SlideSwitch_3mode_3ch_X11/program/patch.prog	(revision 1197)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/SlideSwitch_3mode_3ch_X11/program/patch.prog	(working copy)
@@ -716,10 +716,10 @@
 p_mouse_3212_dpi_process:
 	fetch 1,mem_mouse_dpi
 	increase 1,pdata
-	sub pdata,5,null
+	sub pdata,4,null
 	call p_mouse_dpi_recount,zero
 	store 1,mem_mouse_dpi
-	call mouse_seting_dpi
+	call p_mouse_seting_dpi
 	branch mouse_store_device_info_delay
 
 p_mouse_dpi_recount:
@@ -741,12 +741,20 @@
 p_mouse_seting_3212_dpi:
 	fetch 1,mem_mouse_dpi
 	beq MOUSE_DPI_LEVEL1,mouse_set_p3212_cpi0	//1200
+	beq MOUSE_DPI_LEVEL2,mouse_set_p3212_cpi2	//2400
+	beq MOUSE_DPI_LEVEL3,mouse_set_p3212_cpi2	//2400	fake,zoom1:3600
+	beq MOUSE_DPI_LEVEL4,mouse_set_p3212_cpi1	//1600	fake,zoom2:4800
+	branch mouse_set_p3212_cpi0
+
+
+/*
+	beq MOUSE_DPI_LEVEL1,mouse_set_p3212_cpi0	//1200
 	beq MOUSE_DPI_LEVEL2,mouse_set_p3212_cpi1	//1600
 	beq MOUSE_DPI_LEVEL3,mouse_set_p3212_cpi2	//2400
 	beq MOUSE_DPI_LEVEL4,mouse_set_p3212_cpi2	//2400
 	beq MOUSE_DPI_LEVEL5,mouse_set_p3212_cpi3	//800
 	branch mouse_set_p3212_cpi1
-
+*/
 
 
 p_mouse_dpi_led_blink_delay:
@@ -1110,7 +1118,11 @@
 	fetch 1,mem_config_sensor_type
 	rtnne P3212
 	fetch 1,mem_mouse_dpi
-	rtnne MOUSE_DPI_LEVEL4
+	beq MOUSE_DPI_LEVEL3,p_mouse_data_zoom_next
+	beq MOUSE_DPI_LEVEL4,p_mouse_data_zoom_next
+	rtn
+
+p_mouse_data_zoom_next:
 	fetch 2,mem_mouse_x
 	call p_mouse_2400_zoom
 	store 2,mem_mouse_x
@@ -1131,15 +1143,31 @@
 	rtn
 
 p_mouse_xy_zoom:
-	rshift pdata,temp
+	copy pdata,regc
+	fetch 1,mem_mouse_dpi
+	beq MOUSE_DPI_LEVEL3,p_mouse_xy_zoom1	//3600
+	beq MOUSE_DPI_LEVEL4,p_mouse_xy_zoom2	//4800
+	rtn
+
+p_mouse_xy_zoom1:
+	copy regc,pdata
+	rshift pdata,temp	
 	set0 15,temp
-	iadd temp,pdata	// x + (x>>2) = x * 1.25
+	iadd temp,pdata	// x + (x>>1) = x * 1.5
+p_mouse_xy_zoom_next:
 	store 2,mem_mouse_temp_data
 	fetch 1,mem_mouse_temp_data+1
 	sub pdata,0x7,null
 	ncall p_mouse_xy_forward_overflow,positive
 	fetch 2,mem_mouse_temp_data
 	rtn
+p_mouse_xy_zoom2:
+	copy regc,pdata
+	lshift pdata,temp
+	set0 14,temp
+	set0 15,temp
+	iadd temp,pdata	//x+(x<<1)=x*2
+	branch p_mouse_xy_zoom_next
 
 p_mouse_xy_forward_overflow:
 	setarg 0x7ff
Index: sched/mouse.dat
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/SlideSwitch_3mode_3ch_X11/sched/mouse.dat	(revision 1197)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/SlideSwitch_3mode_3ch_X11/sched/mouse.dat	(working copy)
@@ -13,7 +13,7 @@
 mem_gain_fix:ff
 mem_gain_second_agc_en:00
 
-
+mem_mouse_flag:
 #mouse flag byte1
 #bit0 MOUSE_SELECT_DEVICE_FLAG
 #bit1 MOUSE_24G_PAIRING_FLAG
@@ -22,7 +22,7 @@
 #bit4 MOUSE_LOW_VOLTAGE_FLAG
 #bit5 MOUSE_BT_DISCOVERY_BUTTON_DOWN_FLAG
 #bit6 MOUSE_BT_DISCOVERY_BUTTON_LONG_DOWN_FLAG
-
+04
 
 #mouse flag byte2
 #bit0 MOUSE_ENABLE_BLE_RANDOM_ADDRE
@@ -31,6 +31,7 @@
 #bit3 MOUSE_ENABLE_WAKEUP_FROM_POWER
 #bit4 MOUSE_ENABLE_16M
 #bit5 MOUSE_ENABLE_USB
+08
 
 #mouse flag byte3
 #bit0 MOUSE_ENABLE_SPI2
@@ -40,6 +41,7 @@
 #bit4 MOUSE_ENABLE_ADC
 #bit5 MOUSE_ENABLE_KEYBOARD
 #bit6 MOUSE_ENABLE_24G_SEARCH_DONGLE
+4a
 
 #mouse flag byte4
 #bit0 MOUSE_ENABLE_24G_250Hz
@@ -50,6 +52,7 @@
 #bit5 MOUSE_ENABLE_USB_250
 #bit6 MOUSE_ENABLE_USB_500
 #bit7 MOUSE_ENABLE_USB_1000
+09
 
 #mouse flag byte5
 #bit0 MOUSE_ENABLE_POWER_ON_LED
@@ -60,6 +63,7 @@
 #bit5 MOUSE_ENABLE_DPI_FOR_4_LED
 #bit6 MOUSE_ENABLE_BT2_FOR_4_LED
 #bit7 MOUSE_ENABLE_LOW_V_FOR_4_LED
+b1
 
 #mouse flag byte6 
 #bit0 MOUSE_ENABLE_SELECT_DEVICE_BY_DPI_BUTTON
@@ -70,6 +74,7 @@
 #bit5 MOUSE_ENABLE_PB_BUTTON_CONNECT_GND
 #bit6 MOUSE_ENABLE_DPI_KEY_CONNECT_ADC
 #bit7 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING
+04
 
 #mouse flag byte7
 #bit0 MOUSE_ENABLE_AUTO_24G_PARING
@@ -80,6 +85,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
+0A
 
 #mouse flag byte8
 #bit0 MOUSE_ENABLE_SMOOTHER
@@ -87,27 +93,6 @@
 #bit2 MOUSE_ENABLE_24G_AUTO_PAIR_NERVER_BEEN_PAIRED
 #bit3 MOUSE_ENABLE_LE_BATTERY_SERVICE_CANCEL
 #bit4 MOUSE_ENABLE_WHEEL_WAKE_UP_CANCEL
-
-
-mem_mouse_flag:
-04
-
-#clk selsect/usb  1byte
-08    #24M
-
-#2.4g+ee/flash+adc+customize key select  1byte
-4a	#2.4g+eeprom
-
-#sensor select  1byte
-09 #3level dpi+(2.4g:125+bt/ble:115)Hz
-
-#led select  1byte
-b1 #poweron
-
-#mode switch+pair/discovery  2byte 
-04 0A #dip(matrix)+2.4 first
-
-#updata 1byte
 0f
 
 mem_mouse_discovery_timeout:b0 00	#2min
