Index: format/app_mouse.format
===================================================================
--- /YC1308AF/branch/mouse/USB_4Mode_Project/XZR_Project/SlideSwitch_4mode_3ch_AK46/format/app_mouse.format	(revision 4065)
+++ /YC1308AF/branch/mouse/USB_4Mode_Project/XZR_Project/SlideSwitch_4mode_3ch_AK46/format/app_mouse.format	(working copy)
@@ -434,11 +434,9 @@
 
 1 mem_mouse_pair_success
 1 mem_mouse_dpi_led_blink_enable
-1 mem_mouse_dpi_blink_count
-1 mem_mouse_dpi_blink_time
+1 mem_mouse_rgb_green_led
 
-
-10 mem_sensor_3104_init
+2 mem_mouse_temp_data
 )
 
 
@@ -560,6 +558,7 @@
 0x02 MOUSE_DPI_LEVEL3
 0x03 MOUSE_DPI_LEVEL4
 0x04 MOUSE_DPI_LEVEL5
+0x05 MOUSE_DPI_LEVEL6
 
 
 //mouse sensor angle
@@ -627,7 +626,6 @@
 0X0a KA8_HD
 0X0b KA8G2
 0X0c KA5857
-0x0d P3104
 
 
 //SENSOR REG
Index: output/eeprom.dat
===================================================================
--- /YC1308AF/branch/mouse/USB_4Mode_Project/XZR_Project/SlideSwitch_4mode_3ch_AK46/output/eeprom.dat	(revision 4065)
+++ /YC1308AF/branch/mouse/USB_4Mode_Project/XZR_Project/SlideSwitch_4mode_3ch_AK46/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-2e
+d2
 1b
 c2
 84
@@ -39,47 +39,47 @@
 c0
 63
 03
-b8
+9e
 c0
 64
 03
-c3
+a9
 c0
 64
 83
-f5
+db
 c0
 65
 82
-d0
+ba
 c0
 66
 85
-90
+9a
 c0
 67
 04
-22
+08
 c0
 67
 84
-2b
+1b
 c0
 68
 05
-bc
+e5
 c0
 69
 03
-8c
+78
 c0
 69
 83
-a7
+8d
 c0
 6a
 84
-3f
+4a
 c0
 6c
 02
@@ -87,7 +87,7 @@
 c0
 6e
 83
-fa
+e0
 c0
 6f
 00
@@ -103,15 +103,15 @@
 c0
 6c
 85
-28
+32
 c0
 6d
 05
-32
+3c
 c0
 6e
 03
-85
+71
 c0
 4f
 80
@@ -119,7 +119,7 @@
 c0
 73
 85
-40
+4a
 20
 20
 13
@@ -131,19 +131,19 @@
 c0
 42
 85
-35
+3f
 c0
 47
-05
-ff
+06
+28
 c0
 49
 86
-10
+39
 c0
 53
 05
-39
+43
 c0
 6e
 80
@@ -159,15 +159,15 @@
 c0
 71
 04
-b4
+be
 c0
 71
 84
-dc
+e6
 c0
 74
 84
-e6
+f0
 c0
 75
 01
@@ -175,23 +175,23 @@
 c0
 76
 05
-1d
+27
 c0
 0c
 85
-54
+5e
 c0
 4f
 85
-5e
+68
 c0
 50
 85
-68
+72
 c0
 5f
 05
-6a
+74
 20
 20
 13
@@ -310,8 +310,8 @@
 00
 20
 40
-03
-11
+02
+f9
 20
 40
 47
@@ -707,11 +707,11 @@
 20
 40
 04
-2c
+1c
 20
 40
 06
-1c
+45
 20
 40
 47
@@ -723,7 +723,7 @@
 20
 40
 03
-b1
+97
 20
 20
 3c
@@ -1063,7 +1063,7 @@
 20
 40
 02
-fe
+e8
 20
 40
 00
@@ -1143,7 +1143,7 @@
 24
 5a
 03
-f3
+d9
 6f
 e4
 4b
@@ -1315,7 +1315,7 @@
 24
 34
 04
-6b
+75
 20
 40
 01
@@ -2343,7 +2343,7 @@
 20
 40
 03
-8e
+7a
 6f
 e4
 4b
@@ -2471,7 +2471,7 @@
 20
 40
 03
-46
+2e
 20
 40
 43
@@ -2543,7 +2543,7 @@
 20
 40
 03
-3a
+22
 20
 40
 3e
@@ -2711,7 +2711,7 @@
 20
 40
 02
-ed
+d7
 20
 40
 22
@@ -2726,24 +2726,24 @@
 0b
 20
 40
-03
-06
+02
+ed
 20
 40
-02
-ba
+04
+28
 20
 40
 40
 bc
 20
 40
-04
-0b
+03
+f1
 20
 40
 03
-4c
+34
 20
 40
 45
@@ -2751,7 +2751,7 @@
 20
 40
 03
-63
+4b
 20
 40
 45
@@ -2759,7 +2759,7 @@
 20
 40
 03
-67
+4f
 20
 40
 45
@@ -2767,7 +2767,7 @@
 20
 40
 03
-6a
+52
 20
 40
 45
@@ -2791,99 +2791,11 @@
 20
 40
 03
-7d
-20
-20
-03
-6d
-6f
-e0
-cc
-bf
-20
-7a
-00
-00
-6f
-e0
-cc
-c1
-1f
-e0
-fe
-01
-67
-e0
-cc
-c1
-c0
-01
-82
-c2
-c0
-03
-02
-c6
-20
-60
-00
-00
-6f
-e0
-cc
-b5
-c2
-80
-03
-19
-68
-48
-cc
-bc
+69
 20
 20
-61
-0d
-70
-4c
-c1
-00
-6f
-e0
-cc
-c0
-1f
-e0
-ff
-ff
-67
-e0
-cc
-c0
-24
-3a
-02
-cc
-70
-4c
-bf
-00
-6f
-e0
-cc
-b5
-c2
-80
 03
-1f
-68
-48
-cc
-bc
-20
-20
-61
-09
+55
 70
 48
 fa
@@ -2907,7 +2819,7 @@
 c0
 81
 02
-dc
+c6
 68
 49
 48
@@ -2951,7 +2863,7 @@
 c3
 00
 02
-e3
+cd
 70
 48
 fe
@@ -2991,7 +2903,7 @@
 c2
 80
 83
-1f
+07
 68
 48
 cc
@@ -3035,7 +2947,7 @@
 24
 41
 02
-fc
+e6
 1f
 e6
 7c
@@ -3043,7 +2955,7 @@
 20
 21
 02
-e9
+d3
 6f
 e0
 cc
@@ -3051,7 +2963,7 @@
 c2
 80
 83
-19
+01
 68
 48
 cc
@@ -3074,32 +2986,20 @@
 00
 70
 4c
-bf
-00
-70
-4c
-c1
+be
 00
 20
 40
 03
-2b
-20
-40
-03
-2d
-20
-40
-03
-2f
+17
 20
 40
-02
-cc
+04
+47
 20
 20
 02
-e9
+d3
 6f
 e0
 cc
@@ -3114,16 +3014,16 @@
 b2
 c0
 00
-83
-13
+82
+fb
 6f
 e0
 cc
 b6
 20
 3a
-03
-0f
+02
+f6
 1f
 e0
 ff
@@ -3135,13 +3035,17 @@
 20
 20
 03
-19
+01
 70
 4c
 be
 01
 70
 4c
+bf
+01
+70
+4c
 b6
 00
 70
@@ -3151,15 +3055,15 @@
 20
 20
 03
-1f
+07
 da
 60
 4c
 b8
 da
 40
-03
-16
+02
+fe
 20
 20
 31
@@ -3167,7 +3071,7 @@
 20
 40
 03
-31
+19
 6f
 e0
 cc
@@ -3175,7 +3079,7 @@
 c0
 00
 83
-1f
+07
 70
 4c
 b3
@@ -3187,15 +3091,15 @@
 c0
 00
 03
-25
+0d
 c0
 00
 83
-27
+0f
 c0
 01
 03
-29
+11
 20
 60
 00
@@ -3211,15 +3115,15 @@
 c0
 00
 03
-2b
+13
 c0
 00
 83
-2d
+15
 c0
 01
 03
-2f
+17
 20
 60
 00
@@ -3339,7 +3243,7 @@
 20
 20
 03
-19
+01
 6f
 e0
 cc
@@ -3355,7 +3259,7 @@
 20
 20
 03
-3d
+25
 6f
 e0
 cc
@@ -3379,7 +3283,7 @@
 20
 20
 03
-3d
+25
 6f
 e0
 c9
@@ -3387,7 +3291,7 @@
 c0
 00
 03
-52
+3a
 6f
 e4
 4b
@@ -3403,7 +3307,7 @@
 20
 20
 03
-55
+3d
 6f
 e4
 4b
@@ -3439,7 +3343,7 @@
 20
 22
 83
-5c
+44
 20
 20
 45
@@ -3447,7 +3351,7 @@
 20
 40
 03
-61
+49
 6f
 e0
 cb
@@ -3467,7 +3371,7 @@
 da
 40
 04
-91
+9b
 20
 20
 45
@@ -3519,7 +3423,7 @@
 da
 40
 03
-70
+58
 20
 20
 32
@@ -3571,11 +3475,27 @@
 20
 40
 03
-b1
+97
+20
+40
+03
+66
 20
 20
 04
-70
+7a
+6f
+e4
+4b
+bc
+c4
+0c
+80
+00
+20
+20
+26
+d7
 da
 60
 49
@@ -3583,7 +3503,7 @@
 da
 40
 03
-80
+6c
 20
 20
 31
@@ -3655,15 +3575,15 @@
 c0
 18
 03
-96
+82
 c0
 18
-83
-9a
+c2
+57
 c0
 2c
 03
-a0
+86
 20
 40
 41
@@ -3675,7 +3595,7 @@
 20
 20
 03
-8f
+7b
 6f
 e0
 c9
@@ -3697,33 +3617,9 @@
 c9
 c7
 c0
-28
-03
-9d
-20
-20
-42
-57
-70
-49
-2c
-0d
-da
-60
-4c
-c2
-20
-20
-03
-ac
-6f
-e0
-c9
-c7
-c0
 2b
 83
-a4
+8a
 c0
 2c
 c2
@@ -3731,7 +3627,7 @@
 20
 20
 03
-8f
+7b
 70
 49
 2c
@@ -3743,7 +3639,7 @@
 20
 20
 03
-ac
+92
 20
 40
 3f
@@ -3755,7 +3651,7 @@
 c0
 05
 83
-ae
+94
 20
 40
 42
@@ -3771,11 +3667,11 @@
 20
 20
 04
-2c
+1c
 20
 40
 03
-c1
+a7
 da
 60
 4b
@@ -3783,7 +3679,7 @@
 20
 20
 03
-ac
+92
 20
 40
 41
@@ -3799,7 +3695,7 @@
 c0
 05
 83
-b6
+9c
 20
 20
 42
@@ -3827,11 +3723,11 @@
 20
 40
 03
-be
+a4
 20
 40
 03
-b1
+97
 20
 20
 3e
@@ -3843,7 +3739,7 @@
 c0
 05
 83
-c1
+a7
 20
 20
 42
@@ -3890,8 +3786,8 @@
 24
 20
 40
-05
-ec
+06
+15
 20
 40
 3e
@@ -3918,20 +3814,20 @@
 96
 20
 40
-03
-01
+02
+e9
 20
 40
 03
-d8
+be
 20
 40
 03
-e5
+cb
 20
 40
 03
-e9
+cf
 d8
 40
 00
@@ -3987,7 +3883,7 @@
 c2
 00
 03
-dc
+c2
 20
 60
 00
@@ -4086,16 +3982,16 @@
 a1
 20
 40
-04
-0e
+03
+f4
 20
 40
-04
-05
+03
+eb
 20
 40
-04
-08
+03
+ee
 20
 40
 47
@@ -4107,15 +4003,15 @@
 20
 40
 06
-5e
+87
 20
 40
 06
-9a
+c3
 20
 40
 06
-8c
+b5
 20
 60
 00
@@ -4186,8 +4082,8 @@
 13
 20
 40
-04
-17
+03
+fd
 20
 20
 40
@@ -4215,7 +4111,7 @@
 c0
 7f
 84
-1e
+04
 20
 20
 40
@@ -4226,8 +4122,8 @@
 13
 20
 40
-05
-ef
+06
+18
 68
 48
 c9
@@ -4247,6 +4143,14 @@
 6f
 e0
 c9
+2c
+c0
+01
+84
+13
+6f
+e0
+c9
 97
 1f
 e0
@@ -4263,30 +4167,62 @@
 20
 40
 04
-2b
-20
-40
-04
-30
+1b
+70
+4c
+bf
+01
 20
 20
 46
 2e
+6f
+e0
+c9
+97
+1f
+e0
+fe
+01
+1f
+e6
+7c
+06
+20
+42
+fe
+d1
+20
+20
+04
+0f
+6f
+e0
+c9
+2c
+c1
+01
+80
+00
+20
 20
-40
 40
 cf
+20
+40
+04
+18
 6f
 e0
 c9
 2c
 c0
-06
-40
-fb
+01
+84
+20
 c0
 06
-c0
+40
 fb
 20
 20
@@ -4294,6 +4230,38 @@
 da
 6f
 e0
+c9
+97
+c0
+00
+41
+02
+c0
+00
+c1
+00
+c0
+01
+41
+04
+c0
+01
+c1
+00
+c0
+02
+41
+04
+c0
+02
+c1
+06
+20
+60
+00
+00
+6f
+e0
 cc
 be
 20
@@ -4302,56 +4270,132 @@
 00
 6f
 e0
+cc
+bf
+20
+7a
+00
+00
+70
+4c
+bf
+00
+6f
+e0
 c9
 97
 c0
 00
 04
-39
+35
 c0
 00
 84
-3b
+37
 c0
 01
 04
-37
+39
+c0
+01
+84
+3b
+c0
+02
+04
+3e
+c0
+02
+84
+40
+20
+60
+00
+00
+20
+40
+03
+15
+20
+20
+03
+0d
+20
+40
+03
+13
+20
+20
+04
+43
+20
+40
+03
+0d
+20
+20
+04
+43
+20
+40
+03
+13
+20
+40
+04
+45
+20
+20
+03
+0f
+20
+40
+03
+0f
 20
-60
-00
-00
-58
-00
-00
-01
 20
+04
+43
 20
+40
 04
-3c
-58
-00
-00
-02
+45
+20
+40
+03
+0f
 20
 20
-04
-3c
-58
-00
-00
 03
-67
-e0
+0d
+68
+48
 cc
 c0
-70
-4c
-bf
-01
 20
-60
-00
-00
+20
+61
+0d
+68
+48
+cc
+c0
+20
+20
+61
+09
+20
+40
+03
+15
+20
+40
+03
+13
+20
+20
+04
+45
 1a
 62
 7e
@@ -4359,43 +4403,43 @@
 c0
 1e
 04
-54
+5f
 c0
 1c
 84
-50
+5b
 c0
 1d
 04
-64
+6f
 c0
 19
 04
-93
+9d
 c0
 0a
 84
-9f
+a9
 c0
 0a
 04
-a8
+b2
 c0
 20
 04
-9a
+a4
 c0
 00
 84
-aa
+b4
 c0
 01
 04
-ad
+b7
 c0
 09
 04
-4b
+56
 20
 20
 43
@@ -4423,7 +4467,7 @@
 20
 40
 04
-4e
+59
 20
 40
 45
@@ -4431,7 +4475,7 @@
 20
 40
 03
-34
+1c
 20
 20
 48
@@ -4491,23 +4535,19 @@
 20
 40
 03
-34
+1c
 20
 40
 04
-4e
+59
 20
 20
 48
 61
-70
-4c
-be
-00
 20
 40
 04
-4e
+59
 6f
 e0
 c8
@@ -4515,7 +4555,7 @@
 24
 3a
 03
-74
+5c
 6f
 e0
 c8
@@ -4523,7 +4563,7 @@
 c0
 01
 04
-88
+92
 20
 20
 48
@@ -4535,7 +4575,7 @@
 20
 5a
 04
-7a
+84
 6f
 e0
 c8
@@ -4675,7 +4715,7 @@
 20
 22
 84
-91
+9b
 20
 20
 48
@@ -4695,7 +4735,7 @@
 c0
 00
 84
-97
+a1
 70
 4b
 87
@@ -4771,11 +4811,11 @@
 20
 20
 04
-ad
+b7
 20
 40
 03
-34
+1c
 20
 20
 43
@@ -4787,7 +4827,7 @@
 20
 40
 03
-34
+1c
 20
 20
 44
@@ -4847,7 +4887,7 @@
 c0
 00
 04
-bc
+c6
 20
 60
 00
@@ -4863,19 +4903,19 @@
 c0
 00
 84
-c3
+cd
 c0
 01
 04
-c5
+cf
 c0
 01
 84
-cb
+d5
 c0
 02
 04
-d1
+db
 20
 60
 00
@@ -4887,7 +4927,7 @@
 20
 20
 04
-d2
+dc
 6f
 e0
 c8
@@ -4895,7 +4935,7 @@
 20
 3a
 04
-c9
+d3
 6f
 e2
 48
@@ -4911,7 +4951,7 @@
 20
 20
 04
-d2
+dc
 70
 47
 c9
@@ -4923,7 +4963,7 @@
 20
 3a
 04
-d2
+dc
 6f
 e2
 48
@@ -4935,7 +4975,7 @@
 20
 20
 04
-d4
+de
 70
 47
 c9
@@ -4991,7 +5031,7 @@
 c0
 01
 04
-e0
+ea
 20
 20
 23
@@ -5035,7 +5075,7 @@
 20
 3a
 04
-f1
+fb
 6f
 e1
 48
@@ -5075,11 +5115,11 @@
 24
 2c
 05
-0a
+14
 24
 37
 85
-0a
+14
 20
 40
 26
@@ -5099,7 +5139,7 @@
 20
 22
 84
-ee
+f8
 6f
 e2
 48
@@ -5115,7 +5155,7 @@
 20
 42
 85
-06
+10
 6f
 e0
 c8
@@ -5195,11 +5235,11 @@
 c0
 01
 05
-14
+1e
 c0
 02
 05
-1b
+25
 20
 20
 25
@@ -5287,7 +5327,7 @@
 20
 40
 03
-42
+2a
 6f
 e1
 47
@@ -5363,7 +5403,7 @@
 c2
 80
 85
-3d
+47
 20
 20
 16
@@ -5407,7 +5447,7 @@
 c0
 04
 85
-48
+52
 20
 20
 4d
@@ -5483,7 +5523,7 @@
 c0
 03
 85
-5b
+65
 20
 20
 57
@@ -5555,7 +5595,7 @@
 c0
 02
 05
-6d
+77
 20
 20
 19
@@ -5571,11 +5611,11 @@
 c0
 05
 05
-72
+7c
 c0
 09
 05
-81
+8b
 20
 20
 1c
@@ -5603,7 +5643,7 @@
 c2
 81
 85
-7c
+86
 6f
 e1
 44
@@ -5631,11 +5671,11 @@
 24
 22
 85
-78
+82
 24
 34
 05
-78
+82
 20
 20
 1d
@@ -5715,7 +5755,11 @@
 20
 40
 05
-a0
+ab
+20
+40
+05
+bb
 58
 00
 00
@@ -5727,7 +5771,7 @@
 20
 40
 04
-2c
+1c
 20
 40
 3f
@@ -5739,7 +5783,7 @@
 20
 40
 05
-b9
+e2
 6f
 e0
 c8
@@ -5759,7 +5803,7 @@
 20
 40
 05
-b1
+db
 20
 20
 45
@@ -5779,15 +5823,11 @@
 c0
 06
 05
-a7
+b1
 c0
 05
 85
-a7
-c0
-06
-c2
-b0
+b1
 20
 20
 42
@@ -5803,35 +5843,163 @@
 c0
 7f
 85
-ad
+b7
 68
 48
-c9
-15
+c9
+15
+20
+40
+60
+fd
+24
+60
+80
+00
+58
+00
+00
+00
+20
+40
+5d
+65
+c0
+ac
+41
+f2
+20
+20
+42
+b9
+6f
+e0
+c9
+2c
+c1
+81
+80
+00
+6f
+e0
+c9
+97
+c0
+01
+85
+c1
+c0
+02
+05
+c1
+20
+60
+00
+00
+6f
+e1
+48
+d5
+20
+40
+05
+c8
+67
+e1
+48
+d5
+6f
+e1
+48
+d7
 20
 40
+05
+c8
+67
+e1
+48
+d7
+20
 60
-fd
-24
-60
-80
 00
-58
+00
+c2
+85
+85
+cb
+c3
+05
+85
+cf
+20
+60
 00
 00
+1f
+e6
+7e
 00
 20
 40
-5d
-65
-c0
-ac
+05
+cf
+1f
+e6
+7e
+00
+20
+60
+00
+00
+1f
+e3
+fe
+00
+79
+3f
+fe
+0e
+79
+3f
+fe
+0f
+67
+e1
+4c
+c1
+6f
+e0
+cc
+c2
+1f
+e6
+7c
+07
+24
 41
-f2
+05
+d8
+6f
+e1
+4c
+c1
 20
+60
+00
+00
+58
+00
+07
+ff
+67
+e1
+4c
+c1
 20
-42
-b9
+60
+00
+00
 6f
 e0
 c9
@@ -5844,14 +6012,10 @@
 05
 80
 00
-c1
-06
-80
-00
 20
 40
 06
-16
+3f
 20
 40
 47
@@ -5859,7 +6023,7 @@
 20
 40
 06
-19
+42
 20
 60
 00
@@ -5867,11 +6031,11 @@
 20
 40
 05
-bc
+e5
 20
 40
-05
-f2
+06
+1b
 20
 20
 41
@@ -5891,15 +6055,15 @@
 20
 40
 05
-c3
+ec
 20
 40
 05
-d2
+fb
 20
 40
-05
-df
+06
+08
 20
 20
 41
@@ -5910,8 +6074,8 @@
 1c
 20
 40
-05
-ec
+06
+15
 20
 40
 41
@@ -5930,8 +6094,8 @@
 1d
 20
 40
-05
-ec
+06
+15
 20
 40
 41
@@ -5950,8 +6114,8 @@
 1e
 20
 40
-05
-ec
+06
+15
 20
 40
 41
@@ -5994,8 +6158,8 @@
 14
 c0
 7f
-85
-db
+86
+04
 20
 20
 41
@@ -6006,8 +6170,8 @@
 11
 20
 40
-05
-ef
+06
+18
 68
 48
 c9
@@ -6046,8 +6210,8 @@
 14
 c0
 7f
-85
-e8
+86
+11
 20
 20
 41
@@ -6058,8 +6222,8 @@
 12
 20
 40
-05
-ef
+06
+18
 68
 48
 c9
@@ -6110,12 +6274,12 @@
 00
 20
 40
-05
-f9
+06
+22
 20
 40
-05
-fc
+06
+25
 20
 20
 41
@@ -6159,7 +6323,7 @@
 c0
 00
 06
-04
+2d
 20
 20
 7a
@@ -6187,7 +6351,7 @@
 c0
 00
 86
-0b
+34
 20
 20
 7a
@@ -6199,7 +6363,7 @@
 c0
 04
 86
-0e
+37
 20
 20
 7a
@@ -6279,15 +6443,15 @@
 20
 40
 06
-29
+52
 20
 40
 06
-51
+7a
 20
 40
 06
-2e
+57
 6f
 e0
 cc
@@ -6339,7 +6503,7 @@
 20
 40
 06
-32
+5b
 6f
 e0
 c9
@@ -6387,7 +6551,7 @@
 24
 41
 06
-46
+6f
 1f
 e2
 24
@@ -6475,7 +6639,7 @@
 20
 40
 06
-49
+72
 6f
 e4
 4b
@@ -6483,15 +6647,15 @@
 c2
 8e
 86
-58
+81
 c2
 8f
 06
-5a
+83
 c2
 8f
 86
-5c
+85
 70
 49
 2e
@@ -6535,7 +6699,7 @@
 20
 40
 06
-64
+8d
 6f
 e0
 c9
@@ -6556,14 +6720,14 @@
 40
 60
 fd
-24
+20
 20
 86
-68
+91
 20
 20
 06
-75
+9e
 6f
 e0
 c9
@@ -6615,7 +6779,7 @@
 20
 20
 03
-83
+6f
 6f
 e0
 c9
@@ -6646,8 +6810,8 @@
 8b
 20
 40
-03
-11
+02
+f9
 70
 40
 99
@@ -6655,7 +6819,7 @@
 20
 40
 06
-4c
+75
 20
 40
 48
@@ -6675,7 +6839,7 @@
 58
 00
 06
-20
+49
 67
 e1
 0b
@@ -6723,11 +6887,11 @@
 c0
 2d
 06
-92
+bb
 c0
 52
 86
-96
+bf
 20
 60
 00
@@ -6787,7 +6951,7 @@
 20
 40
 06
-37
+60
 24
 74
 00
@@ -6803,7 +6967,7 @@
 20
 20
 06
-a4
+cd
 6f
 f0
 8c
@@ -6819,7 +6983,7 @@
 c3
 0a
 86
-aa
+d3
 6f
 e0
 cb
@@ -6827,7 +6991,7 @@
 c0
 00
 86
-b0
+d9
 20
 40
 37
@@ -6859,7 +7023,7 @@
 20
 3a
 06
-bb
+e4
 6f
 e4
 4b
@@ -6875,11 +7039,11 @@
 c0
 01
 86
