Index: format/app_mouse.format
===================================================================
--- /YC1308AC/branch/mouse_project/SA_Project/SA9538_2.4G_connect_first/format/app_mouse.format	(revision 785)
+++ /YC1308AC/branch/mouse_project/SA_Project/SA9538_2.4G_connect_first/format/app_mouse.format	(working copy)
@@ -458,6 +458,9 @@
 //byte 8
 0x38 MOUSE_ENABLE_SMOOTHER
 0x39 MOUSE_ENABLE_XY_OFFSET
+0x3a MOUSE_ENABLE_24G_AUTO_PAIR_NERVER_BEEN_PAIRED
+0x3b MOUSE_ENABLE_LE_BATTERY_SERVICE_CANCEL
+0x3c MOUSE_ENABLE_WHEEL_WAKE_UP_CANCEL
 
 //mouse dpi level
 0x00 MOUSE_DPI_LEVEL1
Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/SA_Project/SA9538_2.4G_connect_first/output/eeprom.dat	(revision 789)
+++ /YC1308AC/branch/mouse_project/SA_Project/SA9538_2.4G_connect_first/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-96
+da
 0f
 c2
 84
@@ -43,63 +43,63 @@
 c0
 61
 82
-08
+19
 c0
 63
 81
-99
+9b
 c0
 64
 81
-9f
+a1
 c0
 65
 01
-b1
+c0
 c0
 66
 03
-60
+71
 c0
 67
 03
-40
+51
 c0
 68
 02
-1a
+2b
 c0
 68
 83
-97
+a8
 c0
 69
 82
-34
+45
 c0
 6a
 02
-4d
+5e
 c0
 6b
 01
-c3
+d2
 c0
 6c
 82
-67
+78
 c0
 6d
-02
-f5
+03
+06
 c0
 6f
 03
-cd
+de
 c0
 74
 03
-01
+12
 20
 20
 13
@@ -114,12 +114,12 @@
 5a
 c0
 43
-82
-fd
+83
+0e
 c0
 50
 83
-15
+26
 c0
 54
 80
@@ -143,7 +143,7 @@
 c0
 76
 03
-36
+47
 20
 20
 13
@@ -631,7 +631,7 @@
 20
 40
 02
-1c
+2d
 20
 40
 3d
@@ -647,11 +647,11 @@
 20
 40
 02
-5f
+70
 20
 40
 02
-b1
+c2
 20
 20
 3b
@@ -1103,7 +1103,7 @@
 20
 20
 02
-5f
+70
 c6
 1a
 00
@@ -1407,7 +1407,7 @@
 20
 40
 01
-9f
+a1
 68
 48
 c9
@@ -1531,11 +1531,11 @@
 24
 2c
 01
-88
+8a
 24
 37
 81
-88
+8a
 20
 40
 26
@@ -1554,16 +1554,8 @@
 e1
 24
 5a
-02
-36
-6f
-e0
-cb
-e1
-24
-5a
-00
-a3
+01
+86
 70
 4b
 e1
@@ -1572,6 +1564,22 @@
 60
 00
 00
+20
+40
+41
+aa
+6f
+e4
+4b
+ab
+c4
+1e
+00
+00
+20
+20
+00
+a3
 6f
 e0
 c8
@@ -1607,7 +1615,7 @@
 20
 40
 01
-92
+94
 20
 20
 01
@@ -1655,11 +1663,11 @@
 20
 40
 02
-58
+69
 20
 40
 02
-5f
+70
 20
 20
 3e
@@ -1733,6 +1741,58 @@
 00
 c0
 20
+40
+60
+93
+6f
+e4
+4b
+ab
+c4
+1e
+00
+00
+20
+20
+01
+b6
+68
+48
+c9
+13
+20
+40
+60
+42
+68
+48
+c9
+14
+20
+40
+60
+42
+6f
+e0
+c9
+13
+d8
+40
+00
+80
+20
+40
+60
+93
+6f
+e0
+c9
+14
+d8
+40
+00
+80
+20
 20
 60
 93
@@ -1803,7 +1863,7 @@
 20
 40
 02
-5f
+70
 20
 20
 01
@@ -1815,23 +1875,23 @@
 c0
 1c
 81
-dd
+ec
 c0
 1e
 01
-df
+ee
 c0
 1d
 01
-e5
+f4
 c0
 19
 01
-ca
+d9
 c0
 22
 01
-d1
+e0
 20
 20
 43
@@ -1843,7 +1903,7 @@
 c0
 00
 81
-ce
+dd
 70
 4b
 76
@@ -1915,7 +1975,7 @@
 20
 40
 02
-a3
+b4
 20
 20
 48
@@ -1923,7 +1983,7 @@
 20
 40
 02
-a3
+b4
 6f
 e2
 48
@@ -1951,7 +2011,7 @@
 24
 3a
 01
-ba
+c9
 6f
 e0
 c8
@@ -1959,19 +2019,19 @@
 c0
 01
 01
-ed
+fc
 c0
 02
-01
-fc
+02
+0b
 c0
 01
 82
-03
+14
 20
 40
 02
-a3
+b4
 20
 20
 48
@@ -1982,12 +2042,12 @@
 ab
 c2
 97
-81
-fa
+82
+09
 c2
 98
-01
-fa
+02
+09
 20
 20
 48
@@ -2023,7 +2083,7 @@
 20
 40
 02
-8c
+9d
 20
 20
 48
@@ -2031,7 +2091,7 @@
 20
 40
 02
-8c
+9d
 20
 20
 48
@@ -2043,7 +2103,7 @@
 c3
 17
 82
-01
+10
 6f
 e0
 cb
@@ -2051,7 +2111,7 @@
 c0
 00
 82
-01
+10
 20
 20
 48
@@ -2059,11 +2119,19 @@
 20
 40
 02
-a3
+b4
+6f
+e4
+4b
+ab
+c3
+1e
+48
+39
 20
 20
 01
-ba
+c9
 6f
 e4
 4b
@@ -2071,15 +2139,15 @@
 c3
 17
 82
-01
+10
 c2
 89
 82
-01
+10
 c2
 89
 02
-01
+10
 20
 20
 48
@@ -2099,7 +2167,7 @@
 c0
 00
 02
-10
+21
 20
 40
 41
@@ -2110,8 +2178,8 @@
 07
 c0
 02
-81
-f1
+82
+00
 20
 20
 3d
@@ -2163,7 +2231,7 @@
 20
 40
 02
-2a
+3b
 6f
 e0
 c9
@@ -2175,7 +2243,7 @@
 c0
 05
 82
-25
+36
 c0
 00
 40
@@ -2251,7 +2319,7 @@
 20
 3a
 02
-c9
+da
 67
 e0
 cb
@@ -2279,7 +2347,7 @@
 c0
 18
 02
-3e
+4f
 c0
 18
 c2
@@ -2299,7 +2367,7 @@
 20
 20
 02
-37
+48
 6f
 e0
 c9
@@ -2307,7 +2375,7 @@
 c0
 2d
 02
-47
+58
 c0
 6c
 41
@@ -2335,7 +2403,7 @@
 20
 20
 02
-37
+48
 70
 49
 27
@@ -2359,7 +2427,7 @@
 20
 20
 02
-1c
+2d
 20
 40
 3f
@@ -2371,7 +2439,7 @@
 c0
 05
 82
-54
+65
 20
 40
 42
@@ -2387,11 +2455,11 @@
 20
 20
 02
-1c
+2d
 20
 40
 02
-5b
+6c
 da
 60
 4c
@@ -2403,7 +2471,7 @@
 20
 20
 02
-1c
+2d
 6f
 e0
 c9
@@ -2411,7 +2479,7 @@
 c0
 05
 82
-5b
+6c
 20
 20
 42
@@ -2447,7 +2515,7 @@
 c0
 05
 82
-65
+76
 58
 00
 08
@@ -2471,7 +2539,7 @@
 20
 40
 03
-81
+92
 20
 40
 23
@@ -2487,15 +2555,15 @@
 20
 40
 02
-c6
+d7
 20
 40
 02
-7e
+8f
 20
 40
 02
-b8
+c9
 20
 40
 40
@@ -2507,7 +2575,7 @@
 20
 40
 02
-dc
+ed
 20
 40
 44
@@ -2555,7 +2623,7 @@
 20
 20
 02
-be
+cf
 6f
 e0
 cc
@@ -2571,11 +2639,11 @@
 c0
 00
 82
-93
+a4
 20
 40
 02
-a0
+b1
 6f
 e0
 cc
@@ -2599,7 +2667,7 @@
 20
 42
 82
-8a
+9b
 20
 60
 00
@@ -2611,7 +2679,7 @@
 20
 20
 02
-a5
+b6
 70
 4c
 1c
@@ -2647,7 +2715,7 @@
 da
 40
 02
-96
+a7
 20
 20
 31
@@ -2667,7 +2735,7 @@
 20
 3a
 02
-9e
+af
 6f
 e0
 cc
@@ -2675,7 +2743,7 @@
 20
 3a
 02
-a3
+b4
 1f
 e0
 ff
@@ -2691,7 +2759,7 @@
 c0
 00
 82
-a5
+b6
 70
 4c
 18
@@ -2719,7 +2787,7 @@
 24
 3a
 02
-a9
+ba
 70
 4c
 16
@@ -2743,7 +2811,7 @@
 c0
 01
 82
-af
+c0
 68
 48
 cc
@@ -2795,7 +2863,7 @@
 da
 40
 02
-b3
+c4
 20
 20
 31
@@ -2811,7 +2879,7 @@
 20
 20
 02
-8f
+a0
 6f
 e0
 c9
@@ -2827,7 +2895,7 @@
 da
 40
 02
-c3
+d4
 20
 20
 31
@@ -2839,7 +2907,7 @@
 c0
 00
 01
-ba
+c9
 20
 20
 43
@@ -2851,7 +2919,7 @@
 da
 40
 02
-c9
+da
 20
 20
 31
@@ -2863,7 +2931,7 @@
 c2
 8e
 02
-cf
+e0
 6f
 e0
 c9
@@ -2871,15 +2939,15 @@
 c0
 00
 02
-d6
+e7
 c0
 00
 82
-d8
+e9
 20
 20
 02
-d4
+e5
 6f
 e0
 c9
@@ -2887,19 +2955,19 @@
 c0
 00
 02
-d8
+e9
 c0
 00
 82
-da
+eb
 c0
 01
 02
-d4
+e5
 20
 20
 02
-d6
+e7
 70
 4c
 1e
@@ -2907,7 +2975,7 @@
 20
 20
 02
-bb
+cc
 70
 4c
 1e
@@ -2915,7 +2983,7 @@
 20
 20
 02
-bb
+cc
 70
 4c
 1e
@@ -2923,7 +2991,7 @@
 20
 20
 02
-bb
+cc
 70
 4c
 1e
@@ -2931,7 +2999,7 @@
 20
 20
 02
-bb
+cc
 6f
 e4
 4b
@@ -2947,7 +3015,7 @@
 20
 20
 02
-e3
+f4
 6f
 e4
 4b
@@ -2983,15 +3051,15 @@
 20
 22
 82
-ea
+fb
 20
 20
 44
 eb
 20
 40
-02
-ef
+03
+00
 6f
 e0
 cb
@@ -3014,8 +3082,8 @@
 a0
 da
 40
-02
-f2
+03
+03
 20
 20
 31
@@ -3059,7 +3127,7 @@
 20
 40
 02
-8c
+9d
 20
 20
 45
@@ -3107,7 +3175,7 @@
 c0
 04
 83
-09
+1a
 20
 20
 4d
@@ -3207,7 +3275,7 @@
 c0
 02
 03
-22
+33
 20
 20
 19
@@ -3223,7 +3291,7 @@
 c0
 09
 03
-26
+37
 20
 20
 1c
@@ -3351,7 +3419,7 @@
 20
 40
 02
-1c
+2d
 20
 40
 3f
@@ -3383,7 +3451,7 @@
 20
 40
 03
-4e
+5f
 20
 20
 45
@@ -3495,7 +3563,7 @@
 24
 21
 03
-79
+8a
 6f
 e0
 c4
@@ -3503,7 +3571,7 @@
 c0
 81
 03
-71
+82
 68
 49
 48
@@ -3551,7 +3619,7 @@
 c3
 00
 03
-7b
+8c
 70
 48
 fa
@@ -3591,7 +3659,7 @@
 20
 20
 02
-a5
+b6
 6f
 e1
 4a
@@ -3659,15 +3727,15 @@
 24
 41
 03
-95
+a6
 c0
 0f
 02
-a0
+b1
 c0
 13
 82
-a5
+b6
 20
 60
 00
@@ -3679,7 +3747,7 @@
 20
 20
 02
-a5
+b6
 6f
 e0
 cb
@@ -3695,23 +3763,23 @@
 20
 40
 03
-a0
+b1
 20
 40
 03
-a5
+b6
 20
 40
 03
-aa
+bb
 20
 40
 03
-af
+c0
 20
 40
 03
-bc
+cd
 20
 20
 41
@@ -3723,7 +3791,7 @@
 20
 40
 03
-c9
+da
 20
 40
 41
@@ -3743,7 +3811,7 @@
 20
 40
 03
-c9
+da
 20
 40
 41
@@ -3763,7 +3831,7 @@
 20
 40
 03
-c9
+da
 20
 40
 41