-bd
+e6
 c0
 01
 06
-c4
+ed
 20
 40
 37
@@ -6903,7 +7067,7 @@
 20
 20
 06
-b3
+dc
 20
 40
 37
@@ -6960,8 +7124,8 @@
 60
 00
 00
-2e
-33
+f6
+d1
 aa
 55
 40
@@ -7133,9 +7297,9 @@
 00
 11
 49
+0b
 0e
 0d
-0b
 ff
 04
 ff
@@ -7166,7 +7330,7 @@
 49
 00
 00
-00
+01
 aa
 55
 01
@@ -7194,11 +7358,18 @@
 00
 b9
 4c
-86
 85
-8c
+86
 ff
 ff
+ff
+aa
+55
+01
+00
+c0
+4c
+8c
 aa
 55
 03
@@ -7334,7 +7505,7 @@
 00
 c5
 49
-01
+03
 aa
 55
 01
@@ -7754,22 +7925,6 @@
 20
 aa
 55
-0a
-00
-c2
-4c
-09
-5a
-4b
-04
-5b
-63
-09
-00
-ff
-ff
-aa
-55
 74
 00
 e4
@@ -8375,10 +8530,10 @@
 aa
 aa
 55
-6e
-a5
-68
-6e
+ee
+a2
+c4
+34
 ff
 1e
 f0
Index: output/memmap.format
===================================================================
--- /YC1308AF/branch/mouse/USB_4Mode_Project/XZR_Project/SlideSwitch_4mode_3ch_AK46/output/memmap.format	(revision 4065)
+++ /YC1308AF/branch/mouse/USB_4Mode_Project/XZR_Project/SlideSwitch_4mode_3ch_AK46/output/memmap.format	(working copy)
@@ -2302,9 +2302,8 @@
 0x4cbd mem_mouse_1io2led_low_led
 0x4cbe mem_mouse_pair_success
 0x4cbf mem_mouse_dpi_led_blink_enable
-0x4cc0 mem_mouse_dpi_blink_count
-0x4cc1 mem_mouse_dpi_blink_time
-0x4cc2 mem_sensor_3104_init
+0x4cc0 mem_mouse_rgb_green_led
+0x4cc1 mem_mouse_temp_data
 0x48d4 mem_remote_car_hard_soft_switch
 0x48d5 mem_remote_car_queue_each_size
 0x48d6 mem_remote_car_queue_length
Index: output/program.lis
===================================================================
--- /YC1308AF/branch/mouse/USB_4Mode_Project/XZR_Project/SlideSwitch_4mode_3ch_AK46/output/program.lis	(revision 4065)
+++ /YC1308AF/branch/mouse/USB_4Mode_Project/XZR_Project/SlideSwitch_4mode_3ch_AK46/output/program.lis	(working copy)
@@ -8,47 +8,47 @@
 0005 c0458098 beq patch11_3 ,p_initialize_radio_cont 
 0006 c05680a9 beq patch15_5 ,p_app_init 
 0007 c0618257 beq patch18_3 ,p_mouse_start_work 
-0008 c06303b8 beq patch18_6 ,p_mouse_app_enter_hibernate 
-0009 c06403c3 beq patch19_0 ,p_mouse_setgpio_hibernate 
-000a c06483f5 beq patch19_1 ,p_mouse_lpm_before_common 
-000b c06582d0 beq patch19_3 ,p_mouse_adc_read_start 
-000c c0668590 beq patch19_5 ,p_mouse_motion 
-000d c0670422 beq patch19_6 ,p_mouse_dpi_process 
-000e c067842b beq patch19_7 ,p_mouse_seting_dpi 
-000f c06805bc beq patch1a_0 ,p_mouse_check_key_gpio 
-0010 c069038c beq patch1a_2 ,p_mouse_init_sunt 
-0011 c06983a7 beq patch1a_3 ,p_mouse_sensor_poweron 
-0012 c06a843f beq patch1a_5 ,p_mouse_priority_bb_event 
+0008 c063039e beq patch18_6 ,p_mouse_app_enter_hibernate 
+0009 c06403a9 beq patch19_0 ,p_mouse_setgpio_hibernate 
+000a c06483db beq patch19_1 ,p_mouse_lpm_before_common 
+000b c06582ba beq patch19_3 ,p_mouse_adc_read_start 
+000c c066859a beq patch19_5 ,p_mouse_motion 
+000d c0670408 beq patch19_6 ,p_mouse_dpi_process 
+000e c067841b beq patch19_7 ,p_mouse_seting_dpi 
+000f c06805e5 beq patch1a_0 ,p_mouse_check_key_gpio 
+0010 c0690378 beq patch1a_2 ,p_mouse_init_sunt 
+0011 c069838d beq patch1a_3 ,p_mouse_sensor_poweron 
+0012 c06a844a beq patch1a_5 ,p_mouse_priority_bb_event 
 0013 c06c02a3 beq patch1b_0 ,p_mouse_bb_event_timer 
-0014 c06e83fa beq patch1b_5 ,p_mouse_idle 
+0014 c06e83e0 beq patch1b_5 ,p_mouse_idle 
 0015 c06f004a beq patch1b_6 ,p_mouse_ready_reconnection_by_button 
 0016 c0700034 beq patch1c_0 ,p_mouse_led_off 
 0017 c0708030 beq patch1c_1 ,p_mouse_led_on 
-0018 c06c8528 beq patch1b_1 ,p_mouse_start_discovery 
-0019 c06d0532 beq patch1b_2 ,p_mouse_stop_discovery 
-001a c06e0385 beq patch1b_4 ,p_mouse_store_device_info 
+0018 c06c8532 beq patch1b_1 ,p_mouse_start_discovery 
+0019 c06d053c beq patch1b_2 ,p_mouse_stop_discovery 
+001a c06e0371 beq patch1b_4 ,p_mouse_store_device_info 
 001b c04f809d beq patch13_7 ,p_init_param 
-001c c0738540 beq patch1c_7 ,p_hid_rx_process 
+001c c073854a beq patch1c_7 ,p_hid_rx_process 
 001d 2020137e branch loop 
 
 pf_patch_ext:
 001e c00f80b5 beq patch23_7 ,p_twspi_reset 
-001f c0428535 beq patch30_5 ,p_ui_timer_check 
-0020 c04705ff beq patch31_6 ,p_usb_class_type 
-0021 c0498610 beq patch32_3 ,p_usb_tx 
-0022 c0530539 beq patch34_6 ,p_le_enable_phy_by_pdata 
+001f c042853f beq patch30_5 ,p_ui_timer_check 
+0020 c0470628 beq patch31_6 ,p_usb_class_type 
+0021 c0498639 beq patch32_3 ,p_usb_tx 
+0022 c0530543 beq patch34_6 ,p_le_enable_phy_by_pdata 
 0023 c06e803c beq patch3b_5 ,p_g24_dispatch 
 0024 c06f01f7 beq patch3b_6 ,p_g24_receive_packet 
 0025 c0708283 beq patch3c_1 ,p_g24_transmit 
-0026 c07104b4 beq patch3c_2 ,p_g24_pair_dispatch 
-0027 c07184dc beq patch3c_3 ,p_g24_pair_sm_common_next 
-0028 c07484e6 beq patch3d_1 ,p_g24_reconn_dispatch 
+0026 c07104be beq patch3c_2 ,p_g24_pair_dispatch 
+0027 c07184e6 beq patch3c_3 ,p_g24_pair_sm_common_next 
+0028 c07484f0 beq patch3d_1 ,p_g24_reconn_dispatch 
 0029 c0750146 beq patch3d_2 ,p_g24_transmit_no_interrupt 
-002a c076051d beq patch3d_4 ,p_g24_lpm_wait 
-002b c00c8554 beq patch23_1 ,p_send_lmp 
-002c c04f855e beq patch33_7 ,p_le_slave_match 
-002d c0508568 beq patch34_1 ,p_le_slave_unsync 
-002e c05f056a beq patch37_6 ,p_le_parse_l2cap 
+002a c0760527 beq patch3d_4 ,p_g24_lpm_wait 
+002b c00c855e beq patch23_1 ,p_send_lmp 
+002c c04f8568 beq patch33_7 ,p_le_slave_match 
+002d c0508572 beq patch34_1 ,p_le_slave_unsync 
+002e c05f0574 beq patch37_6 ,p_le_parse_l2cap 
 002f 2020137e branch loop 
 
 p_mouse_led_on:
@@ -90,7 +90,7 @@
 p_mouse_ready_reconnection_by_button:
 004a 6fe0cbc5 fetch 1 ,mem_device_number 
 004b c1008000 rtneq 1 
-004c 20400311 call p_mouse_multi_led_blink_disable 
+004c 204002f9 call p_mouse_multi_led_blink_disable 
 004d 20404700 call mouse_select_device_number 
 004e 6048c93d storet 1 ,mem_device_flag 
 
@@ -223,11 +223,11 @@
 00ac 204000ff call p_mouse_setting_config 
 00ad 204041e7 call mouse_init_sunt 
 00ae 20758000 rtn wake 
-00af 2040042c call p_mouse_seting_sensor_type 
-00b0 2040061c call p_mouse_usb_check_enable 
+00af 2040041c call p_mouse_seting_sensor_type 
+00b0 20400645 call p_mouse_usb_check_enable 
 00b1 20404766 call mouse_drawing_optima_init 
 00b2 20400112 call p_mouse_cb_fuction 
-00b3 204003b1 call p_mouse_sensor_powerdown 
+00b3 20400397 call p_mouse_sensor_powerdown 
 00b4 20203c7f branch mouse_init_wireless 
 
 p_twspi_reset:
@@ -340,7 +340,7 @@
 0105 20403f60 call mouse_gpio_init 
 0106 204000b7 call p_mouse_le_name_load 
 0107 20403dd6 call mouse_param_init 
-0108 204002fe call p_mouse_led_multi_parm_init 
+0108 204002e8 call p_mouse_led_multi_parm_init 
 0109 204000e6 call p_mouse_g24_report_setting 
 010a 2040010c call p_mouse_store_normal_tx_power 
 010b 20203cab branch mouse_setting_config + 5 
@@ -368,7 +368,7 @@
 0119 24740000 nrtn user 
 011a 6fe0cc32 fetch 1 ,mem_long_sleep_flag 
 011b 704c3200 jam 0 ,mem_long_sleep_flag 
-011c 245a03f3 ncall p_mouse_short_sleep_clear_wake ,blank 
+011c 245a03d9 ncall p_mouse_short_sleep_clear_wake ,blank 
 011d 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
 011e c30a8121 bbit0 mouse_enable_keyboard ,p_mouse_24g_mouse_package_data 
 011f 6fe0cb9c fetch 1 ,mem_customer_key 
@@ -427,7 +427,7 @@
 
 p_g24_transmit_no_interrupt:
 0146 20402638 call g24_txdata_prep 
-0147 2434046b nbranch p_g24_nodata_transmit ,user 
+0147 24340475 nbranch p_g24_nodata_transmit ,user 
 
 p_g24_transmit_start:
 0148 204001dc call p_g24_transmit_process 
@@ -748,7 +748,7 @@
 0247 20600000 rtn 
 
 p_mouse_wakeup_24g_from_long_sleep:
-0248 2040038e call p_mouse_init_sensor_wakeup 
+0248 2040037a call p_mouse_init_sensor_wakeup 
 0249 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
 024a c41e0000 rtnbit0 mouse_enable_wheel_wake_up_cancel 
 
@@ -792,7 +792,7 @@
 0267 c0000278 beq mode_24g_device ,p_mouse_24g_start_mode 
 
 p_mouse_le_fast_conn_judge:
-0268 20400346 call p_mouse_device_le_reconn_led_config 
+0268 2040032e call p_mouse_device_le_reconn_led_config 
 0269 20404354 call mouse_bluetooth_fast_conn_disable 
 026a 6fe0c93d fetch 1 ,mem_device_flag 
 026b c000826e beq mode_bt_device1 ,p_mouse_le_device1_judge 
@@ -816,7 +816,7 @@
 p_mouse_24g_start_mode:
 0278 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
 0279 c308c842 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
-027a 2040033a call p_mouse_device_pair_led_config 
+027a 20400322 call p_mouse_device_pair_led_config 
 027b 20403e28 call mouse_wakeup_from_power_check 
 027c 20344845 branch mouse_24g_reconn_dongle_start ,user 
 027d 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
@@ -868,1469 +868,1530 @@
 
 p_mouse_bb_event_timer:
 02a3 20403edc call mouse_adc_read 
-02a4 204002ed call p_mouse_low_voltage_led_timer 
+02a4 204002d7 call p_mouse_low_voltage_led_timer 
 02a5 204022e1 call g24_pair_timeout_timer 
 02a6 2040255f call g24_reconn_timeout_timer 
 02a7 2040480b call mouse_24g_long_sleep_param_update_timer 
-02a8 20400306 call p_mouse_led_multi_timer 
-02a9 204002ba call p_mouse_dpi_led_timer 
+02a8 204002ed call p_mouse_led_multi_timer 
+02a9 20400428 call p_mouse_dpi_led_timer 
 02aa 204040bc call mouse_dpi_key_check_long_press 
-02ab 2040040b call p_mouse_bt_discovery_check 
-02ac 2040034c call p_mouse_commbination_key_process 
+02ab 204003f1 call p_mouse_bt_discovery_check 
+02ac 20400334 call p_mouse_commbination_key_process 
 02ad 2040453f call mouse_check_discovery_timeout_timer 
-02ae 20400363 call p_mouse_check_direct_timeout_timer 
+02ae 2040034b call p_mouse_check_direct_timeout_timer 
 02af 20404552 call mouse_le_enable_att_list_timer 
-02b0 20400367 call p_mouse_le_battery_updata_timer 
+02b0 2040034f call p_mouse_le_battery_updata_timer 
 02b1 20404555 call mouse_le_send_smp_security_request_timer 
-02b2 2040036a call p_mouse_le_send_conn_param_update_timer 
+02b2 20400352 call p_mouse_le_send_conn_param_update_timer 
 02b3 2040456a call mouse_check_hid_handshake_timer 
 02b4 2040456d call mouse_bt_check_sniff_req_timeout_timer 
 02b5 20404572 call mouse_check_reconnect_delay_long_sleep 
 02b6 20404575 call mouse_current_mult_update_timer 
 02b7 20404062 call mouse_wheel_trigger_timer 
-02b8 2040037d call p_mouse_store_information_delay_timer 
-02b9 2020036d branch p_mouse_check_no_data_timeout_timer 
-
-p_mouse_dpi_led_timer:
-02ba 6fe0ccbf fetch 1 ,mem_mouse_dpi_led_blink_enable 
-02bb 207a0000 rtn blank 
-02bc 6fe0ccc1 fetch 1 ,mem_mouse_dpi_blink_time 
-02bd 1fe0fe01 pincrease 1 
-02be 67e0ccc1 store 1 ,mem_mouse_dpi_blink_time 
-02bf c00182c2 beq 3 ,p_mouse_dpi_led_on 
-02c0 c00302c6 beq 6 ,p_mouse_dpi_led_off_check 
-02c1 20600000 rtn 
-
-p_mouse_dpi_led_on:
-02c2 6fe0ccb5 fetch 1 ,mem_mouse_led_multi_type 
-02c3 c2800319 bbit1 led_multi_dpi ,p_mouse_device_multi_led_on 
-02c4 6848ccbc fetcht 1 ,mem_mouse_1io2led_dpi_led 
-02c5 2020610d branch gpio_out_active 
-
-p_mouse_dpi_led_off_check:
-02c6 704cc100 jam 0 ,mem_mouse_dpi_blink_time 
-02c7 6fe0ccc0 fetch 1 ,mem_mouse_dpi_blink_count 
-02c8 1fe0ffff increase -1 ,pdata 
-02c9 67e0ccc0 store 1 ,mem_mouse_dpi_blink_count 
-02ca 243a02cc nbranch p_mouse_dpi_led_off ,blank 
-02cb 704cbf00 jam 0 ,mem_mouse_dpi_led_blink_enable 
-
-p_mouse_dpi_led_off:
-02cc 6fe0ccb5 fetch 1 ,mem_mouse_led_multi_type 
-02cd c280031f bbit1 led_multi_dpi ,p_mouse_device_multi_led_off 
-02ce 6848ccbc fetcht 1 ,mem_mouse_1io2led_dpi_led 
-02cf 20206109 branch gpio_out_inactive 
+02b8 20400369 call p_mouse_store_information_delay_timer 
+02b9 20200355 branch p_mouse_check_no_data_timeout_timer 
 
 p_mouse_adc_read_start:
-02d0 7048fa00 jam 0 ,mem_adc_read_timer 
-02d1 20406166 call enable_adc 
-02d2 2040618d call vdd_calculate_by_mode 
-02d3 67e148ed store 2 ,mem_mouse_vdd_now_vol 
-02d4 6fe0c4a2 fetch 1 ,mem_adc_config_flag 
-02d5 c08102dc bne adc_config_gpio ,p_mouse_adc_data_process 
-02d6 684948ed fetcht 2 ,mem_mouse_vdd_now_vol 
-02d7 184ffe08 mul32 temp ,8 ,pdata 
-02d8 1fe6fc0a div pdata ,10 
-02d9 20407e61 call get_div_result 
-02da 9840fe00 iadd temp ,pdata 
-02db 67e148ed store 2 ,mem_mouse_vdd_now_vol 
+02ba 7048fa00 jam 0 ,mem_adc_read_timer 
+02bb 20406166 call enable_adc 
+02bc 2040618d call vdd_calculate_by_mode 
+02bd 67e148ed store 2 ,mem_mouse_vdd_now_vol 
+02be 6fe0c4a2 fetch 1 ,mem_adc_config_flag 
+02bf c08102c6 bne adc_config_gpio ,p_mouse_adc_data_process 
+02c0 684948ed fetcht 2 ,mem_mouse_vdd_now_vol 
+02c1 184ffe08 mul32 temp ,8 ,pdata 
+02c2 1fe6fc0a div pdata ,10 
+02c3 20407e61 call get_div_result 
+02c4 9840fe00 iadd temp ,pdata 
+02c5 67e148ed store 2 ,mem_mouse_vdd_now_vol 
 
 p_mouse_adc_data_process:
-02dc da2048e7 arg mem_mouse_vdd_calculate_set ,rega 
-02dd 20403f1a call mouse_adc_bat_percent_lowpower_out 
-02de 6fe0c4a6 fetch 1 ,mem_adc_power_flag 
-02df c280bf5e bbit1 1 ,mouse_power_down 
-02e0 c30002e3 bbit0 0 ,p_mouse_adc_no_low_voltage 
-02e1 7048fe01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
-02e2 20203f10 branch mouse_adc_low_voltage 
+02c6 da2048e7 arg mem_mouse_vdd_calculate_set ,rega 
+02c7 20403f1a call mouse_adc_bat_percent_lowpower_out 
+02c8 6fe0c4a6 fetch 1 ,mem_adc_power_flag 
+02c9 c280bf5e bbit1 1 ,mouse_power_down 
+02ca c30002cd bbit0 0 ,p_mouse_adc_no_low_voltage 
+02cb 7048fe01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
+02cc 20203f10 branch mouse_adc_low_voltage 
 
 p_mouse_adc_no_low_voltage:
-02e3 d8e00004 arg mouse_low_voltage_flag ,queue 
-02e4 20404732 call mouse_disable_function_flag 
-02e5 7048fc0c jam 12 ,mem_adc_low_volatage_led_timer_count 
-02e6 6fe0c8fe fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
-02e7 207a0000 rtn blank 
-02e8 7048fe00 jam 0 ,mem_mouse_adc_last_low_voltage_flag 
+02cd d8e00004 arg mouse_low_voltage_flag ,queue 
+02ce 20404732 call mouse_disable_function_flag 
+02cf 7048fc0c jam 12 ,mem_adc_low_volatage_led_timer_count 
+02d0 6fe0c8fe fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
+02d1 207a0000 rtn blank 
+02d2 7048fe00 jam 0 ,mem_mouse_adc_last_low_voltage_flag 
 
 p_mouse_low_voltage_led_off:
-02e9 6fe0ccb5 fetch 1 ,mem_mouse_led_multi_type 
-02ea c280831f bbit1 led_multi_low ,p_mouse_device_multi_led_off 
-02eb 6848ccbd fetcht 1 ,mem_mouse_1io2led_low_led 
-02ec 20206109 branch gpio_out_inactive 
+02d3 6fe0ccb5 fetch 1 ,mem_mouse_led_multi_type 
+02d4 c2808307 bbit1 led_multi_low ,p_mouse_device_multi_led_off 
+02d5 6848ccbd fetcht 1 ,mem_mouse_1io2led_low_led 
+02d6 20206109 branch gpio_out_inactive 
 
 p_mouse_low_voltage_led_timer:
-02ed 6fe0ccbe fetch 1 ,mem_mouse_pair_success 
-02ee 207a0000 rtn blank 
-02ef 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-02f0 c4020000 rtnbit0 mouse_low_voltage_flag 
-02f1 6fe0c8fc fetch 1 ,mem_adc_low_volatage_led_timer_count 
-02f2 1fe0fe01 increase 1 ,pdata 
-02f3 67e0c8fc store 1 ,mem_adc_low_volatage_led_timer_count 
-02f4 1fe67c14 sub pdata ,20 ,null 
-02f5 244102fc ncall p_mouse_low_volatage_led_timer_count_clean ,positive 
-02f6 1fe67c0a sub pdata ,10 ,null 
-02f7 202102e9 branch p_mouse_low_voltage_led_off ,positive 
+02d7 6fe0ccbe fetch 1 ,mem_mouse_pair_success 
+02d8 207a0000 rtn blank 
+02d9 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+02da c4020000 rtnbit0 mouse_low_voltage_flag 
+02db 6fe0c8fc fetch 1 ,mem_adc_low_volatage_led_timer_count 
+02dc 1fe0fe01 increase 1 ,pdata 
+02dd 67e0c8fc store 1 ,mem_adc_low_volatage_led_timer_count 
+02de 1fe67c14 sub pdata ,20 ,null 
+02df 244102e6 ncall p_mouse_low_volatage_led_timer_count_clean ,positive 
+02e0 1fe67c0a sub pdata ,10 ,null 
+02e1 202102d3 branch p_mouse_low_voltage_led_off ,positive 
 
 p_mouse_low_voltage_led_on:
-02f8 6fe0ccb5 fetch 1 ,mem_mouse_led_multi_type 
-02f9 c2808319 bbit1 led_multi_low ,p_mouse_device_multi_led_on 
-02fa 6848ccbd fetcht 1 ,mem_mouse_1io2led_low_led 
-02fb 2020610d branch gpio_out_active 
+02e2 6fe0ccb5 fetch 1 ,mem_mouse_led_multi_type 
+02e3 c2808301 bbit1 led_multi_low ,p_mouse_device_multi_led_on 
+02e4 6848ccbd fetcht 1 ,mem_mouse_1io2led_low_led 
+02e5 2020610d branch gpio_out_active 
 
 p_mouse_low_volatage_led_timer_count_clean:
-02fc 7048fc01 jam 1 ,mem_adc_low_volatage_led_timer_count 
-02fd 20600000 rtn 
+02e6 7048fc01 jam 1 ,mem_adc_low_volatage_led_timer_count 
+02e7 20600000 rtn 
 
 p_mouse_led_multi_parm_init:
-02fe 704cb100 jam 0 ,mem_mouse_multi_led_blink_enable 
-02ff 704cbf00 jam 0 ,mem_mouse_dpi_led_blink_enable 
-0300 704cc100 jam 0 ,mem_mouse_dpi_blink_time 
+02e8 704cb100 jam 0 ,mem_mouse_multi_led_blink_enable 
 
 p_mouse_device_led_all_off:
-0301 2040032b call p_mouse_device_24g_led_off 
-0302 2040032d call p_mouse_device_bt1_led_off 
-0303 2040032f call p_mouse_device_bt2_led_off 
-0304 204002cc call p_mouse_dpi_led_off 
-0305 202002e9 branch p_mouse_low_voltage_led_off 
+02e9 704cbe00 jam 0 ,mem_mouse_pair_success 
+02ea 20400317 call p_mouse_device_bt2_led_off 
+02eb 20400447 call p_mouse_dpi_led_off 
+02ec 202002d3 branch p_mouse_low_voltage_led_off 
 
 p_mouse_led_multi_timer:
-0306 6fe0ccb1 fetch 1 ,mem_mouse_multi_led_blink_enable 
-0307 207a0000 rtn blank 
-0308 6fe0ccb2 fetch 1 ,mem_mouse_multi_led_type 
-0309 c0008313 beq multi_led_blink ,p_mouse_multi_led_type_blink 
+02ed 6fe0ccb1 fetch 1 ,mem_mouse_multi_led_blink_enable 
+02ee 207a0000 rtn blank 
+02ef 6fe0ccb2 fetch 1 ,mem_mouse_multi_led_type 
+02f0 c00082fb beq multi_led_blink ,p_mouse_multi_led_type_blink 
 
 p_mouse_device_multi_led_type_on:
-030a 6fe0ccb6 fetch 1 ,mem_mouse_multi_led_powon_timer 
-030b 203a030f branch p_mouse_device_poweron_led_off ,blank 
-030c 1fe0ffff increase -1 ,pdata 
-030d 67e0ccb6 store 1 ,mem_mouse_multi_led_powon_timer 
-030e 20200319 branch p_mouse_device_multi_led_on 
+02f1 6fe0ccb6 fetch 1 ,mem_mouse_multi_led_powon_timer 
+02f2 203a02f6 branch p_mouse_device_poweron_led_off ,blank 
+02f3 1fe0ffff increase -1 ,pdata 
+02f4 67e0ccb6 store 1 ,mem_mouse_multi_led_powon_timer 
+02f5 20200301 branch p_mouse_device_multi_led_on 
 
 p_mouse_device_poweron_led_off:
-030f 704cbe01 jam 1 ,mem_mouse_pair_success 
-0310 704cb600 jam 0 ,mem_mouse_multi_led_powon_timer 
+02f6 704cbe01 jam 1 ,mem_mouse_pair_success 
+02f7 704cbf01 jam 1 ,mem_mouse_dpi_led_blink_enable 
+02f8 704cb600 jam 0 ,mem_mouse_multi_led_powon_timer 
 
 p_mouse_multi_led_blink_disable:
-0311 704cb100 jam 0 ,mem_mouse_multi_led_blink_enable 
-0312 2020031f branch p_mouse_device_multi_led_off 
+02f9 704cb100 jam 0 ,mem_mouse_multi_led_blink_enable 
+02fa 20200307 branch p_mouse_device_multi_led_off 
 
 p_mouse_multi_led_type_blink:
-0313 da604cb8 arg mem_mouse_multi_led_blink_timer ,regc 
-0314 da400316 arg p_mouse_multi_led_blink_start ,regb 
-0315 202031fc branch timer_single_step 
+02fb da604cb8 arg mem_mouse_multi_led_blink_timer ,regc 
+02fc da4002fe arg p_mouse_multi_led_blink_start ,regb 
+02fd 202031fc branch timer_single_step 
 
 p_mouse_multi_led_blink_start:
-0316 20400331 call p_mouse_multi_led_blink_timer_init 
-0317 6fe0ccb3 fetch 1 ,mem_mouse_multi_led_state 
-0318 c000831f beq on ,p_mouse_device_multi_led_off 
+02fe 20400319 call p_mouse_multi_led_blink_timer_init 
+02ff 6fe0ccb3 fetch 1 ,mem_mouse_multi_led_state 
+0300 c0008307 beq on ,p_mouse_device_multi_led_off 
 
 p_mouse_device_multi_led_on:
-0319 704cb301 jam on ,mem_mouse_multi_led_state 
-031a 6fe0c93d fetch 1 ,mem_device_flag 
-031b c0000325 beq mode_24g_device ,p_mouse_device_24g_led_on 
-031c c0008327 beq mode_bt_device1 ,p_mouse_device_bt1_led_on 
-031d c0010329 beq mode_bt_device2 ,p_mouse_device_bt2_led_on 
-031e 20600000 rtn 
+0301 704cb301 jam on ,mem_mouse_multi_led_state 
+0302 6fe0c93d fetch 1 ,mem_device_flag 
+0303 c000030d beq mode_24g_device ,p_mouse_device_24g_led_on 
+0304 c000830f beq mode_bt_device1 ,p_mouse_device_bt1_led_on 
+0305 c0010311 beq mode_bt_device2 ,p_mouse_device_bt2_led_on 
+0306 20600000 rtn 
 
 p_mouse_device_multi_led_off:
-031f 704cb300 jam off ,mem_mouse_multi_led_state 
-0320 6fe0c93d fetch 1 ,mem_device_flag 
-0321 c000032b beq mode_24g_device ,p_mouse_device_24g_led_off 
-0322 c000832d beq mode_bt_device1 ,p_mouse_device_bt1_led_off 
-0323 c001032f beq mode_bt_device2 ,p_mouse_device_bt2_led_off 
-0324 20600000 rtn 
+0307 704cb300 jam off ,mem_mouse_multi_led_state 
+0308 6fe0c93d fetch 1 ,mem_device_flag 
+0309 c0000313 beq mode_24g_device ,p_mouse_device_24g_led_off 
+030a c0008315 beq mode_bt_device1 ,p_mouse_device_bt1_led_off 
+030b c0010317 beq mode_bt_device2 ,p_mouse_device_bt2_led_off 
+030c 20600000 rtn 
 
 p_mouse_device_24g_led_on:
-0325 6848ccb9 fetcht 1 ,mem_mouse_1io2led_multi_24gled 
-0326 2020610d branch gpio_out_active 
+030d 6848ccb9 fetcht 1 ,mem_mouse_1io2led_multi_24gled 
+030e 2020610d branch gpio_out_active 
 
 p_mouse_device_bt1_led_on:
-0327 6848ccba fetcht 1 ,mem_mouse_1io2led_multi_bt1led 
-0328 2020610d branch gpio_out_active 
+030f 6848ccba fetcht 1 ,mem_mouse_1io2led_multi_bt1led 
+0310 2020610d branch gpio_out_active 
 
 p_mouse_device_bt2_led_on:
-0329 6848ccbb fetcht 1 ,mem_mouse_1io2led_multi_bt2led 
-032a 2020610d branch gpio_out_active 
+0311 6848ccbb fetcht 1 ,mem_mouse_1io2led_multi_bt2led 
+0312 2020610d branch gpio_out_active 
 
 p_mouse_device_24g_led_off:
-032b 6848ccb9 fetcht 1 ,mem_mouse_1io2led_multi_24gled 
-032c 20206109 branch gpio_out_inactive 
+0313 6848ccb9 fetcht 1 ,mem_mouse_1io2led_multi_24gled 
+0314 20206109 branch gpio_out_inactive 
 
 p_mouse_device_bt1_led_off:
-032d 6848ccba fetcht 1 ,mem_mouse_1io2led_multi_bt1led 
-032e 20206109 branch gpio_out_inactive 
+0315 6848ccba fetcht 1 ,mem_mouse_1io2led_multi_bt1led 
+0316 20206109 branch gpio_out_inactive 
 
 p_mouse_device_bt2_led_off:
-032f 6848ccbb fetcht 1 ,mem_mouse_1io2led_multi_bt2led 
-0330 20206109 branch gpio_out_inactive 
+0317 6848ccbb fetcht 1 ,mem_mouse_1io2led_multi_bt2led 
+0318 20206109 branch gpio_out_inactive 
 
 p_mouse_multi_led_blink_timer_init:
-0331 6fe0ccb7 fetch 1 ,mem_mouse_multi_led_blink_timer_init 
-0332 67e0ccb8 store 1 ,mem_mouse_multi_led_blink_timer 
-0333 20600000 rtn 
+0319 6fe0ccb7 fetch 1 ,mem_mouse_multi_led_blink_timer_init 
+031a 67e0ccb8 store 1 ,mem_mouse_multi_led_blink_timer 
+031b 20600000 rtn 
 
 p_mouse_device_poweron_led_config:
-0334 6fe0ccb0 fetch 1 ,mem_mouse_led_new_interface_enable 
-0335 207a0000 rtn blank 
-0336 704cb614 jam 20 ,mem_mouse_multi_led_powon_timer 
-0337 704cb200 jam multi_led_on ,mem_mouse_multi_led_type 
-0338 704cb101 jam on ,mem_mouse_multi_led_blink_enable 
-0339 20600000 rtn 
+031c 6fe0ccb0 fetch 1 ,mem_mouse_led_new_interface_enable 
+031d 207a0000 rtn blank 
+031e 704cb614 jam 20 ,mem_mouse_multi_led_powon_timer 
+031f 704cb200 jam multi_led_on ,mem_mouse_multi_led_type 
+0320 704cb101 jam on ,mem_mouse_multi_led_blink_enable 
+0321 20600000 rtn 
 
 p_mouse_device_pair_led_config:
-033a 6fe0ccb0 fetch 1 ,mem_mouse_led_new_interface_enable 
-033b 207a0000 rtn blank 
-033c 704cb702 jam 2 ,mem_mouse_multi_led_blink_timer_init 
+0322 6fe0ccb0 fetch 1 ,mem_mouse_led_new_interface_enable 
+0323 207a0000 rtn blank 
+0324 704cb702 jam 2 ,mem_mouse_multi_led_blink_timer_init 
 
 p_mouse_multi_led_blink_enable:
-033d 704cb300 jam off ,mem_mouse_multi_led_state 
-033e 704cb803 jam 3 ,mem_mouse_multi_led_blink_timer 
-033f 704cb101 jam on ,mem_mouse_multi_led_blink_enable 
-0340 704cb201 jam multi_led_blink ,mem_mouse_multi_led_type 
-0341 20200319 branch p_mouse_device_multi_led_on 
+0325 704cb300 jam off ,mem_mouse_multi_led_state 
+0326 704cb803 jam 3 ,mem_mouse_multi_led_blink_timer 
+0327 704cb101 jam on ,mem_mouse_multi_led_blink_enable 
+0328 704cb201 jam multi_led_blink ,mem_mouse_multi_led_type 
+0329 20200301 branch p_mouse_device_multi_led_on 
 
 p_mouse_device_discovery_led_config:
-0342 6fe0ccb0 fetch 1 ,mem_mouse_led_new_interface_enable 
-0343 207a0000 rtn blank 
-0344 704cb702 jam 2 ,mem_mouse_multi_led_blink_timer_init 
-0345 2020033d branch p_mouse_multi_led_blink_enable 
+032a 6fe0ccb0 fetch 1 ,mem_mouse_led_new_interface_enable 
+032b 207a0000 rtn blank 
+032c 704cb702 jam 2 ,mem_mouse_multi_led_blink_timer_init 
+032d 20200325 branch p_mouse_multi_led_blink_enable 
 
 p_mouse_device_le_reconn_led_config:
-0346 6fe0ccb0 fetch 1 ,mem_mouse_led_new_interface_enable 
-0347 207a0000 rtn blank 
-0348 6fe0ccb4 fetch 1 ,mem_mouse_le_reconn_led_fuction_enable 
-0349 207a0000 rtn blank 
-034a 704cb705 jam 5 ,mem_mouse_multi_led_blink_timer_init 
-034b 2020033d branch p_mouse_multi_led_blink_enable 
+032e 6fe0ccb0 fetch 1 ,mem_mouse_led_new_interface_enable 
+032f 207a0000 rtn blank 
+0330 6fe0ccb4 fetch 1 ,mem_mouse_le_reconn_led_fuction_enable 
+0331 207a0000 rtn blank 
+0332 704cb705 jam 5 ,mem_mouse_multi_led_blink_timer_init 
+0333 20200325 branch p_mouse_multi_led_blink_enable 
 
 p_mouse_commbination_key_process:
-034c 6fe0c93d fetch 1 ,mem_device_flag 
-034d c0000352 beq mode_24g_device ,p_mouse_24g_commbination_key_process 
-034e 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-034f c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
-0350 6848cbdb fetcht 1 ,mem_mouse_commbination_key_bt 
-0351 20200355 branch p_mouse_commbination_key_start 
+0334 6fe0c93d fetch 1 ,mem_device_flag 
+0335 c000033a beq mode_24g_device ,p_mouse_24g_commbination_key_process 
+0336 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0337 c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
+0338 6848cbdb fetcht 1 ,mem_mouse_commbination_key_bt 
+0339 2020033d branch p_mouse_commbination_key_start 
 
 p_mouse_24g_commbination_key_process:
-0352 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-0353 c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
-0354 6848cbdc fetcht 1 ,mem_mouse_commbination_key_24g 
+033a 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+033b c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
+033c 6848cbdc fetcht 1 ,mem_mouse_commbination_key_24g 
 
 p_mouse_commbination_key_start:
-0355 6048cbae storet 1 ,mem_mouse_commbination_key 
-0356 20404155 call mouse_check_key_gpio 
-0357 1fe17e07 and pdata ,0x07 ,pdata 
-0358 6848cbae fetcht 1 ,mem_mouse_commbination_key 
-0359 98467c00 isub temp ,null 
-035a 2022835c branch p_mouse_commbination_key_down ,zero 
-035b 2020452b branch mouse_commbination_key_up 
+033d 6048cbae storet 1 ,mem_mouse_commbination_key 
+033e 20404155 call mouse_check_key_gpio 
+033f 1fe17e07 and pdata ,0x07 ,pdata 
+0340 6848cbae fetcht 1 ,mem_mouse_commbination_key 
+0341 98467c00 isub temp ,null 
+0342 20228344 branch p_mouse_commbination_key_down ,zero 
+0343 2020452b branch mouse_commbination_key_up 
 
 p_mouse_commbination_key_down:
-035c 20400361 call p_mouse_combination_ui_timer 
-035d 6fe0cbb0 fetch 1 ,mem_commbination_key_statue 
-035e c1008000 rtneq commbination_key_state_down 
-035f 704bb001 jam commbination_key_state_down ,mem_commbination_key_statue 
-0360 20600000 rtn 
+0344 20400349 call p_mouse_combination_ui_timer 
+0345 6fe0cbb0 fetch 1 ,mem_commbination_key_statue 
+0346 c1008000 rtneq commbination_key_state_down 
+0347 704bb001 jam commbination_key_state_down ,mem_commbination_key_statue 
+0348 20600000 rtn 
 
 p_mouse_combination_ui_timer:
-0361 da400491 arg p_mouse_24g_start_pair_mode ,regb 
-0362 20204537 branch mouse_combination_ui_timer + 1 
+0349 da40049b arg p_mouse_24g_start_pair_mode ,regb 
+034a 20204537 branch mouse_combination_ui_timer + 1 
 
 p_mouse_check_direct_timeout_timer:
-0363 da604b88 arg mem_mouse_direct_timer ,regc 
-0364 da40454a arg mouse_check_direct_timeout ,regb 
-0365 204031fc call timer_single_step 
-0366 20204547 branch mouse_check_direct_timeout_timer + 3 
+034b da604b88 arg mem_mouse_direct_timer ,regc 
+034c da40454a arg mouse_check_direct_timeout ,regb 
+034d 204031fc call timer_single_step 
+034e 20204547 branch mouse_check_direct_timeout_timer + 3 
 
 p_mouse_le_battery_updata_timer:
-0367 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-0368 c39d8000 rtnbit1 mouse_enable_le_battery_service_cancel 
-0369 2020455f branch mouse_le_battery_updata_timer 
+034f 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0350 c39d8000 rtnbit1 mouse_enable_le_battery_service_cancel 
+0351 2020455f branch mouse_le_battery_updata_timer 
 
 p_mouse_le_send_conn_param_update_timer:
-036a da604c70 arg mem_mouse_le_send_conn_param_update_timer ,regc 
-036b da4043ac arg mouse_updata_le_param ,regb 
-036c 202031fc branch timer_single_step 
+0352 da604c70 arg mem_mouse_le_send_conn_param_update_timer ,regc 
+0353 da4043ac arg mouse_updata_le_param ,regb 
+0354 202031fc branch timer_single_step 
 
 p_mouse_check_no_data_timeout_timer:
-036d da604ac3 arg mem_mouse_no_data_timer ,regc 
-036e da400370 arg p_mouse_check_no_data_timeout ,regb 
-036f 20203203 branch timer_single_step_2b 
+0355 da604ac3 arg mem_mouse_no_data_timer ,regc 
+0356 da400358 arg p_mouse_check_no_data_timeout ,regb 
+0357 20203203 branch timer_single_step_2b 
 
 p_mouse_check_no_data_timeout:
-0370 6fe0c92f fetch 1 ,mem_usb_addr 
-0371 c3838000 rtnbit1 7 
-0372 6fe0c93d fetch 1 ,mem_device_flag 
-0373 c080435b bne mode_24g_device ,mouse_disconnect 
+0358 6fe0c92f fetch 1 ,mem_usb_addr 
+0359 c3838000 rtnbit1 7 
+035a 6fe0c93d fetch 1 ,mem_device_flag 
+035b c080435b bne mode_24g_device ,mouse_disconnect 
 
 p_mouse_24g_hibernate_set:
-0374 7048a900 jam 0 ,mem_24g_attempt_fail_flag 
-0375 20402659 call g24_transmit_next_packet 
-0376 5fffffff setarg -1 
-0377 67e2485f store 4 ,mem_24g_enter_hibernate 
-0378 58000000 setarg 0 
-0379 67e3c8d4 store 7 ,mem_mouse_key 
-037a 704bf201 jam 1 ,mem_sensor_shutdown_flag 
-037b 204003b1 call p_mouse_sensor_powerdown 
-037c 20200470 branch p_g24_long_sleep 
+035c 7048a900 jam 0 ,mem_24g_attempt_fail_flag 
+035d 20402659 call g24_transmit_next_packet 
+035e 5fffffff setarg -1 
+035f 67e2485f store 4 ,mem_24g_enter_hibernate 
+0360 58000000 setarg 0 
+0361 67e3c8d4 store 7 ,mem_mouse_key 
+0362 704bf201 jam 1 ,mem_sensor_shutdown_flag 
+0363 20400397 call p_mouse_sensor_powerdown 
+0364 20400366 call p_mouse_24g_hibernate_set_check 
+0365 2020047a branch p_g24_long_sleep 
+
+p_mouse_24g_hibernate_set_check:
+0366 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0367 c40c8000 rtnbit0 mouse_enable_24g_500hz 
+0368 202026d7 branch g24_transmit_by_interrupt_exit 
 
 p_mouse_store_information_delay_timer:
-037d da6049c4 arg mem_store_information_delay_timer ,regc 
-037e da400380 arg p_mouse_store_device_info_check ,regb 
-037f 202031fc branch timer_single_step 
+0369 da6049c4 arg mem_store_information_delay_timer ,regc 
+036a da40036c arg p_mouse_store_device_info_check ,regb 
+036b 202031fc branch timer_single_step 
 
 p_mouse_store_device_info_check:
-0380 20404631 call mouse_store_device_info 
-0381 6fe0cad6 fetch 1 ,mem_mouse_need_soft_reset 
-0382 207a0000 rtn blank 
+036c 20404631 call mouse_store_device_info 
+036d 6fe0cad6 fetch 1 ,mem_mouse_need_soft_reset 
+036e 207a0000 rtn blank 
 
 p_mouse_soft_reset:
-0383 20400078 call p_enable_rc_clock 
-0384 202046fe branch mouse_soft_reset 
+036f 20400078 call p_enable_rc_clock 
+0370 202046fe branch mouse_soft_reset 
 
 p_mouse_store_device_info:
-0385 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-0386 c289c67f bbit1 mouse_enable_eeprom ,mouse_store_eeprom_device_info 
-0387 20405daf call spid_init_flash 
-0388 2040464a call mouse_spid_flash_release_form_powerdown 
-0389 2040465f call mouse_flash_erase_sector 
-038a 20405db4 call spid_unlock_flash 
-038b 20204646 branch mouse_store_flash_device_info + 3 
+0371 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0372 c289c67f bbit1 mouse_enable_eeprom ,mouse_store_eeprom_device_info 
+0373 20405daf call spid_init_flash 
+0374 2040464a call mouse_spid_flash_release_form_powerdown 
+0375 2040465f call mouse_flash_erase_sector 
+0376 20405db4 call spid_unlock_flash 
+0377 20204646 branch mouse_store_flash_device_info + 3 
 
 p_mouse_init_sunt:
-038c 20403fa5 call mouse_sensor_spi_init 
-038d 20758000 rtn wake 
+0378 20403fa5 call mouse_sensor_spi_init 
+0379 20758000 rtn wake 
 
 p_mouse_init_sensor_wakeup:
-038e 20404276 call mouse_sensor_poweron 
+037a 20404276 call mouse_sensor_poweron 
 
 p_mouse_init_sensor:
-038f 204041f5 call mouse_read_sensor_id 
-0390 c0180396 beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
-0391 c018839a beq p3065_id1 ,p_mouse_init_p3065_check 
-0392 c02c03a0 beq pka8g2_id1 ,p_mouse_ka8g2_id2_judge 
-0393 204041f2 call mouse_twspi_reset 
-0394 20001af4 nop 6900 
-0395 2020038f branch p_mouse_init_sensor 
+037b 204041f5 call mouse_read_sensor_id 
+037c c0180382 beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
+037d c018c257 beq p3065_id1 ,mouse_init_p3065 
+037e c02c0386 beq pka8g2_id1 ,p_mouse_ka8g2_id2_judge 
+037f 204041f2 call mouse_twspi_reset 
+0380 20001af4 nop 6900 
+0381 2020037b branch p_mouse_init_sensor 
 
 p_mouse_init_p32xx_id2_judge:
-0396 6fe0c9c7 fetch 1 ,mem_sensor_id2 
-0397 1fe17ef0 and_into 0xf0 ,pdata 
-0398 c060425e beq p3204_tjdm_id2 ,mouse_p3065xy_init_param 
-0399 202041fc branch mouse_init_p32xx_id2_judge 
-
-p_mouse_init_p3065_check:
-039a 6fe0c9c7 fetch 1 ,mem_sensor_id2 
-039b c028039d beq p3104db ,p_mouse_3104_init_parm 
-039c 20204257 branch mouse_init_p3065 
-
-p_mouse_3104_init_parm:
-039d 70492c0d jam p3104 ,mem_config_sensor_type 
-039e da604cc2 arg mem_sensor_3104_init ,regc 
-039f 202003ac branch p_mouse_sensor_poweron_end 
+0382 6fe0c9c7 fetch 1 ,mem_sensor_id2 
+0383 1fe17ef0 and_into 0xf0 ,pdata 
+0384 c060425e beq p3204_tjdm_id2 ,mouse_p3065xy_init_param 
+0385 202041fc branch mouse_init_p32xx_id2_judge 
 
 p_mouse_ka8g2_id2_judge:
-03a0 6fe0c9c7 fetch 1 ,mem_sensor_id2 
-03a1 c02b83a4 beq ka5857_id2 ,p_mouse_ka5857_init_param 
-03a2 c02cc264 beq pka8g2_id2 ,mouse_ka8g2_init_param 
-03a3 2020038f branch p_mouse_init_sensor 
+0386 6fe0c9c7 fetch 1 ,mem_sensor_id2 
+0387 c02b838a beq ka5857_id2 ,p_mouse_ka5857_init_param 
+0388 c02cc264 beq pka8g2_id2 ,mouse_ka8g2_init_param 
+0389 2020037b branch p_mouse_init_sensor 
 
 p_mouse_ka5857_init_param:
-03a4 70492c0c jam ka5857 ,mem_config_sensor_type 
-03a5 da604c74 arg mem_sensor_ka5857_init ,regc 
-03a6 202003ac branch p_mouse_sensor_poweron_end 
+038a 70492c0c jam ka5857 ,mem_config_sensor_type 
+038b da604c74 arg mem_sensor_ka5857_init ,regc 
+038c 20200392 branch p_mouse_sensor_poweron_end 
 
 p_mouse_sensor_poweron:
-03a7 20403fa5 call mouse_sensor_spi_init 
-03a8 6fe0c92c fetch 1 ,mem_config_sensor_type 
-03a9 c00583ae beq ka8g2 ,p_mouse_ka8g2_sensor_init 
+038d 20403fa5 call mouse_sensor_spi_init 
+038e 6fe0c92c fetch 1 ,mem_config_sensor_type 
+038f c0058394 beq ka8g2 ,p_mouse_ka8g2_sensor_init 
 
 p_mouse_sensor_poweron_next:
-03aa 20404272 call mouse_sensor_reset 
-03ab da604ab4 arg mem_sensor_poweron_init ,regc 
+0390 20404272 call mouse_sensor_reset 
+0391 da604ab4 arg mem_sensor_poweron_init ,regc 
 
 p_mouse_sensor_poweron_end:
-03ac 2040426b call mouse_sensor_wr_seq 
-03ad 2020042c branch p_mouse_seting_sensor_type 
+0392 2040426b call mouse_sensor_wr_seq 
+0393 2020041c branch p_mouse_seting_sensor_type 
 
 p_mouse_ka8g2_sensor_init:
-03ae 204003c1 call p_mouse_ka8g2_sensor_reset 
-03af da604bf5 arg mem_ka8g2_sensor_poweron_init ,regc 
-03b0 202003ac branch p_mouse_sensor_poweron_end 
+0394 204003a7 call p_mouse_ka8g2_sensor_reset 
+0395 da604bf5 arg mem_ka8g2_sensor_poweron_init ,regc 
+0396 20200392 branch p_mouse_sensor_poweron_end 
 
 p_mouse_sensor_powerdown:
-03b1 204041e7 call mouse_init_sunt 
-03b2 20403fa5 call mouse_sensor_spi_init 
-03b3 6fe0c92c fetch 1 ,mem_config_sensor_type 
-03b4 c00583b6 beq ka8g2 ,p_mouse_ka8g2_sensor_powerdown 
-03b5 2020427e branch mouse_sensor_powerdown_end 
+0397 204041e7 call mouse_init_sunt 
+0398 20403fa5 call mouse_sensor_spi_init 
+0399 6fe0c92c fetch 1 ,mem_config_sensor_type 
+039a c005839c beq ka8g2 ,p_mouse_ka8g2_sensor_powerdown 
+039b 2020427e branch mouse_sensor_powerdown_end 
 
 p_mouse_ka8g2_sensor_powerdown:
-03b6 58001f06 setarg 0x1f06 
-03b7 20205d5e branch twspi_write 
+039c 58001f06 setarg 0x1f06 
+039d 20205d5e branch twspi_write 
 
 p_mouse_app_enter_hibernate:
-03b8 58000006 setarg pan_reg_config 
-03b9 20405d65 call twspi_read 
-03ba c281be5d bbit1 3 ,mouse_app_enter_hibernate + 3 
-03bb 204003be call p_mouse_sensor_reset 
-03bc 204003b1 call p_mouse_sensor_powerdown 
-03bd 20203e5d branch mouse_app_enter_hibernate + 3 
+039e 58000006 setarg pan_reg_config 
+039f 20405d65 call twspi_read 
+03a0 c281be5d bbit1 3 ,mouse_app_enter_hibernate + 3 
+03a1 204003a4 call p_mouse_sensor_reset 
+03a2 20400397 call p_mouse_sensor_powerdown 
+03a3 20203e5d branch mouse_app_enter_hibernate + 3 
 
 p_mouse_sensor_reset:
-03be 6fe0c92c fetch 1 ,mem_config_sensor_type 
-03bf c00583c1 beq ka8g2 ,p_mouse_ka8g2_sensor_reset 
-03c0 20204272 branch mouse_sensor_reset 
+03a4 6fe0c92c fetch 1 ,mem_config_sensor_type 
+03a5 c00583a7 beq ka8g2 ,p_mouse_ka8g2_sensor_reset 
+03a6 20204272 branch mouse_sensor_reset 
 
 p_mouse_ka8g2_sensor_reset:
-03c1 58009706 setarg 0x9706 
-03c2 20204273 branch mouse_sensor_reset_end 
+03a7 58009706 setarg 0x9706 
+03a8 20204273 branch mouse_sensor_reset_end 
 
 p_mouse_setgpio_hibernate:
-03c3 20404329 call mouse_set_sdio_high 
-03c4 20407f52 call clear_wake 
-03c5 20404055 call mouse_before_hibernate_wheel_gpio_set 
-03c6 6848c914 fetcht 1 ,mem_matrix_public_gpio 
-03c7 2040610d call gpio_out_active 
-03c8 6848c914 fetcht 1 ,mem_matrix_public_gpio 
-03c9 204060e6 call gpio_clr_wake 
-03ca 6fe0c924 fetch 1 ,mem_mouse_sensor_sdio_gpio 
-03cb 204005ec call p_mouse_gpio_config_output_high 
-03cc 20403e80 call mouse_lpm_before_common 
-03cd 20403e72 call mouse_gpio_pu_idle 
-03ce d8400001 arg 0x01 ,temp 
-03cf 2040610d call gpio_config_output 
-03d0 d8400013 arg 19 ,temp 
-03d1 20403f96 call mouse_gpio_config_input_pu 
-03d2 20400301 call p_mouse_device_led_all_off 
-03d3 204003d8 call p_mouse_gpio_set_high_impedance 
-03d4 204003e5 call p_mouse_device_switch_gpio_high_impedance 
-03d5 204003e9 call p_mouse_wheel_gpio_set_before_hibernate 
-03d6 d8400000 arg 0x00 ,temp 
-03d7 202060e6 branch gpio_clr_wake 
+03a9 20404329 call mouse_set_sdio_high 
+03aa 20407f52 call clear_wake 
+03ab 20404055 call mouse_before_hibernate_wheel_gpio_set 
+03ac 6848c914 fetcht 1 ,mem_matrix_public_gpio 
+03ad 2040610d call gpio_out_active 
+03ae 6848c914 fetcht 1 ,mem_matrix_public_gpio 
+03af 204060e6 call gpio_clr_wake 
+03b0 6fe0c924 fetch 1 ,mem_mouse_sensor_sdio_gpio 
+03b1 20400615 call p_mouse_gpio_config_output_high 
+03b2 20403e80 call mouse_lpm_before_common 
+03b3 20403e72 call mouse_gpio_pu_idle 
+03b4 d8400001 arg 0x01 ,temp 
+03b5 2040610d call gpio_config_output 
+03b6 d8400013 arg 19 ,temp 
+03b7 20403f96 call mouse_gpio_config_input_pu 
+03b8 204002e9 call p_mouse_device_led_all_off 
+03b9 204003be call p_mouse_gpio_set_high_impedance 
+03ba 204003cb call p_mouse_device_switch_gpio_high_impedance 
+03bb 204003cf call p_mouse_wheel_gpio_set_before_hibernate 
+03bc d8400000 arg 0x00 ,temp 
+03bd 202060e6 branch gpio_clr_wake 
 
 p_mouse_gpio_set_high_impedance:
-03d8 6fe1cbef fetch 3 ,mem_mouse_set_high_impedance_bit_set 
-03d9 67e1895c store 3 ,mem_pdatatemp 
-03da df200014 arg 20 ,loopcnt 
-03db d8400000 arg 0 ,temp 
+03be 6fe1cbef fetch 3 ,mem_mouse_set_high_impedance_bit_set 
+03bf 67e1895c store 3 ,mem_pdatatemp 
+03c0 df200014 arg 20 ,loopcnt 
+03c1 d8400000 arg 0 ,temp 
 
 p_mouse_gpio_set_high_impedance_bit_loop:
-03dc 6fe1895c fetch 3 ,mem_pdatatemp 
-03dd 2feffe00 isolate1 0 ,pdata 
-03de 2040e121 call gpio_set_high_impedance ,true 
-03df 6fe1895c fetch 3 ,mem_pdatatemp 
-03e0 1fe37e00 rshift pdata ,pdata 
-03e1 67e1895c store 3 ,mem_pdatatemp 
-03e2 18408401 increase 1 ,temp 
-03e3 c20003dc loop p_mouse_gpio_set_high_impedance_bit_loop 
-03e4 20600000 rtn 
+03c2 6fe1895c fetch 3 ,mem_pdatatemp 
+03c3 2feffe00 isolate1 0 ,pdata 
+03c4 2040e121 call gpio_set_high_impedance ,true 
+03c5 6fe1895c fetch 3 ,mem_pdatatemp 
+03c6 1fe37e00 rshift pdata ,pdata 
+03c7 67e1895c store 3 ,mem_pdatatemp 
+03c8 18408401 increase 1 ,temp 
+03c9 c20003c2 loop p_mouse_gpio_set_high_impedance_bit_loop 
+03ca 20600000 rtn 
 
 p_mouse_device_switch_gpio_high_impedance:
-03e5 6fe0c922 fetch 1 ,mem_device_switch_gpio 
-03e6 c17f8000 rtneq gpio_disable 
-03e7 6848c922 fetcht 1 ,mem_device_switch_gpio 
-03e8 20206121 branch gpio_set_high_impedance 
+03cb 6fe0c922 fetch 1 ,mem_device_switch_gpio 
+03cc c17f8000 rtneq gpio_disable 
+03cd 6848c922 fetcht 1 ,mem_device_switch_gpio 
+03ce 20206121 branch gpio_set_high_impedance 
 
 p_mouse_wheel_gpio_set_before_hibernate:
-03e9 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-03ea c41e0000 rtnbit0 mouse_enable_wheel_wake_up_cancel 
+03cf 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+03d0 c41e0000 rtnbit0 mouse_enable_wheel_wake_up_cancel 
 
 p_mouse_wheel_clr_wakeup:
-03eb 6848c917 fetcht 1 ,mem_whee_a_data_gpio 
-03ec 204060e6 call gpio_clr_wake 
-03ed 6848c918 fetcht 1 ,mem_whee_b_data_gpio 
-03ee 204060e6 call gpio_clr_wake 
-03ef 6848c917 fetcht 1 ,mem_whee_a_data_gpio 
-03f0 20403f94 call mouse_gpio_config_input_pd 
-03f1 6848c918 fetcht 1 ,mem_whee_b_data_gpio 
-03f2 20203f94 branch mouse_gpio_config_input_pd 
+03d1 6848c917 fetcht 1 ,mem_whee_a_data_gpio 
+03d2 204060e6 call gpio_clr_wake 
+03d3 6848c918 fetcht 1 ,mem_whee_b_data_gpio 
+03d4 204060e6 call gpio_clr_wake 
+03d5 6848c917 fetcht 1 ,mem_whee_a_data_gpio 
+03d6 20403f94 call mouse_gpio_config_input_pd 
+03d7 6848c918 fetcht 1 ,mem_whee_b_data_gpio 
+03d8 20203f94 branch mouse_gpio_config_input_pd 
 
 p_mouse_short_sleep_clear_wake:
-03f3 20407f52 call clear_wake 
-03f4 2020155d branch lpm_write_gpio_wakeup 
+03d9 20407f52 call clear_wake 
+03da 2020155d branch lpm_write_gpio_wakeup 
 
 p_mouse_lpm_before_common:
-03f5 6848c917 fetcht 1 ,mem_whee_a_data_gpio 
-03f6 204060f4 call gpio_config_input 
-03f7 6848c918 fetcht 1 ,mem_whee_b_data_gpio 
-03f8 204060f4 call gpio_config_input 
-03f9 20203e81 branch mouse_lpm_before_common + 1 
+03db 6848c917 fetcht 1 ,mem_whee_a_data_gpio 
+03dc 204060f4 call gpio_config_input 
+03dd 6848c918 fetcht 1 ,mem_whee_b_data_gpio 
+03de 204060f4 call gpio_config_input 
+03df 20203e81 branch mouse_lpm_before_common + 1 
 
 p_mouse_idle:
-03fa 204049dd call mouse_low_voltage_led_no_enter_lpm 
-03fb 204079a1 call ui_check_paring_button 
-03fc 2040040e call p_mouse_dpi_check 
-03fd 20400405 call p_mouse_select_device_check 
-03fe 20400408 call p_mouse_check_select_device_by_switch 
-03ff 20404714 call mouse_bt_button_check 
-0400 20403fc8 call mouse_wheel_check 
-0401 2040065e call p_mouse_usb_isr 
-0402 2040069a call p_mouse_usb_mode 
-0403 2040068c call p_mouse_usb_mode_flag_check 
-0404 20600000 rtn 
+03e0 204049dd call mouse_low_voltage_led_no_enter_lpm 
+03e1 204079a1 call ui_check_paring_button 
+03e2 204003f4 call p_mouse_dpi_check 
+03e3 204003eb call p_mouse_select_device_check 
+03e4 204003ee call p_mouse_check_select_device_by_switch 
+03e5 20404714 call mouse_bt_button_check 
+03e6 20403fc8 call mouse_wheel_check 
+03e7 20400687 call p_mouse_usb_isr 
+03e8 204006c3 call p_mouse_usb_mode 
+03e9 204006b5 call p_mouse_usb_mode_flag_check 
+03ea 20600000 rtn 
 
 p_mouse_select_device_check:
-0405 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
-0406 247a0000 nrtn blank 
-0407 20204693 branch mouse_select_device_check 
+03eb 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
+03ec 247a0000 nrtn blank 
+03ed 20204693 branch mouse_select_device_check 
 
 p_mouse_check_select_device_by_switch:
-0408 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
-0409 247a0000 nrtn blank 
-040a 202046de branch mouse_check_select_device_by_switch 
+03ee 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
+03ef 247a0000 nrtn blank 
+03f0 202046de branch mouse_check_select_device_by_switch 
 
 p_mouse_bt_discovery_check:
-040b 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
-040c 247a0000 nrtn blank 
-040d 2020450c branch mouse_bt_discovery_check 
+03f1 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
+03f2 247a0000 nrtn blank 
+03f3 2020450c branch mouse_bt_discovery_check 
 
 p_mouse_dpi_check:
-040e 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-040f c2974076 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
-0410 6fe0c913 fetch 1 ,mem_dpi_button_gpio 
-0411 c17f8000 rtneq gpio_disable 
-0412 da200000 arg 0 ,rega 
-0413 704ba705 jam mouse_dpi_key ,mem_mouse_key_temp 
-0414 6848c913 fetcht 1 ,mem_dpi_button_gpio 
-0415 20400417 call p_mouse_dpi_key_check 
-0416 2020406f branch mouse_dpi_check_next 
+03f4 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+03f5 c2974076 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
+03f6 6fe0c913 fetch 1 ,mem_dpi_button_gpio 
+03f7 c17f8000 rtneq gpio_disable 
+03f8 da200000 arg 0 ,rega 
+03f9 704ba705 jam mouse_dpi_key ,mem_mouse_key_temp 
+03fa 6848c913 fetcht 1 ,mem_dpi_button_gpio 
+03fb 204003fd call p_mouse_dpi_key_check 
+03fc 2020406f branch mouse_dpi_check_next 
 
 p_mouse_dpi_key_check:
-0417 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-0418 c2964088 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
-0419 6fe0cba4 fetch 1 ,mem_mouse_dpikey_press_status 
-041a 1fe22600 copy pdata ,regc 
-041b 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
-041c c07f841e beq gpio_disable ,p_mouse_3io6key_dpi_check 
-041d 2020407f branch mouse_dpi_key_check_next 
+03fd 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+03fe c2964088 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
+03ff 6fe0cba4 fetch 1 ,mem_mouse_dpikey_press_status 
+0400 1fe22600 copy pdata ,regc 
+0401 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
+0402 c07f8404 beq gpio_disable ,p_mouse_3io6key_dpi_check 
+0403 2020407f branch mouse_dpi_key_check_next 
 
 p_mouse_3io6key_dpi_check:
-041e 6fe0c913 fetch 1 ,mem_dpi_button_gpio 
-041f 204005ef call p_mouse_gpio_config_output_low 
-0420 6848c913 fetcht 1 ,mem_dpi_button_gpio 
-0421 202041d5 branch mouse_3io6key_check 
+0404 6fe0c913 fetch 1 ,mem_dpi_button_gpio 
+0405 20400618 call p_mouse_gpio_config_output_low 
+0406 6848c913 fetcht 1 ,mem_dpi_button_gpio 
+0407 202041d5 branch mouse_3io6key_check 
 
 p_mouse_dpi_process:
-0422 204040b2 call mouse_dpi_ghost_check 
-0423 20740000 rtn user 
-0424 6fe0c997 fetch 1 ,mem_mouse_dpi 
-0425 1fe0fe01 increase 1 ,pdata 
-0426 1fe17e03 and pdata ,0x03 ,pdata 
-0427 67e0c997 store 1 ,mem_mouse_dpi 
-0428 2040042b call p_mouse_seting_dpi 
-0429 20400430 call p_mouse_dpi_led_blink_init 
-042a 2020462e branch mouse_store_device_info_delay 
+0408 204040b2 call mouse_dpi_ghost_check 
+0409 20740000 rtn user 
+040a 6fe0c92c fetch 1 ,mem_config_sensor_type 
+040b c0018413 beq p3212 ,p_mouse_dpi_level6_set 
+040c 6fe0c997 fetch 1 ,mem_mouse_dpi 
+040d 1fe0fe01 increase 1 ,pdata 
+040e 1fe17e03 and pdata ,0x03 ,pdata 
+
+p_mouse_dpi_store:
+040f 67e0c997 store 1 ,mem_mouse_dpi 
+0410 2040041b call p_mouse_seting_dpi 
+0411 704cbf01 jam 1 ,mem_mouse_dpi_led_blink_enable 
+0412 2020462e branch mouse_store_device_info_delay 
+
+p_mouse_dpi_level6_set:
+0413 6fe0c997 fetch 1 ,mem_mouse_dpi 
+0414 1fe0fe01 increase 1 ,pdata 
+0415 1fe67c06 sub pdata ,6 ,null 
+0416 2042fed1 call set_pdata_0 ,zero 
+0417 2020040f branch p_mouse_dpi_store 
+
+p_mouse_setting_dpi_4_level:
+0418 6fe0c92c fetch 1 ,mem_config_sensor_type 
+0419 c1018000 rtneq p3212 
+041a 202040cf branch mouse_setting_dpi_4_level 
 
 p_mouse_seting_dpi:
-042b 204040cf call mouse_setting_dpi_4_level 
+041b 20400418 call p_mouse_setting_dpi_4_level 
 
 p_mouse_seting_sensor_type:
-042c 6fe0c92c fetch 1 ,mem_config_sensor_type 
-042d c00640fb beq ka5857 ,mouse_seting_3212_dpi 
-042e c006c0fb beq p3104 ,mouse_seting_3212_dpi 
-042f 202040da branch mouse_seting_sensor_type + 2 
-
-p_mouse_dpi_led_blink_init:
-0430 6fe0ccbe fetch 1 ,mem_mouse_pair_success 
-0431 207a0000 rtn blank 
-0432 6fe0c997 fetch 1 ,mem_mouse_dpi 
-0433 c0000439 beq mouse_dpi_level1 ,p_mouse_dpi_level_2 
-0434 c000843b beq mouse_dpi_level2 ,p_mouse_dpi_level_3 
-0435 c0010437 beq mouse_dpi_level3 ,p_mouse_dpi_level_1 
-0436 20600000 rtn 
-
-p_mouse_dpi_level_1:
-0437 58000001 setarg 1 
-0438 2020043c branch p_mouse_dpi_blink_count_init 
-
-p_mouse_dpi_level_2:
-0439 58000002 setarg 2 
-043a 2020043c branch p_mouse_dpi_blink_count_init 
-
-p_mouse_dpi_level_3:
-043b 58000003 setarg 3 
-
-p_mouse_dpi_blink_count_init:
-043c 67e0ccc0 store 1 ,mem_mouse_dpi_blink_count 
-043d 704cbf01 jam 1 ,mem_mouse_dpi_led_blink_enable 
-043e 20600000 rtn 
+041c 6fe0c92c fetch 1 ,mem_config_sensor_type 
+041d c0018420 beq p3212 ,p_mouse_seting_3212_dpi 
+041e c00640fb beq ka5857 ,mouse_seting_3212_dpi 
+041f 202040da branch mouse_seting_sensor_type + 2 
+
+p_mouse_seting_3212_dpi:
+0420 6fe0c997 fetch 1 ,mem_mouse_dpi 
+0421 c0004102 beq mouse_dpi_level1 ,mouse_set_p3212_cpi0 
+0422 c000c100 beq mouse_dpi_level2 ,mouse_set_p3212_cpi1 
+0423 c0014104 beq mouse_dpi_level3 ,mouse_set_p3212_cpi2 
+0424 c001c100 beq mouse_dpi_level4 ,mouse_set_p3212_cpi1 
+0425 c0024104 beq mouse_dpi_level5 ,mouse_set_p3212_cpi2 
+0426 c002c106 beq mouse_dpi_level6 ,mouse_set_p3212_cpi3 
+0427 20600000 rtn 
+
+p_mouse_dpi_led_timer:
+0428 6fe0ccbe fetch 1 ,mem_mouse_pair_success 
+0429 207a0000 rtn blank 
+042a 6fe0ccbf fetch 1 ,mem_mouse_dpi_led_blink_enable 
+042b 207a0000 rtn blank 
+042c 704cbf00 jam 0 ,mem_mouse_dpi_led_blink_enable 
+042d 6fe0c997 fetch 1 ,mem_mouse_dpi 
+042e c0000435 beq mouse_dpi_level1 ,p_mouse_dpi_level1_led_on 
+042f c0008437 beq mouse_dpi_level2 ,p_mouse_dpi_level2_led_on 
+0430 c0010439 beq mouse_dpi_level3 ,p_mouse_dpi_level3_led_on 
+0431 c001843b beq mouse_dpi_level4 ,p_mouse_dpi_level4_led_on 
+0432 c002043e beq mouse_dpi_level5 ,p_mouse_dpi_level5_led_on 
+0433 c0028440 beq mouse_dpi_level6 ,p_mouse_dpi_level6_led_on 
+0434 20600000 rtn 
+
+p_mouse_dpi_level1_led_on:
+0435 20400315 call p_mouse_device_bt1_led_off 
+0436 2020030d branch p_mouse_device_24g_led_on 
+
+p_mouse_dpi_level2_led_on:
+0437 20400313 call p_mouse_device_24g_led_off 
+0438 20200443 branch p_mouse_dpi_green_on 
+
+p_mouse_dpi_level3_led_on:
+0439 2040030d call p_mouse_device_24g_led_on 
+043a 20200443 branch p_mouse_dpi_green_on 
+
+p_mouse_dpi_level4_led_on:
+043b 20400313 call p_mouse_device_24g_led_off 
+043c 20400445 call p_mouse_dpi_green_off 
+043d 2020030f branch p_mouse_device_bt1_led_on 
+
+p_mouse_dpi_level5_led_on:
+043e 2040030f call p_mouse_device_bt1_led_on 
+043f 20200443 branch p_mouse_dpi_green_on 
+
+p_mouse_dpi_level6_led_on:
+0440 20400445 call p_mouse_dpi_green_off 
+0441 2040030f call p_mouse_device_bt1_led_on 
+0442 2020030d branch p_mouse_device_24g_led_on 
+
+p_mouse_dpi_green_on:
+0443 6848ccc0 fetcht 1 ,mem_mouse_rgb_green_led 
+0444 2020610d branch gpio_out_active 
+
+p_mouse_dpi_green_off:
+0445 6848ccc0 fetcht 1 ,mem_mouse_rgb_green_led 
+0446 20206109 branch gpio_out_inactive 
+
+p_mouse_dpi_led_off:
+0447 20400315 call p_mouse_device_bt1_led_off 
+0448 20400313 call p_mouse_device_24g_led_off 
+0449 20200445 branch p_mouse_dpi_green_off 
 
 p_mouse_priority_bb_event:
-043f 1a627e00 copy regc ,pdata 
-0440 c01e0454 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-0441 c01c8450 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
-0442 c01d0464 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-0443 c0190493 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
-0444 c00a849f beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
-0445 c00a04a8 beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
-0446 c020049a beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
-0447 c00084aa beq bt_evt_bb_connected ,p_mouse_bb_event_connected 
-0448 c00104ad beq bt_evt_bb_disconnected ,p_mouse_bb_disconnected 
-0449 c009044b beq bt_evt_hid_handshake ,p_mouse_bt_hid_handshake 
-044a 20204376 branch mouse_priority_bb_event + 2 
+044a 1a627e00 copy regc ,pdata 
+044b c01e045f beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+044c c01c845b beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
+044d c01d046f beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+044e c019049d beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
+044f c00a84a9 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
+0450 c00a04b2 beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
+0451 c02004a4 beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
+0452 c00084b4 beq bt_evt_bb_connected ,p_mouse_bb_event_connected 
+0453 c00104b7 beq bt_evt_bb_disconnected ,p_mouse_bb_disconnected 
+0454 c0090456 beq bt_evt_hid_handshake ,p_mouse_bt_hid_handshake 
+0455 20204376 branch mouse_priority_bb_event + 2 
 
 p_mouse_bt_hid_handshake:
-044b 70445401 jam app_handshake_done ,mem_app_handshake_flag 
-044c 20403295 call app_lpm_mult_enable 
-044d 20204467 branch mouse_bt_hid_handshake + 3 
+0456 70445401 jam app_handshake_done ,mem_app_handshake_flag 
+0457 20403295 call app_lpm_mult_enable 
+0458 20204467 branch mouse_bt_hid_handshake + 3 
 
 p_mouse_agc_disable_nomal_power:
-044e 20400141 call p_mouse_soft_agc_disable 
-044f 2020010f branch p_mouse_fetch_normal_tx_power 
+0459 20400141 call p_mouse_soft_agc_disable 
+045a 2020010f branch p_mouse_fetch_normal_tx_power 
 
 p_mouse_24g_pairing_complete:
-0450 2040044e call p_mouse_agc_disable_nomal_power 
-0451 20404584 call mouse_no_data_timer_init 
-0452 20400334 call p_mouse_device_poweron_led_config 
-0453 20204896 branch mouse_24g_pairing_complete 
+045b 20400459 call p_mouse_agc_disable_nomal_power 
+045c 20404584 call mouse_no_data_timer_init 
+045d 2040031c call p_mouse_device_poweron_led_config 
+045e 20204896 branch mouse_24g_pairing_complete 
 
 p_mouse_24g_attempt_success:
-0454 6fe2483f fetch 4 ,mem_24g_addr 
-0455 67e24895 store 4 ,mem_24g_receiver_addr 
-0456 67e24998 store 4 ,mem_mouse_24g_addr 
-0457 20402587 call g24_ch_syncword_crc8_init 
-0458 20404584 call mouse_no_data_timer_init 
-0459 2040430a call mouse_init_sensor_reset 
-045a 704abf00 jam 0 ,mem_mouse_long_mult_flag 
-045b 7048a500 jam 0 ,mem_24g_conn_sm 
-045c 70488f00 jam 0 ,mem_24g_reconn_type 
-045d 6fe24895 fetch 4 ,mem_24g_receiver_addr 
-045e 684a4891 fetcht 4 ,mem_24g_fast_conn_addr 
-045f 98467c00 isub temp ,null 
-0460 20628000 rtn zero 
-0461 20400334 call p_mouse_device_poweron_led_config 
-0462 2040044e call p_mouse_agc_disable_nomal_power 
-0463 20204861 branch mouse_24g_first_store_reconn_info 
+045f 6fe2483f fetch 4 ,mem_24g_addr 
+0460 67e24895 store 4 ,mem_24g_receiver_addr 
+0461 67e24998 store 4 ,mem_mouse_24g_addr 
+0462 20402587 call g24_ch_syncword_crc8_init 
+0463 20404584 call mouse_no_data_timer_init 
+0464 2040430a call mouse_init_sensor_reset 
+0465 704abf00 jam 0 ,mem_mouse_long_mult_flag 
+0466 7048a500 jam 0 ,mem_24g_conn_sm 
+0467 70488f00 jam 0 ,mem_24g_reconn_type 
+0468 6fe24895 fetch 4 ,mem_24g_receiver_addr 
+0469 684a4891 fetcht 4 ,mem_24g_fast_conn_addr 
+046a 98467c00 isub temp ,null 
+046b 20628000 rtn zero 
+046c 2040031c call p_mouse_device_poweron_led_config 
+046d 20400459 call p_mouse_agc_disable_nomal_power 
+046e 20204861 branch mouse_24g_first_store_reconn_info 
 
 p_mouse_24g_attempt_fail:
-0464 704cbe00 jam 0 ,mem_mouse_pair_success 
-0465 2040044e call p_mouse_agc_disable_nomal_power 
-0466 6fe0c8a9 fetch 1 ,mem_24g_attempt_fail_flag 
-0467 243a0374 nbranch p_mouse_24g_hibernate_set ,blank 
-0468 6fe0c88f fetch 1 ,mem_24g_reconn_type 
-0469 c0010488 beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
-046a 20204876 branch mouse_24g_attempt_fail + 4 
+046f 20400459 call p_mouse_agc_disable_nomal_power 
+0470 6fe0c8a9 fetch 1 ,mem_24g_attempt_fail_flag 
+0471 243a035c nbranch p_mouse_24g_hibernate_set ,blank 
+0472 6fe0c88f fetch 1 ,mem_24g_reconn_type 
+0473 c0010492 beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
+0474 20204876 branch mouse_24g_attempt_fail + 4 
 
 p_g24_nodata_transmit:
-046b 6fe0c8ab fetch 1 ,mem_24g_abort_pac 
-046c 205a047a call p_g24_send_abort_packet ,blank 
-046d 6fe0c8c1 fetch 1 ,mem_24g_transmit_by_interrupt 
-046e c1008000 rtneq g24_tx_timer_int_enable 
-046f 204026a6 call g24_search_receiver 
+0475 6fe0c8ab fetch 1 ,mem_24g_abort_pac 
+0476 205a0484 call p_g24_send_abort_packet ,blank 
+0477 6fe0c8c1 fetch 1 ,mem_24g_transmit_by_interrupt 
+0478 c1008000 rtneq g24_tx_timer_int_enable 
+0479 204026a6 call g24_search_receiver 
 
 p_g24_long_sleep:
-0470 204026c2 call g24_lpm_wait 
-0471 24740000 nrtn user 
-0472 204026cb call g24_setgpio_lpm_before 
-0473 704c3100 jam 0 ,mem_sleep_miss 
-0474 704c3201 jam 1 ,mem_long_sleep_flag 
-0475 204000fb call p_send_time_long_wake 
-0476 6fe0cbf2 fetch 1 ,mem_sensor_shutdown_flag 
-0477 245a3e6a ncall mouse_setgpio_hibernate ,blank 
-0478 6fe2485f fetch 4 ,mem_24g_enter_hibernate 
-0479 202026bf branch g24_long_seep2 
+047a 204026c2 call g24_lpm_wait 
+047b 24740000 nrtn user 
+047c 204026cb call g24_setgpio_lpm_before 
+047d 704c3100 jam 0 ,mem_sleep_miss 
+047e 704c3201 jam 1 ,mem_long_sleep_flag 
+047f 204000fb call p_send_time_long_wake 
+0480 6fe0cbf2 fetch 1 ,mem_sensor_shutdown_flag 
+0481 245a3e6a ncall mouse_setgpio_hibernate ,blank 
+0482 6fe2485f fetch 4 ,mem_24g_enter_hibernate 
+0483 202026bf branch g24_long_seep2 
 
 p_g24_send_abort_packet:
-047a 70483901 jam type_ms ,mem_24g_data_type 
-047b 7048ab01 jam 1 ,mem_24g_abort_pac 
-047c 20402649 call g24_transmit_rf_ctrl_clear 
-047d 67e0c7c9 store 1 ,mem_24g_txbuf 
-047e 58000000 setarg 0 
-047f 67e3c7ca store 7 ,mem_24g_txbuf + 1 
-0480 6fe248ad fetch 4 ,mem_24g_device_addr 
-0481 67e247d1 store 4 ,mem_24g_txbuf + 8 
-0482 7048380c jam 12 ,mem_24g_datalen 
-0483 6fe0c839 fetch 1 ,mem_24g_data_type 
-0484 79207e03 set1 bit_abort ,pdata 
-0485 67e0c839 store 1 ,mem_24g_data_type 
-0486 20402247 call g24_transmit_prep 
-0487 20200148 branch p_g24_transmit_start 
+0484 70483901 jam type_ms ,mem_24g_data_type 
+0485 7048ab01 jam 1 ,mem_24g_abort_pac 
+0486 20402649 call g24_transmit_rf_ctrl_clear 
+0487 67e0c7c9 store 1 ,mem_24g_txbuf 
+0488 58000000 setarg 0 
+0489 67e3c7ca store 7 ,mem_24g_txbuf + 1 
+048a 6fe248ad fetch 4 ,mem_24g_device_addr 
+048b 67e247d1 store 4 ,mem_24g_txbuf + 8 
+048c 7048380c jam 12 ,mem_24g_datalen 
+048d 6fe0c839 fetch 1 ,mem_24g_data_type 
+048e 79207e03 set1 bit_abort ,pdata 
+048f 67e0c839 store 1 ,mem_24g_data_type 
+0490 20402247 call g24_transmit_prep 
+0491 20200148 branch p_g24_transmit_start 
 
 p_mouse_24g_fast_conn_attempt_fail:
-0488 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-0489 c297c850 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_start_auto_pair 
-048a c2984850 bbit1 mouse_enable_auto_24g_paring ,mouse_24g_start_auto_pair 
-048b c31d4845 bbit0 mouse_enable_24g_auto_pair_nerver_been_paired ,mouse_24g_reconn_dongle_start 
-048c 6fe24998 fetch 4 ,mem_mouse_24g_addr 
-048d 684a4979 fetcht 4 ,mem_mouse_compare_addr_ff 
-048e 98467c00 isub temp ,null 
-048f 20228491 branch p_mouse_24g_start_pair_mode ,zero 
-0490 20204845 branch mouse_24g_reconn_dongle_start 
+0492 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0493 c297c850 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_start_auto_pair 
+0494 c2984850 bbit1 mouse_enable_auto_24g_paring ,mouse_24g_start_auto_pair 
+0495 c31d4845 bbit0 mouse_enable_24g_auto_pair_nerver_been_paired ,mouse_24g_reconn_dongle_start 
+0496 6fe24998 fetch 4 ,mem_mouse_24g_addr 
+0497 684a4979 fetcht 4 ,mem_mouse_compare_addr_ff 
+0498 98467c00 isub temp ,null 
+0499 2022849b branch p_mouse_24g_start_pair_mode ,zero 
+049a 20204845 branch mouse_24g_reconn_dongle_start 
 
 p_mouse_24g_start_pair_mode:
-0491 70488f00 jam 0 ,mem_24g_reconn_type 
-0492 20204866 branch mouse_24g_start_pair_mode 
+049b 70488f00 jam 0 ,mem_24g_reconn_type 
+049c 20204866 branch mouse_24g_start_pair_mode 
 
 p_mouse_le_ll_start_encryt:
-0493 6fe0cad8 fetch 1 ,mem_mouse_le_reconnect_flag 
-0494 c0008497 beq 1 ,p_mouse_le_ll_reconn_start_encryt 
-0495 704b8714 jam 20 ,mem_le_start_encrypt_timer 
-0496 202043b3 branch mouse_le_ll_enable_start_enc_flag 
+049d 6fe0cad8 fetch 1 ,mem_mouse_le_reconnect_flag 
+049e c00084a1 beq 1 ,p_mouse_le_ll_reconn_start_encryt 
+049f 704b8714 jam 20 ,mem_le_start_encrypt_timer 
+04a0 202043b3 branch mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_le_ll_reconn_start_encryt:
-0497 204043ac call mouse_updata_le_param 
-0498 704b870a jam 10 ,mem_le_start_encrypt_timer 
-0499 202043b3 branch mouse_le_ll_enable_start_enc_flag 
+04a1 204043ac call mouse_updata_le_param 
+04a2 704b870a jam 10 ,mem_le_start_encrypt_timer 
+04a3 202043b3 branch mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_le_conn_param_update_rsp_recieved:
-049a 6fe0cc6f fetch 1 ,mem_mouse_le_send_conn_param_update 
-049b 247a0000 nrtn blank 
-049c 704c6f01 jam 1 ,mem_mouse_le_send_conn_param_update 
-049d 704c701e jam 30 ,mem_mouse_le_send_conn_param_update_timer 
-049e 20600000 rtn 
+04a4 6fe0cc6f fetch 1 ,mem_mouse_le_send_conn_param_update 
+04a5 247a0000 nrtn blank 
+04a6 704c6f01 jam 1 ,mem_mouse_le_send_conn_param_update 
+04a7 704c701e jam 30 ,mem_mouse_le_send_conn_param_update_timer 
+04a8 20600000 rtn 
 
 p_mouse_le_bb_disconnected:
-049f 58000000 setarg 0 
-04a0 67e14b03 store 2 ,mem_le_battery_level_updata_timer 
-04a1 67e0cc6f store 1 ,mem_mouse_le_send_conn_param_update 
-04a2 67e0cc70 store 1 ,mem_mouse_le_send_conn_param_update_timer 
-04a3 67e0cad7 store 1 ,mem_mouse_le_bb_connected_flag 
-04a4 704b0500 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
-04a5 704abd00 jam 0 ,mem_mouse_clear_sensor_data_flag 
-04a6 20401ac8 call le_clr_config_more_data 
-04a7 202004ad branch p_mouse_bb_disconnected 
+04a9 58000000 setarg 0 
+04aa 67e14b03 store 2 ,mem_le_battery_level_updata_timer 
+04ab 67e0cc6f store 1 ,mem_mouse_le_send_conn_param_update 
+04ac 67e0cc70 store 1 ,mem_mouse_le_send_conn_param_update_timer 
+04ad 67e0cad7 store 1 ,mem_mouse_le_bb_connected_flag 
+04ae 704b0500 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
+04af 704abd00 jam 0 ,mem_mouse_clear_sensor_data_flag 
+04b0 20401ac8 call le_clr_config_more_data 
+04b1 202004b7 branch p_mouse_bb_disconnected 
 
 p_mouse_le_bb_event_connected:
-04a8 20400334 call p_mouse_device_poweron_led_config 
-04a9 20204390 branch mouse_le_bb_event_connected 
+04b2 2040031c call p_mouse_device_poweron_led_config 
+04b3 20204390 branch mouse_le_bb_event_connected 
 
 p_mouse_bb_event_connected:
-04aa 20404584 call mouse_no_data_timer_init 
-04ab 20400334 call p_mouse_device_poweron_led_config 
-04ac 2020443a branch mouse_bb_event_connected 
+04b4 20404584 call mouse_no_data_timer_init 
+04b5 2040031c call p_mouse_device_poweron_led_config 
+04b6 2020443a branch mouse_bb_event_connected 
 
 p_mouse_bb_disconnected:
-04ad 704b9000 jam 0 ,mem_mouse_enter_sniff_count 
-04ae 704b9900 jam 0 ,mem_mouse_bt_send_first_package_flag 
-04af 20404433 call mouse_bt_sniff_param_interval_setup 
-04b0 20404449 call mouse_bb_discon_clear_stack 
-04b1 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
-04b2 247a0000 nrtn blank 
-04b3 20204442 branch mouse_bb_disconnected + 4 
+04b7 704b9000 jam 0 ,mem_mouse_enter_sniff_count 
+04b8 704b9900 jam 0 ,mem_mouse_bt_send_first_package_flag 
+04b9 20404433 call mouse_bt_sniff_param_interval_setup 
+04ba 20404449 call mouse_bb_discon_clear_stack 
+04bb 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
+04bc 247a0000 nrtn blank 
+04bd 20204442 branch mouse_bb_disconnected + 4 
 
 p_g24_pair_dispatch:
-04b4 70488f00 jam default_24g_device ,mem_24g_reconn_type 
-04b5 6fe14bfd fetch 2 ,mem_24g_pair_count 
-04b6 1fe0fe01 increase 1 ,pdata 
-04b7 67e14bfd store 2 ,mem_24g_pair_count 
-04b8 6fe0cbfd fetch 1 ,mem_24g_pair_count 
-04b9 1fe17eff and pdata ,0xff ,pdata 
-04ba c00004bc beq 0 ,p_g24_pair_dispatch2 
-04bb 20600000 rtn 
+04be 70488f00 jam default_24g_device ,mem_24g_reconn_type 
+04bf 6fe14bfd fetch 2 ,mem_24g_pair_count 
+04c0 1fe0fe01 increase 1 ,pdata 
+04c1 67e14bfd store 2 ,mem_24g_pair_count 
+04c2 6fe0cbfd fetch 1 ,mem_24g_pair_count 
+04c3 1fe17eff and pdata ,0xff ,pdata 
+04c4 c00004c6 beq 0 ,p_g24_pair_dispatch2 
+04c5 20600000 rtn 
 
 p_g24_pair_dispatch2:
-04bc 6fe0c883 fetch 1 ,mem_24g_pair_sm 
-04bd c07fa344 beq state_24g_pairing_success ,g24_pair_exit 
-04be c00084c3 beq state_24g_pairing_1 ,p_g24_pair_sm_1 
-04bf c00104c5 beq state_24g_pairing_2 ,p_g24_pair_sm_2 
-04c0 c00184cb beq state_24g_pairing_3 ,p_g24_pair_sm_3 
-04c1 c00204d1 beq state_24g_pairing_4 ,p_g24_pair_sm_4 
-04c2 20600000 rtn 
+04c6 6fe0c883 fetch 1 ,mem_24g_pair_sm 
+04c7 c07fa344 beq state_24g_pairing_success ,g24_pair_exit 
+04c8 c00084cd beq state_24g_pairing_1 ,p_g24_pair_sm_1 
+04c9 c00104cf beq state_24g_pairing_2 ,p_g24_pair_sm_2 
+04ca c00184d5 beq state_24g_pairing_3 ,p_g24_pair_sm_3 
+04cb c00204db beq state_24g_pairing_4 ,p_g24_pair_sm_4 
+04cc 20600000 rtn 
 
 p_g24_pair_sm_1:
-04c3 7047c9ff jam datatype_attemp ,mem_24g_txbuf 
-04c4 202004d2 branch p_g24_pair_sm_prep 
+04cd 7047c9ff jam datatype_attemp ,mem_24g_txbuf 
+04ce 202004dc branch p_g24_pair_sm_prep 
 
 p_g24_pair_sm_2:
-04c5 6fe0c85e fetch 1 ,mem_24g_pair_switch 
-04c6 203a04c9 branch p_g24_pair_sm_2_skip ,blank 
-04c7 6fe248ad fetch 4 ,mem_24g_device_addr 
-04c8 20402292 call g24_update_addr_and_synccrc8 
+04cf 6fe0c85e fetch 1 ,mem_24g_pair_switch 
+04d0 203a04d3 branch p_g24_pair_sm_2_skip ,blank 
+04d1 6fe248ad fetch 4 ,mem_24g_device_addr 
+04d2 20402292 call g24_update_addr_and_synccrc8 
 
 p_g24_pair_sm_2_skip:
-04c9 7047c9aa jam datatype_bind ,mem_24g_txbuf 
-04ca 202004d2 branch p_g24_pair_sm_prep 
+04d3 7047c9aa jam datatype_bind ,mem_24g_txbuf 
+04d4 202004dc branch p_g24_pair_sm_prep 
 
 p_g24_pair_sm_3:
-04cb 7047c955 jam datatype_config ,mem_24g_txbuf 
-04cc 6fe0c85e fetch 1 ,mem_24g_pair_switch 
-04cd 203a04d2 branch p_g24_pair_sm_prep ,blank 
-04ce 6fe24895 fetch 4 ,mem_24g_receiver_addr 
-04cf 67e247cb store 4 ,mem_24g_txbuf + 2 
-04d0 202004d4 branch p_g24_pair_sm_common 
+04d5 7047c955 jam datatype_config ,mem_24g_txbuf 
+04d6 6fe0c85e fetch 1 ,mem_24g_pair_switch 
+04d7 203a04dc branch p_g24_pair_sm_prep ,blank 
+04d8 6fe24895 fetch 4 ,mem_24g_receiver_addr 
+04d9 67e247cb store 4 ,mem_24g_txbuf + 2 
+04da 202004de branch p_g24_pair_sm_common 
 
 p_g24_pair_sm_4:
-04d1 7047c922 jam datatype_ok ,mem_24g_txbuf 
+04db 7047c922 jam datatype_ok ,mem_24g_txbuf 
 
 p_g24_pair_sm_prep:
-04d2 6fe248ad fetch 4 ,mem_24g_device_addr 
-04d3 67e247cb store 4 ,mem_24g_txbuf + 2 
+04dc 6fe248ad fetch 4 ,mem_24g_device_addr 
+04dd 67e247cb store 4 ,mem_24g_txbuf + 2 
 
 p_g24_pair_sm_common:
-04d4 6fe0c839 fetch 1 ,mem_24g_data_type 
-04d5 1fe17e07 and_into bits_data ,pdata 
-04d6 67e0c7ca store 1 ,mem_24g_txbuf + 1 
-04d7 7047cf00 jam 0 ,mem_24g_txbuf + 6 
-04d8 70483807 jam 7 ,mem_24g_datalen 
-04d9 20402247 call g24_transmit_prep 
-04da 204001e8 call p_g24_transmit_receive_ack 
-04db 20202316 branch g24_pair_sm_common + 7 
+04de 6fe0c839 fetch 1 ,mem_24g_data_type 
+04df 1fe17e07 and_into bits_data ,pdata 
+04e0 67e0c7ca store 1 ,mem_24g_txbuf + 1 
+04e1 7047cf00 jam 0 ,mem_24g_txbuf + 6 
+04e2 70483807 jam 7 ,mem_24g_datalen 
+04e3 20402247 call g24_transmit_prep 
+04e4 204001e8 call p_g24_transmit_receive_ack 
+04e5 20202316 branch g24_pair_sm_common + 7 
 
 p_g24_pair_sm_common_next:
-04dc 6fe0c883 fetch 1 ,mem_24g_pair_sm 
-04dd c17f8000 rtneq state_24g_pairing_success 
-04de c00104e0 beq state_24g_pairing_2 ,p_g24_pair_sm_2_waiting_ack 
-04df 2020231d branch g24_pair_sm_common_next + 2 
+04e6 6fe0c883 fetch 1 ,mem_24g_pair_sm 
+04e7 c17f8000 rtneq state_24g_pairing_success 
+04e8 c00104ea beq state_24g_pairing_2 ,p_g24_pair_sm_2_waiting_ack 
+04e9 2020231d branch g24_pair_sm_common_next + 2 
 
 p_g24_pair_sm_2_waiting_ack:
-04e0 6fe0c85e fetch 1 ,mem_24g_pair_switch 
-04e1 203a232d branch g24_pair_sm_2_waiting_ack_skip ,blank 
-04e2 6fe2480f fetch 4 ,mem_24g_rxpayload + 2 
-04e3 207a0000 rtn blank 
-04e4 67e24895 store 4 ,mem_24g_receiver_addr 
-04e5 2020232d branch g24_pair_sm_2_waiting_ack_skip 
+04ea 6fe0c85e fetch 1 ,mem_24g_pair_switch 
+04eb 203a232d branch g24_pair_sm_2_waiting_ack_skip ,blank 
+04ec 6fe2480f fetch 4 ,mem_24g_rxpayload + 2 
+04ed 207a0000 rtn blank 
+04ee 67e24895 store 4 ,mem_24g_receiver_addr 
+04ef 2020232d branch g24_pair_sm_2_waiting_ack_skip 
 
 p_g24_reconn_dispatch:
-04e6 6fe1488d fetch 2 ,mem_24g_reconn_count 
-04e7 d84001f8 arg 0x01f8 ,temp 
-04e8 98417e00 iand temp ,pdata 
-04e9 203a04f1 branch p_g24_reconn_dispatch_next ,blank 
-04ea 6fe1488d fetch 2 ,mem_24g_reconn_count 
-04eb 1fe0fe01 increase 1 ,pdata 
-04ec 67e1488d store 2 ,mem_24g_reconn_count 
-04ed 20600000 rtn 
+04f0 6fe1488d fetch 2 ,mem_24g_reconn_count 
+04f1 d84001f8 arg 0x01f8 ,temp 
+04f2 98417e00 iand temp ,pdata 
+04f3 203a04fb branch p_g24_reconn_dispatch_next ,blank 
+04f4 6fe1488d fetch 2 ,mem_24g_reconn_count 
+04f5 1fe0fe01 increase 1 ,pdata 
+04f6 67e1488d store 2 ,mem_24g_reconn_count 
+04f7 20600000 rtn 
 
 p_g24_reconn_mode_judge:
-04ee 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-04ef c29822e4 bbit1 mouse_enable_auto_24g_paring ,g24_pair_start 
-04f0 20202577 branch g24_reconn_receiver_addr 
+04f8 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+04f9 c29822e4 bbit1 mouse_enable_auto_24g_paring ,g24_pair_start 
+04fa 20202577 branch g24_reconn_receiver_addr 
 
 p_g24_reconn_dispatch_next:
-04f1 204025a3 call g24_reconn_data_prep 
-04f2 204001e8 call p_g24_transmit_receive_ack 
-04f3 242c050a nbranch p_g24_reconn_device_fail ,sync 
-04f4 2437850a nbranch p_g24_reconn_device_fail ,user3 
-04f5 20402679 call g24_ackpayload_parse 
-04f6 6fe2487b fetch 4 ,mem_24g_pair_addr 
-04f7 684a483f fetcht 4 ,mem_24g_addr 
-04f8 98467c00 isub temp ,null 
-04f9 202284ee branch p_g24_reconn_mode_judge ,zero 
-04fa 6fe248ad fetch 4 ,mem_24g_device_addr 
-04fb 684a483f fetcht 4 ,mem_24g_addr 
-04fc 98467c00 isub temp ,null 
-04fd 20428506 call p_g24_store_receiver_addr ,zero 
-04fe 6fe0c8a5 fetch 1 ,mem_24g_conn_sm 
-04ff 793ffe02 set0 state_24g_reconn ,pdata 
-0500 67e0c8a5 store 1 ,mem_24g_conn_sm 
-0501 58000000 setarg 0 
-0502 67e14887 store 2 ,mem_24g_pair_timeout 
-0503 67e1488d store 2 ,mem_24g_reconn_count 
-0504 67e1488b store 2 ,mem_24g_reconn_timeout 
-0505 2020259e branch g24_reconn_attempt_success 
+04fb 204025a3 call g24_reconn_data_prep 
+04fc 204001e8 call p_g24_transmit_receive_ack 
+04fd 242c0514 nbranch p_g24_reconn_device_fail ,sync 
+04fe 24378514 nbranch p_g24_reconn_device_fail ,user3 
+04ff 20402679 call g24_ackpayload_parse 
+0500 6fe2487b fetch 4 ,mem_24g_pair_addr 
+0501 684a483f fetcht 4 ,mem_24g_addr 
+0502 98467c00 isub temp ,null 
+0503 202284f8 branch p_g24_reconn_mode_judge ,zero 
+0504 6fe248ad fetch 4 ,mem_24g_device_addr 
+0505 684a483f fetcht 4 ,mem_24g_addr 
+0506 98467c00 isub temp ,null 
+0507 20428510 call p_g24_store_receiver_addr ,zero 
+0508 6fe0c8a5 fetch 1 ,mem_24g_conn_sm 
+0509 793ffe02 set0 state_24g_reconn ,pdata 
+050a 67e0c8a5 store 1 ,mem_24g_conn_sm 
+050b 58000000 setarg 0 
+050c 67e14887 store 2 ,mem_24g_pair_timeout 
+050d 67e1488d store 2 ,mem_24g_reconn_count 
+050e 67e1488b store 2 ,mem_24g_reconn_timeout 
+050f 2020259e branch g24_reconn_attempt_success 
 
 p_g24_store_receiver_addr:
-0506 6fe2480f fetch 4 ,mem_24g_rxpayload + 2 
-0507 207a0000 rtn blank 
-0508 67e24895 store 4 ,mem_24g_receiver_addr 
-0509 20202587 branch g24_ch_syncword_crc8_init 
+0510 6fe2480f fetch 4 ,mem_24g_rxpayload + 2 
+0511 207a0000 rtn blank 
+0512 67e24895 store 4 ,mem_24g_receiver_addr 
+0513 20202587 branch g24_ch_syncword_crc8_init 
 
 p_g24_reconn_device_fail:
-050a 6fe0c890 fetch 1 ,mem_24g_fast_conn_enable 
-050b 203a2281 branch g24_ch ,blank 
-050c 6fe1488d fetch 2 ,mem_24g_reconn_count 
-050d 1fe0fe01 increase 1 ,pdata 
-050e 67e1488d store 2 ,mem_24g_reconn_count 
-050f 2feffe09 isolate1 9 ,pdata 
-0510 6fe0c88f fetch 1 ,mem_24g_reconn_type 
-0511 c0010514 beq fast_conn_and_3_0_addr ,p_g24_reconn_fast_conn_and_3_0 
-0512 c002051b beq pair_and_3_0_addr ,p_g24_reconn_pair_and_3_0 
-0513 202025b1 branch g24_reconn_device_fail + 7 
+0514 6fe0c890 fetch 1 ,mem_24g_fast_conn_enable 
+0515 203a2281 branch g24_ch ,blank 
+0516 6fe1488d fetch 2 ,mem_24g_reconn_count 
+0517 1fe0fe01 increase 1 ,pdata 
+0518 67e1488d store 2 ,mem_24g_reconn_count 
+0519 2feffe09 isolate1 9 ,pdata 
+051a 6fe0c88f fetch 1 ,mem_24g_reconn_type 
+051b c001051e beq fast_conn_and_3_0_addr ,p_g24_reconn_fast_conn_and_3_0 
+051c c0020525 beq pair_and_3_0_addr ,p_g24_reconn_pair_and_3_0 
+051d 202025b1 branch g24_reconn_device_fail + 7 
 
 p_g24_reconn_fast_conn_and_3_0:
-0514 6fe0cc85 fetch 1 ,mem_24g_reconn_pairing_switch 
-0515 1fe0fe01 increase 1 ,pdata 
-0516 1fe17e03 and_into 3 ,pdata 
-0517 67e0cc85 store 1 ,mem_24g_reconn_pairing_switch 
-0518 c000257e beq 0 ,g24_reconn_device_3_0_addr 
-0519 c001256f beq 2 ,g24_reconn_fast_conn 
-051a 202022ef branch g24_pair_init_param 
+051e 6fe0cc85 fetch 1 ,mem_24g_reconn_pairing_switch 
+051f 1fe0fe01 increase 1 ,pdata 
+0520 1fe17e03 and_into 3 ,pdata 
+0521 67e0cc85 store 1 ,mem_24g_reconn_pairing_switch 
+0522 c000257e beq 0 ,g24_reconn_device_3_0_addr 
+0523 c001256f beq 2 ,g24_reconn_fast_conn 
+0524 202022ef branch g24_pair_init_param 
 
 p_g24_reconn_pair_and_3_0:
-051b 2020a57e branch g24_reconn_device_3_0_addr ,true 
-051c 202022ef branch g24_pair_init_param 
+0525 2020a57e branch g24_reconn_device_3_0_addr ,true 
+0526 202022ef branch g24_pair_init_param 
 
 p_g24_lpm_wait:
-051d 6fe0cbbb fetch 1 ,mem_24g_device_led_status 
-051e 243a7ec7 nbranch disable_user ,blank 
-051f 78347c00 enable user 
-0520 20401436 call lpo_calibration 
-0521 6fe1c174 fetch 3 ,mem_clks_per_lpo 
-0522 203a7ec7 branch disable_user ,blank 
-0523 6fe0c099 fetch 1 ,mem_lpm_mode 
-0524 203a7ec7 branch disable_user ,blank 
-0525 6fe0c8c1 fetch 1 ,mem_24g_transmit_by_interrupt 
-0526 c000fec7 beq g24_tx_timer_int_enable ,disable_user 
-0527 20600000 rtn 
+0527 6fe0cbbb fetch 1 ,mem_24g_device_led_status 
+0528 243a7ec7 nbranch disable_user ,blank 
+0529 78347c00 enable user 
+052a 20401436 call lpo_calibration 
+052b 6fe1c174 fetch 3 ,mem_clks_per_lpo 
+052c 203a7ec7 branch disable_user ,blank 
+052d 6fe0c099 fetch 1 ,mem_lpm_mode 
+052e 203a7ec7 branch disable_user ,blank 
+052f 6fe0c8c1 fetch 1 ,mem_24g_transmit_by_interrupt 
+0530 c000fec7 beq g24_tx_timer_int_enable ,disable_user 
+0531 20600000 rtn 
 
 p_mouse_start_discovery:
-0528 20400342 call p_mouse_device_discovery_led_config 
-0529 6fe1478f fetch 2 ,mem_ui_state_map 
-052a 2feffe0b isolate1 ui_state_ble_adv ,pdata 
-052b 2040c5c1 call mouse_stop_le_adv ,true 
-052c 6fe1478f fetch 2 ,mem_ui_state_map 
-052d 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
-052e 2040c362 call mouse_cancel_reconnect ,true 
-052f 58000000 setarg 0 
-0530 67e14b03 store 2 ,mem_le_battery_level_updata_timer 
-0531 20204594 branch mouse_start_discovery + 1 
+0532 2040032a call p_mouse_device_discovery_led_config 
+0533 6fe1478f fetch 2 ,mem_ui_state_map 
+0534 2feffe0b isolate1 ui_state_ble_adv ,pdata 
+0535 2040c5c1 call mouse_stop_le_adv ,true 
+0536 6fe1478f fetch 2 ,mem_ui_state_map 
+0537 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
+0538 2040c362 call mouse_cancel_reconnect ,true 
+0539 58000000 setarg 0 
+053a 67e14b03 store 2 ,mem_le_battery_level_updata_timer 
+053b 20204594 branch mouse_start_discovery + 1 
 
 p_mouse_stop_discovery:
-0532 58000000 setarg 0 
-0533 67e14ad3 store 2 ,mem_mouse_discovery_timer 
-0534 202045b7 branch mouse_stop_discovery + 1 
+053c 58000000 setarg 0 
+053d 67e14ad3 store 2 ,mem_mouse_discovery_timer 
+053e 202045b7 branch mouse_stop_discovery + 1 
 
 p_ui_timer_check:
-0535 6fe0cbf4 fetch 1 ,mem_power_on_flag 
-0536 245a78cc ncall ui_timer_init ,blank 
-0537 704bf400 jam 0 ,mem_power_on_flag 
-0538 202078bc branch ui_timer_check + 1 
+053f 6fe0cbf4 fetch 1 ,mem_power_on_flag 
+0540 245a78cc ncall ui_timer_init ,blank 
+0541 704bf400 jam 0 ,mem_power_on_flag 
+0542 202078bc branch ui_timer_check + 1 
 
 p_le_enable_phy_by_pdata:
-0539 18427e00 copy temp ,pdata 
-053a c2801651 bbit1 bit_le_1m_phy ,le_enable 
-053b c280853d bbit1 bit_le_2m_phy ,p_le_enable_2m 
-053c 2020163c branch le_enable_phy_by_pdata + 5 
+0543 18427e00 copy temp ,pdata 
+0544 c2801651 bbit1 bit_le_1m_phy ,le_enable 
+0545 c2808547 bbit1 bit_le_2m_phy ,p_le_enable_2m 
+0546 2020163c branch le_enable_phy_by_pdata + 5 
 
 p_le_enable_2m:
-053d 20401640 call le_enable_2m 
-053e 708a6d89 jam 0x89 ,core_rx_bq_cfg0 
-053f 20600000 rtn 
+0547 20401640 call le_enable_2m 
+0548 708a6d89 jam 0x89 ,core_rx_bq_cfg0 
+0549 20600000 rtn 
 
 p_hid_rx_process:
-0540 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
-0541 1fe20c00 copy pdata ,contr 
-0542 efe08006 ifetch 1 ,contr 
-0543 67e0c5f8 store 1 ,mem_l2cap_rcv_hidtype 
-0544 1fe1040f and pdata ,0x0f ,temp 
-0545 1ff1fe00 rshift4 pdata ,pdata 
-0546 c0048548 beq hid_type_set_idle ,p_hid_rx_process_handshake 
-0547 20204df1 branch hid_rx_process + 7 
+054a 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
+054b 1fe20c00 copy pdata ,contr 
+054c efe08006 ifetch 1 ,contr 
+054d 67e0c5f8 store 1 ,mem_l2cap_rcv_hidtype 
+054e 1fe1040f and pdata ,0x0f ,temp 
+054f 1ff1fe00 rshift4 pdata ,pdata 
+0550 c0048552 beq hid_type_set_idle ,p_hid_rx_process_handshake 
+0551 20204df1 branch hid_rx_process + 7 
 
 p_hid_rx_process_handshake:
-0548 da200001 arg 1 ,rega 
-0549 20404e1e call hid_malloc_tx_buff 
-054a 6fe144df fetch 2 ,mem_hid_ctrl_remote_cid 
-054b e7e10005 istore 2 ,contw 
-054c 58000000 setarg 0 
-054d e7e08005 istore 1 ,contw 
-054e 70095001 jam 1 ,mem_ui_data_txbuff_length 
-054f 6fe0c4e5 fetch 1 ,mem_hid_control_state 
-0550 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
-0551 67e0c4e5 store 1 ,mem_hid_control_state 
-0552 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
-0553 202078dc branch ui_ipc_send_event 
+0552 da200001 arg 1 ,rega 
+0553 20404e1e call hid_malloc_tx_buff 
+0554 6fe144df fetch 2 ,mem_hid_ctrl_remote_cid 
+0555 e7e10005 istore 2 ,contw 
+0556 58000000 setarg 0 
+0557 e7e08005 istore 1 ,contw 
+0558 70095001 jam 1 ,mem_ui_data_txbuff_length 
+0559 6fe0c4e5 fetch 1 ,mem_hid_control_state 
+055a 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
+055b 67e0c4e5 store 1 ,mem_hid_control_state 
+055c 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
+055d 202078dc branch ui_ipc_send_event 
 
 p_send_lmp:
-0554 78547c00 disable user 
-0555 20405a44 call lmo_fifo_process 
-0556 6fe08048 fetch 1 ,mem_lmp_to_send 
-0557 207a0000 rtn blank 
-0558 c283d78e bbit1 7 ,send_lmp_escape 
+055e 78547c00 disable user 
+055f 20405a44 call lmo_fifo_process 
+0560 6fe08048 fetch 1 ,mem_lmp_to_send 
+0561 207a0000 rtn blank 
+0562 c283d78e bbit1 7 ,send_lmp_escape 
 
 p_send_lmp0:
-0559 c003855b beq lmp_detach ,p_send_lmp_detach 
-055a 2020575f branch send_lmp0 
+0563 c0038565 beq lmp_detach ,p_send_lmp_detach 
+0564 2020575f branch send_lmp0 
 
 p_send_lmp_detach:
-055b 204058bb call send_lmp_detach 
-055c 70007278 jam 120 ,mem_conn_timer 
-055d 20600000 rtn 
+0565 204058bb call send_lmp_detach 
+0566 70007278 jam 120 ,mem_conn_timer 
+0567 20600000 rtn 
 
 p_le_slave_match:
-055e 6fe0c3dd fetch 1 ,mem_le_md_count 
-055f 1fe0fe01 pincrease 1 
-0560 67e0c3dd store 1 ,mem_le_md_count 
-0561 c0061606 beq le_md_max_count ,le_slave_cont 
-0562 204018c7 call le_acknowledge 
-0563 20401916 call le_prepare_tx 
-0564 6fe082bd fetch 1 ,mem_le_tx_phy 
-0565 20401637 call le_enable_phy_by_pdata 
-0566 204017e4 call le_transmit 
-0567 20201601 branch le_slave_match + 10 
+0568 6fe0c3dd fetch 1 ,mem_le_md_count 
+0569 1fe0fe01 pincrease 1 
+056a 67e0c3dd store 1 ,mem_le_md_count 
+056b c0061606 beq le_md_max_count ,le_slave_cont 
+056c 204018c7 call le_acknowledge 
+056d 20401916 call le_prepare_tx 
+056e 6fe082bd fetch 1 ,mem_le_tx_phy 
+056f 20401637 call le_enable_phy_by_pdata 
+0570 204017e4 call le_transmit 
+0571 20201601 branch le_slave_match + 10 
 
 p_le_slave_unsync:
-0568 20400e7c call end_of_packet 
-0569 2020160d branch le_slave_unsync + 1 
+0572 20400e7c call end_of_packet 
+0573 2020160d branch le_slave_unsync + 1 
 
 p_le_parse_l2cap:
-056a efe10006 ifetch 2 ,contr 
-056b c002056d beq le_l2cap_cid_att ,p_le_parse_att 
-056c 20201990 branch le_parse_l2cap + 10 
+0574 efe10006 ifetch 2 ,contr 
+0575 c0020577 beq le_l2cap_cid_att ,p_le_parse_att 
+0576 20201990 branch le_parse_l2cap + 10 
 
 p_le_parse_att:
-056d efe18006 ifetch 3 ,contr 
-056e 67e1c436 store 3 ,mem_le_att_opcode 
-056f c0050572 beq attop_read_request ,p_le_parse_att_read_request 
-0570 c0090581 beq attop_write_request ,p_le_parse_att_write_request 
-0571 20201c7f branch le_parse_att + 2 
+0577 efe18006 ifetch 3 ,contr 
+0578 67e1c436 store 3 ,mem_le_att_opcode 
+0579 c005057c beq attop_read_request ,p_le_parse_att_read_request 
+057a c009058b beq attop_write_request ,p_le_parse_att_write_request 
+057b 20201c7f branch le_parse_att + 2 
 
 p_le_parse_att_read_request:
-0572 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-0573 c31d9d93 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
-0574 20401e39 call le_check_encrypt_state 
-0575 68494437 fetcht 2 ,mem_le_att_handle 
-0576 6fe0c3c0 fetch 1 ,mem_le_configuration 
-0577 c281857c bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
+057c 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+057d c31d9d93 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
+057e 20401e39 call le_check_encrypt_state 
+057f 68494437 fetcht 2 ,mem_le_att_handle 
+0580 6fe0c3c0 fetch 1 ,mem_le_configuration 
+0581 c2818586 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
 
 p_le_send_att_read_response:
-0578 6fe14437 fetch 2 ,mem_le_att_handle 
-0579 c0181e74 beq 0x30 ,le_send_att_error_response_notfound 
-057a 68494437 fetcht 2 ,mem_le_att_handle 
-057b 20201d97 branch le_send_att_read_response 
+0582 6fe14437 fetch 2 ,mem_le_att_handle 
+0583 c0181e74 beq 0x30 ,le_send_att_error_response_notfound 
+0584 68494437 fetcht 2 ,mem_le_att_handle 
+0585 20201d97 branch le_send_att_read_response 
 
 p_le_send_att_read_response_check_auth:
-057c 6fe143d1 fetch 2 ,mem_le_pairing_handle 
-057d 98467c00 isub temp ,null 
-057e 24228578 nbranch p_le_send_att_read_response ,zero 
-057f 24340578 nbranch p_le_send_att_read_response ,user 
-0580 20201dbc branch le_send_att_read_response_error_insufficient_auth 
+0586 6fe143d1 fetch 2 ,mem_le_pairing_handle 
+0587 98467c00 isub temp ,null 
+0588 24228582 nbranch p_le_send_att_read_response ,zero 
+0589 24340582 nbranch p_le_send_att_read_response ,user 
+058a 20201dbc branch le_send_att_read_response_error_insufficient_auth 
 
 p_le_parse_att_write_request:
-0581 18c22200 copy contr ,rega 
-0582 6fe143d4 fetch 2 ,mem_le_l2cap_size 
-0583 1fe0a5fd add pdata ,-3 ,regb 
-0584 204019d1 call le_writeatt_cb 
-0585 6fe0cad2 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-0586 c07f9e1f beq 0xff ,le_send_att_write_response_check_auth 
-0587 6fe0cad8 fetch 1 ,mem_mouse_le_reconnect_flag 
-0588 203a1e1f branch le_send_att_write_response_check_auth ,blank 
-0589 6fe0cb86 fetch 1 ,mem_le_connect_status_flag 
-058a c2809e1f bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
-058b 5800001a setarg 0x001a 
-058c 68494437 fetcht 2 ,mem_le_att_handle 
-058d 98467c00 isub temp ,null 
-058e 24229e1f nbranch le_send_att_write_response_check_auth ,zero 
-058f 20201dbc branch le_send_att_read_response_error_insufficient_auth 
+058b 18c22200 copy contr ,rega 
+058c 6fe143d4 fetch 2 ,mem_le_l2cap_size 
+058d 1fe0a5fd add pdata ,-3 ,regb 
+058e 204019d1 call le_writeatt_cb 
+058f 6fe0cad2 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+0590 c07f9e1f beq 0xff ,le_send_att_write_response_check_auth 
+0591 6fe0cad8 fetch 1 ,mem_mouse_le_reconnect_flag 
+0592 203a1e1f branch le_send_att_write_response_check_auth ,blank 
+0593 6fe0cb86 fetch 1 ,mem_le_connect_status_flag 
+0594 c2809e1f bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
+0595 5800001a setarg 0x001a 
+0596 68494437 fetcht 2 ,mem_le_att_handle 
+0597 98467c00 isub temp ,null 
+0598 24229e1f nbranch le_send_att_write_response_check_auth ,zero 
+0599 20201dbc branch le_send_att_read_response_error_insufficient_auth 
 
 p_mouse_motion:
-0590 78547c00 disable user 
-0591 58000000 setarg 0 
-0592 67e348d5 store 6 ,mem_mouse_x 
-0593 204005a0 call p_mouse_check_sensor_data 
-0594 58000089 setarg 0x0089 
-0595 20405d5e call twspi_write 
-0596 2040042c call p_mouse_seting_sensor_type 
-0597 20403fbe call mouse_zwheel 
-0598 20403fc3 call mouse_t_zwheel 
-0599 204005b9 call p_mouse_key 
-059a 6fe0c8d4 fetch 1 ,mem_mouse_key 
-059b 1fe17e1f and_into 0x1f ,pdata 
-059c 67e0c8d4 store 1 ,mem_mouse_key 
-059d 24344766 nbranch mouse_drawing_optima_init ,user 
-059e 204005b1 call p_mouse_drawing_optima 
-059f 20204584 branch mouse_no_data_timer_init 
+059a 78547c00 disable user 
+059b 58000000 setarg 0 
+059c 67e348d5 store 6 ,mem_mouse_x 
+059d 204005ab call p_mouse_check_sensor_data 
+059e 204005bb call p_mouse_data_zoom 
+059f 58000089 setarg 0x0089 
+05a0 20405d5e call twspi_write 
+05a1 2040041c call p_mouse_seting_sensor_type 
+05a2 20403fbe call mouse_zwheel 
+05a3 20403fc3 call mouse_t_zwheel 
+05a4 204005e2 call p_mouse_key 
+05a5 6fe0c8d4 fetch 1 ,mem_mouse_key 
+05a6 1fe17e1f and_into 0x1f ,pdata 
+05a7 67e0c8d4 store 1 ,mem_mouse_key 
+05a8 24344766 nbranch mouse_drawing_optima_init ,user 
+05a9 204005db call p_mouse_drawing_optima 
+05aa 20204584 branch mouse_no_data_timer_init 
 
 p_mouse_check_sensor_data:
-05a0 6fe0c4ae fetch 1 ,mem_spi_write_flash_sm 
-05a1 c1800000 rtnne flash_sm_no_buys 
-05a2 6fe0c92c fetch 1 ,mem_config_sensor_type 
-05a3 c00605a7 beq ka5857 ,p_mouse_ka5857_sensor_motion 
-05a4 c00585a7 beq ka8g2 ,p_mouse_ka5857_sensor_motion 
-05a5 c006c2b0 beq p3104 ,mouse_p3212_sensor_motion 
-05a6 20204283 branch mouse_check_sensor_data + 3 
+05ab 6fe0c4ae fetch 1 ,mem_spi_write_flash_sm 
+05ac c1800000 rtnne flash_sm_no_buys 
+05ad 6fe0c92c fetch 1 ,mem_config_sensor_type 
+05ae c00605b1 beq ka5857 ,p_mouse_ka5857_sensor_motion 
+05af c00585b1 beq ka8g2 ,p_mouse_ka5857_sensor_motion 
+05b0 20204283 branch mouse_check_sensor_data + 3 
 
 p_mouse_ka5857_sensor_motion:
-05a7 20404304 call mouse_clear_sensor_data 
-05a8 6fe0c915 fetch 1 ,mem_sensor_motion_gpio 
-05a9 c07f85ad beq gpio_disable ,p_mouse_ka5857_sensor_motion_1 
-05aa 6848c915 fetcht 1 ,mem_sensor_motion_gpio 
-05ab 204060fd call gpio_get_bit 
-05ac 24608000 nrtn true 
+05b1 20404304 call mouse_clear_sensor_data 
+05b2 6fe0c915 fetch 1 ,mem_sensor_motion_gpio 
+05b3 c07f85b7 beq gpio_disable ,p_mouse_ka5857_sensor_motion_1 
+05b4 6848c915 fetcht 1 ,mem_sensor_motion_gpio 
+05b5 204060fd call gpio_get_bit 
+05b6 24608000 nrtn true 
 
 p_mouse_ka5857_sensor_motion_1:
-05ad 58000000 setarg pan_reg_pid_l 
-05ae 20405d65 call twspi_read 
-05af c0ac41f2 bne pka8g2_id1 ,mouse_twspi_reset 
-05b0 202042b9 branch mouse_p3212_sensor_motion_2 
+05b7 58000000 setarg pan_reg_pid_l 
+05b8 20405d65 call twspi_read 
+05b9 c0ac41f2 bne pka8g2_id1 ,mouse_twspi_reset 
+05ba 202042b9 branch mouse_p3212_sensor_motion_2 
+
+p_mouse_data_zoom:
+05bb 6fe0c92c fetch 1 ,mem_config_sensor_type 
+05bc c1818000 rtnne p3212 
+05bd 6fe0c997 fetch 1 ,mem_mouse_dpi 
+05be c00185c1 beq mouse_dpi_level4 ,p_mouse_data_zoom_next 
+05bf c00205c1 beq mouse_dpi_level5 ,p_mouse_data_zoom_next 
+05c0 20600000 rtn 
+
+p_mouse_data_zoom_next:
+05c1 6fe148d5 fetch 2 ,mem_mouse_x 
+05c2 204005c8 call p_mouse_2400_zoom 
+05c3 67e148d5 store 2 ,mem_mouse_x 
+05c4 6fe148d7 fetch 2 ,mem_mouse_y 
+05c5 204005c8 call p_mouse_2400_zoom 
+05c6 67e148d7 store 2 ,mem_mouse_y 
+05c7 20600000 rtn 
+
+p_mouse_2400_zoom:
+05c8 c28585cb bbit1 11 ,p_mouse_xy_inverse 
+05c9 c30585cf bbit0 11 ,p_mouse_xy_zoom 
+05ca 20600000 rtn 
+
+p_mouse_xy_inverse:
+05cb 1fe67e00 sub pdata ,0 ,pdata 
+05cc 204005cf call p_mouse_xy_zoom 
+05cd 1fe67e00 sub pdata ,0 ,pdata 
+05ce 20600000 rtn 
+
+p_mouse_xy_zoom:
+05cf 1fe3fe00 lshift pdata ,pdata 
+05d0 793ffe0e set0 14 ,pdata 
+05d1 793ffe0f set0 15 ,pdata 
+05d2 67e14cc1 store 2 ,mem_mouse_temp_data 
+05d3 6fe0ccc2 fetch 1 ,mem_mouse_temp_data + 1 
+05d4 1fe67c07 sub pdata ,0x7 ,null 
+05d5 244105d8 ncall p_mouse_xy_forward_overflow ,positive 
+05d6 6fe14cc1 fetch 2 ,mem_mouse_temp_data 
+05d7 20600000 rtn 
+
+p_mouse_xy_forward_overflow:
+05d8 580007ff setarg 0x7ff 
+05d9 67e14cc1 store 2 ,mem_mouse_temp_data 
+05da 20600000 rtn 
 
 p_mouse_drawing_optima:
-05b1 6fe0c92c fetch 1 ,mem_config_sensor_type 
-05b2 c1018000 rtneq p3212 
-05b3 c1058000 rtneq ka8g2 
-05b4 c1068000 rtneq p3104 
-05b5 20400616 call p_usb_store_mem 
-05b6 20404758 call mouse_drawing_optima 
-05b7 20400619 call p_usb_get_mem 
-05b8 20600000 rtn 
+05db 6fe0c92c fetch 1 ,mem_config_sensor_type 
+05dc c1018000 rtneq p3212 
+05dd c1058000 rtneq ka8g2 
+05de 2040063f call p_usb_store_mem 
+05df 20404758 call mouse_drawing_optima 
+05e0 20400642 call p_usb_get_mem 
+05e1 20600000 rtn 
 
 p_mouse_key:
-05b9 204005bc call p_mouse_check_key_gpio 
-05ba 204005f2 call p_mouse_ghost_key_check 
-05bb 2020411e branch mouse_key + 2 
+05e2 204005e5 call p_mouse_check_key_gpio 
+05e3 2040061b call p_mouse_ghost_key_check 
+05e4 2020411e branch mouse_key + 2 
 
 p_mouse_check_key_gpio:
-05bc 6fe0cbf2 fetch 1 ,mem_sensor_shutdown_flag 
-05bd 245a4161 ncall mouse_check_key_gpio_once ,blank 
-05be da200000 arg 0 ,rega 
-05bf 204005c3 call p_mouse_check_lkey_gpio 
-05c0 204005d2 call p_mouse_check_bkkey_gpio 
-05c1 204005df call p_mouse_check_fwkey_gpio 
-05c2 2020415e branch mouse_check_key_gpio_next 
+05e5 6fe0cbf2 fetch 1 ,mem_sensor_shutdown_flag 
+05e6 245a4161 ncall mouse_check_key_gpio_once ,blank 
+05e7 da200000 arg 0 ,rega 
+05e8 204005ec call p_mouse_check_lkey_gpio 
+05e9 204005fb call p_mouse_check_bkkey_gpio 
+05ea 20400608 call p_mouse_check_fwkey_gpio 
+05eb 2020415e branch mouse_check_key_gpio_next 
 
 p_mouse_check_lkey_gpio:
-05c3 6fe0c91c fetch 1 ,mem_lbutton_gpio 
-05c4 204005ec call p_mouse_gpio_config_output_high 
-05c5 20404164 call mouse_check_lkey_gpio 
-05c6 6848c91c fetcht 1 ,mem_lbutton_gpio 
-05c7 20403f96 call mouse_gpio_config_input_pu 
+05ec 6fe0c91c fetch 1 ,mem_lbutton_gpio 
+05ed 20400615 call p_mouse_gpio_config_output_high 
+05ee 20404164 call mouse_check_lkey_gpio 
+05ef 6848c91c fetcht 1 ,mem_lbutton_gpio 
+05f0 20403f96 call mouse_gpio_config_input_pu 
 
 p_mouse_check_rkey_gpio:
-05c8 6fe0c91d fetch 1 ,mem_rbutton_gpio 
-05c9 204005ec call p_mouse_gpio_config_output_high 
-05ca 2040416a call mouse_check_rkey_gpio 
-05cb 6848c91d fetcht 1 ,mem_rbutton_gpio 
-05cc 20403f96 call mouse_gpio_config_input_pu 
+05f1 6fe0c91d fetch 1 ,mem_rbutton_gpio 
+05f2 20400615 call p_mouse_gpio_config_output_high 
+05f3 2040416a call mouse_check_rkey_gpio 
+05f4 6848c91d fetcht 1 ,mem_rbutton_gpio 
+05f5 20403f96 call mouse_gpio_config_input_pu 
 
 p_mouse_check_mkey_gpio:
-05cd 6fe0c91e fetch 1 ,mem_mbutton_gpio 
-05ce 204005ec call p_mouse_gpio_config_output_high 
-05cf 20404170 call mouse_check_mkey_gpio 
-05d0 6848c91e fetcht 1 ,mem_mbutton_gpio 
-05d1 20203f96 branch mouse_gpio_config_input_pu 
+05f6 6fe0c91e fetch 1 ,mem_mbutton_gpio 
+05f7 20400615 call p_mouse_gpio_config_output_high 
+05f8 20404170 call mouse_check_mkey_gpio 
+05f9 6848c91e fetcht 1 ,mem_mbutton_gpio 
+05fa 20203f96 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_bkkey_gpio:
-05d2 6fe0c911 fetch 1 ,mem_bk_button_gpio 
-05d3 c17f8000 rtneq gpio_disable 
-05d4 704ba703 jam mouse_bk_key ,mem_mouse_key_temp 
-05d5 6fe0cba2 fetch 1 ,mem_mouse_bkkey_press_status 
-05d6 1fe22600 copy pdata ,regc 
-05d7 6848c911 fetcht 1 ,mem_bk_button_gpio 
-05d8 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
-05d9 c07f85db beq gpio_disable ,p_mouse_3io6key_bk_check 
-05da 2020417e branch mouse_check_bkkey_gpio_next 
+05fb 6fe0c911 fetch 1 ,mem_bk_button_gpio 
+05fc c17f8000 rtneq gpio_disable 
+05fd 704ba703 jam mouse_bk_key ,mem_mouse_key_temp 
+05fe 6fe0cba2 fetch 1 ,mem_mouse_bkkey_press_status 
+05ff 1fe22600 copy pdata ,regc 
+0600 6848c911 fetcht 1 ,mem_bk_button_gpio 
+0601 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
+0602 c07f8604 beq gpio_disable ,p_mouse_3io6key_bk_check 
+0603 2020417e branch mouse_check_bkkey_gpio_next 
 
 p_mouse_3io6key_bk_check:
-05db 6fe0c911 fetch 1 ,mem_bk_button_gpio 
-05dc 204005ef call p_mouse_gpio_config_output_low 
-05dd 6848c911 fetcht 1 ,mem_bk_button_gpio 
-05de 2020418b branch mouse_3io6key_bk_check 
+0604 6fe0c911 fetch 1 ,mem_bk_button_gpio 
+0605 20400618 call p_mouse_gpio_config_output_low 
+0606 6848c911 fetcht 1 ,mem_bk_button_gpio 
+0607 2020418b branch mouse_3io6key_bk_check 
 
 p_mouse_check_fwkey_gpio:
-05df 6fe0c912 fetch 1 ,mem_fw_button_gpio 
-05e0 c17f8000 rtneq gpio_disable 
-05e1 704ba704 jam mouse_fw_key ,mem_mouse_key_temp 
-05e2 6fe0cba3 fetch 1 ,mem_mouse_fwkey_press_status 
-05e3 1fe22600 copy pdata ,regc 
-05e4 6848c912 fetcht 1 ,mem_fw_button_gpio 
-05e5 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
-05e6 c07f85e8 beq gpio_disable ,p_mouse_3io6key_fw_check 
-05e7 20204197 branch mouse_check_fwkey_gpio_next 
+0608 6fe0c912 fetch 1 ,mem_fw_button_gpio 
+0609 c17f8000 rtneq gpio_disable 
+060a 704ba704 jam mouse_fw_key ,mem_mouse_key_temp 
+060b 6fe0cba3 fetch 1 ,mem_mouse_fwkey_press_status 
+060c 1fe22600 copy pdata ,regc 
+060d 6848c912 fetcht 1 ,mem_fw_button_gpio 
+060e 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
+060f c07f8611 beq gpio_disable ,p_mouse_3io6key_fw_check 
+0610 20204197 branch mouse_check_fwkey_gpio_next 
 
 p_mouse_3io6key_fw_check:
-05e8 6fe0c912 fetch 1 ,mem_fw_button_gpio 
-05e9 204005ef call p_mouse_gpio_config_output_low 
-05ea 6848c912 fetcht 1 ,mem_fw_button_gpio 
-05eb 202041a4 branch mouse_3io6key_fw_check 
+0611 6fe0c912 fetch 1 ,mem_fw_button_gpio 
+0612 20400618 call p_mouse_gpio_config_output_low 
+0613 6848c912 fetcht 1 ,mem_fw_button_gpio 
+0614 202041a4 branch mouse_3io6key_fw_check 
 
 p_mouse_gpio_config_output_high:
-05ec c17f8000 rtneq gpio_disable 
-05ed d840003f arg gpcfg_output_high ,temp 
-05ee 2020612c branch gpio_config_function_int 
+0615 c17f8000 rtneq gpio_disable 
+0616 d840003f arg gpcfg_output_high ,temp 
+0617 2020612c branch gpio_config_function_int 
 
 p_mouse_gpio_config_output_low:
-05ef c17f8000 rtneq gpio_disable 
-05f0 d840003e arg gpcfg_output_low ,temp 
-05f1 2020612c branch gpio_config_function_int 
+0618 c17f8000 rtneq gpio_disable 
+0619 d840003e arg gpcfg_output_low ,temp 
+061a 2020612c branch gpio_config_function_int 
 
 p_mouse_ghost_key_check:
-05f2 704ba900 jam 0 ,mem_mouse_matrix_key_cow_count 
-05f3 704baa00 jam 0 ,mem_mouse_matrix_key_row_count 
-05f4 704bab00 jam 0 ,mem_mouse_ghost_flag 
-05f5 1fe20400 copy pdata ,temp 
-05f6 204005f9 call p_mouse_ghost_key_check_l_fw 
-05f7 204005fc call p_mouse_ghost_key_check_r_bk 
-05f8 20204133 branch mouse_ghost_key_check + 6 
+061b 704ba900 jam 0 ,mem_mouse_matrix_key_cow_count 
+061c 704baa00 jam 0 ,mem_mouse_matrix_key_row_count 
+061d 704bab00 jam 0 ,mem_mouse_ghost_flag 
+061e 1fe20400 copy pdata ,temp 
+061f 20400622 call p_mouse_ghost_key_check_l_fw 
+0620 20400625 call p_mouse_ghost_key_check_r_bk 
+0621 20204133 branch mouse_ghost_key_check + 6 
 
 p_mouse_ghost_key_check_l_fw:
-05f9 18417e11 and temp ,mouse_l_fw_button ,pdata 
-05fa c008c14e beq mouse_l_fw_button ,mouse_matrix_cow_more_than_one_key 
-05fb 20600000 rtn 
+0622 18417e11 and temp ,mouse_l_fw_button ,pdata 
+0623 c008c14e beq mouse_l_fw_button ,mouse_matrix_cow_more_than_one_key 
+0624 20600000 rtn 
 
 p_mouse_ghost_key_check_r_bk:
-05fc 18417e0a and temp ,mouse_r_bk_button ,pdata 
-05fd c005414e beq mouse_r_bk_button ,mouse_matrix_cow_more_than_one_key 
-05fe 20600000 rtn 
+0625 18417e0a and temp ,mouse_r_bk_button ,pdata 
+0626 c005414e beq mouse_r_bk_button ,mouse_matrix_cow_more_than_one_key 
+0627 20600000 rtn 
 
 p_usb_class_type:
-05ff 793f8023 set0 mark_isstr ,mark 
-0600 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
-0601 1fe17e80 and_into 0x80 ,pdata 
-0602 c0000604 beq out_device ,p_usb_out_device 
-0603 20207aa1 branch usb_class_type + 4 
+0628 793f8023 set0 mark_isstr ,mark 
+0629 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
+062a 1fe17e80 and_into 0x80 ,pdata 
+062b c000062d beq out_device ,p_usb_out_device 
+062c 20207aa1 branch usb_class_type + 4 
 
 p_usb_out_device:
-0604 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
-0605 1ff1fe00 rshift4 pdata ,pdata 
-0606 1fe37e00 rshift pdata ,pdata 
-0607 1fe17e03 and_into 0x03 ,pdata 
-0608 c0007ac4 beq standard_req ,usb_out_standard_req 
-0609 c000860b beq class_req ,p_usb_out_class_req 
-060a 20207ab4 branch usb_out_device + 4 
+062d 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
+062e 1ff1fe00 rshift4 pdata ,pdata 
+062f 1fe37e00 rshift pdata ,pdata 
+0630 1fe17e03 and_into 0x03 ,pdata 
+0631 c0007ac4 beq standard_req ,usb_out_standard_req 
+0632 c0008634 beq class_req ,p_usb_out_class_req 
+0633 20207ab4 branch usb_out_device + 4 
 
 p_usb_out_class_req:
-060b 6fe08b5a fetch 1 ,mem_usb_setup_brequest 
-060c c004860e beq set_report ,p_usb_set_report 
-060d 20207acd branch usb_out_class_req + 1 
+0634 6fe08b5a fetch 1 ,mem_usb_setup_brequest 
+0635 c0048637 beq set_report ,p_usb_set_report 
+0636 20207acd branch usb_out_class_req + 1 
 
 p_usb_set_report:
-060e 20003a98 nop 15000 
-060f 20207c4a branch usb_set_report 
+0637 20003a98 nop 15000 
+0638 20207c4a branch usb_set_report 
 
 p_usb_tx:
-0610 6fe08bf9 fetch 1 ,mem_usb_tx_enable 
-0611 207a0000 rtn blank 
-0612 6ff08c24 fetch 1 ,core_usb_txbusy 
-0613 1fe17e0f and_into 0x0f ,pdata 
-0614 243a7d17 nbranch usb_inwake_state_tx_dispose ,blank 
-0615 20207ccc branch usb_tx + 3 
+0639 6fe08bf9 fetch 1 ,mem_usb_tx_enable 
+063a 207a0000 rtn blank 
+063b 6ff08c24 fetch 1 ,core_usb_txbusy 
+063c 1fe17e0f and_into 0x0f ,pdata 
+063d 243a7d17 nbranch usb_inwake_state_tx_dispose ,blank 
+063e 20207ccc branch usb_tx + 3 
 
 p_usb_store_mem:
-0616 d8c009f6 arg mem_usb_status ,contr 
-0617 d8a00c4b arg mem_usb_mem_temp ,contw 
-0618 20207d7f branch memcpy16 
+063f d8c009f6 arg mem_usb_status ,contr 
+0640 d8a00c4b arg mem_usb_mem_temp ,contw 
+0641 20207d7f branch memcpy16 
 
 p_usb_get_mem:
-0619 d8a009f6 arg mem_usb_status ,contw 
-061a d8c00c4b arg mem_usb_mem_temp ,contr 
-061b 20207d7f branch memcpy16 
+0642 d8a009f6 arg mem_usb_status ,contw 
+0643 d8c00c4b arg mem_usb_mem_temp ,contr 
+0644 20207d7f branch memcpy16 
 
 p_mouse_usb_check_enable:
-061c 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-061d c4068000 rtnbit0 mouse_enable_usb 
-061e 704930a5 jam mouse_usb_interface_remove ,mem_mouse_usb_vdd_status 
-061f 20600000 rtn 
+0645 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0646 c4068000 rtnbit0 mouse_enable_usb 
+0647 704930a5 jam mouse_usb_interface_remove ,mem_mouse_usb_vdd_status 
+0648 20600000 rtn 
 
 p_mouse_usb_config_param:
-0620 20400629 call p_mouse_usb_config_kb_check 
-0621 20400651 call p_mouse_usb_report_rate_set 
-0622 2040062e call p_mouse_usb_config_param_setup 
+0649 20400652 call p_mouse_usb_config_kb_check 
+064a 2040067a call p_mouse_usb_report_rate_set 
+064b 20400657 call p_mouse_usb_config_param_setup 
 
 p_mouse_usb_device_name_config:
-0623 6fe0cc91 fetch 1 ,mem_usb_device_name_retention 
-0624 207a0000 rtn blank 
-0625 d8c04c91 arg mem_usb_device_name_retention ,contr 
-0626 d8a00b09 arg mem_string2 ,contw 
-0627 df20001e arg 30 ,loopcnt 
-0628 20207dd4 branch memcpy 
+064c 6fe0cc91 fetch 1 ,mem_usb_device_name_retention 
+064d 207a0000 rtn blank 
+064e d8c04c91 arg mem_usb_device_name_retention ,contr 
+064f d8a00b09 arg mem_string2 ,contw 
+0650 df20001e arg 30 ,loopcnt 
+0651 20207dd4 branch memcpy 
 
 p_mouse_usb_config_kb_check:
-0629 70493100 jam dongle_kb_bind_eeprom_offect ,mem_mouse_usb_keyboard_flag 
-062a 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-062b c40a8000 rtnbit0 mouse_enable_keyboard 
-062c 7049315a jam dongle_kb_bind_success ,mem_mouse_usb_keyboard_flag 
-062d 20600000 rtn 
+0652 70493100 jam dongle_kb_bind_eeprom_offect ,mem_mouse_usb_keyboard_flag 
+0653 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0654 c40a8000 rtnbit0 mouse_enable_keyboard 
+0655 7049315a jam dongle_kb_bind_success ,mem_mouse_usb_keyboard_flag 
+0656 20600000 rtn 
 
 p_mouse_usb_config_param_setup:
-062e 20407a5b call usb_tx_interval_config 
-062f 20400632 call p_mouse_usb_vid_pid_config 
+0657 20407a5b call usb_tx_interval_config 
+0658 2040065b call p_mouse_usb_vid_pid_config 
 
 p_mouse_usb_hid_icon_config:
-0630 6fe0c931 fetch 1 ,mem_mouse_usb_keyboard_flag 
-0631 202036ee branch dongle_usb_hid_icon_config + 1 
+0659 6fe0c931 fetch 1 ,mem_mouse_usb_keyboard_flag 
+065a 202036ee branch dongle_usb_hid_icon_config + 1 
 
 p_mouse_usb_vid_pid_config:
-0632 6fe08b48 fetch 1 ,mem_usb_vid_pid 
-0633 207a0000 rtn blank 
-0634 6fe0c931 fetch 1 ,mem_mouse_usb_keyboard_flag 
-0635 c02d36eb beq dongle_kb_bind_success ,dongle_usb_vid_pid_for_suit 
-0636 202036e8 branch dongle_usb_vid_pid_for_mouse_only_auto_pair 
+065b 6fe08b48 fetch 1 ,mem_usb_vid_pid 
+065c 207a0000 rtn blank 
+065d 6fe0c931 fetch 1 ,mem_mouse_usb_keyboard_flag 
+065e c02d36eb beq dongle_kb_bind_success ,dongle_usb_vid_pid_for_suit 
+065f 202036e8 branch dongle_usb_vid_pid_for_mouse_only_auto_pair 
 
 p_usb_timer_check:
-0637 20407ec7 call disable_user 
-0638 684a4ace fetcht 4 ,mem_btclk_sensor 
-0639 1c427e00 copy clkn_bt ,pdata 
-063a 98467c00 isub temp ,null 
-063b 24410646 ncall p_usb_timer_timeout ,positive 
-063c 1fe22400 copy pdata ,regb 
-063d 6fe24ace fetch 4 ,mem_btclk_sensor 
-063e 6848c92e fetcht 1 ,mem_wire_usb_interval 
-063f 98408400 iadd temp ,temp 
-0640 1a427e00 copy regb ,pdata 
-0641 98467c00 isub temp ,null 
-0642 24610000 nrtn positive 
-0643 793ffe1c set0 28 ,pdata 
-0644 67e24ace store 4 ,mem_btclk_sensor 
-0645 20207ec5 branch enable_user 
+0660 20407ec7 call disable_user 
+0661 684a4ace fetcht 4 ,mem_btclk_sensor 
+0662 1c427e00 copy clkn_bt ,pdata 
+0663 98467c00 isub temp ,null 
+0664 2441066f ncall p_usb_timer_timeout ,positive 
+0665 1fe22400 copy pdata ,regb 
+0666 6fe24ace fetch 4 ,mem_btclk_sensor 
+0667 6848c92e fetcht 1 ,mem_wire_usb_interval 
+0668 98408400 iadd temp ,temp 
+0669 1a427e00 copy regb ,pdata 
+066a 98467c00 isub temp ,null 
+066b 24610000 nrtn positive 
+066c 793ffe1c set0 28 ,pdata 
+066d 67e24ace store 4 ,mem_btclk_sensor 
+066e 20207ec5 branch enable_user 
 
 p_usb_timer_timeout:
-0646 20628000 rtn zero 
-0647 79207e1c set1 28 ,pdata 
-0648 20600000 rtn 
+066f 20628000 rtn zero 
+0670 79207e1c set1 28 ,pdata 
+0671 20600000 rtn 
 
 p_usb_timer_init:
-0649 58000000 setarg 0 
-064a 67e24ace store 4 ,mem_btclk_sensor 
-064b 20600000 rtn 
+0672 58000000 setarg 0 
+0673 67e24ace store 4 ,mem_btclk_sensor 
+0674 20600000 rtn 
 
 p_select_system_clk_24m_dpll:
-064c 7041f018 jam system_clk_24m ,mem_system_clk 
-064d 70804201 jam clksel_dpll_24m ,core_clksel 
-064e 5800176f setarg 5999 
-064f 67f10040 store 2 ,core_halfslot 
-0650 20206312 branch calc_new_param 
+0675 7041f018 jam system_clk_24m ,mem_system_clk 
+0676 70804201 jam clksel_dpll_24m ,core_clksel 
+0677 5800176f setarg 5999 
+0678 67f10040 store 2 ,core_halfslot 
+0679 20206312 branch calc_new_param 
 
 p_mouse_usb_report_rate_set:
-0651 20400649 call p_usb_timer_init 
-0652 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-0653 c28e8658 bbit1 mouse_enable_usb_250 ,p_usb_report_rate_set_250hz 
-0654 c28f065a bbit1 mouse_enable_usb_500 ,p_usb_report_rate_set_500hz 
-0655 c28f865c bbit1 mouse_enable_usb_1000 ,p_usb_report_rate_set_1000hz 
+067a 20400672 call p_usb_timer_init 
+067b 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+067c c28e8681 bbit1 mouse_enable_usb_250 ,p_usb_report_rate_set_250hz 
+067d c28f0683 bbit1 mouse_enable_usb_500 ,p_usb_report_rate_set_500hz 
+067e c28f8685 bbit1 mouse_enable_usb_1000 ,p_usb_report_rate_set_1000hz 
 
 p_usb_report_rate_set_125hz:
-0656 70492e20 jam 32 ,mem_wire_usb_interval 
-0657 20600000 rtn 
+067f 70492e20 jam 32 ,mem_wire_usb_interval 
+0680 20600000 rtn 
 
 p_usb_report_rate_set_250hz:
-0658 70492e10 jam 16 ,mem_wire_usb_interval 
-0659 20600000 rtn 
+0681 70492e10 jam 16 ,mem_wire_usb_interval 
+0682 20600000 rtn 
 
 p_usb_report_rate_set_500hz:
-065a 70492e08 jam 8 ,mem_wire_usb_interval 
-065b 20600000 rtn 
+0683 70492e08 jam 8 ,mem_wire_usb_interval 
+0684 20600000 rtn 
 
 p_usb_report_rate_set_1000hz:
-065c 70492e04 jam 4 ,mem_wire_usb_interval 
-065d 20600000 rtn 
+0685 70492e04 jam 4 ,mem_wire_usb_interval 
+0686 20600000 rtn 
 
 p_mouse_usb_isr:
-065e 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-065f c4068000 rtnbit0 mouse_enable_usb 
-0660 20400664 call p_mouse_usb_interface_check 
-0661 6fe0c930 fetch 1 ,mem_mouse_usb_vdd_status 
-0662 c1ad0000 rtnne mouse_usb_interface_insert 
-0663 202079fc branch usb_isr 
+0687 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0688 c4068000 rtnbit0 mouse_enable_usb 
+0689 2040068d call p_mouse_usb_interface_check 
+068a 6fe0c930 fetch 1 ,mem_mouse_usb_vdd_status 
+068b c1ad0000 rtnne mouse_usb_interface_insert 
+068c 202079fc branch usb_isr 
 
 p_mouse_usb_interface_check:
-0664 68488b58 fetcht 1 ,mem_usb_offline_check_gpio 
-0665 204060fd call gpio_get_bit 
-0666 24208668 nbranch p_mouse_usb_gpio_low ,true 
-0667 20200675 branch p_mouse_usb_gpio_high 
+068d 68488b58 fetcht 1 ,mem_usb_offline_check_gpio 
+068e 204060fd call gpio_get_bit 
+068f 20208691 branch p_mouse_usb_gpio_low ,true 
+0690 2020069e branch p_mouse_usb_gpio_high 
 
 p_mouse_usb_gpio_low:
-0668 6fe0c930 fetch 1 ,mem_mouse_usb_vdd_status 
-0669 c1528000 rtneq mouse_usb_interface_remove 
-066a 704930a5 jam mouse_usb_interface_remove ,mem_mouse_usb_vdd_status 
-066b 704caf00 jam 0 ,mem_usb_mode_enable 
-066c 700bfa00 jam 0 ,mem_usb_device_enumeration_endflag 
-066d 7009f600 jam 0 ,mem_usb_status 
-066e 700bec00 jam 0 ,mem_usb_state 
-066f 6ff10050 fetch 2 ,core_clkoff 
-0670 79207e0a set1 clock_off_usb ,pdata 
-0671 67f10050 store 2 ,core_clkoff 
-0672 70409901 jam 1 ,mem_lpm_mode 
-0673 20406321 call select_system_clk_12m_dpll 
-0674 20200383 branch p_mouse_soft_reset 
+0691 6fe0c930 fetch 1 ,mem_mouse_usb_vdd_status 
+0692 c1528000 rtneq mouse_usb_interface_remove 
+0693 704930a5 jam mouse_usb_interface_remove ,mem_mouse_usb_vdd_status 
+0694 704caf00 jam 0 ,mem_usb_mode_enable 
+0695 700bfa00 jam 0 ,mem_usb_device_enumeration_endflag 
+0696 7009f600 jam 0 ,mem_usb_status 
+0697 700bec00 jam 0 ,mem_usb_state 
+0698 6ff10050 fetch 2 ,core_clkoff 
+0699 79207e0a set1 clock_off_usb ,pdata 
+069a 67f10050 store 2 ,core_clkoff 
+069b 70409901 jam 1 ,mem_lpm_mode 
+069c 20406321 call select_system_clk_12m_dpll 
+069d 2020036f branch p_mouse_soft_reset 
 
 p_mouse_usb_gpio_high:
-0675 6fe0c930 fetch 1 ,mem_mouse_usb_vdd_status 
-0676 c12d0000 rtneq mouse_usb_interface_insert 
-0677 7049305a jam mouse_usb_interface_insert ,mem_mouse_usb_vdd_status 
-0678 704caf01 jam 1 ,mem_usb_mode_enable 
-0679 58000000 setarg 0 
-067a 67e14887 store 2 ,mem_24g_pair_timeout 
-067b 67e1488b store 2 ,mem_24g_reconn_timeout 
-067c 20400311 call p_mouse_multi_led_blink_disable 
-067d 70409900 jam 0 ,mem_lpm_mode 
-067e 2040064c call p_select_system_clk_24m_dpll 
-067f 20404831 call mouse_24g_stop 
-0680 20400054 call p_mouse_stop_bluetooth_mode 
-0681 7855fc00 disable wake 
-0682 2040430a call mouse_init_sensor_reset 
-0683 58000620 setarg p_mouse_usb_config_param 
-0684 67e10b45 store 2 ,mem_cb_usb_config 
-0685 6fe0cc87 fetch 1 ,mem_usb_tx_interval_retention 
-0686 67e08b47 store 1 ,mem_usb_tx_interval 
-0687 d8c04c88 arg mem_usb_vid_pid_retention ,contr 
-0688 d8a00b48 arg mem_usb_vid_pid ,contw 
-0689 df200009 arg 9 ,loopcnt 
-068a 20407dd4 call memcpy 
-068b 20207a08 branch usb_init 
+069e 6fe0c930 fetch 1 ,mem_mouse_usb_vdd_status 
+069f c12d0000 rtneq mouse_usb_interface_insert 
+06a0 7049305a jam mouse_usb_interface_insert ,mem_mouse_usb_vdd_status 
+06a1 704caf01 jam 1 ,mem_usb_mode_enable 
+06a2 58000000 setarg 0 
+06a3 67e14887 store 2 ,mem_24g_pair_timeout 
+06a4 67e1488b store 2 ,mem_24g_reconn_timeout 
+06a5 204002f9 call p_mouse_multi_led_blink_disable 
+06a6 70409900 jam 0 ,mem_lpm_mode 
+06a7 20400675 call p_select_system_clk_24m_dpll 
+06a8 20404831 call mouse_24g_stop 
+06a9 20400054 call p_mouse_stop_bluetooth_mode 
+06aa 7855fc00 disable wake 
+06ab 2040430a call mouse_init_sensor_reset 
+06ac 58000649 setarg p_mouse_usb_config_param 
+06ad 67e10b45 store 2 ,mem_cb_usb_config 
+06ae 6fe0cc87 fetch 1 ,mem_usb_tx_interval_retention 
+06af 67e08b47 store 1 ,mem_usb_tx_interval 
+06b0 d8c04c88 arg mem_usb_vid_pid_retention ,contr 
+06b1 d8a00b48 arg mem_usb_vid_pid ,contw 
+06b2 df200009 arg 9 ,loopcnt 
+06b3 20407dd4 call memcpy 
+06b4 20207a08 branch usb_init 
 
 p_mouse_usb_mode_flag_check:
-068c 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-068d c4068000 rtnbit0 mouse_enable_usb 
-068e 6fe0c930 fetch 1 ,mem_mouse_usb_vdd_status 
-068f c02d0692 beq mouse_usb_interface_insert ,p_mouse_usb_mode_flag_enable 
-0690 c0528696 beq mouse_usb_interface_remove ,p_mouse_usb_mode_flag_disable 
-0691 20600000 rtn 
+06b5 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+06b6 c4068000 rtnbit0 mouse_enable_usb 
+06b7 6fe0c930 fetch 1 ,mem_mouse_usb_vdd_status 
+06b8 c02d06bb beq mouse_usb_interface_insert ,p_mouse_usb_mode_flag_enable 
+06b9 c05286bf beq mouse_usb_interface_remove ,p_mouse_usb_mode_flag_disable 
+06ba 20600000 rtn 
 
 p_mouse_usb_mode_flag_enable:
-0692 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
-0693 207a0000 rtn blank 
-0694 704cbe01 jam 1 ,mem_mouse_pair_success 
-0695 20600000 rtn 
+06bb 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
+06bc 207a0000 rtn blank 
+06bd 704cbe01 jam 1 ,mem_mouse_pair_success 
+06be 20600000 rtn 
 
 p_mouse_usb_mode_flag_disable:
-0696 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
-0697 207a0000 rtn blank 
-0698 704cbe00 jam 0 ,mem_mouse_pair_success 
-0699 20600000 rtn 
+06bf 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
+06c0 207a0000 rtn blank 
+06c1 704cbe00 jam 0 ,mem_mouse_pair_success 
+06c2 20600000 rtn 
 
 p_mouse_usb_mode:
-069a 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-069b c4068000 rtnbit0 mouse_enable_usb 
-069c 6ff08c02 fetch 1 ,core_usb_addr 
-069d 67e0c92f store 1 ,mem_usb_addr 
-069e c4038000 rtnbit0 7 
-069f 20400637 call p_usb_timer_check 
-06a0 24740000 nrtn user 
-06a1 20403fb0 call mouse_motion 
-06a2 24740000 nrtn user 
-06a3 202006a4 branch p_mouse_push_data_to_usb 
+06c3 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+06c4 c4068000 rtnbit0 mouse_enable_usb 
+06c5 6ff08c02 fetch 1 ,core_usb_addr 
+06c6 67e0c92f store 1 ,mem_usb_addr 
+06c7 c4038000 rtnbit0 7 
+06c8 20400660 call p_usb_timer_check 
+06c9 24740000 nrtn user 
+06ca 20403fb0 call mouse_motion 
+06cb 24740000 nrtn user 
+06cc 202006cd branch p_mouse_push_data_to_usb 
 
 p_mouse_push_data_to_usb:
-06a4 6ff08c02 fetch 1 ,core_usb_addr 
-06a5 c4038000 rtnbit0 7 
-06a6 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-06a7 c30a86aa bbit0 mouse_enable_keyboard ,p_mouse_push_mouse_data_to_usb 
-06a8 6fe0cb9c fetch 1 ,mem_customer_key 
-06a9 c00086b0 beq 1 ,p_mouse_push_keyboard_data_to_usb 
+06cd 6ff08c02 fetch 1 ,core_usb_addr 
+06ce c4038000 rtnbit0 7 
+06cf 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+06d0 c30a86d3 bbit0 mouse_enable_keyboard ,p_mouse_push_mouse_data_to_usb 
+06d1 6fe0cb9c fetch 1 ,mem_customer_key 
+06d2 c00086d9 beq 1 ,p_mouse_push_keyboard_data_to_usb 
 
 p_mouse_push_mouse_data_to_usb:
-06aa 2040370f call dongle_usb_tx_ms_data 
-06ab 58000001 setarg ms_report_id 
-06ac 67e08bff store 1 ,mem_usb_mouse_data 
-06ad 6fe3c8d4 fetch 7 ,mem_mouse_key 
-06ae e7e38005 istore 7 ,contw 
-06af 20600000 rtn 
+06d3 2040370f call dongle_usb_tx_ms_data 
+06d4 58000001 setarg ms_report_id 
+06d5 67e08bff store 1 ,mem_usb_mouse_data 
+06d6 6fe3c8d4 fetch 7 ,mem_mouse_key 
+06d7 e7e38005 istore 7 ,contw 
+06d8 20600000 rtn 
 
 p_mouse_push_keyboard_data_to_usb:
-06b0 6fe0cb9d fetch 1 ,mem_customer_data_trigger 
-06b1 203a06bb branch p_mouse_push_release_keyboard_data_to_usb ,blank 
-06b2 6fe44bde fetch 8 ,mem_customer_key_press + 1 
+06d9 6fe0cb9d fetch 1 ,mem_customer_data_trigger 
+06da 203a06e4 branch p_mouse_push_release_keyboard_data_to_usb ,blank 
+06db 6fe44bde fetch 8 ,mem_customer_key_press + 1 
 
 p_mouse_push_keyboard_package_data_to_usb:
-06b3 67e4095c store 8 ,mem_pdatatemp 
-06b4 6fe0cbdd fetch 1 ,mem_customer_key_press 
-06b5 c00186bd beq kb_multikey_report_id ,p_mouse_push_multimedia_key_data_to_usb 
-06b6 c00106c4 beq kb_system_conctrl_report_id ,p_mouse_push_systemctrl_key_data_to_usb 
-06b7 2040371d call dongle_usb_tx_kb_data 
-06b8 6fe4095c fetch 8 ,mem_pdatatemp 
-06b9 67e40c0f store 8 ,mem_usb_kb_data 
-06ba 20600000 rtn 
+06dc 67e4095c store 8 ,mem_pdatatemp 
+06dd 6fe0cbdd fetch 1 ,mem_customer_key_press 
+06de c00186e6 beq kb_multikey_report_id ,p_mouse_push_multimedia_key_data_to_usb 
+06df c00106ed beq kb_system_conctrl_report_id ,p_mouse_push_systemctrl_key_data_to_usb 
+06e0 2040371d call dongle_usb_tx_kb_data 
+06e1 6fe4095c fetch 8 ,mem_pdatatemp 
+06e2 67e40c0f store 8 ,mem_usb_kb_data 
+06e3 20600000 rtn 
 
 p_mouse_push_release_keyboard_data_to_usb:
-06bb 6fe44be7 fetch 8 ,mem_customer_key_release + 1 
-06bc 202006b3 branch p_mouse_push_keyboard_package_data_to_usb 
+06e4 6fe44be7 fetch 8 ,mem_customer_key_release + 1 
+06e5 202006dc branch p_mouse_push_keyboard_package_data_to_usb 
 
 p_mouse_push_multimedia_key_data_to_usb:
-06bd 20403710 call dongle_usb_tx_enable_ep2 
-06be 700bf821 jam usb_ep2_multikey ,mem_usb_ep2_data 
-06bf 58000003 setarg kb_multikey_report_id 
-06c0 67e08c1f store 1 ,mem_usb_kb_multikey 
-06c1 6fe1095c fetch 2 ,mem_pdatatemp 
-06c2 e7e10005 istore 2 ,contw 
-06c3 20600000 rtn 
+06e6 20403710 call dongle_usb_tx_enable_ep2 
+06e7 700bf821 jam usb_ep2_multikey ,mem_usb_ep2_data 
+06e8 58000003 setarg kb_multikey_report_id 
+06e9 67e08c1f store 1 ,mem_usb_kb_multikey 
+06ea 6fe1095c fetch 2 ,mem_pdatatemp 
+06eb e7e10005 istore 2 ,contw 
+06ec 20600000 rtn 
 
 p_mouse_push_systemctrl_key_data_to_usb:
-06c4 20403710 call dongle_usb_tx_enable_ep2 
-06c5 700bf822 jam usb_ep2_systemkey ,mem_usb_ep2_data 
-06c6 58000002 setarg kb_system_conctrl_report_id 
-06c7 67e08c2f store 1 ,mem_usb_kb_system 
-06c8 6fe0895c fetch 1 ,mem_pdatatemp 
-06c9 e7e08005 istore 1 ,contw 
-06ca 20600000 rtn 
+06ed 20403710 call dongle_usb_tx_enable_ep2 
+06ee 700bf822 jam usb_ep2_systemkey ,mem_usb_ep2_data 
+06ef 58000002 setarg kb_system_conctrl_report_id 
+06f0 67e08c2f store 1 ,mem_usb_kb_system 
+06f1 6fe0895c fetch 1 ,mem_pdatatemp 
+06f2 e7e08005 istore 1 ,contw 
+06f3 20600000 rtn 
               org 0x800
 
 start:
Index: program/patch.prog
===================================================================
--- /YC1308AF/branch/mouse/USB_4Mode_Project/XZR_Project/SlideSwitch_4mode_3ch_AK46/program/patch.prog	(revision 4065)
+++ /YC1308AF/branch/mouse/USB_4Mode_Project/XZR_Project/SlideSwitch_4mode_3ch_AK46/program/patch.prog	(working copy)
@@ -1140,35 +1140,6 @@
 	call p_mouse_logo_led_on_timer
 endif
 	branch p_mouse_check_no_data_timeout_timer
-	
-//-------------------------dpi led fuction--------------------------//
-p_mouse_dpi_led_timer:
-	fetch 1,mem_mouse_dpi_led_blink_enable
-	rtn blank
-	fetch 1,mem_mouse_dpi_blink_time
-	pincrease 1
-	store 1,mem_mouse_dpi_blink_time
-	beq 3,p_mouse_dpi_led_on
-	beq 6,p_mouse_dpi_led_off_check
-	rtn
-p_mouse_dpi_led_on:
-	fetch 1,mem_mouse_led_multi_type
-	bbit1 LED_MULTI_DPI,p_mouse_device_multi_led_on
-	fetcht 1,mem_mouse_1io2led_dpi_led
-	branch gpio_out_active
-
-p_mouse_dpi_led_off_check:
-	jam 0,mem_mouse_dpi_blink_time
-	fetch 1,mem_mouse_dpi_blink_count
-	increase -1,pdata
-	store 1,mem_mouse_dpi_blink_count
-	nbranch p_mouse_dpi_led_off,blank
-	jam 0,mem_mouse_dpi_led_blink_enable
-p_mouse_dpi_led_off:
-	fetch 1,mem_mouse_led_multi_type
-	bbit1 LED_MULTI_DPI,p_mouse_device_multi_led_off
-	fetcht 1,mem_mouse_1io2led_dpi_led
-	branch gpio_out_inactive
 
 //-------------------------adc fuction--------------------------//
 p_mouse_adc_read_start:
@@ -1232,11 +1203,10 @@
 //----------------------------------led function start--------------------------------//
 p_mouse_led_multi_parm_init:
 	jam 0,mem_mouse_multi_led_blink_enable		//led new interface init
-	jam 0,mem_mouse_dpi_led_blink_enable
-	jam 0,mem_mouse_dpi_blink_time
 p_mouse_device_led_all_off:
-	call p_mouse_device_24g_led_off
-	call p_mouse_device_bt1_led_off
+	jam 0,mem_mouse_pair_success
+//	call p_mouse_device_24g_led_off
+//	call p_mouse_device_bt1_led_off
 	call p_mouse_device_bt2_led_off
 	call p_mouse_dpi_led_off
 	branch p_mouse_low_voltage_led_off
@@ -1255,6 +1225,7 @@
 
 p_mouse_device_poweron_led_off:
 	jam 1,mem_mouse_pair_success
+	jam 1,mem_mouse_dpi_led_blink_enable
 	jam 0,mem_mouse_multi_led_powon_timer
 p_mouse_multi_led_blink_disable:
 	jam 0,mem_mouse_multi_led_blink_enable
@@ -1417,7 +1388,13 @@
 	store 7,mem_mouse_key
 	jam 1,mem_sensor_shutdown_flag
 	call p_mouse_sensor_powerdown
+	call p_mouse_24g_hibernate_set_check
 	branch p_g24_long_sleep
+
+p_mouse_24g_hibernate_set_check:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_24G_500Hz
+	branch g24_transmit_by_interrupt_exit
 	
 p_mouse_store_information_delay_timer:
 	arg mem_store_information_delay_timer,regc
@@ -1474,7 +1451,7 @@
 p_mouse_init_sensor:
 	call mouse_read_sensor_id
 	beq P32XX_ID1,p_mouse_init_p32xx_id2_judge
-	beq P3065_ID1,p_mouse_init_p3065_check
+	beq P3065_ID1,mouse_init_p3065
 	beq PKA8G2_ID1,p_mouse_ka8g2_id2_judge
 	call mouse_twspi_reset
 	nop 6900
@@ -1486,16 +1463,6 @@
 	beq P3204_TJDM_ID2,mouse_p3065xy_init_param
 	branch mouse_init_p32xx_id2_judge
 
-p_mouse_init_p3065_check:
-	fetch 1,mem_sensor_id2
-	beq P3104DB,p_mouse_3104_init_parm
-	branch mouse_init_p3065
-
-p_mouse_3104_init_parm:
-	jam P3104,mem_config_sensor_type
-	arg mem_sensor_3104_init,regc
-	branch p_mouse_sensor_poweron_end
-
 p_mouse_ka8g2_id2_judge:
 	fetch 1,mem_sensor_id2
 	beq KA5857_ID2,p_mouse_ka5857_init_param
@@ -1699,44 +1666,101 @@
 p_mouse_dpi_process:
 	call mouse_dpi_ghost_check
 	rtn user
+	fetch 1,mem_config_sensor_type
+	beq P3212,p_mouse_dpi_level6_set
 	fetch 1,mem_mouse_dpi
 	increase 1,pdata
 	and pdata,0x03,pdata
+p_mouse_dpi_store:
 	store 1,mem_mouse_dpi
 	call p_mouse_seting_dpi
-	call p_mouse_dpi_led_blink_init
+	jam 1,mem_mouse_dpi_led_blink_enable
 	branch mouse_store_device_info_delay
 
+p_mouse_dpi_level6_set:
+	fetch 1,mem_mouse_dpi
+	increase 1,pdata
+	sub pdata,6,null
+	call set_pdata_0,zero
+	branch p_mouse_dpi_store
+
+p_mouse_setting_dpi_4_level:
+	fetch 1,mem_config_sensor_type
+	rtneq P3212
+	branch mouse_setting_dpi_4_level
+
 p_mouse_seting_dpi:
-	call mouse_setting_dpi_4_level
+	call p_mouse_setting_dpi_4_level
 p_mouse_seting_sensor_type:
 	fetch 1,mem_config_sensor_type
+	beq P3212,p_mouse_seting_3212_dpi
 	beq KA5857,mouse_seting_3212_dpi
-	beq P3104,mouse_seting_3212_dpi
 	branch mouse_seting_sensor_type+2
 
-p_mouse_dpi_led_blink_init:
+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_cpi1	//1600
+	beq MOUSE_DPI_LEVEL3,mouse_set_p3212_cpi2	//2400
+	beq MOUSE_DPI_LEVEL4,mouse_set_p3212_cpi1	//1600	zoom 3200
+	beq MOUSE_DPI_LEVEL5,mouse_set_p3212_cpi2	//2400	zoom 4800
+	beq MOUSE_DPI_LEVEL6,mouse_set_p3212_cpi3	//800
+	rtn
+
+//-------------------------dpi led fuction--------------------------//
+p_mouse_dpi_led_timer:
 	fetch 1,mem_mouse_pair_success
 	rtn blank
+	fetch 1,mem_mouse_dpi_led_blink_enable
+	rtn blank
+	jam 0,mem_mouse_dpi_led_blink_enable
 	fetch 1,mem_mouse_dpi
-	beq MOUSE_DPI_LEVEL1,p_mouse_dpi_level_2
-	beq MOUSE_DPI_LEVEL2,p_mouse_dpi_level_3
-	beq MOUSE_DPI_LEVEL3,p_mouse_dpi_level_1
+	beq MOUSE_DPI_LEVEL1,p_mouse_dpi_level1_led_on		//red
+	beq MOUSE_DPI_LEVEL2,p_mouse_dpi_level2_led_on		//green
+	beq MOUSE_DPI_LEVEL3,p_mouse_dpi_level3_led_on		//yellow=R+G
+	beq MOUSE_DPI_LEVEL4,p_mouse_dpi_level4_led_on		//blue
+	beq MOUSE_DPI_LEVEL5,p_mouse_dpi_level5_led_on		//cyan=G+B
+	beq MOUSE_DPI_LEVEL6,p_mouse_dpi_level6_led_on		//R+B
 	rtn
 
-p_mouse_dpi_level_1:
-	setarg 1
-	branch p_mouse_dpi_blink_count_init
-p_mouse_dpi_level_2:
-	setarg 2
-	branch p_mouse_dpi_blink_count_init
-p_mouse_dpi_level_3:
-	setarg 3	
-p_mouse_dpi_blink_count_init:
-	store 1,mem_mouse_dpi_blink_count
-	jam 1,mem_mouse_dpi_led_blink_enable
-	rtn
+p_mouse_dpi_level1_led_on:	//red
+	call p_mouse_device_bt1_led_off
+	branch p_mouse_device_24g_led_on		
+	
+p_mouse_dpi_level2_led_on:	//green
+	call p_mouse_device_24g_led_off
+	branch p_mouse_dpi_green_on
+
+p_mouse_dpi_level3_led_on:	//yellow=R+G
+	call p_mouse_device_24g_led_on
+	branch p_mouse_dpi_green_on
+	
+p_mouse_dpi_level4_led_on:	//blue
+	call p_mouse_device_24g_led_off
+	call p_mouse_dpi_green_off
+	branch p_mouse_device_bt1_led_on
+
+p_mouse_dpi_level5_led_on:	//cyan=G+B
+	call p_mouse_device_bt1_led_on
+	branch p_mouse_dpi_green_on
+
+p_mouse_dpi_level6_led_on:	//purple=R+B
+	call p_mouse_dpi_green_off
+	call p_mouse_device_bt1_led_on
+	branch p_mouse_device_24g_led_on
+	
+p_mouse_dpi_green_on:
+	fetcht 1,mem_mouse_rgb_green_led
+	branch gpio_out_active
+p_mouse_dpi_green_off:
+	fetcht 1,mem_mouse_rgb_green_led
+	branch gpio_out_inactive
 
+p_mouse_dpi_led_off:
+	call p_mouse_device_bt1_led_off
+	call p_mouse_device_24g_led_off
+	branch p_mouse_dpi_green_off
+	
 /////////////////////////////////////////////////dpi process end////////////////////////////////////////////
 
 
@@ -1793,7 +1817,6 @@
 	branch mouse_24g_first_store_reconn_info
 
 p_mouse_24g_attempt_fail:
-	jam 0,mem_mouse_pair_success
 	call p_mouse_agc_disable_nomal_power
 	fetch 1,mem_24g_attempt_fail_flag
 	nbranch p_mouse_24g_hibernate_set,blank
@@ -2296,6 +2319,7 @@
 	setarg 0
 	store 6,mem_mouse_x
 	call p_mouse_check_sensor_data
+	call p_mouse_data_zoom
 	setarg 0x0089			
 	call twspi_write
 	call p_mouse_seting_sensor_type
@@ -2315,7 +2339,6 @@
 	fetch 1,mem_config_sensor_type
 	beq KA5857,p_mouse_ka5857_sensor_motion
 	beq KA8G2,p_mouse_ka5857_sensor_motion
-	beq P3104,mouse_p3212_sensor_motion
 	branch mouse_check_sensor_data+3
 
 p_mouse_ka5857_sensor_motion:
@@ -2330,12 +2353,55 @@
 	call twspi_read
 	bne PKA8G2_ID1,mouse_twspi_reset
 	branch mouse_p3212_sensor_motion_2
+
+p_mouse_data_zoom:
+	fetch 1,mem_config_sensor_type
+	rtnne P3212
+	fetch 1,mem_mouse_dpi
+	beq MOUSE_DPI_LEVEL4,p_mouse_data_zoom_next		//1600	zoom 3200
+	beq MOUSE_DPI_LEVEL5,p_mouse_data_zoom_next		//2400	zoom 4800
+	rtn
+
+p_mouse_data_zoom_next:
+	fetch 2,mem_mouse_x
+	call p_mouse_2400_zoom
+	store 2,mem_mouse_x
+	fetch 2,mem_mouse_y
+	call p_mouse_2400_zoom
+	store 2,mem_mouse_y
+	rtn
 	
+p_mouse_2400_zoom:
+	bbit1 11,p_mouse_xy_inverse
+	bbit0 11,p_mouse_xy_zoom
+	rtn
+
+p_mouse_xy_inverse:
+	sub pdata,0,pdata
+	call p_mouse_xy_zoom	
+	sub pdata,0,pdata
+	rtn
+
+p_mouse_xy_zoom:
+	lshift pdata,pdata	
+	set0 14,pdata
+	set0 15,pdata		//x+x=2x
+	store 2,mem_mouse_temp_data
+	fetch 1,mem_mouse_temp_data+1
+	sub pdata,0x7,null
+	ncall p_mouse_xy_forward_overflow,positive
+	fetch 2,mem_mouse_temp_data
+	rtn
+
+p_mouse_xy_forward_overflow:
+	setarg 0x7ff
+	store 2,mem_mouse_temp_data
+	rtn
+
 p_mouse_drawing_optima:
 	fetch 1,mem_config_sensor_type
 	rtneq P3212
 	rtneq KA8G2
-	rtneq P3104
 ifdef USB
 	call p_usb_store_mem
 endif
@@ -2602,7 +2668,7 @@
 p_mouse_usb_interface_check:
 	fetcht 1,mem_usb_offline_check_gpio
 	call gpio_get_bit
-	nbranch p_mouse_usb_gpio_low,true
+	branch p_mouse_usb_gpio_low,true
 	branch p_mouse_usb_gpio_high
 
 p_mouse_usb_gpio_low:
Index: sched/mouse.dat
===================================================================
--- /YC1308AF/branch/mouse/USB_4Mode_Project/XZR_Project/SlideSwitch_4mode_3ch_AK46/sched/mouse.dat	(revision 4065)
+++ /YC1308AF/branch/mouse/USB_4Mode_Project/XZR_Project/SlideSwitch_4mode_3ch_AK46/sched/mouse.dat	(working copy)
@@ -108,9 +108,9 @@
 mem_rssi_dis_min_ble_init:75
 mem_rssi_dis_max_ble_init:80
 
-mem_bk_button_gpio:0e
-mem_fw_button_gpio:0d
-mem_dpi_button_gpio:0b
+mem_bk_button_gpio:0b
+mem_fw_button_gpio:0e
+mem_dpi_button_gpio:0d
 mem_matrix_public_gpio:ff
 mem_sensor_motion_gpio:04
 mem_customer_key_gpio:ff
@@ -131,18 +131,20 @@
 
 mem_sensor_angle_default:00	#00--6CLK   01--9CLK   02--12CLK   03--3CLK
 mem_sensor_angle_switch:00	#00--6CLK   01--9CLK   02--12CLK   03--3CLK
-mem_config_sensor_dpi:00		#00--1200   01--1600
+mem_config_sensor_dpi:01		#00--1200   01--1600
 
 #new led interface configure
 mem_mouse_led_new_interface_enable:01
 mem_mouse_led_multi_type:00	#bit0=1:led+dpi   bit1=1:led+low
 mem_mouse_le_reconn_led_fuction_enable:01	#01:enable  00:disable
-mem_mouse_1io2led_multi_24gled:86
-mem_mouse_1io2led_multi_bt1led:85
-mem_mouse_1io2led_multi_bt2led:8c
+mem_mouse_1io2led_multi_24gled:85		#red
+mem_mouse_1io2led_multi_bt1led:86		#blue
+mem_mouse_1io2led_multi_bt2led:ff
 mem_mouse_1io2led_dpi_led:ff
 mem_mouse_1io2led_low_led:ff
 
+mem_mouse_rgb_green_led:8c	#green
+
 mem_mouse_logo_led_gpio:ff
 mem_mouse_logo_led_on_time_init:58 02	#1min
 
@@ -187,7 +189,7 @@
 mem_mouse_commbination_key_bt:07
 mem_mouse_commbination_key_24g:03
 
-mem_store_information_delay_timer_init:01
+mem_store_information_delay_timer_init:03
 
 #adc start
 mem_adc_config_flag_init:02 		#00-vinlpm   01-hvin   02-gpio
@@ -312,13 +314,6 @@
 15##mem_3212_dpi_3_new 800
 20##mem_3212_dpi_4_new 1200
 
-mem_sensor_3104_init:
-09 5a
-4b 04
-5b 63
-09 00
-ff ff
-
 mem_sensor_3212_init:
 09 5a
 26 34