@@ -3807,7 +3875,7 @@
 c0
 7f
 83
-b8
+c9
 20
 20
 41
@@ -3819,7 +3887,7 @@
 20
 40
 03
-cb
+dc
 68
 48
 c9
@@ -3859,7 +3927,7 @@
 c0
 7f
 83
-c5
+d6
 20
 20
 41
@@ -3871,7 +3939,7 @@
 20
 40
 03
-cb
+dc
 68
 48
 c9
@@ -3907,7 +3975,7 @@
 20
 40
 03
-d1
+e2
 20
 20
 46
@@ -3943,7 +4011,7 @@
 20
 40
 03
-da
+eb
 20
 20
 40
@@ -3971,7 +4039,7 @@
 c0
 7f
 83
-e1
+f2
 20
 20
 40
@@ -3983,7 +4051,7 @@
 20
 40
 03
-cb
+dc
 68
 48
 c9
@@ -3992,8 +4060,8 @@
 20
 41
 95
-f0
-b2
+e7
+71
 aa
 55
 40
@@ -5274,76 +5342,8 @@
 55
 de
 86
-b8
-fe
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+97
+02
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-49
-ad
+b5
+13
Index: output/program.lis
===================================================================
--- /YC1308AC/branch/mouse_project/SA_Project/SA9538_2.4G_connect_first/output/program.lis	(revision 789)
+++ /YC1308AC/branch/mouse_project/SA_Project/SA9538_2.4G_connect_first/output/program.lis	(working copy)
@@ -9,34 +9,34 @@
 0006 c04f8096 beq patch13_7 ,p_init_param 
 0007 c0570098 beq patch15_6 ,p_app_init 
 0008 c0580075 beq patch16_0 ,p_app_evt_100ms_loop 
-0009 c0618208 beq patch18_3 ,p_mouse_start_work 
-000a c0638199 beq patch18_7 ,p_mouse_app_enter_hibernate 
-000b c064819f beq patch19_1 ,p_mouse_setgpio_hibernate 
-000c c06501b1 beq patch19_2 ,p_mouse_lpm_before_common 
-000d c0660360 beq patch19_4 ,p_mouse_adc_read_start 
-000e c0670340 beq patch19_6 ,p_mouse_motion 
-000f c068021a beq patch1a_0 ,p_mouse_seting_dpi 
-0010 c0688397 beq patch1a_1 ,p_mouse_check_key_gpio 
-0011 c0698234 beq patch1a_3 ,p_mouse_init_sunt 
-0012 c06a024d beq patch1a_4 ,p_mouse_sensor_poweron 
-0013 c06b01c3 beq patch1a_6 ,p_mouse_priority_bb_event 
-0014 c06c8267 beq patch1b_1 ,p_mouse_bb_event_timer 
-0015 c06d02f5 beq patch1b_2 ,p_mouse_start_discovery 
-0016 c06f03cd beq patch1b_6 ,p_mouse_idle 
-0017 c0740301 beq patch1d_0 ,p_hid_rx_process 
+0009 c0618219 beq patch18_3 ,p_mouse_start_work 
+000a c063819b beq patch18_7 ,p_mouse_app_enter_hibernate 
+000b c06481a1 beq patch19_1 ,p_mouse_setgpio_hibernate 
+000c c06501c0 beq patch19_2 ,p_mouse_lpm_before_common 
+000d c0660371 beq patch19_4 ,p_mouse_adc_read_start 
+000e c0670351 beq patch19_6 ,p_mouse_motion 
+000f c068022b beq patch1a_0 ,p_mouse_seting_dpi 
+0010 c06883a8 beq patch1a_1 ,p_mouse_check_key_gpio 
+0011 c0698245 beq patch1a_3 ,p_mouse_init_sunt 
+0012 c06a025e beq patch1a_4 ,p_mouse_sensor_poweron 
+0013 c06b01d2 beq patch1a_6 ,p_mouse_priority_bb_event 
+0014 c06c8278 beq patch1b_1 ,p_mouse_bb_event_timer 
+0015 c06d0306 beq patch1b_2 ,p_mouse_start_discovery 
+0016 c06f03de beq patch1b_6 ,p_mouse_idle 
+0017 c0740312 beq patch1d_0 ,p_hid_rx_process 
 0018 2020137c branch loop 
 
 pf_patch_ext:
 0019 c0198055 beq patch26_3 ,p_adc_init_data 
 001a c01a005a beq patch26_4 ,p_enable_adc 
-001b c04382fd beq patch30_7 ,p_ui_timer_check 
-001c c0508315 beq patch34_1 ,p_le_slave_match 
+001b c043830e beq patch30_7 ,p_ui_timer_check 
+001c c0508326 beq patch34_1 ,p_le_slave_match 
 001d c0548090 beq patch35_1 ,p_le_enable 
 001e c06e8113 beq patch3b_5 ,p_g24_dispatch 
 001f c0710123 beq patch3c_2 ,p_g24_pair_dispatch 
 0020 c074812a beq patch3d_1 ,p_g24_reconn_dispatch 
 0021 c0750144 beq patch3d_2 ,p_g24_transmit_no_interrupt 
-0022 c0760336 beq patch3d_4 ,p_g24_lpm_wait 
+0022 c0760347 beq patch3d_4 ,p_g24_lpm_wait 
 0023 2020137c branch loop 
 
 p_soft_reset:
@@ -188,12 +188,12 @@
 0099 204000a9 call p_mouse_setting_config 
 009a 204041a7 call mouse_init_sunt 
 009b 20758000 rtn wake 
-009c 2040021c call p_mouse_dpi_config 
+009c 2040022d call p_mouse_dpi_config 
 009d 20403d8a call mouse_usb_check_enable 
 009e 20404728 call mouse_drawing_optima_init 
 009f 204000ca call p_mouse_cb_fuction 
-00a0 2040025f call p_mouse_sensor_powerdown 
-00a1 204002b1 call p_mouse_mode_24g_device_multi_led_on 
+00a0 20400270 call p_mouse_sensor_powerdown 
+00a1 204002c2 call p_mouse_mode_24g_device_multi_led_on 
 00a2 20203bc9 branch mouse_init + 8 
 
 p_mouse_wheel_set_wakeup:
@@ -334,7 +334,7 @@
 010f 67e0cba4 store 1 ,mem_mouse_search_dongle_action 
 0110 6fe14bbc fetch 2 ,mem_mouse_24g_search_dongle_time_init 
 0111 67e14ab2 store 2 ,mem_mouse_no_data_timer 
-0112 2020025f branch p_mouse_sensor_powerdown 
+0112 20200270 branch p_mouse_sensor_powerdown 
 
 p_g24_dispatch:
 0113 c61a0000 rtnmark1 mark_adc_enable 
@@ -436,7 +436,7 @@
 015d 202026b8 branch g24_long_sleep2 
 
 p_mouse_setgpio_hibernate_new:
-015e 2040019f call p_mouse_setgpio_hibernate 
+015e 204001a1 call p_mouse_setgpio_hibernate 
 015f 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
 0160 20406042 call gpio_clr_wake 
 0161 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
@@ -473,840 +473,861 @@
 017a 2040265b call g24_transmit_receive_ack 
 017b 6fe0c82c fetch 1 ,mem_24g_no_ack 
 017c c000a651 beq no_ack_24g ,g24_transmit_no_ack 
-017d 242c0188 nbranch p_g24_retransmit ,sync 
-017e 24378188 nbranch p_g24_retransmit ,user3 
+017d 242c018a nbranch p_g24_retransmit ,sync 
+017e 2437818a nbranch p_g24_retransmit ,user3 
 017f 20402672 call g24_ackpayload_parse 
 0180 20400182 call p_mouse_wakeup_24g 
 0181 20202651 branch g24_transmit_no_ack 
 
 p_mouse_wakeup_24g:
 0182 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-0183 245a0236 ncall p_mouse_init_sensor_wakeup ,blank 
-0184 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-0185 245a00a3 ncall p_mouse_wheel_set_wakeup ,blank 
-0186 704be100 jam 0 ,mem_sensor_shutdown_flag 
-0187 20600000 rtn 
+0183 245a0186 ncall p_mouse_wakeup_24g_from_long_sleep ,blank 
+0184 704be100 jam 0 ,mem_sensor_shutdown_flag 
+0185 20600000 rtn 
+
+p_mouse_wakeup_24g_from_long_sleep:
+0186 204041aa call mouse_init_sensor_wakeup 
+0187 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0188 c41e0000 rtnbit0 mouse_enable_wheel_wake_up_cancel 
+0189 202000a3 branch p_mouse_wheel_set_wakeup 
 
 p_g24_retransmit:
-0188 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
-0189 247a0000 nrtn blank 
-018a 6fe148a3 fetch 2 ,mem_24g_txfail_cnt 
-018b 1fe0fe01 increase 1 ,pdata 
-018c 67e148a3 store 2 ,mem_24g_txfail_cnt 
-018d 6fe0c8a4 fetch 1 ,mem_24g_txfail_cnt + 1 
-018e c280a679 bbit1 1 ,g24_tx_attempt_fail 
-018f 2040267e call g24_transmit_hop_process 
-0190 20400192 call p_delay_40ms 
-0191 20200178 branch p_g24_transmit_loop 
+018a 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
+018b 247a0000 nrtn blank 
+018c 6fe148a3 fetch 2 ,mem_24g_txfail_cnt 
+018d 1fe0fe01 increase 1 ,pdata 
+018e 67e148a3 store 2 ,mem_24g_txfail_cnt 
+018f 6fe0c8a4 fetch 1 ,mem_24g_txfail_cnt + 1 
+0190 c280a679 bbit1 1 ,g24_tx_attempt_fail 
+0191 2040267e call g24_transmit_hop_process 
+0192 20400194 call p_delay_40ms 
+0193 20200178 branch p_g24_transmit_loop 
 
 p_delay_40ms:
-0192 6fe0c8a4 fetch 1 ,mem_24g_txfail_cnt + 1 
-0193 1fe67c00 sub pdata ,0x00 ,null 
-0194 20610000 rtn positive 
-0195 df200028 arg 40 ,loopcnt 
+0194 6fe0c8a4 fetch 1 ,mem_24g_txfail_cnt + 1 
+0195 1fe67c00 sub pdata ,0x00 ,null 
+0196 20610000 rtn positive 
+0197 df200028 arg 40 ,loopcnt 
 
 p_delay_ms_wait:
-0196 20002ee0 nop 12000 
-0197 c2007d13 loop delay_ms_wait 
-0198 20600000 rtn 
+0198 20002ee0 nop 12000 
+0199 c2007d13 loop delay_ms_wait 
+019a 20600000 rtn 
 
 p_mouse_app_enter_hibernate:
-0199 58000006 setarg pan_reg_config 
-019a 20405b0d call twspi_read 
-019b c281be23 bbit1 3 ,mouse_app_enter_hibernate + 3 
-019c 20400258 call p_mouse_sensor_reset 
-019d 2040025f call p_mouse_sensor_powerdown 
-019e 20203e23 branch mouse_app_enter_hibernate + 3 
+019b 58000006 setarg pan_reg_config 
+019c 20405b0d call twspi_read 
+019d c281be23 bbit1 3 ,mouse_app_enter_hibernate + 3 
+019e 20400269 call p_mouse_sensor_reset 
+019f 20400270 call p_mouse_sensor_powerdown 
+01a0 20203e23 branch mouse_app_enter_hibernate + 3 
 
 p_mouse_setgpio_hibernate:
-019f 204042e9 call mouse_set_sdio_high 
-01a0 20407fdc call clear_wake 
-01a1 20404015 call mouse_before_hibernate_wheel_gpio_set 
-01a2 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-01a3 20406069 call gpio_out_active 
+01a1 204042e9 call mouse_set_sdio_high 
+01a2 20407fdc call clear_wake 
+01a3 20404015 call mouse_before_hibernate_wheel_gpio_set 
 01a4 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-01a5 20406042 call gpio_clr_wake 
-01a6 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
-01a7 d840003f arg gpcfg_output_high ,temp 
-01a8 20406093 call gpio_config_function_int 
-01a9 20403e36 call mouse_setgpio_hibernate + 3 
-01aa 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-01ab c40a0000 rtnbit0 mouse_enable_adc 
-01ac 6fe0c8fd fetch 1 ,mem_adc_config_flag_init 
-01ad c1810000 rtnne adc_config_gpio 
-01ae 6fe0c8fc fetch 1 ,mem_adc_channel_gpio 
-01af d84000c0 arg gpcfg_no_ie ,temp 
-01b0 20206093 branch gpio_config_function_int 
+01a5 20406069 call gpio_out_active 
+01a6 6848c910 fetcht 1 ,mem_matrix_public_gpio 
+01a7 20406042 call gpio_clr_wake 
+01a8 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
+01a9 d840003f arg gpcfg_output_high ,temp 
+01aa 20406093 call gpio_config_function_int 
+01ab 20403e36 call mouse_setgpio_hibernate + 3 
+01ac 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+01ad c40a0000 rtnbit0 mouse_enable_adc 
+01ae 6fe0c8fd fetch 1 ,mem_adc_config_flag_init 
+01af c1810000 rtnne adc_config_gpio 
+01b0 6fe0c8fc fetch 1 ,mem_adc_channel_gpio 
+01b1 d84000c0 arg gpcfg_no_ie ,temp 
+01b2 20406093 call gpio_config_function_int 
+01b3 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+01b4 c41e0000 rtnbit0 mouse_enable_wheel_wake_up_cancel 
+01b5 202001b6 branch p_mouse_wheel_clr_wakeup 
+
+p_mouse_wheel_clr_wakeup:
+01b6 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
+01b7 20406042 call gpio_clr_wake 
+01b8 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
+01b9 20406042 call gpio_clr_wake 
+01ba 6fe0c913 fetch 1 ,mem_whee_a_data_gpio 
+01bb d8400080 arg gpcfg_pulldown ,temp 
+01bc 20406093 call gpio_config_function_int 
+01bd 6fe0c914 fetch 1 ,mem_whee_b_data_gpio 
+01be d8400080 arg gpcfg_pulldown ,temp 
+01bf 20206093 branch gpio_config_function_int 
 
 p_mouse_lpm_before_common:
-01b1 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
-01b2 20406050 call gpio_config_input 
-01b3 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
-01b4 20406050 call gpio_config_input 
-01b5 20403f88 call mouse_wheel_check 
-01b6 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
-01b7 d840003f arg gpcfg_output_high ,temp 
-01b8 20406093 call gpio_config_function_int 
-01b9 20203e44 branch mouse_lpm_before_common_next 
+01c0 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
+01c1 20406050 call gpio_config_input 
+01c2 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
+01c3 20406050 call gpio_config_input 
+01c4 20403f88 call mouse_wheel_check 
+01c5 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
+01c6 d840003f arg gpcfg_output_high ,temp 
+01c7 20406093 call gpio_config_function_int 
+01c8 20203e44 branch mouse_lpm_before_common_next 
 
 p_mouse_24g_hibernate_set:
-01ba 7048a500 jam 0 ,mem_24g_attempt_fail_flag 
-01bb 20402652 call g24_transmit_next_packet 
-01bc 5fffffff setarg -1 
-01bd 67e4485c store 8 ,mem_24g_enter_hibernate 
-01be 58000000 setarg 0 
-01bf 67e3c8d0 store 7 ,mem_mouse_key 
-01c0 704be101 jam 1 ,mem_sensor_shutdown_flag 
-01c1 2040025f call p_mouse_sensor_powerdown 
-01c2 20200158 branch p_g24_long_sleep 
+01c9 7048a500 jam 0 ,mem_24g_attempt_fail_flag 
+01ca 20402652 call g24_transmit_next_packet 
+01cb 5fffffff setarg -1 
+01cc 67e4485c store 8 ,mem_24g_enter_hibernate 
+01cd 58000000 setarg 0 
+01ce 67e3c8d0 store 7 ,mem_mouse_key 
+01cf 704be101 jam 1 ,mem_sensor_shutdown_flag 
+01d0 20400270 call p_mouse_sensor_powerdown 
+01d1 20200158 branch p_g24_long_sleep 
 
 p_mouse_priority_bb_event:
-01c3 1a627e00 copy regc ,pdata 
-01c4 c01c81dd beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
-01c5 c01e01df beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-01c6 c01d01e5 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-01c7 c01901ca beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
-01c8 c02201d1 beq bt_evt_le_parse_conn_param_accepted ,p_mouse_le_parse_conn_param_accepted 
-01c9 20204336 branch mouse_priority_bb_event + 2 
+01d2 1a627e00 copy regc ,pdata 
+01d3 c01c81ec beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
+01d4 c01e01ee beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+01d5 c01d01f4 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+01d6 c01901d9 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
+01d7 c02201e0 beq bt_evt_le_parse_conn_param_accepted ,p_mouse_le_parse_conn_param_accepted 
+01d8 20204336 branch mouse_priority_bb_event + 2 
 
 p_mouse_le_ll_start_encryt:
-01ca 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
-01cb c00081ce beq 1 ,p_mouse_le_ll_reconn_start_encryt 
-01cc 704b7614 jam 20 ,mem_le_start_encrypt_timer 
-01cd 20204373 branch mouse_le_ll_enable_start_enc_flag 
+01d9 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
+01da c00081dd beq 1 ,p_mouse_le_ll_reconn_start_encryt 
+01db 704b7614 jam 20 ,mem_le_start_encrypt_timer 
+01dc 20204373 branch mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_le_ll_reconn_start_encryt:
-01ce 2040436c call mouse_updata_le_param 
-01cf 704b7605 jam 5 ,mem_le_start_encrypt_timer 
-01d0 20204373 branch mouse_le_ll_enable_start_enc_flag 
+01dd 2040436c call mouse_updata_le_param 
+01de 704b7605 jam 5 ,mem_le_start_encrypt_timer 
+01df 20204373 branch mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_le_parse_conn_param_accepted:
-01d1 6fe082c1 fetch 1 ,mem_le_new_conninterval 
-01d2 1fe67c0c sub pdata ,le_interval_15ms ,null 
-01d3 24214384 nbranch mouse_le_conn_param_lpm_disable ,positive 
-01d4 67e14372 store 2 ,mem_le_interval_min 
-01d5 67e14374 store 2 ,mem_le_interval_min + 2 
-01d6 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
-01d7 6848cb8a fetcht 1 ,mem_lpm_mult_init 
-01d8 98467c00 isub temp ,null 
-01d9 2021439a branch mouse_le_lpm_mult_reinit ,positive 
-01da 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
-01db 67e0cb8a store 1 ,mem_lpm_mult_init 
-01dc 20204386 branch mouse_le_conn_param_lpm_enable 
+01e0 6fe082c1 fetch 1 ,mem_le_new_conninterval 
+01e1 1fe67c0c sub pdata ,le_interval_15ms ,null 
+01e2 24214384 nbranch mouse_le_conn_param_lpm_disable ,positive 
+01e3 67e14372 store 2 ,mem_le_interval_min 
+01e4 67e14374 store 2 ,mem_le_interval_min + 2 
+01e5 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
+01e6 6848cb8a fetcht 1 ,mem_lpm_mult_init 
+01e7 98467c00 isub temp ,null 
+01e8 2021439a branch mouse_le_lpm_mult_reinit ,positive 
+01e9 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
+01ea 67e0cb8a store 1 ,mem_lpm_mult_init 
+01eb 20204386 branch mouse_le_conn_param_lpm_enable 
 
 p_mouse_24g_pairing_complete:
-01dd 204002a3 call p_mouse_discovey_led_blink_off 
-01de 20204857 branch mouse_24g_pairing_complete 
+01ec 204002b4 call p_mouse_discovey_led_blink_off 
+01ed 20204857 branch mouse_24g_pairing_complete 
 
 p_mouse_24g_attempt_success:
-01df 204002a3 call p_mouse_discovey_led_blink_off 
-01e0 6fe2483c fetch 4 ,mem_24g_addr 
-01e1 67e24891 store 4 ,mem_24g_receiver_addr 
-01e2 67e24993 store 4 ,mem_mouse_24g_addr 
-01e3 204048c6 call mouse_device_poweron_timer_init 
-01e4 2020484e branch mouse_24g_attempt_success 
+01ee 204002b4 call p_mouse_discovey_led_blink_off 
+01ef 6fe2483c fetch 4 ,mem_24g_addr 
+01f0 67e24891 store 4 ,mem_24g_receiver_addr 
+01f1 67e24993 store 4 ,mem_mouse_24g_addr 
+01f2 204048c6 call mouse_device_poweron_timer_init 
+01f3 2020484e branch mouse_24g_attempt_success 
 
 p_mouse_24g_attempt_fail:
-01e5 6fe0c8a5 fetch 1 ,mem_24g_attempt_fail_flag 
-01e6 243a01ba nbranch p_mouse_24g_hibernate_set ,blank 
-01e7 6fe0c88b fetch 1 ,mem_24g_reconn_type 
-01e8 c00101ed beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
-01e9 c00201fc beq pair_and_3_0_addr ,p_mouse_24g_auto_pair_attempt_fail 
-01ea c0018203 beq receiver_and_3_0_addr ,p_mouse_reconn_dongle_attempt_fail 
-01eb 204002a3 call p_mouse_multi_led_blink_off 
-01ec 2020483a branch mouse_24g_attempt_fail_enter_hibernate + 1 
+01f4 6fe0c8a5 fetch 1 ,mem_24g_attempt_fail_flag 
+01f5 243a01c9 nbranch p_mouse_24g_hibernate_set ,blank 
+01f6 6fe0c88b fetch 1 ,mem_24g_reconn_type 
+01f7 c00101fc beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
+01f8 c002020b beq pair_and_3_0_addr ,p_mouse_24g_auto_pair_attempt_fail 
+01f9 c0018214 beq receiver_and_3_0_addr ,p_mouse_reconn_dongle_attempt_fail 
+01fa 204002b4 call p_mouse_multi_led_blink_off 
+01fb 2020483a branch mouse_24g_attempt_fail_enter_hibernate + 1 
 
 p_mouse_24g_fast_conn_attempt_fail:
-01ed 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-01ee c29781fa bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_start_auto_pair 
-01ef c29801fa bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_start_auto_pair 
-01f0 20204806 branch mouse_24g_reconn_dongle_start 
+01fc 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+01fd c2978209 bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_start_auto_pair 
+01fe c2980209 bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_start_auto_pair 
+01ff 20204806 branch mouse_24g_reconn_dongle_start 
 
 p_mouse_24g_start_pair_mode:
-01f1 70493800 jam mode_24g_device ,mem_device_flag 
-01f2 d8e00001 arg mouse_24g_pairing_flag ,queue 
-01f3 204046f0 call mouse_enable_function_flag 
-01f4 58000000 setarg 0 
-01f5 67e14887 store 2 ,mem_24g_reconn_timeout 
-01f6 20404576 call mouse_stop_discovery 
-01f7 2040498e call mouse_low_voltage_led_blink_disable 
-01f8 2040028c call p_mouse_discovery_multi_led_blink 
-01f9 2020482e branch mouse_24g_start_pair_mode + 7 
+0200 70493800 jam mode_24g_device ,mem_device_flag 
+0201 d8e00001 arg mouse_24g_pairing_flag ,queue 
+0202 204046f0 call mouse_enable_function_flag 
+0203 58000000 setarg 0 
+0204 67e14887 store 2 ,mem_24g_reconn_timeout 
+0205 20404576 call mouse_stop_discovery 
+0206 2040498e call mouse_low_voltage_led_blink_disable 
+0207 2040029d call p_mouse_discovery_multi_led_blink 
+0208 2020482e branch mouse_24g_start_pair_mode + 7 
 
 p_mouse_24g_start_auto_pair:
-01fa 2040028c call p_mouse_discovery_multi_led_blink 
-01fb 20204812 branch mouse_24g_start_auto_pair + 1 
+0209 2040029d call p_mouse_discovery_multi_led_blink 
+020a 20204812 branch mouse_24g_start_auto_pair + 1 
 
 p_mouse_24g_auto_pair_attempt_fail:
-01fc 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-01fd c3178201 bbit0 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_attempt_fail_enter_hibernate 
-01fe 6fe0cbb4 fetch 1 ,mem_device_number 
-01ff c0008201 beq 1 ,p_mouse_24g_attempt_fail_enter_hibernate 
-0200 2020481a branch mouse_24g_first_bluetooth_reconnect 
+020b 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+020c c3178210 bbit0 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_attempt_fail_enter_hibernate 
+020d 6fe0cbb4 fetch 1 ,mem_device_number 
+020e c0008210 beq 1 ,p_mouse_24g_attempt_fail_enter_hibernate 
+020f 2020481a branch mouse_24g_first_bluetooth_reconnect 
 
 p_mouse_24g_attempt_fail_enter_hibernate:
-0201 204002a3 call p_mouse_multi_led_blink_off 
-0202 202001ba branch p_mouse_24g_hibernate_set 
+0210 204002b4 call p_mouse_multi_led_blink_off 
+0211 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0212 c31e4839 bbit0 mouse_enable_wheel_wake_up_cancel ,mouse_24g_attempt_fail_enter_hibernate 
+0213 202001c9 branch p_mouse_24g_hibernate_set 
 
 p_mouse_reconn_dongle_attempt_fail:
-0203 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0204 c3178201 bbit0 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_attempt_fail_enter_hibernate 
-0205 c2898201 bbit1 mouse_enable_eeprom ,p_mouse_24g_attempt_fail_enter_hibernate 
-0206 c2890201 bbit1 mouse_enable_flash ,p_mouse_24g_attempt_fail_enter_hibernate 
-0207 20204812 branch mouse_24g_start_auto_pair + 1 
+0214 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0215 c3178210 bbit0 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_attempt_fail_enter_hibernate 
+0216 c2898210 bbit1 mouse_enable_eeprom ,p_mouse_24g_attempt_fail_enter_hibernate 
+0217 c2890210 bbit1 mouse_enable_flash ,p_mouse_24g_attempt_fail_enter_hibernate 
+0218 20204812 branch mouse_24g_start_auto_pair + 1 
 
 p_mouse_start_work:
-0208 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0209 c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
-020a 6fe0c938 fetch 1 ,mem_device_flag 
-020b c0000210 beq mode_24g_device ,p_mouse_24g_start_mode 
-020c 20404110 call mouse_key_check_once 
-020d 1a217e07 and rega ,0x07 ,pdata 
-020e c00281f1 beq mouse_lm_button ,p_mouse_24g_start_pair_mode 
-020f 20203d57 branch mouse_start_work + 5 
+0219 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+021a c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
+021b 6fe0c938 fetch 1 ,mem_device_flag 
+021c c0000221 beq mode_24g_device ,p_mouse_24g_start_mode 
+021d 20404110 call mouse_key_check_once 
+021e 1a217e07 and rega ,0x07 ,pdata 
+021f c0028200 beq mouse_lm_button ,p_mouse_24g_start_pair_mode 
+0220 20203d57 branch mouse_start_work + 5 
 
 p_mouse_24g_start_mode:
-0210 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0211 c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
-0212 20403d65 call mouse_wakeup_from_power_check 
-0213 20344806 branch mouse_24g_reconn_dongle_start ,user 
-0214 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0215 c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
-0216 c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
-0217 20404110 call mouse_key_check_once 
-0218 1a217e07 and rega ,0x07 ,pdata 
-0219 202047ff branch mouse_24g_start_mode + 9 
+0221 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0222 c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
+0223 20403d65 call mouse_wakeup_from_power_check 
+0224 20344806 branch mouse_24g_reconn_dongle_start ,user 
+0225 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0226 c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
+0227 c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
+0228 20404110 call mouse_key_check_once 
+0229 1a217e07 and rega ,0x07 ,pdata 
+022a 202047ff branch mouse_24g_start_mode + 9 
 
 p_mouse_seting_dpi:
-021a 2040408f call mouse_setting_dpi_4_level 
-021b 2040022a call p_mouse_dpi_led_blink_delay 
+022b 2040408f call mouse_setting_dpi_4_level 
+022c 2040023b call p_mouse_dpi_led_blink_delay 
 
 p_mouse_dpi_config:
 
 p_mouse_seting_sensor_type:
-021c 6fe0c927 fetch 1 ,mem_config_sensor_type 
-021d c001c0bb beq p3212 ,mouse_seting_3212_dpi 
-021e c0058225 beq ka8g2 ,p_mouse_seting_ka8g2_dpi 
-021f c000409b beq p3205 ,mouse_seting_sensor_type + 3 
-0220 6fe0c992 fetch 1 ,mem_mouse_dpi 
-0221 c00040a2 beq mouse_dpi_level1 ,mouse_set_cpi0 
-0222 c000c0a0 beq mouse_dpi_level2 ,mouse_set_cpi1 
-0223 c00140a6 beq mouse_dpi_level3 ,mouse_set_cpi3 
-0224 202040a0 branch mouse_set_cpi1 
+022d 6fe0c927 fetch 1 ,mem_config_sensor_type 
+022e c001c0bb beq p3212 ,mouse_seting_3212_dpi 
+022f c0058236 beq ka8g2 ,p_mouse_seting_ka8g2_dpi 
+0230 c000409b beq p3205 ,mouse_seting_sensor_type + 3 
+0231 6fe0c992 fetch 1 ,mem_mouse_dpi 
+0232 c00040a2 beq mouse_dpi_level1 ,mouse_set_cpi0 
+0233 c000c0a0 beq mouse_dpi_level2 ,mouse_set_cpi1 
+0234 c00140a6 beq mouse_dpi_level3 ,mouse_set_cpi3 
+0235 202040a0 branch mouse_set_cpi1 
 
 p_mouse_seting_ka8g2_dpi:
-0225 6fe0c992 fetch 1 ,mem_mouse_dpi 
-0226 c00040d6 beq mouse_dpi_level1 ,mouse_set_pka8g2_cpi0 
-0227 c000c0d4 beq mouse_dpi_level2 ,mouse_set_pka8g2_cpi1 
-0228 c00140d8 beq mouse_dpi_level3 ,mouse_set_pka8g2_cpi2 
-0229 202040d4 branch mouse_set_pka8g2_cpi1 
+0236 6fe0c992 fetch 1 ,mem_mouse_dpi 
+0237 c00040d6 beq mouse_dpi_level1 ,mouse_set_pka8g2_cpi0 
+0238 c000c0d4 beq mouse_dpi_level2 ,mouse_set_pka8g2_cpi1 
+0239 c00140d8 beq mouse_dpi_level3 ,mouse_set_pka8g2_cpi2 
+023a 202040d4 branch mouse_set_pka8g2_cpi1 
 
 p_mouse_dpi_led_blink_delay:
-022a 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
-022b 247a0000 nrtn blank 
-022c 6fe14883 fetch 2 ,mem_24g_pair_timeout 
-022d 247a0000 nrtn blank 
-022e 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
-022f 247a0000 nrtn blank 
-0230 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
-0231 203a02c9 branch p_mouse_dpi_led_blink_init ,blank 
-0232 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
-0233 20600000 rtn 
+023b 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
+023c 247a0000 nrtn blank 
+023d 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+023e 247a0000 nrtn blank 
+023f 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+0240 247a0000 nrtn blank 
+0241 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
+0242 203a02da branch p_mouse_dpi_led_blink_init ,blank 
+0243 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
+0244 20600000 rtn 
 
 p_mouse_init_sunt:
-0234 20403f65 call mouse_sensor_spi_init 
-0235 20758000 rtn wake 
+0245 20403f65 call mouse_sensor_spi_init 
+0246 20758000 rtn wake 
 
 p_mouse_init_sensor_wakeup:
-0236 20404236 call mouse_sensor_poweron 
+0247 20404236 call mouse_sensor_poweron 
 
 p_mouse_init_sensor:
-0237 204041b5 call mouse_read_sensor_id 
-0238 c018023e beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
-0239 c018c217 beq p3065_id1 ,mouse_init_p3065 
-023a c02c4220 beq pka8g2_id1 ,mouse_ka8g2_id2_judge 
-023b 204041b2 call mouse_twspi_reset 
-023c 20001af4 nop 6900 
-023d 20200237 branch p_mouse_init_sensor 
+0248 204041b5 call mouse_read_sensor_id 
+0249 c018024f beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
+024a c018c217 beq p3065_id1 ,mouse_init_p3065 
+024b c02c4220 beq pka8g2_id1 ,mouse_ka8g2_id2_judge 
+024c 204041b2 call mouse_twspi_reset 
+024d 20001af4 nop 6900 
+024e 20200248 branch p_mouse_init_sensor 
 
 p_mouse_init_p32xx_id2_judge:
-023e 6fe0c9c2 fetch 1 ,mem_sensor_id2 
-023f c02d0247 beq p_mx8650 ,p_mouse_mx8650_init_param 
-0240 c06c41cb beq p8009_id2 ,mouse_8009_init_param 
-0241 c068c1da beq p3205_tj3t_id2 ,mouse_3205_3t_init_param 
-0242 c06941e3 beq p3204_tj3l_id2 ,mouse_3204_3l_init_param 
-0243 c00141ea beq p3212_id2 ,mouse_3212_init_param 
-0244 c02a41ed beq pka8_id2 ,mouse_ka8_init_param_check 
-0245 c0284214 beq p6520a_id2 ,mouse_p6520_init_param 
-0246 20200237 branch p_mouse_init_sensor 
+024f 6fe0c9c2 fetch 1 ,mem_sensor_id2 
+0250 c02d0258 beq p_mx8650 ,p_mouse_mx8650_init_param 
+0251 c06c41cb beq p8009_id2 ,mouse_8009_init_param 
+0252 c068c1da beq p3205_tj3t_id2 ,mouse_3205_3t_init_param 
+0253 c06941e3 beq p3204_tj3l_id2 ,mouse_3204_3l_init_param 
+0254 c00141ea beq p3212_id2 ,mouse_3212_init_param 
+0255 c02a41ed beq pka8_id2 ,mouse_ka8_init_param_check 
+0256 c0284214 beq p6520a_id2 ,mouse_p6520_init_param 
+0257 20200248 branch p_mouse_init_sensor 
 
 p_mouse_mx8650_init_param:
-0247 70492705 jam mx8650 ,mem_config_sensor_type 
-0248 20404232 call mouse_sensor_reset 
-0249 20407d12 call delay_10ms 
-024a da604be6 arg mem_sensor_8650_init_new ,regc 
-024b 2040422b call mouse_sensor_wr_seq 
-024c 2020021c branch p_mouse_dpi_config 
+0258 70492705 jam mx8650 ,mem_config_sensor_type 
+0259 20404232 call mouse_sensor_reset 
+025a 20407d12 call delay_10ms 
+025b da604be6 arg mem_sensor_8650_init_new ,regc 
+025c 2040422b call mouse_sensor_wr_seq 
+025d 2020022d branch p_mouse_dpi_config 
 
 p_mouse_sensor_poweron:
-024d 20403f65 call mouse_sensor_spi_init 
-024e 6fe0c927 fetch 1 ,mem_config_sensor_type 
-024f c0058254 beq ka8g2 ,p_mouse_ka8g2_sensor_init 
-0250 20404232 call mouse_sensor_reset 
-0251 da604aa3 arg mem_sensor_poweron_init ,regc 
-0252 2040422b call mouse_sensor_wr_seq 
-0253 2020021c branch p_mouse_dpi_config 
+025e 20403f65 call mouse_sensor_spi_init 
+025f 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0260 c0058265 beq ka8g2 ,p_mouse_ka8g2_sensor_init 
+0261 20404232 call mouse_sensor_reset 
+0262 da604aa3 arg mem_sensor_poweron_init ,regc 
+0263 2040422b call mouse_sensor_wr_seq 
+0264 2020022d branch p_mouse_dpi_config 
 
 p_mouse_ka8g2_sensor_init:
-0254 2040025b call p_mouse_ka8g2_sensor_reset 
-0255 da604c0e arg mem_ka8g2_sensor_poweron_init ,regc 
-0256 2040422b call mouse_sensor_wr_seq 
-0257 2020021c branch p_mouse_dpi_config 
+0265 2040026c call p_mouse_ka8g2_sensor_reset 
+0266 da604c0e arg mem_ka8g2_sensor_poweron_init ,regc 
+0267 2040422b call mouse_sensor_wr_seq 
+0268 2020022d branch p_mouse_dpi_config 
 
 p_mouse_sensor_reset:
-0258 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0259 c005825b beq ka8g2 ,p_mouse_ka8g2_sensor_reset 
-025a 20204232 branch mouse_sensor_reset 
+0269 6fe0c927 fetch 1 ,mem_config_sensor_type 
+026a c005826c beq ka8g2 ,p_mouse_ka8g2_sensor_reset 
+026b 20204232 branch mouse_sensor_reset 
 
 p_mouse_ka8g2_sensor_reset:
-025b 58009706 setarg 0x9706 
-025c 20405b0c call twspi_write 
-025d 20002ee0 nop 12000 
-025e 20600000 rtn 
+026c 58009706 setarg 0x9706 
+026d 20405b0c call twspi_write 
+026e 20002ee0 nop 12000 
+026f 20600000 rtn 
 
 p_mouse_sensor_powerdown:
-025f 204041a7 call mouse_init_sunt 
-0260 20403f65 call mouse_sensor_spi_init 
-0261 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0262 c0058265 beq ka8g2 ,p_mouse_ka8g2_sensor_powerdown 
-0263 58000806 setarg 0x0806 
-0264 20205b0c branch twspi_write 
+0270 204041a7 call mouse_init_sunt 
+0271 20403f65 call mouse_sensor_spi_init 
+0272 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0273 c0058276 beq ka8g2 ,p_mouse_ka8g2_sensor_powerdown 
+0274 58000806 setarg 0x0806 
+0275 20205b0c branch twspi_write 
 
 p_mouse_ka8g2_sensor_powerdown:
-0265 58001f06 setarg 0x1f06 
-0266 20205b0c branch twspi_write 
+0276 58001f06 setarg 0x1f06 
+0277 20205b0c branch twspi_write 
 
 p_mouse_bb_event_timer:
-0267 20403e9b call mouse_adc_read 
-0268 20400381 call p_mouse_low_voltage_led_timer 
-0269 2040232b call g24_pair_timeout_timer 
-026a 20402556 call g24_reconn_timeout_timer 
-026b 204047cd call mouse_24g_long_sleep_param_update_timer 
-026c 204002c6 call p_mouse_dpi_led_blink_delay_timer 
-026d 2040027e call p_mouse_multi_led_blink_timer 
-026e 204002b8 call p_mouse_multi_led_enable_delay_timer 
-026f 2040407c call mouse_dpi_key_check_long_press 
-0270 204044cc call mouse_bt_discovery_check 
-0271 204002dc call p_mouse_commbination_key_process 
-0272 204044ff call mouse_check_discovery_timeout_timer 
-0273 20404504 call mouse_check_direct_timeout_timer 
-0274 20404512 call mouse_le_enable_att_list_timer 
-0275 2040451f call mouse_le_battery_updata_timer 
-0276 20404515 call mouse_le_send_smp_security_request_timer 
-0277 2040452a call mouse_check_hid_handshake_timer 
-0278 2040452d call mouse_bt_check_sniff_req_timeout_timer 
-0279 20404532 call mouse_check_reconnect_delay_long_sleep 
-027a 20404535 call mouse_current_mult_update_timer 
-027b 20404022 call mouse_wheel_trigger_timer 
-027c 20404547 call mouse_store_information_delay_timer 
-027d 202002be branch p_mouse_check_no_data_timeout_timer 
+0278 20403e9b call mouse_adc_read 
+0279 20400392 call p_mouse_low_voltage_led_timer 
+027a 2040232b call g24_pair_timeout_timer 
+027b 20402556 call g24_reconn_timeout_timer 
+027c 204047cd call mouse_24g_long_sleep_param_update_timer 
+027d 204002d7 call p_mouse_dpi_led_blink_delay_timer 
+027e 2040028f call p_mouse_multi_led_blink_timer 
+027f 204002c9 call p_mouse_multi_led_enable_delay_timer 
+0280 2040407c call mouse_dpi_key_check_long_press 
+0281 204044cc call mouse_bt_discovery_check 
+0282 204002ed call p_mouse_commbination_key_process 
+0283 204044ff call mouse_check_discovery_timeout_timer 
+0284 20404504 call mouse_check_direct_timeout_timer 
+0285 20404512 call mouse_le_enable_att_list_timer 
+0286 2040451f call mouse_le_battery_updata_timer 
+0287 20404515 call mouse_le_send_smp_security_request_timer 
+0288 2040452a call mouse_check_hid_handshake_timer 
+0289 2040452d call mouse_bt_check_sniff_req_timeout_timer 
+028a 20404532 call mouse_check_reconnect_delay_long_sleep 
+028b 20404535 call mouse_current_mult_update_timer 
+028c 20404022 call mouse_wheel_trigger_timer 
+028d 20404547 call mouse_store_information_delay_timer 
+028e 202002cf branch p_mouse_check_no_data_timeout_timer 
 
 p_mouse_multi_led_blink_timer:
-027e 6fe0cc16 fetch 1 ,mem_mouse_multi_led_blink_enable 
-027f 207a0000 rtn blank 
-0280 6fe0cc19 fetch 1 ,mem_mouse_multi_led_type 
-0281 c0008293 beq multi_led_blink ,p_mouse_multi_led_type_blink 
+028f 6fe0cc16 fetch 1 ,mem_mouse_multi_led_blink_enable 
+0290 207a0000 rtn blank 
+0291 6fe0cc19 fetch 1 ,mem_mouse_multi_led_type 
+0292 c00082a4 beq multi_led_blink ,p_mouse_multi_led_type_blink 
 
 p_mouse_multi_led_type_on:
-0282 204002a0 call p_mouse_multi_led_on 
-0283 6fe0cc1a fetch 1 ,mem_mouse_multi_led_on_timer 
-0284 1fe0fe01 increase 1 ,pdata 
-0285 67e0cc1a store 1 ,mem_mouse_multi_led_on_timer 
-0286 6848cc1b fetcht 1 ,mem_mouse_multi_led_on_timer_init 
-0287 98467c00 isub temp ,null 
-0288 2042828a call p_mouse_multi_led_off_poweron2s ,zero 
-0289 20600000 rtn 
+0293 204002b1 call p_mouse_multi_led_on 
+0294 6fe0cc1a fetch 1 ,mem_mouse_multi_led_on_timer 
+0295 1fe0fe01 increase 1 ,pdata 
+0296 67e0cc1a store 1 ,mem_mouse_multi_led_on_timer 
+0297 6848cc1b fetcht 1 ,mem_mouse_multi_led_on_timer_init 
+0298 98467c00 isub temp ,null 
+0299 2042829b call p_mouse_multi_led_off_poweron2s ,zero 
+029a 20600000 rtn 
 
 p_mouse_multi_led_off_poweron2s:
-028a 704c2000 jam 0 ,mem_mouse_multi_led_on_poweron2s_flag 
-028b 202002a5 branch p_mouse_multi_led_off 
+029b 704c2000 jam 0 ,mem_mouse_multi_led_on_poweron2s_flag 
+029c 202002b6 branch p_mouse_multi_led_off 
 
 p_mouse_discovery_multi_led_blink:
-028c 704c1c02 jam 2 ,mem_mouse_multi_led_blink_timer_init 
+029d 704c1c02 jam 2 ,mem_mouse_multi_led_blink_timer_init 
 
 p_mouse_discovery_multi_led_blink1:
-028d 704c1f00 jam 0 ,mem_mouse_multi_led_blink_count_limited 
-028e 704c1e01 jam 1 ,mem_mouse_multi_led_blink_count 
+029e 704c1f00 jam 0 ,mem_mouse_multi_led_blink_count_limited 
+029f 704c1e01 jam 1 ,mem_mouse_multi_led_blink_count 
 
 p_mouse_multi_led_blink_enable:
-028f 704c1d05 jam 5 ,mem_mouse_multi_led_blink_timer 
-0290 704c1601 jam on ,mem_mouse_multi_led_blink_enable 
-0291 704c1901 jam multi_led_blink ,mem_mouse_multi_led_type 
-0292 20600000 rtn 
+02a0 704c1d05 jam 5 ,mem_mouse_multi_led_blink_timer 
+02a1 704c1601 jam on ,mem_mouse_multi_led_blink_enable 
+02a2 704c1901 jam multi_led_blink ,mem_mouse_multi_led_type 
+02a3 20600000 rtn 
 
 p_mouse_multi_led_type_blink:
-0293 da604c1d arg mem_mouse_multi_led_blink_timer ,regc 
-0294 da400296 arg p_mouse_multi_led_type_blink_timeout ,regb 
-0295 2020318a branch timer_single_step 
+02a4 da604c1d arg mem_mouse_multi_led_blink_timer ,regc 
+02a5 da4002a7 arg p_mouse_multi_led_type_blink_timeout ,regb 
+02a6 2020318a branch timer_single_step 
 
 p_mouse_multi_led_type_blink_timeout:
-0296 6fe0cc1c fetch 1 ,mem_mouse_multi_led_blink_timer_init 
-0297 67e0cc1d store 1 ,mem_mouse_multi_led_blink_timer 
-0298 6fe0cc1f fetch 1 ,mem_mouse_multi_led_blink_count_limited 
-0299 203a029e branch p_mouse_multi_led_blink_count_no_limited ,blank 
-029a 6fe0cc1e fetch 1 ,mem_mouse_multi_led_blink_count 
-029b 203a02a3 branch p_mouse_multi_led_blink_off ,blank 
-029c 1fe0ffff increase -1 ,pdata 
-029d 67e0cc1e store 1 ,mem_mouse_multi_led_blink_count 
+02a7 6fe0cc1c fetch 1 ,mem_mouse_multi_led_blink_timer_init 
+02a8 67e0cc1d store 1 ,mem_mouse_multi_led_blink_timer 
+02a9 6fe0cc1f fetch 1 ,mem_mouse_multi_led_blink_count_limited 
+02aa 203a02af branch p_mouse_multi_led_blink_count_no_limited ,blank 
+02ab 6fe0cc1e fetch 1 ,mem_mouse_multi_led_blink_count 
+02ac 203a02b4 branch p_mouse_multi_led_blink_off ,blank 
+02ad 1fe0ffff increase -1 ,pdata 
+02ae 67e0cc1e store 1 ,mem_mouse_multi_led_blink_count 
 
 p_mouse_multi_led_blink_count_no_limited:
-029e 6fe0cc18 fetch 1 ,mem_mouse_multi_led_state 
-029f c00082a5 beq on ,p_mouse_multi_led_off 
+02af 6fe0cc18 fetch 1 ,mem_mouse_multi_led_state 
+02b0 c00082b6 beq on ,p_mouse_multi_led_off 
 
 p_mouse_multi_led_on:
-02a0 704c1801 jam on ,mem_mouse_multi_led_state 
-02a1 6848cc17 fetcht 1 ,mem_mouse_multi_led_gpio 
-02a2 20206069 branch gpio_out_active 
+02b1 704c1801 jam on ,mem_mouse_multi_led_state 
+02b2 6848cc17 fetcht 1 ,mem_mouse_multi_led_gpio 
+02b3 20206069 branch gpio_out_active 
 
 p_mouse_discovey_led_blink_off:
 
 p_mouse_multi_led_blink_off:
-02a3 58000000 setarg 0 
-02a4 67e1cc1d store 3 ,mem_mouse_multi_led_blink_timer 
+02b4 58000000 setarg 0 
+02b5 67e1cc1d store 3 ,mem_mouse_multi_led_blink_timer 
 
 p_mouse_multi_led_off:
-02a5 6fe0cc1e fetch 1 ,mem_mouse_multi_led_blink_count 
-02a6 243a02a9 nbranch p_mouse_multi_led_off_wait_blink_over ,blank 
-02a7 704c1600 jam 0 ,mem_mouse_multi_led_blink_enable 
-02a8 704c1900 jam 0 ,mem_mouse_multi_led_type 
+02b6 6fe0cc1e fetch 1 ,mem_mouse_multi_led_blink_count 
+02b7 243a02ba nbranch p_mouse_multi_led_off_wait_blink_over ,blank 
+02b8 704c1600 jam 0 ,mem_mouse_multi_led_blink_enable 
+02b9 704c1900 jam 0 ,mem_mouse_multi_led_type 
 
 p_mouse_multi_led_off_wait_blink_over:
-02a9 704c1a00 jam 0 ,mem_mouse_multi_led_on_timer 
-02aa 704c1800 jam off ,mem_mouse_multi_led_state 
+02ba 704c1a00 jam 0 ,mem_mouse_multi_led_on_timer 
+02bb 704c1800 jam off ,mem_mouse_multi_led_state 
 
 p_mouse_multi_led_gpio_set_high:
-02ab 6fe0cc17 fetch 1 ,mem_mouse_multi_led_gpio 
-02ac c00182af beq ice_reuse_gpio ,p_mouse_multi_led_gpio_config_input 
-02ad 6848cc17 fetcht 1 ,mem_mouse_multi_led_gpio 
-02ae 20206065 branch gpio_out_inactive 
+02bc 6fe0cc17 fetch 1 ,mem_mouse_multi_led_gpio 
+02bd c00182c0 beq ice_reuse_gpio ,p_mouse_multi_led_gpio_config_input 
+02be 6848cc17 fetcht 1 ,mem_mouse_multi_led_gpio 
+02bf 20206065 branch gpio_out_inactive 
 
 p_mouse_multi_led_gpio_config_input:
-02af 6848cc17 fetcht 1 ,mem_mouse_multi_led_gpio 
-02b0 20203f56 branch mouse_gpio_config_input_pu 
+02c0 6848cc17 fetcht 1 ,mem_mouse_multi_led_gpio 
+02c1 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_mode_bt_device1_multi_led_on:
 
 p_mouse_mode_24g_device_multi_led_on:
-02b1 704c2103 jam 3 ,mem_mouse_led_enable_delay_timer 
-02b2 20600000 rtn 
+02c2 704c2103 jam 3 ,mem_mouse_led_enable_delay_timer 
+02c3 20600000 rtn 
 
 p_mouse_mode_24g_device_multi_led_on_enable:
-02b3 704c2001 jam 1 ,mem_mouse_multi_led_on_poweron2s_flag 
-02b4 704c1601 jam on ,mem_mouse_multi_led_blink_enable 
-02b5 704c1900 jam multi_led_on ,mem_mouse_multi_led_type 
-02b6 704c1a00 jam 0 ,mem_mouse_multi_led_on_timer 
-02b7 20600000 rtn 
+02c4 704c2001 jam 1 ,mem_mouse_multi_led_on_poweron2s_flag 
+02c5 704c1601 jam on ,mem_mouse_multi_led_blink_enable 
+02c6 704c1900 jam multi_led_on ,mem_mouse_multi_led_type 
+02c7 704c1a00 jam 0 ,mem_mouse_multi_led_on_timer 
+02c8 20600000 rtn 
 
 p_mouse_multi_led_enable_delay_timer:
-02b8 da604c21 arg mem_mouse_led_enable_delay_timer ,regc 
-02b9 da4002b3 arg p_mouse_mode_24g_device_multi_led_on_enable ,regb 
-02ba 2020318a branch timer_single_step 
+02c9 da604c21 arg mem_mouse_led_enable_delay_timer ,regc 
+02ca da4002c4 arg p_mouse_mode_24g_device_multi_led_on_enable ,regb 
+02cb 2020318a branch timer_single_step 
 
 p_mouse_dpi_multi_led_blink:
-02bb 704c1c02 jam 2 ,mem_mouse_multi_led_blink_timer_init 
-02bc 704c1f01 jam 1 ,mem_mouse_multi_led_blink_count_limited 
-02bd 2020028f branch p_mouse_multi_led_blink_enable 
+02cc 704c1c02 jam 2 ,mem_mouse_multi_led_blink_timer_init 
+02cd 704c1f01 jam 1 ,mem_mouse_multi_led_blink_count_limited 
+02ce 202002a0 branch p_mouse_multi_led_blink_enable 
 
 p_mouse_check_no_data_timeout_timer:
-02be 6fe0c92a fetch 1 ,mem_usb_addr 
-02bf c3838000 rtnbit1 7 
-02c0 da604ab2 arg mem_mouse_no_data_timer ,regc 
-02c1 da4002c3 arg p_mouse_check_no_data_timeout ,regb 
-02c2 20203191 branch timer_single_step_2b 
+02cf 6fe0c92a fetch 1 ,mem_usb_addr 
+02d0 c3838000 rtnbit1 7 
+02d1 da604ab2 arg mem_mouse_no_data_timer ,regc 
+02d2 da4002d4 arg p_mouse_check_no_data_timeout ,regb 
+02d3 20203191 branch timer_single_step_2b 
 
 p_mouse_check_no_data_timeout:
-02c3 6fe0c938 fetch 1 ,mem_device_flag 
-02c4 c00001ba beq mode_24g_device ,p_mouse_24g_hibernate_set 
-02c5 2020431b branch mouse_disconnect 
+02d4 6fe0c938 fetch 1 ,mem_device_flag 
+02d5 c00001c9 beq mode_24g_device ,p_mouse_24g_hibernate_set 
+02d6 2020431b branch mouse_disconnect 
 
 p_mouse_dpi_led_blink_delay_timer:
-02c6 da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
-02c7 da4002c9 arg p_mouse_dpi_led_blink_init ,regb 
-02c8 2020318a branch timer_single_step 
+02d7 da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
+02d8 da4002da arg p_mouse_dpi_led_blink_init ,regb 
+02d9 2020318a branch timer_single_step 
 
 p_mouse_dpi_led_blink_init:
-02c9 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-02ca c28e02cf bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_led_blink_four_level 
+02da 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+02db c28e02e0 bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_led_blink_four_level 
 
 p_mouse_dpi_led_blink_three_level:
-02cb 6fe0c992 fetch 1 ,mem_mouse_dpi 
-02cc c00002d6 beq 0 ,p_mouse_dpi_led_blink_twice 
-02cd c00082d8 beq 1 ,p_mouse_dpi_led_blink_thrice 
-02ce 202002d4 branch p_mouse_dpi_led_blink_once 
+02dc 6fe0c992 fetch 1 ,mem_mouse_dpi 
+02dd c00002e7 beq 0 ,p_mouse_dpi_led_blink_twice 
+02de c00082e9 beq 1 ,p_mouse_dpi_led_blink_thrice 
+02df 202002e5 branch p_mouse_dpi_led_blink_once 
 
 p_mouse_dpi_led_blink_four_level:
-02cf 6fe0c992 fetch 1 ,mem_mouse_dpi 
-02d0 c00002d8 beq 0 ,p_mouse_dpi_led_blink_thrice 
-02d1 c00082da beq 1 ,p_mouse_dpi_led_blink_quartic 
-02d2 c00102d4 beq 2 ,p_mouse_dpi_led_blink_once 
-02d3 202002d6 branch p_mouse_dpi_led_blink_twice 
+02e0 6fe0c992 fetch 1 ,mem_mouse_dpi 
+02e1 c00002e9 beq 0 ,p_mouse_dpi_led_blink_thrice 
+02e2 c00082eb beq 1 ,p_mouse_dpi_led_blink_quartic 
+02e3 c00102e5 beq 2 ,p_mouse_dpi_led_blink_once 
+02e4 202002e7 branch p_mouse_dpi_led_blink_twice 
 
 p_mouse_dpi_led_blink_once:
-02d4 704c1e01 jam 1 ,mem_mouse_multi_led_blink_count 
-02d5 202002bb branch p_mouse_dpi_multi_led_blink 
+02e5 704c1e01 jam 1 ,mem_mouse_multi_led_blink_count 
+02e6 202002cc branch p_mouse_dpi_multi_led_blink 
 
 p_mouse_dpi_led_blink_twice:
-02d6 704c1e03 jam 3 ,mem_mouse_multi_led_blink_count 
-02d7 202002bb branch p_mouse_dpi_multi_led_blink 
+02e7 704c1e03 jam 3 ,mem_mouse_multi_led_blink_count 
+02e8 202002cc branch p_mouse_dpi_multi_led_blink 
 
 p_mouse_dpi_led_blink_thrice:
-02d8 704c1e05 jam 5 ,mem_mouse_multi_led_blink_count 
-02d9 202002bb branch p_mouse_dpi_multi_led_blink 
+02e9 704c1e05 jam 5 ,mem_mouse_multi_led_blink_count 
+02ea 202002cc branch p_mouse_dpi_multi_led_blink 
 
 p_mouse_dpi_led_blink_quartic:
-02da 704c1e07 jam 7 ,mem_mouse_multi_led_blink_count 
-02db 202002bb branch p_mouse_dpi_multi_led_blink 
+02eb 704c1e07 jam 7 ,mem_mouse_multi_led_blink_count 
+02ec 202002cc branch p_mouse_dpi_multi_led_blink 
 
 p_mouse_commbination_key_process:
-02dc 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-02dd c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
-02de 6848cbca fetcht 1 ,mem_mouse_commbination_key_bt 
-02df 202002e3 branch p_mouse_commbination_key_start 
+02ed 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+02ee c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
+02ef 6848cbca fetcht 1 ,mem_mouse_commbination_key_bt 
+02f0 202002f4 branch p_mouse_commbination_key_start 
 
 p_mouse_24g_commbination_key_process:
-02e0 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-02e1 c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
-02e2 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
+02f1 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+02f2 c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
+02f3 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
 
 p_mouse_commbination_key_start:
-02e3 6048cb9d storet 1 ,mem_mouse_commbination_key 
-02e4 20404115 call mouse_check_key_gpio 
-02e5 1fe17e07 and pdata ,0x07 ,pdata 
-02e6 6848cb9d fetcht 1 ,mem_mouse_commbination_key 
-02e7 98467c00 isub temp ,null 
-02e8 202282ea branch p_mouse_commbination_key_down ,zero 
-02e9 202044eb branch mouse_commbination_key_up 
+02f4 6048cb9d storet 1 ,mem_mouse_commbination_key 
+02f5 20404115 call mouse_check_key_gpio 
+02f6 1fe17e07 and pdata ,0x07 ,pdata 
+02f7 6848cb9d fetcht 1 ,mem_mouse_commbination_key 
+02f8 98467c00 isub temp ,null 
+02f9 202282fb branch p_mouse_commbination_key_down ,zero 
+02fa 202044eb branch mouse_commbination_key_up 
 
 p_mouse_commbination_key_down:
-02ea 204002ef call p_mouse_combination_ui_timer 
-02eb 6fe0cb9f fetch 1 ,mem_commbination_key_statue 
-02ec c1008000 rtneq commbination_key_state_down 
-02ed 704b9f01 jam commbination_key_state_down ,mem_commbination_key_statue 
-02ee 20600000 rtn 
+02fb 20400300 call p_mouse_combination_ui_timer 
+02fc 6fe0cb9f fetch 1 ,mem_commbination_key_statue 
+02fd c1008000 rtneq commbination_key_state_down 
+02fe 704b9f01 jam commbination_key_state_down ,mem_commbination_key_statue 
+02ff 20600000 rtn 
 
 p_mouse_combination_ui_timer:
-02ef da604ba0 arg mem_combination_ui_button_count ,regc 
-02f0 da4002f2 arg p_mouse_combination_ui_timeout ,regb 
-02f1 2020318a branch timer_single_step 
+0300 da604ba0 arg mem_combination_ui_button_count ,regc 
+0301 da400303 arg p_mouse_combination_ui_timeout ,regb 
+0302 2020318a branch timer_single_step 
 
 p_mouse_combination_ui_timeout:
-02f2 70493801 jam mode_bt_device1 ,mem_device_flag 
-02f3 204046e2 call mouse_bt_discovery_button_down_enable 
-02f4 202044d6 branch mouse_long_button_bt_discovery + 2 
+0303 70493801 jam mode_bt_device1 ,mem_device_flag 
+0304 204046e2 call mouse_bt_discovery_button_down_enable 
+0305 202044d6 branch mouse_long_button_bt_discovery + 2 
 
 p_mouse_start_discovery:
-02f5 6fe1478c fetch 2 ,mem_ui_state_map 
-02f6 2feffe0b isolate1 ui_state_ble_adv ,pdata 
-02f7 2040c581 call mouse_stop_le_adv ,true 
-02f8 6fe1478c fetch 2 ,mem_ui_state_map 
-02f9 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
-02fa 2040c322 call mouse_cancel_reconnect ,true 
-02fb 2040028c call p_mouse_discovery_multi_led_blink 
-02fc 20204554 branch mouse_start_discovery + 1 
+0306 6fe1478c fetch 2 ,mem_ui_state_map 
+0307 2feffe0b isolate1 ui_state_ble_adv ,pdata 
+0308 2040c581 call mouse_stop_le_adv ,true 
+0309 6fe1478c fetch 2 ,mem_ui_state_map 
+030a 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
+030b 2040c322 call mouse_cancel_reconnect ,true 
+030c 2040029d call p_mouse_discovery_multi_led_blink 
+030d 20204554 branch mouse_start_discovery + 1 
 
 p_ui_timer_check:
-02fd 6fe0cbe2 fetch 1 ,mem_power_on_flag 
-02fe 245a7861 ncall ui_timer_init ,blank 
-02ff 704be200 jam 0 ,mem_power_on_flag 
-0300 20207851 branch ui_timer_check + 1 
+030e 6fe0cbe2 fetch 1 ,mem_power_on_flag 
+030f 245a7861 ncall ui_timer_init ,blank 
+0310 704be200 jam 0 ,mem_power_on_flag 
+0311 20207851 branch ui_timer_check + 1 
 
 p_hid_rx_process:
-0301 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
-0302 1fe20c00 copy pdata ,contr 
-0303 efe08006 ifetch 1 ,contr 
-0304 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
-0305 1fe1040f and pdata ,0x0f ,temp 
-0306 1ff1fe00 rshift4 pdata ,pdata 
-0307 c0048309 beq hid_type_set_idle ,p_hid_rx_process_handshake 
-0308 20204d93 branch hid_rx_process + 7 
+0312 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
+0313 1fe20c00 copy pdata ,contr 
+0314 efe08006 ifetch 1 ,contr 
+0315 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
+0316 1fe1040f and pdata ,0x0f ,temp 
+0317 1ff1fe00 rshift4 pdata ,pdata 
+0318 c004831a beq hid_type_set_idle ,p_hid_rx_process_handshake 
+0319 20204d93 branch hid_rx_process + 7 
 
 p_hid_rx_process_handshake:
-0309 da200001 arg 1 ,rega 
-030a 20404dc0 call hid_malloc_tx_buff 
-030b 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
-030c e7e10005 istore 2 ,contw 
-030d 58000000 setarg 0 
-030e e7e08005 istore 1 ,contw 
-030f 70095001 jam 1 ,mem_ui_data_txbuff_length 
-0310 6fe0c4e2 fetch 1 ,mem_hid_control_state 
-0311 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
-0312 67e0c4e2 store 1 ,mem_hid_control_state 
-0313 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
-0314 20207871 branch ui_ipc_send_event 
+031a da200001 arg 1 ,rega 
+031b 20404dc0 call hid_malloc_tx_buff 
+031c 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
+031d e7e10005 istore 2 ,contw 
+031e 58000000 setarg 0 
+031f e7e08005 istore 1 ,contw 
+0320 70095001 jam 1 ,mem_ui_data_txbuff_length 
+0321 6fe0c4e2 fetch 1 ,mem_hid_control_state 
+0322 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
+0323 67e0c4e2 store 1 ,mem_hid_control_state 
+0324 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
+0325 20207871 branch ui_ipc_send_event 
 
 p_le_slave_match:
-0315 6fe0c3dd fetch 1 ,mem_le_md_count 
-0316 1fe0fe01 pincrease 1 
-0317 67e0c3dd store 1 ,mem_le_md_count 
-0318 c006165a beq le_md_max_count ,le_slave_cont 
-0319 2040191b call le_acknowledge 
-031a 2040196a call le_prepare_tx 
-031b 6fe082bd fetch 1 ,mem_le_tx_phy 
-031c 2040168b call le_enable_phy_by_pdata 
-031d 20401838 call le_transmit 
-031e 20201655 branch le_slave_match + 10 
+0326 6fe0c3dd fetch 1 ,mem_le_md_count 
+0327 1fe0fe01 pincrease 1 
+0328 67e0c3dd store 1 ,mem_le_md_count 
+0329 c006165a beq le_md_max_count ,le_slave_cont 
+032a 2040191b call le_acknowledge 
+032b 2040196a call le_prepare_tx 
+032c 6fe082bd fetch 1 ,mem_le_tx_phy 
+032d 2040168b call le_enable_phy_by_pdata 
+032e 20401838 call le_transmit 
+032f 20201655 branch le_slave_match + 10 
 
 p_le_parse_l2cap:
-031f efe10006 ifetch 2 ,contr 
-0320 c0020322 beq le_l2cap_cid_att ,p_le_parse_att 
-0321 202019e4 branch le_parse_l2cap + 10 
+0330 efe10006 ifetch 2 ,contr 
+0331 c0020333 beq le_l2cap_cid_att ,p_le_parse_att 
+0332 202019e4 branch le_parse_l2cap + 10 
 
 p_le_parse_att:
-0322 efe18006 ifetch 3 ,contr 
-0323 67e1c436 store 3 ,mem_le_att_opcode 
-0324 c0090326 beq attop_write_request ,p_le_parse_att_write_request 
-0325 20201cd3 branch le_parse_att + 2 
+0333 efe18006 ifetch 3 ,contr 
+0334 67e1c436 store 3 ,mem_le_att_opcode 
+0335 c0090337 beq attop_write_request ,p_le_parse_att_write_request 
+0336 20201cd3 branch le_parse_att + 2 
 
 p_le_parse_att_write_request:
-0326 18c22200 copy contr ,rega 
-0327 6fe143d4 fetch 2 ,mem_le_l2cap_size 
-0328 1fe0a5fd add pdata ,-3 ,regb 
-0329 20401a25 call le_writeatt_cb 
-032a 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-032b c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
-032c 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
-032d 203a1e73 branch le_send_att_write_response_check_auth ,blank 
-032e 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
-032f c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
-0330 5800001a setarg 0x001a 
-0331 68494437 fetcht 2 ,mem_le_att_handle 
-0332 98467c00 isub temp ,null 
-0333 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
-0334 7002d805 jam att_err_insufficient_authentication ,mem_le_err_code 
-0335 20201ec9 branch le_send_att_error_response 
+0337 18c22200 copy contr ,rega 
+0338 6fe143d4 fetch 2 ,mem_le_l2cap_size 
+0339 1fe0a5fd add pdata ,-3 ,regb 
+033a 20401a25 call le_writeatt_cb 
+033b 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+033c c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
+033d 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
+033e 203a1e73 branch le_send_att_write_response_check_auth ,blank 
+033f 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
+0340 c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
+0341 5800001a setarg 0x001a 
+0342 68494437 fetcht 2 ,mem_le_att_handle 
+0343 98467c00 isub temp ,null 
+0344 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
+0345 7002d805 jam att_err_insufficient_authentication ,mem_le_err_code 
+0346 20201ec9 branch le_send_att_error_response 
 
 p_g24_lpm_wait:
-0336 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
-0337 245a26e1 ncall g24_transmit_by_interrupt_enable ,blank 
-0338 78347c00 enable user 
-0339 20401465 call lpo_calibration 
-033a 6fe1c174 fetch 3 ,mem_clks_per_lpo 
-033b 203a7e56 branch disable_user ,blank 
-033c 6fe0c099 fetch 1 ,mem_lpm_mode 
-033d 203a7e56 branch disable_user ,blank 
+0347 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
+0348 245a26e1 ncall g24_transmit_by_interrupt_enable ,blank 
+0349 78347c00 enable user 
+034a 20401465 call lpo_calibration 
+034b 6fe1c174 fetch 3 ,mem_clks_per_lpo 
+034c 203a7e56 branch disable_user ,blank 
+034d 6fe0c099 fetch 1 ,mem_lpm_mode 
+034e 203a7e56 branch disable_user ,blank 
 
 p_g24_setgpio_lpm_before:
-033e 6fe1489f fetch 2 ,mem_cb_24g_lpm_before 
-033f 20207e05 branch callback_func 
+034f 6fe1489f fetch 2 ,mem_cb_24g_lpm_before 
+0350 20207e05 branch callback_func 
 
 p_mouse_motion:
-0340 78547c00 disable user 
-0341 58000000 setarg 0 
-0342 67e348d1 store 6 ,mem_mouse_x 
-0343 20404240 call mouse_check_sensor_data 
-0344 2040021c call p_mouse_dpi_config 
-0345 20403f7e call mouse_zwheel 
-0346 20403f83 call mouse_t_zwheel 
-0347 204040dc call mouse_key 
-0348 6fe0c8d0 fetch 1 ,mem_mouse_key 
-0349 1fe17e1f and_into 0x1f ,pdata 
-034a 67e0c8d0 store 1 ,mem_mouse_key 
-034b 24344728 nbranch mouse_drawing_optima_init ,user 
-034c 2040034e call p_mouse_drawing_optima 
-034d 20204544 branch mouse_no_data_timer_init 
+0351 78547c00 disable user 
+0352 58000000 setarg 0 
+0353 67e348d1 store 6 ,mem_mouse_x 
+0354 20404240 call mouse_check_sensor_data 
+0355 2040022d call p_mouse_dpi_config 
+0356 20403f7e call mouse_zwheel 
+0357 20403f83 call mouse_t_zwheel 
+0358 204040dc call mouse_key 
+0359 6fe0c8d0 fetch 1 ,mem_mouse_key 
+035a 1fe17e1f and_into 0x1f ,pdata 
+035b 67e0c8d0 store 1 ,mem_mouse_key 
+035c 24344728 nbranch mouse_drawing_optima_init ,user 
+035d 2040035f call p_mouse_drawing_optima 
+035e 20204544 branch mouse_no_data_timer_init 
 
 p_mouse_drawing_optima:
-034e 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-034f c41c0000 rtnbit0 mouse_enable_smoother 
-0350 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0351 c1018000 rtneq p3212 
-0352 c1000000 rtneq p3205 
-0353 6fe248d1 fetch 4 ,mem_mouse_x 
-0354 207a0000 rtn blank 
-0355 204047bd call mouse_data_abs_check 
-0356 58000006 setarg 0x06 
-0357 204047b3 call mouse_pdata_greater_than_check 
-0358 205a47af call mouse_disable_asm ,blank 
-0359 245a47b1 ncall mouse_enable_asm ,blank 
-035a 58000004 setarg 0x04 
-035b 204047b8 call mouse_data_less_than_check 
-035c 205a47af call mouse_disable_asm ,blank 
-035d 6fe0c9c9 fetch 1 ,mem_mouse_asm_flag 
-035e c000c72d beq 1 ,mouse_drawing_optima_modify 
-035f 20204728 branch mouse_drawing_optima_init 
+035f 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0360 c41c0000 rtnbit0 mouse_enable_smoother 
+0361 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0362 c1018000 rtneq p3212 
+0363 c1000000 rtneq p3205 
+0364 6fe248d1 fetch 4 ,mem_mouse_x 
+0365 207a0000 rtn blank 
+0366 204047bd call mouse_data_abs_check 
+0367 58000006 setarg 0x06 
+0368 204047b3 call mouse_pdata_greater_than_check 
+0369 205a47af call mouse_disable_asm ,blank 
+036a 245a47b1 ncall mouse_enable_asm ,blank 
+036b 58000004 setarg 0x04 
+036c 204047b8 call mouse_data_less_than_check 
+036d 205a47af call mouse_disable_asm ,blank 
+036e 6fe0c9c9 fetch 1 ,mem_mouse_asm_flag 
+036f c000c72d beq 1 ,mouse_drawing_optima_modify 
+0370 20204728 branch mouse_drawing_optima_init 
 
 p_mouse_adc_read_start:
-0360 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
-0361 247a0000 nrtn blank 
-0362 2040005a call p_enable_adc 
-0363 7048f600 jam 0 ,mem_adc_read_timer 
-0364 20406125 call vdd_calculate_by_mode 
-0365 67e148e9 store 2 ,mem_mouse_vdd_now_vol 
-0366 d8400012 arg 0x0012 ,temp 
-0367 98467c00 isub temp ,null 
-0368 24210379 nbranch p_mouse_adc_gpio_connect_gnd ,positive 
-0369 6fe0c4a0 fetch 1 ,mem_adc_config_flag 
-036a c0810371 bne adc_config_gpio ,p_mouse_adc_data_process 
-036b 684948e9 fetcht 2 ,mem_mouse_vdd_now_vol 
-036c 184ffe08 mul32 temp ,8 ,pdata 
-036d 1fe6fc0a div pdata ,10 
-036e 20407dec call get_div_result 
-036f 9840fe00 iadd temp ,pdata 
-0370 67e148e9 store 2 ,mem_mouse_vdd_now_vol 
+0371 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
+0372 247a0000 nrtn blank 
+0373 2040005a call p_enable_adc 
+0374 7048f600 jam 0 ,mem_adc_read_timer 
+0375 20406125 call vdd_calculate_by_mode 
+0376 67e148e9 store 2 ,mem_mouse_vdd_now_vol 
+0377 d8400012 arg 0x0012 ,temp 
+0378 98467c00 isub temp ,null 
+0379 2421038a nbranch p_mouse_adc_gpio_connect_gnd ,positive 
+037a 6fe0c4a0 fetch 1 ,mem_adc_config_flag 
+037b c0810382 bne adc_config_gpio ,p_mouse_adc_data_process 
+037c 684948e9 fetcht 2 ,mem_mouse_vdd_now_vol 
+037d 184ffe08 mul32 temp ,8 ,pdata 
+037e 1fe6fc0a div pdata ,10 
+037f 20407dec call get_div_result 
+0380 9840fe00 iadd temp ,pdata 
+0381 67e148e9 store 2 ,mem_mouse_vdd_now_vol 
 
 p_mouse_adc_data_process:
-0371 da2048e3 arg mem_mouse_vdd_calculate_set ,rega 
-0372 20403ed8 call mouse_adc_bat_percent_lowpower_out 
-0373 6fe0c4a4 fetch 1 ,mem_adc_power_flag 
-0374 c2813f1a bbit1 2 ,mouse_adc_button_press 
-0375 c280bf1c bbit1 1 ,mouse_power_down 
-0376 c300037b bbit0 0 ,p_mouse_adc_no_low_voltage 
-0377 7048fa01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
-0378 20203ece branch mouse_adc_low_voltage 
+0382 da2048e3 arg mem_mouse_vdd_calculate_set ,rega 
+0383 20403ed8 call mouse_adc_bat_percent_lowpower_out 
+0384 6fe0c4a4 fetch 1 ,mem_adc_power_flag 
+0385 c2813f1a bbit1 2 ,mouse_adc_button_press 
+0386 c280bf1c bbit1 1 ,mouse_power_down 
+0387 c300038c bbit0 0 ,p_mouse_adc_no_low_voltage 
+0388 7048fa01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
+0389 20203ece branch mouse_adc_low_voltage 
 
 p_mouse_adc_gpio_connect_gnd:
-0379 6848c8fc fetcht 1 ,mem_adc_channel_gpio 
-037a 20403f54 call mouse_gpio_config_input_pd 
+038a 6848c8fc fetcht 1 ,mem_adc_channel_gpio 
+038b 20403f54 call mouse_gpio_config_input_pd 
 
 p_mouse_adc_no_low_voltage:
-037b d8e00004 arg mouse_low_voltage_flag ,queue 
-037c 204046f4 call mouse_disable_function_flag 
-037d 6fe0c8fa fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
-037e 207a0000 rtn blank 
-037f 7048fa00 jam 0 ,mem_mouse_adc_last_low_voltage_flag 
-0380 202002a5 branch p_mouse_multi_led_off 
+038c d8e00004 arg mouse_low_voltage_flag ,queue 
+038d 204046f4 call mouse_disable_function_flag 
+038e 6fe0c8fa fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
+038f 207a0000 rtn blank 
+0390 7048fa00 jam 0 ,mem_mouse_adc_last_low_voltage_flag 
+0391 202002b6 branch p_mouse_multi_led_off 
 
 p_mouse_low_voltage_led_timer:
-0381 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
-0382 247a0000 nrtn blank 
-0383 6fe14883 fetch 2 ,mem_24g_pair_timeout 
-0384 247a0000 nrtn blank 
-0385 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
-0386 247a0000 nrtn blank 
-0387 20404904 call mouse_check_dpi_blink 
-0388 20740000 rtn user 
-0389 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-038a c4108000 rtnbit0 mouse_enable_low_voltage_led 
-038b c4020000 rtnbit0 mouse_low_voltage_flag 
-038c c291c97c bbit1 mouse_enable_low_voltage_led_blink_n_second ,mouse_low_voltage_led_blink_new_data 
-038d 6fe0c8f8 fetch 1 ,mem_adc_low_volatage_led_timer_count 
-038e 1fe0fe01 increase 1 ,pdata 
-038f 67e0c8f8 store 1 ,mem_adc_low_volatage_led_timer_count 
-0390 1fe67c32 sub pdata ,50 ,null 
-0391 24410395 ncall p_mouse_adc_low_volatage_led_timer_count_clean ,positive 
-0392 c00f02a0 beq 30 ,p_mouse_multi_led_on 
-0393 c01382a5 beq 39 ,p_mouse_multi_led_off 
-0394 20600000 rtn 
+0392 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
+0393 247a0000 nrtn blank 
+0394 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+0395 247a0000 nrtn blank 
+0396 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+0397 247a0000 nrtn blank 
+0398 20404904 call mouse_check_dpi_blink 
+0399 20740000 rtn user 
+039a 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+039b c4108000 rtnbit0 mouse_enable_low_voltage_led 
+039c c4020000 rtnbit0 mouse_low_voltage_flag 
+039d c291c97c bbit1 mouse_enable_low_voltage_led_blink_n_second ,mouse_low_voltage_led_blink_new_data 
+039e 6fe0c8f8 fetch 1 ,mem_adc_low_volatage_led_timer_count 
+039f 1fe0fe01 increase 1 ,pdata 
+03a0 67e0c8f8 store 1 ,mem_adc_low_volatage_led_timer_count 
+03a1 1fe67c32 sub pdata ,50 ,null 
+03a2 244103a6 ncall p_mouse_adc_low_volatage_led_timer_count_clean ,positive 
+03a3 c00f02b1 beq 30 ,p_mouse_multi_led_on 
+03a4 c01382b6 beq 39 ,p_mouse_multi_led_off 
+03a5 20600000 rtn 
 
 p_mouse_adc_low_volatage_led_timer_count_clean:
-0395 7048f801 jam 1 ,mem_adc_low_volatage_led_timer_count 
-0396 202002a5 branch p_mouse_multi_led_off 
+03a6 7048f801 jam 1 ,mem_adc_low_volatage_led_timer_count 
+03a7 202002b6 branch p_mouse_multi_led_off 
 
 p_mouse_check_key_gpio:
-0397 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-0398 245a4121 ncall mouse_check_key_gpio_once ,blank 
-0399 da200000 arg 0 ,rega 
-039a 204003a0 call p_mouse_check_lkey_gpio 
-039b 204003a5 call p_mouse_check_rkey_gpio 
-039c 204003aa call p_mouse_check_mkey_gpio 
-039d 204003af call p_mouse_check_bkkey_gpio 
-039e 204003bc call p_mouse_check_fwkey_gpio 
-039f 2020411e branch mouse_check_key_gpio_next 
+03a8 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+03a9 245a4121 ncall mouse_check_key_gpio_once ,blank 
+03aa da200000 arg 0 ,rega 
+03ab 204003b1 call p_mouse_check_lkey_gpio 
+03ac 204003b6 call p_mouse_check_rkey_gpio 
+03ad 204003bb call p_mouse_check_mkey_gpio 
+03ae 204003c0 call p_mouse_check_bkkey_gpio 
+03af 204003cd call p_mouse_check_fwkey_gpio 
+03b0 2020411e branch mouse_check_key_gpio_next 
 
 p_mouse_check_lkey_gpio:
-03a0 6fe0c918 fetch 1 ,mem_lbutton_gpio 
-03a1 204003c9 call p_mouse_gpio_config_output_high 
-03a2 20404124 call mouse_check_lkey_gpio 
-03a3 6848c918 fetcht 1 ,mem_lbutton_gpio 
-03a4 20203f56 branch mouse_gpio_config_input_pu 
+03b1 6fe0c918 fetch 1 ,mem_lbutton_gpio 
+03b2 204003da call p_mouse_gpio_config_output_high 
+03b3 20404124 call mouse_check_lkey_gpio 
+03b4 6848c918 fetcht 1 ,mem_lbutton_gpio 
+03b5 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_rkey_gpio:
-03a5 6fe0c919 fetch 1 ,mem_rbutton_gpio 
-03a6 204003c9 call p_mouse_gpio_config_output_high 
-03a7 2040412a call mouse_check_rkey_gpio 
-03a8 6848c919 fetcht 1 ,mem_rbutton_gpio 
-03a9 20203f56 branch mouse_gpio_config_input_pu 
+03b6 6fe0c919 fetch 1 ,mem_rbutton_gpio 
+03b7 204003da call p_mouse_gpio_config_output_high 
+03b8 2040412a call mouse_check_rkey_gpio 
+03b9 6848c919 fetcht 1 ,mem_rbutton_gpio 
+03ba 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_mkey_gpio:
-03aa 6fe0c91a fetch 1 ,mem_mbutton_gpio 
-03ab 204003c9 call p_mouse_gpio_config_output_high 
-03ac 20404130 call mouse_check_mkey_gpio 
-03ad 6848c91a fetcht 1 ,mem_mbutton_gpio 
-03ae 20203f56 branch mouse_gpio_config_input_pu 
+03bb 6fe0c91a fetch 1 ,mem_mbutton_gpio 
+03bc 204003da call p_mouse_gpio_config_output_high 
+03bd 20404130 call mouse_check_mkey_gpio 
+03be 6848c91a fetcht 1 ,mem_mbutton_gpio 
+03bf 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_bkkey_gpio:
-03af 6fe0c90d fetch 1 ,mem_bk_button_gpio 
-03b0 c17f8000 rtneq gpio_disable 
-03b1 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
-03b2 6fe0cb91 fetch 1 ,mem_mouse_bkkey_press_status 
-03b3 1fe22600 copy pdata ,regc 
-03b4 6848c90d fetcht 1 ,mem_bk_button_gpio 
-03b5 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-03b6 c07f83b8 beq gpio_disable ,p_mouse_3io6key_bk_check 
-03b7 2020413e branch mouse_check_bkkey_gpio_next 
+03c0 6fe0c90d fetch 1 ,mem_bk_button_gpio 
+03c1 c17f8000 rtneq gpio_disable 
+03c2 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
+03c3 6fe0cb91 fetch 1 ,mem_mouse_bkkey_press_status 
+03c4 1fe22600 copy pdata ,regc 
+03c5 6848c90d fetcht 1 ,mem_bk_button_gpio 
+03c6 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+03c7 c07f83c9 beq gpio_disable ,p_mouse_3io6key_bk_check 
+03c8 2020413e branch mouse_check_bkkey_gpio_next 
 
 p_mouse_3io6key_bk_check:
-03b8 6fe0c90d fetch 1 ,mem_bk_button_gpio 
-03b9 204003cb call p_mouse_gpio_config_output_low 
-03ba 6848c90d fetcht 1 ,mem_bk_button_gpio 
-03bb 2020414b branch mouse_3io6key_bk_check 
+03c9 6fe0c90d fetch 1 ,mem_bk_button_gpio 
+03ca 204003dc call p_mouse_gpio_config_output_low 
+03cb 6848c90d fetcht 1 ,mem_bk_button_gpio 
+03cc 2020414b branch mouse_3io6key_bk_check 
 
 p_mouse_check_fwkey_gpio:
-03bc 6fe0c90e fetch 1 ,mem_fw_button_gpio 
-03bd c17f8000 rtneq gpio_disable 
-03be 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
-03bf 6fe0cb92 fetch 1 ,mem_mouse_fwkey_press_status 
-03c0 1fe22600 copy pdata ,regc 
-03c1 6848c90e fetcht 1 ,mem_fw_button_gpio 
-03c2 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-03c3 c07f83c5 beq gpio_disable ,p_mouse_3io6key_fw_check 
-03c4 20204157 branch mouse_check_fwkey_gpio_next 
+03cd 6fe0c90e fetch 1 ,mem_fw_button_gpio 
+03ce c17f8000 rtneq gpio_disable 
+03cf 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
+03d0 6fe0cb92 fetch 1 ,mem_mouse_fwkey_press_status 
+03d1 1fe22600 copy pdata ,regc 
+03d2 6848c90e fetcht 1 ,mem_fw_button_gpio 
+03d3 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+03d4 c07f83d6 beq gpio_disable ,p_mouse_3io6key_fw_check 
+03d5 20204157 branch mouse_check_fwkey_gpio_next 
 
 p_mouse_3io6key_fw_check:
-03c5 6fe0c90e fetch 1 ,mem_fw_button_gpio 
-03c6 204003cb call p_mouse_gpio_config_output_low 
-03c7 6848c90e fetcht 1 ,mem_fw_button_gpio 
-03c8 20204164 branch mouse_3io6key_fw_check 
+03d6 6fe0c90e fetch 1 ,mem_fw_button_gpio 
+03d7 204003dc call p_mouse_gpio_config_output_low 
+03d8 6848c90e fetcht 1 ,mem_fw_button_gpio 
+03d9 20204164 branch mouse_3io6key_fw_check 
 
 p_mouse_gpio_config_output_high:
-03c9 d840003f arg gpcfg_output_high ,temp 
-03ca 20206093 branch gpio_config_function_int 
+03da d840003f arg gpcfg_output_high ,temp 
+03db 20206093 branch gpio_config_function_int 
 
 p_mouse_gpio_config_output_low:
-03cb d840003e arg gpcfg_output_low ,temp 
-03cc 20206093 branch gpio_config_function_int 
+03dc d840003e arg gpcfg_output_low ,temp 
+03dd 20206093 branch gpio_config_function_int 
 
 p_mouse_idle:
-03cd 20404990 call mouse_low_voltage_led_no_enter_lpm 
-03ce 20407936 call ui_check_paring_button 
-03cf 204003d1 call p_mouse_dpi_check 
-03d0 2020464f branch mouse_idle + 4 
+03de 20404990 call mouse_low_voltage_led_no_enter_lpm 
+03df 20407936 call ui_check_paring_button 
+03e0 204003e2 call p_mouse_dpi_check 
+03e1 2020464f branch mouse_idle + 4 
 
 p_mouse_dpi_check:
-03d1 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-03d2 c2974036 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
-03d3 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
-03d4 c17f8000 rtneq gpio_disable 
-03d5 da200000 arg 0 ,rega 
-03d6 704b9605 jam mouse_dpi_key ,mem_mouse_key_temp 
-03d7 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-03d8 204003da call p_mouse_dpi_key_check 
-03d9 2020402f branch mouse_dpi_check_next 
+03e2 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+03e3 c2974036 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
+03e4 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
+03e5 c17f8000 rtneq gpio_disable 
+03e6 da200000 arg 0 ,rega 
+03e7 704b9605 jam mouse_dpi_key ,mem_mouse_key_temp 
+03e8 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+03e9 204003eb call p_mouse_dpi_key_check 
+03ea 2020402f branch mouse_dpi_check_next 
 
 p_mouse_dpi_key_check:
-03da 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-03db c2964048 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
-03dc 6fe0cb93 fetch 1 ,mem_mouse_dpikey_press_status 
-03dd 1fe22600 copy pdata ,regc 
-03de 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-03df c07f83e1 beq gpio_disable ,p_mouse_3io6key_dpi_check 
-03e0 2020403f branch mouse_dpi_key_check_next 
+03eb 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+03ec c2964048 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
+03ed 6fe0cb93 fetch 1 ,mem_mouse_dpikey_press_status 
+03ee 1fe22600 copy pdata ,regc 
+03ef 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+03f0 c07f83f2 beq gpio_disable ,p_mouse_3io6key_dpi_check 
+03f1 2020403f branch mouse_dpi_key_check_next 
 
 p_mouse_3io6key_dpi_check:
-03e1 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
-03e2 204003cb call p_mouse_gpio_config_output_low 
-03e3 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-03e4 20204195 branch mouse_3io6key_check 
+03f2 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
+03f3 204003dc call p_mouse_gpio_config_output_low 
+03f4 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+03f5 20204195 branch mouse_3io6key_check 
               org 0x800
 
 start:
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/SA_Project/SA9538_2.4G_connect_first/program/patch.prog	(revision 789)
+++ /YC1308AC/branch/mouse_project/SA_Project/SA9538_2.4G_connect_first/program/patch.prog	(working copy)
@@ -503,12 +503,16 @@
 
 p_mouse_wakeup_24g:
 	fetch 1,mem_sensor_shutdown_flag
-	ncall p_mouse_init_sensor_wakeup,blank
-	fetch 1,mem_sensor_shutdown_flag
-	ncall p_mouse_wheel_set_wakeup,blank
+	ncall p_mouse_wakeup_24g_from_long_sleep,blank
 	jam 0,mem_sensor_shutdown_flag
 	rtn
 
+p_mouse_wakeup_24g_from_long_sleep:
+	call mouse_init_sensor_wakeup
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_WHEEL_WAKE_UP_CANCEL
+	branch p_mouse_wheel_set_wakeup
+
 p_g24_retransmit:
 	fetch 1,mem_24g_abort_pac
 	nrtn blank
@@ -559,8 +563,24 @@
 	rtnne ADC_CONFIG_GPIO
 	fetch 1,mem_adc_channel_gpio	
 	arg gpcfg_no_ie,temp
- 	branch gpio_config_function_int
-	
+ 	call  gpio_config_function_int
+ 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_WHEEL_WAKE_UP_CANCEL
+	branch p_mouse_wheel_clr_wakeup
+
+p_mouse_wheel_clr_wakeup:
+	fetcht 1,mem_whee_a_data_gpio
+	call gpio_clr_wake
+	fetcht 1,mem_whee_b_data_gpio
+	call gpio_clr_wake
+		
+	fetch 1,mem_whee_a_data_gpio
+	arg gpcfg_pulldown,temp
+	call gpio_config_function_int
+	fetch 1,mem_whee_b_data_gpio
+	arg gpcfg_pulldown,temp
+	branch gpio_config_function_int
+ 	
 p_mouse_lpm_before_common:
 	fetcht 1,mem_whee_a_data_gpio		//reinit gpio pu after disable wheel wakeup
 	call gpio_config_input
@@ -675,7 +695,9 @@
 	branch mouse_24g_first_bluetooth_reconnect
 
 p_mouse_24g_attempt_fail_enter_hibernate:
-	call p_mouse_multi_led_blink_off	
+	call p_mouse_multi_led_blink_off
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_WHEEL_WAKE_UP_CANCEL,mouse_24g_attempt_fail_enter_hibernate
 	branch p_mouse_24g_hibernate_set
 
 p_mouse_reconn_dongle_attempt_fail:
Index: sched/mouse.dat
===================================================================
--- /YC1308AC/branch/mouse_project/SA_Project/SA9538_2.4G_connect_first/sched/mouse.dat	(revision 785)
+++ /YC1308AC/branch/mouse_project/SA_Project/SA9538_2.4G_connect_first/sched/mouse.dat	(working copy)
@@ -91,6 +91,9 @@
 #mouse flag byte8
 #bit0 MOUSE_ENABLE_SMOOTHER
 #bit1 MOUSE_ENABLE_XY_OFFSET
+#bit2 MOUSE_ENABLE_24G_AUTO_PAIR_NERVER_BEEN_PAIRED
+#bit3 MOUSE_ENABLE_LE_BATTERY_SERVICE_CANCEL
+#bit4 MOUSE_ENABLE_WHEEL_WAKE_UP_CANCEL
 01
 
 mem_mouse_discovery_timeout:b0 04	#2min
