Index: output/eeprom.dat
===================================================================
--- /YC1308AF/branch/mouse/mouse_public/output/eeprom.dat	(revision 1637)
+++ /YC1308AF/branch/mouse/mouse_public/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-3a
+62
 17
 c2
 84
@@ -43,31 +43,31 @@
 c0
 63
 03
-89
+8c
 c0
 64
 03
-94
+97
 c0
 64
 83
-c4
+c7
 c0
 66
 85
-7e
+88
 c0
 67
 04
-27
+2d
 c0
 67
 84
-5a
+60
 c0
 68
 05
-98
+a2
 c0
 69
 03
@@ -79,7 +79,7 @@
 c0
 6a
 84
-93
+9d
 c0
 6c
 02
@@ -87,7 +87,7 @@
 c0
 6e
 83
-c9
+cc
 c0
 6f
 00
@@ -111,15 +111,15 @@
 c0
 42
 85
-73
+7d
 c0
 53
 05
-77
+81
 c0
 6e
-84
-ff
+85
+09
 c0
 6f
 02
@@ -131,15 +131,15 @@
 c0
 71
 05
-0a
+14
 c0
 71
 85
-32
+3c
 c0
 74
 85
-3c
+46
 c0
 75
 01
@@ -147,7 +147,7 @@
 c0
 76
 05
-68
+72
 20
 20
 13
@@ -578,8 +578,8 @@
 00
 20
 40
-40
-ce
+03
+81
 20
 40
 47
@@ -591,7 +591,7 @@
 20
 40
 03
-82
+85
 20
 20
 3c
@@ -1215,7 +1215,7 @@
 24
 5a
 03
-c2
+c5
 6f
 e4
 4b
@@ -1495,7 +1495,7 @@
 20
 20
 03
-82
+85
 6f
 e0
 c8
@@ -1579,7 +1579,7 @@
 24
 34
 04
-b9
+c3
 20
 40
 02
@@ -2979,7 +2979,7 @@
 da
 40
 04
-7e
+88
 20
 20
 31
@@ -3071,7 +3071,7 @@
 da
 40
 04
-e1
+eb
 20
 20
 45
@@ -3095,7 +3095,7 @@
 c0
 00
 04
-f1
+fb
 20
 20
 43
@@ -3566,8 +3566,8 @@
 6b
 20
 20
-40
-ce
+03
+81
 20
 40
 3f
@@ -3579,23 +3579,35 @@
 c0
 05
 83
-7f
+82
 20
+40
+42
+72
+da
+60
+4a
+b4
 20
+40
 42
-78
+6b
+20
+20
+04
+62
 20
 40
 03
-92
+95
 da
 60
 4b
 f5
 20
 20
-42
-7a
+03
+80
 20
 40
 41
@@ -3611,7 +3623,7 @@
 c0
 05
 83
-87
+8a
 20
 20
 42
@@ -3639,11 +3651,11 @@
 20
 40
 03
-8f
+92
 20
 40
 03
-82
+85
 20
 20
 3e
@@ -3655,7 +3667,7 @@
 c0
 05
 83
-92
+95
 20
 20
 42
@@ -3711,7 +3723,7 @@
 20
 40
 05
-c8
+d2
 d8
 40
 00
@@ -3739,15 +3751,15 @@
 20
 40
 03
-a8
+ab
 20
 40
 03
-b5
+b8
 20
 20
 03
-b8
+bb
 6f
 e1
 cb
@@ -3795,7 +3807,7 @@
 c2
 00
 03
-ac
+af
 20
 60
 00
@@ -3891,11 +3903,11 @@
 20
 40
 03
-ce
+d1
 20
 40
 03
-e2
+e5
 20
 20
 46
@@ -3931,7 +3943,7 @@
 20
 40
 03
-d7
+da
 20
 20
 40
@@ -3959,7 +3971,7 @@
 c0
 7f
 83
-de
+e1
 20
 20
 40
@@ -3971,7 +3983,7 @@
 20
 40
 05
-cb
+d5
 68
 48
 c9
@@ -3995,7 +4007,7 @@
 24
 3a
 03
-eb
+ee
 6f
 e0
 cc
@@ -4003,11 +4015,11 @@
 20
 40
 05
-c8
+d2
 20
 40
 03
-fb
+fe
 68
 48
 cc
@@ -4031,7 +4043,7 @@
 20
 40
 05
-cb
+d5
 70
 4c
 20
@@ -4047,11 +4059,11 @@
 20
 40
 04
-14
+17
 20
 40
-03
-ff
+04
+02
 68
 48
 cc
@@ -4095,7 +4107,7 @@
 20
 40
 04
-0a
+0d
 67
 e0
 cc
@@ -4107,7 +4119,7 @@
 20
 3a
 04
-06
+09
 6f
 e0
 cc
@@ -4171,11 +4183,11 @@
 c0
 03
 84
-1f
+22
 c0
 00
 04
-21
+24
 20
 60
 00
@@ -4215,11 +4227,11 @@
 c0
 03
 84
-1f
+22
 c0
 00
 04
-21
+24
 20
 60
 00
@@ -4249,13 +4261,25 @@
 fe
 01
 1f
-e1
-7e
+e6
+7c
+04
+24
+41
 04
+2b
 20
 20
 04
-33
+39
+58
+00
+00
+00
+20
+60
+00
+00
 20
 40
 40
@@ -4279,7 +4303,7 @@
 c2
 9e
 84
-36
+3c
 6f
 e0
 c9
@@ -4287,11 +4311,11 @@
 c0
 06
 04
-23
+26
 c0
 01
 84
-23
+26
 18
 42
 7e
@@ -4323,7 +4347,7 @@
 24
 3a
 04
-53
+59
 6f
 e4
 4b
@@ -4331,7 +4355,7 @@
 c2
 8e
 04
-47
+4d
 18
 42
 7e
@@ -4343,11 +4367,11 @@
 c0
 00
 04
-43
+49
 c0
 01
 04
-41
+47
 20
 60
 00
@@ -4359,7 +4383,7 @@
 20
 20
 04
-33
+39
 58
 00
 00
@@ -4367,7 +4391,7 @@
 20
 20
 04
-33
+39
 58
 00
 00
@@ -4375,7 +4399,7 @@
 20
 20
 04
-33
+39
 58
 00
 00
@@ -4383,7 +4407,7 @@
 20
 20
 04
-33
+39
 18
 42
 7e
@@ -4395,15 +4419,15 @@
 c0
 00
 04
-43
+49
 c0
 01
 04
-45
+4b
 c0
 01
 84
-41
+47
 20
 60
 00
@@ -4419,15 +4443,15 @@
 c0
 00
 04
-45
+4b
 c0
 00
 84
-41
+47
 c0
 01
 84
-3f
+45
 20
 60
 00
@@ -4439,7 +4463,7 @@
 c2
 8e
 04
-4d
+53
 18
 42
 7e
@@ -4451,23 +4475,23 @@
 c0
 00
 04
-3f
+45
 c0
 00
 84
-41
+47
 20
 60
 00
 00
 20
 40
-40
-cf
+04
+66
 20
 40
 04
-70
+7a
 6f
 e0
 c9
@@ -4475,11 +4499,11 @@
 c0
 06
 04
-60
+6a
 c0
 01
 84
-60
+6a
 20
 20
 40
@@ -4487,27 +4511,43 @@
 6f
 e0
 c9
+2c
+c1
+06
+00
+00
+c1
+01
+80
+00
+20
+20
+40
+cf
+6f
+e0
+c9
 97
 c0
 00
 04
-68
+72
 c0
 00
 84
-66
+70
 c0
 01
 04
-6a
+74
 c0
 01
 84
-6c
+76
 c0
 02
 04
-6e
+78
 6f
 e0
 cc
@@ -4595,7 +4635,7 @@
 20
 3a
 04
-7e
+88
 67
 e0
 cb
@@ -4655,11 +4695,11 @@
 20
 41
 04
-8d
+97
 24
 41
 04
-91
+9b
 20
 20
 49
@@ -4695,15 +4735,15 @@
 c0
 1e
 04
-9f
+a9
 c0
 1c
 84
-98
+a2
 c0
 1d
 04
-b0
+ba
 20
 20
 43
@@ -4819,7 +4859,7 @@
 24
 3a
 04
-f1
+fb
 6f
 e0
 c8
@@ -4827,15 +4867,15 @@
 c0
 01
 04
-d6
+e0
 c0
 02
 04
-ea
+f4
 c0
 01
-84
-fa
+85
+04
 20
 20
 48
@@ -4847,7 +4887,7 @@
 20
 5a
 04
-c8
+d2
 6f
 e0
 c8
@@ -4963,11 +5003,11 @@
 c2
 97
 84
-df
+e9
 c2
 98
 04
-df
+e9
 c3
 1d
 48
@@ -4987,7 +5027,7 @@
 20
 22
 84
-e1
+eb
 20
 20
 48
@@ -5095,11 +5135,11 @@
 20
 40
 03
-82
+85
 20
 20
 04
-be
+c8
 6f
 e4
 4b
@@ -5143,7 +5183,7 @@
 24
 34
 05
-00
+0a
 20
 40
 26
@@ -5191,7 +5231,7 @@
 c0
 00
 05
-12
+1c
 20
 60
 00
@@ -5207,19 +5247,19 @@
 c0
 00
 85
-19
+23
 c0
 01
 05
-1b
+25
 c0
 01
 85
-21
+2b
 c0
 02
 05
-27
+31
 20
 60
 00
@@ -5231,7 +5271,7 @@
 20
 20
 05
-28
+32
 6f
 e0
 c8
@@ -5239,7 +5279,7 @@
 20
 3a
 05
-1f
+29
 6f
 e2
 48
@@ -5255,7 +5295,7 @@
 20
 20
 05
-28
+32
 70
 47
 c9
@@ -5267,7 +5307,7 @@
 20
 3a
 05
-28
+32
 6f
 e2
 48
@@ -5279,7 +5319,7 @@
 20
 20
 05
-2a
+34
 70
 47
 c9
@@ -5335,7 +5375,7 @@
 c0
 01
 05
-36
+40
 20
 20
 23
@@ -5379,7 +5419,7 @@
 20
 3a
 05
-44
+4e
 6f
 e1
 48
@@ -5407,11 +5447,11 @@
 24
 2c
 05
-5d
+67
 24
 37
 85
-5d
+67
 20
 40
 26
@@ -5447,7 +5487,7 @@
 20
 42
 85
-59
+63
 6f
 e0
 c8
@@ -5527,7 +5567,7 @@
 c0
 02
 05
-66
+70
 20
 20
 25
@@ -5611,7 +5651,7 @@
 c2
 80
 85
-7b
+85
 20
 20
 16
@@ -5643,7 +5683,7 @@
 20
 40
 05
-8e
+98
 58
 00
 00
@@ -5654,8 +5694,8 @@
 5e
 20
 40
-40
-ce
+03
+81
 20
 40
 3f
@@ -5667,7 +5707,7 @@
 20
 40
 05
-96
+a0
 6f
 e0
 c8
@@ -5687,7 +5727,7 @@
 20
 40
 05
-93
+9d
 20
 20
 45
@@ -5727,7 +5767,7 @@
 20
 40
 05
-98
+a2
 20
 20
 41
@@ -5747,15 +5787,15 @@
 20
 40
 05
-9f
+a9
 20
 40
 05
-ae
+b8
 20
 40
 05
-bb
+c5
 20
 20
 41
@@ -5767,7 +5807,7 @@
 20
 40
 05
-c8
+d2
 20
 40
 41
@@ -5787,7 +5827,7 @@
 20
 40
 05
-c8
+d2
 20
 40
 41
@@ -5807,7 +5847,7 @@
 20
 40
 05
-c8
+d2
 20
 40
 41
@@ -5851,7 +5891,7 @@
 c0
 7f
 85
-b7
+c1
 20
 20
 41
@@ -5863,7 +5903,7 @@
 20
 40
 05
-cb
+d5
 68
 48
 c9
@@ -5903,7 +5943,7 @@
 c0
 7f
 85
-c4
+ce
 20
 20
 41
@@ -5915,7 +5955,7 @@
 20
 40
 05
-cb
+d5
 68
 48
 c9
@@ -5948,8 +5988,8 @@
 20
 61
 2c
-fc
-1e
+96
+5d
 aa
 55
 40
@@ -7308,48 +7348,8 @@
 55
 57
 94
-50
-94
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+0c
+0f
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-86
-2a
+c0
+f0
Index: output/program.lis
===================================================================
--- /YC1308AF/branch/mouse/mouse_public/output/program.lis	(revision 1637)
+++ /YC1308AF/branch/mouse/mouse_public/output/program.lis	(working copy)
@@ -9,18 +9,18 @@
 0006 c0568089 beq patch15_5 ,p_app_init 
 0007 c0618299 beq patch18_3 ,p_mouse_start_work 
 0008 c06202b1 beq patch18_4 ,p_mouse_start_reconnect_device 
-0009 c0630389 beq patch18_6 ,p_mouse_app_enter_hibernate 
-000a c0640394 beq patch19_0 ,p_mouse_setgpio_hibernate 
-000b c06483c4 beq patch19_1 ,p_mouse_lpm_before_common 
-000c c066857e beq patch19_5 ,p_mouse_motion 
-000d c0670427 beq patch19_6 ,p_mouse_dpi_process 
-000e c067845a beq patch19_7 ,p_mouse_seting_dpi 
-000f c0680598 beq patch1a_0 ,p_mouse_check_key_gpio 
+0009 c063038c beq patch18_6 ,p_mouse_app_enter_hibernate 
+000a c0640397 beq patch19_0 ,p_mouse_setgpio_hibernate 
+000b c06483c7 beq patch19_1 ,p_mouse_lpm_before_common 
+000c c0668588 beq patch19_5 ,p_mouse_motion 
+000d c067042d beq patch19_6 ,p_mouse_dpi_process 
+000e c0678460 beq patch19_7 ,p_mouse_seting_dpi 
+000f c06805a2 beq patch1a_0 ,p_mouse_check_key_gpio 
 0010 c0690369 beq patch1a_2 ,p_mouse_init_sunt 
 0011 c069837b beq patch1a_3 ,p_mouse_sensor_poweron 
-0012 c06a8493 beq patch1a_5 ,p_mouse_priority_bb_event 
+0012 c06a849d beq patch1a_5 ,p_mouse_priority_bb_event 
 0013 c06c02d4 beq patch1b_0 ,p_mouse_bb_event_timer 
-0014 c06e83c9 beq patch1b_5 ,p_mouse_idle 
+0014 c06e83cc beq patch1b_5 ,p_mouse_idle 
 0015 c06f0031 beq patch1b_6 ,p_mouse_ready_reconnection_by_button 
 0016 c0700029 beq patch1c_0 ,p_mouse_led_off 
 0017 c0708025 beq patch1c_1 ,p_mouse_led_on 
@@ -28,16 +28,16 @@
 
 pf_patch_ext:
 0019 c00f8094 beq patch23_7 ,p_twspi_reset 
-001a c0428573 beq patch30_5 ,p_ui_timer_check 
-001b c0530577 beq patch34_6 ,p_le_enable_phy_by_pdata 
-001c c06e84ff beq patch3b_5 ,p_g24_dispatch 
+001a c042857d beq patch30_5 ,p_ui_timer_check 
+001b c0530581 beq patch34_6 ,p_le_enable_phy_by_pdata 
+001c c06e8509 beq patch3b_5 ,p_g24_dispatch 
 001d c06f0236 beq patch3b_6 ,p_g24_receive_packet 
 001e c07082b4 beq patch3c_1 ,p_g24_transmit 
-001f c071050a beq patch3c_2 ,p_g24_pair_dispatch 
-0020 c0718532 beq patch3c_3 ,p_g24_pair_sm_common_next 
-0021 c074853c beq patch3d_1 ,p_g24_reconn_dispatch 
+001f c0710514 beq patch3c_2 ,p_g24_pair_dispatch 
+0020 c071853c beq patch3c_3 ,p_g24_pair_sm_common_next 
+0021 c0748546 beq patch3d_1 ,p_g24_reconn_dispatch 
 0022 c0750188 beq patch3d_2 ,p_g24_transmit_no_interrupt 
-0023 c0760568 beq patch3d_4 ,p_g24_lpm_wait 
+0023 c0760572 beq patch3d_4 ,p_g24_lpm_wait 
 0024 2020137e branch loop 
 
 p_mouse_led_on:
@@ -183,10 +183,10 @@
 008c 2455bf60 ncall mouse_gpio_init ,wake 
 008d 204041e7 call mouse_init_sunt 
 008e 20758000 rtn wake 
-008f 204040ce call mouse_dpi_config 
+008f 20400381 call p_mouse_dpi_config 
 0090 20404766 call mouse_drawing_optima_init 
 0091 20400122 call p_mouse_cb_fuction 
-0092 20400382 call p_mouse_sensor_powerdown 
+0092 20400385 call p_mouse_sensor_powerdown 
 0093 20203c7d branch mouse_init + 8 
 
 p_twspi_reset:
@@ -390,7 +390,7 @@
 012b 24740000 nrtn user 
 012c 6fe0cc4e fetch 1 ,mem_long_sleep_flag 
 012d 704c4e00 jam 0 ,mem_long_sleep_flag 
-012e 245a03c2 ncall p_mouse_short_sleep_clear_wake ,blank 
+012e 245a03c5 ncall p_mouse_short_sleep_clear_wake ,blank 
 012f 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
 0130 c30a8133 bbit0 mouse_enable_keyboard ,p_mouse_24g_mouse_package_data 
 0131 6fe0cb9c fetch 1 ,mem_customer_key 
@@ -478,7 +478,7 @@
 0171 67e0cbb5 store 1 ,mem_mouse_search_dongle_action 
 0172 6fe14bcd fetch 2 ,mem_mouse_24g_search_dongle_time_init 
 0173 67e14ac3 store 2 ,mem_mouse_no_data_timer 
-0174 20200382 branch p_mouse_sensor_powerdown 
+0174 20200385 branch p_mouse_sensor_powerdown 
 
 p_mouse_24g_search_dongle_success:
 0175 6fe0c8ab fetch 1 ,mem_24g_abort_pac 
@@ -509,7 +509,7 @@
 
 p_g24_transmit_no_interrupt:
 0188 20402638 call g24_txdata_prep 
-0189 243404b9 nbranch p_g24_nodata_transmit ,user 
+0189 243404c3 nbranch p_g24_nodata_transmit ,user 
 
 p_g24_transmit_start:
 018a 2040021b call p_g24_transmit_process 
@@ -955,7 +955,7 @@
 
 p_mouse_dpi_led_blink_delay_timer:
 02e6 da604bb9 arg mem_mouse_dpi_led_delay_count ,regc 
-02e7 da40047e arg p_mouse_dpi_led_blink_init ,regb 
+02e7 da400488 arg p_mouse_dpi_led_blink_init ,regb 
 02e8 202031fc branch timer_single_step 
 
 p_mouse_commbination_key_process:
@@ -988,7 +988,7 @@
 02fd 20600000 rtn 
 
 p_mouse_combination_ui_timer:
-02fe da4004e1 arg p_mouse_24g_start_pair_mode ,regb 
+02fe da4004eb arg p_mouse_24g_start_pair_mode ,regb 
 02ff 20204537 branch mouse_combination_ui_timer + 1 
 
 p_mouse_check_no_data_timeout_timer:
@@ -998,7 +998,7 @@
 
 p_mouse_check_no_data_timeout:
 0303 6fe0c93d fetch 1 ,mem_device_flag 
-0304 c00004f1 beq mode_24g_device ,p_mouse_24g_hibernate_set 
+0304 c00004fb beq mode_24g_device ,p_mouse_24g_hibernate_set 
 0305 2020435b branch mouse_disconnect 
 
 p_mouse_g24_ota_reset_timer:
@@ -1184,820 +1184,840 @@
 0377 70492c0c jam ka5857 ,mem_config_sensor_type 
 0378 da604cbe arg mem_sensor_ka5857_init ,regc 
 0379 2040426b call mouse_sensor_wr_seq 
-037a 202040ce branch mouse_dpi_config 
+037a 20200381 branch p_mouse_dpi_config 
 
 p_mouse_sensor_poweron:
 037b 20403fa5 call mouse_sensor_spi_init 
 037c 6fe0c92c fetch 1 ,mem_config_sensor_type 
-037d c005837f beq ka8g2 ,p_mouse_ka8g2_sensor_init 
-037e 20204278 branch mouse_sensor_poweron_next 
+037d c0058382 beq ka8g2 ,p_mouse_ka8g2_sensor_init 
+
+p_mouse_sensor_poweron_next:
+037e 20404272 call mouse_sensor_reset 
+037f da604ab4 arg mem_sensor_poweron_init ,regc 
+
+p_mouse_sensor_poweron_end:
+0380 2040426b call mouse_sensor_wr_seq 
+
+p_mouse_dpi_config:
+0381 20200462 branch p_mouse_seting_sensor_type 
 
 p_mouse_ka8g2_sensor_init:
-037f 20400392 call p_mouse_ka8g2_sensor_reset 
-0380 da604bf5 arg mem_ka8g2_sensor_poweron_init ,regc 
-0381 2020427a branch mouse_sensor_poweron_end 
+0382 20400395 call p_mouse_ka8g2_sensor_reset 
+0383 da604bf5 arg mem_ka8g2_sensor_poweron_init ,regc 
+0384 20200380 branch p_mouse_sensor_poweron_end 
 
 p_mouse_sensor_powerdown:
-0382 204041e7 call mouse_init_sunt 
-0383 20403fa5 call mouse_sensor_spi_init 
-0384 6fe0c92c fetch 1 ,mem_config_sensor_type 
-0385 c0058387 beq ka8g2 ,p_mouse_ka8g2_sensor_powerdown 
-0386 2020427e branch mouse_sensor_powerdown_end 
+0385 204041e7 call mouse_init_sunt 
+0386 20403fa5 call mouse_sensor_spi_init 
+0387 6fe0c92c fetch 1 ,mem_config_sensor_type 
+0388 c005838a beq ka8g2 ,p_mouse_ka8g2_sensor_powerdown 
+0389 2020427e branch mouse_sensor_powerdown_end 
 
 p_mouse_ka8g2_sensor_powerdown:
-0387 58001f06 setarg 0x1f06 
-0388 20205d5e branch twspi_write 
+038a 58001f06 setarg 0x1f06 
+038b 20205d5e branch twspi_write 
 
 p_mouse_app_enter_hibernate:
-0389 58000006 setarg pan_reg_config 
-038a 20405d65 call twspi_read 
-038b c281be5d bbit1 3 ,mouse_app_enter_hibernate + 3 
-038c 2040038f call p_mouse_sensor_reset 
-038d 20400382 call p_mouse_sensor_powerdown 
-038e 20203e5d branch mouse_app_enter_hibernate + 3 
+038c 58000006 setarg pan_reg_config 
+038d 20405d65 call twspi_read 
+038e c281be5d bbit1 3 ,mouse_app_enter_hibernate + 3 
+038f 20400392 call p_mouse_sensor_reset 
+0390 20400385 call p_mouse_sensor_powerdown 
+0391 20203e5d branch mouse_app_enter_hibernate + 3 
 
 p_mouse_sensor_reset:
-038f 6fe0c92c fetch 1 ,mem_config_sensor_type 
-0390 c0058392 beq ka8g2 ,p_mouse_ka8g2_sensor_reset 
-0391 20204272 branch mouse_sensor_reset 
+0392 6fe0c92c fetch 1 ,mem_config_sensor_type 
+0393 c0058395 beq ka8g2 ,p_mouse_ka8g2_sensor_reset 
+0394 20204272 branch mouse_sensor_reset 
 
 p_mouse_ka8g2_sensor_reset:
-0392 58009706 setarg 0x9706 
-0393 20204273 branch mouse_sensor_reset_end 
+0395 58009706 setarg 0x9706 
+0396 20204273 branch mouse_sensor_reset_end 
 
 p_mouse_setgpio_hibernate:
-0394 20404329 call mouse_set_sdio_high 
-0395 20407f52 call clear_wake 
-0396 20400363 call p_mouse_logo_led_off 
-0397 20400348 call p_mouse_1io2led_all_off 
-0398 20404055 call mouse_before_hibernate_wheel_gpio_set 
-0399 6848c914 fetcht 1 ,mem_matrix_public_gpio 
-039a 2040610d call gpio_out_active 
-039b 6848c914 fetcht 1 ,mem_matrix_public_gpio 
-039c 204060e6 call gpio_clr_wake 
-039d 6fe0c924 fetch 1 ,mem_mouse_sensor_sdio_gpio 
-039e 204005c8 call p_mouse_gpio_config_output_high 
-039f d8400003 arg 3 ,temp 
-03a0 20403f96 call mouse_gpio_config_input_pu 
-03a1 20403e80 call mouse_lpm_before_common 
-03a2 20403e72 call mouse_gpio_pu_idle 
-03a3 d8400013 arg 19 ,temp 
-03a4 20403f96 call mouse_gpio_config_input_pu 
-03a5 204003a8 call p_mouse_gpio_set_high_impedance 
-03a6 204003b5 call p_mouse_adc_gpio_set_before_hibernate 
-03a7 202003b8 branch p_mouse_wheel_gpio_set_before_hibernate 
+0397 20404329 call mouse_set_sdio_high 
+0398 20407f52 call clear_wake 
+0399 20400363 call p_mouse_logo_led_off 
+039a 20400348 call p_mouse_1io2led_all_off 
+039b 20404055 call mouse_before_hibernate_wheel_gpio_set 
+039c 6848c914 fetcht 1 ,mem_matrix_public_gpio 
+039d 2040610d call gpio_out_active 
+039e 6848c914 fetcht 1 ,mem_matrix_public_gpio 
+039f 204060e6 call gpio_clr_wake 
+03a0 6fe0c924 fetch 1 ,mem_mouse_sensor_sdio_gpio 
+03a1 204005d2 call p_mouse_gpio_config_output_high 
+03a2 d8400003 arg 3 ,temp 
+03a3 20403f96 call mouse_gpio_config_input_pu 
+03a4 20403e80 call mouse_lpm_before_common 
+03a5 20403e72 call mouse_gpio_pu_idle 
+03a6 d8400013 arg 19 ,temp 
+03a7 20403f96 call mouse_gpio_config_input_pu 
+03a8 204003ab call p_mouse_gpio_set_high_impedance 
+03a9 204003b8 call p_mouse_adc_gpio_set_before_hibernate 
+03aa 202003bb branch p_mouse_wheel_gpio_set_before_hibernate 
 
 p_mouse_gpio_set_high_impedance:
-03a8 6fe1cbef fetch 3 ,mem_mouse_set_high_impedance_bit_set 
-03a9 67e1895c store 3 ,mem_pdatatemp 
-03aa df200014 arg 20 ,loopcnt 
-03ab d8400000 arg 0 ,temp 
+03ab 6fe1cbef fetch 3 ,mem_mouse_set_high_impedance_bit_set 
+03ac 67e1895c store 3 ,mem_pdatatemp 
+03ad df200014 arg 20 ,loopcnt 
+03ae d8400000 arg 0 ,temp 
 
 p_mouse_gpio_set_high_impedance_bit_loop:
-03ac 6fe1895c fetch 3 ,mem_pdatatemp 
-03ad 2feffe00 isolate1 0 ,pdata 
-03ae 2040e121 call gpio_set_high_impedance ,true 
 03af 6fe1895c fetch 3 ,mem_pdatatemp 
-03b0 1fe37e00 rshift pdata ,pdata 
-03b1 67e1895c store 3 ,mem_pdatatemp 
-03b2 18408401 increase 1 ,temp 
-03b3 c20003ac loop p_mouse_gpio_set_high_impedance_bit_loop 
-03b4 20600000 rtn 
+03b0 2feffe00 isolate1 0 ,pdata 
+03b1 2040e121 call gpio_set_high_impedance ,true 
+03b2 6fe1895c fetch 3 ,mem_pdatatemp 
+03b3 1fe37e00 rshift pdata ,pdata 
+03b4 67e1895c store 3 ,mem_pdatatemp 
+03b5 18408401 increase 1 ,temp 
+03b6 c20003af loop p_mouse_gpio_set_high_impedance_bit_loop 
+03b7 20600000 rtn 
 
 p_mouse_adc_gpio_set_before_hibernate:
-03b5 dfe0000a arg 0x0a ,pdata 
-03b6 d84000c0 arg gpcfg_no_ie ,temp 
-03b7 2020612c branch gpio_config_function_int 
+03b8 dfe0000a arg 0x0a ,pdata 
+03b9 d84000c0 arg gpcfg_no_ie ,temp 
+03ba 2020612c branch gpio_config_function_int 
 
 p_mouse_wheel_gpio_set_before_hibernate:
-03b8 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-03b9 c41e0000 rtnbit0 mouse_enable_wheel_wake_up_cancel 
+03bb 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+03bc c41e0000 rtnbit0 mouse_enable_wheel_wake_up_cancel 
 
 p_mouse_wheel_clr_wakeup:
-03ba 6848c917 fetcht 1 ,mem_whee_a_data_gpio 
-03bb 204060e6 call gpio_clr_wake 
-03bc 6848c918 fetcht 1 ,mem_whee_b_data_gpio 
-03bd 204060e6 call gpio_clr_wake 
-03be 6848c917 fetcht 1 ,mem_whee_a_data_gpio 
-03bf 20403f94 call mouse_gpio_config_input_pd 
-03c0 6848c918 fetcht 1 ,mem_whee_b_data_gpio 
-03c1 20203f94 branch mouse_gpio_config_input_pd 
+03bd 6848c917 fetcht 1 ,mem_whee_a_data_gpio 
+03be 204060e6 call gpio_clr_wake 
+03bf 6848c918 fetcht 1 ,mem_whee_b_data_gpio 
+03c0 204060e6 call gpio_clr_wake 
+03c1 6848c917 fetcht 1 ,mem_whee_a_data_gpio 
+03c2 20403f94 call mouse_gpio_config_input_pd 
+03c3 6848c918 fetcht 1 ,mem_whee_b_data_gpio 
+03c4 20203f94 branch mouse_gpio_config_input_pd 
 
 p_mouse_short_sleep_clear_wake:
-03c2 20407f52 call clear_wake 
-03c3 2020155d branch lpm_write_gpio_wakeup 
+03c5 20407f52 call clear_wake 
+03c6 2020155d branch lpm_write_gpio_wakeup 
 
 p_mouse_lpm_before_common:
-03c4 6848c917 fetcht 1 ,mem_whee_a_data_gpio 
-03c5 204060f4 call gpio_config_input 
-03c6 6848c918 fetcht 1 ,mem_whee_b_data_gpio 
-03c7 204060f4 call gpio_config_input 
-03c8 20203e81 branch mouse_lpm_before_common + 1 
+03c7 6848c917 fetcht 1 ,mem_whee_a_data_gpio 
+03c8 204060f4 call gpio_config_input 
+03c9 6848c918 fetcht 1 ,mem_whee_b_data_gpio 
+03ca 204060f4 call gpio_config_input 
+03cb 20203e81 branch mouse_lpm_before_common + 1 
 
 p_mouse_idle:
-03c9 204049dd call mouse_low_voltage_led_no_enter_lpm 
-03ca 204079a1 call ui_check_paring_button 
-03cb 204003ce call p_mouse_dpi_check 
-03cc 204003e2 call p_mouse_dpi_another_gpio_check 
-03cd 2020468f branch mouse_idle + 4 
+03cc 204049dd call mouse_low_voltage_led_no_enter_lpm 
+03cd 204079a1 call ui_check_paring_button 
+03ce 204003d1 call p_mouse_dpi_check 
+03cf 204003e5 call p_mouse_dpi_another_gpio_check 
+03d0 2020468f branch mouse_idle + 4 
 
 p_mouse_dpi_check:
-03ce 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-03cf c2974076 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
-03d0 6fe0c913 fetch 1 ,mem_dpi_button_gpio 
-03d1 c17f8000 rtneq gpio_disable 
-03d2 da200000 arg 0 ,rega 
-03d3 704ba705 jam mouse_dpi_key ,mem_mouse_key_temp 
-03d4 6848c913 fetcht 1 ,mem_dpi_button_gpio 
-03d5 204003d7 call p_mouse_dpi_key_check 
-03d6 2020406f branch mouse_dpi_check_next 
+03d1 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+03d2 c2974076 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
+03d3 6fe0c913 fetch 1 ,mem_dpi_button_gpio 
+03d4 c17f8000 rtneq gpio_disable 
+03d5 da200000 arg 0 ,rega 
+03d6 704ba705 jam mouse_dpi_key ,mem_mouse_key_temp 
+03d7 6848c913 fetcht 1 ,mem_dpi_button_gpio 
+03d8 204003da call p_mouse_dpi_key_check 
+03d9 2020406f branch mouse_dpi_check_next 
 
 p_mouse_dpi_key_check:
-03d7 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-03d8 c2964088 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
-03d9 6fe0cba4 fetch 1 ,mem_mouse_dpikey_press_status 
-03da 1fe22600 copy pdata ,regc 
-03db 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
-03dc c07f83de beq gpio_disable ,p_mouse_3io6key_dpi_check 
-03dd 2020407f branch mouse_dpi_key_check_next 
+03da 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+03db c2964088 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
+03dc 6fe0cba4 fetch 1 ,mem_mouse_dpikey_press_status 
+03dd 1fe22600 copy pdata ,regc 
+03de 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
+03df c07f83e1 beq gpio_disable ,p_mouse_3io6key_dpi_check 
+03e0 2020407f branch mouse_dpi_key_check_next 
 
 p_mouse_3io6key_dpi_check:
-03de 6fe0c913 fetch 1 ,mem_dpi_button_gpio 
-03df 204005cb call p_mouse_gpio_config_output_low 
-03e0 6848c913 fetcht 1 ,mem_dpi_button_gpio 
-03e1 202041d5 branch mouse_3io6key_check 
+03e1 6fe0c913 fetch 1 ,mem_dpi_button_gpio 
+03e2 204005d5 call p_mouse_gpio_config_output_low 
+03e3 6848c913 fetcht 1 ,mem_dpi_button_gpio 
+03e4 202041d5 branch mouse_3io6key_check 
 
 p_mouse_dpi_another_gpio_check:
-03e2 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-03e3 c41e8000 rtnbit0 mouse_enable_double_dpi_key 
-03e4 6fe0cc1b fetch 1 ,mem_mouse_another_dpi_connect_vin_flag 
-03e5 243a03eb nbranch p_mouse_dpi_another_gpio_connect_vin_check ,blank 
+03e5 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+03e6 c41e8000 rtnbit0 mouse_enable_double_dpi_key 
+03e7 6fe0cc1b fetch 1 ,mem_mouse_another_dpi_connect_vin_flag 
+03e8 243a03ee nbranch p_mouse_dpi_another_gpio_connect_vin_check ,blank 
 
 p_mouse_dpi_another_gpio_connect_gnd_check:
-03e6 6fe0cc1c fetch 1 ,mem_dpi_another_button_gpio 
-03e7 204005c8 call p_mouse_gpio_config_output_high 
-03e8 204003fb call p_mouse_dpi_another_check 
-03e9 6848cc1c fetcht 1 ,mem_dpi_another_button_gpio 
-03ea 20203f96 branch mouse_gpio_config_input_pu 
+03e9 6fe0cc1c fetch 1 ,mem_dpi_another_button_gpio 
+03ea 204005d2 call p_mouse_gpio_config_output_high 
+03eb 204003fe call p_mouse_dpi_another_check 
+03ec 6848cc1c fetcht 1 ,mem_dpi_another_button_gpio 
+03ed 20203f96 branch mouse_gpio_config_input_pu 
 
 p_mouse_dpi_another_gpio_connect_vin_check:
-03eb 6fe0cc1c fetch 1 ,mem_dpi_another_button_gpio 
-03ec 793ffe07 set0 gpio_active_bit ,pdata 
-03ed 67e0cc1c store 1 ,mem_dpi_another_button_gpio 
-03ee 204005cb call p_mouse_gpio_config_output_low 
-03ef 704c2000 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
-03f0 6848cc1c fetcht 1 ,mem_dpi_another_button_gpio 
-03f1 6fe0cc1d fetch 1 ,mem_dpi_another_press_status 
-03f2 20400414 call p_mouse_check_key_connect_vin_new 
-03f3 204003ff call p_mouse_dpi_another_state_check 
-03f4 6848cc1c fetcht 1 ,mem_dpi_another_button_gpio 
-03f5 20203f96 branch mouse_gpio_config_input_pu 
+03ee 6fe0cc1c fetch 1 ,mem_dpi_another_button_gpio 
+03ef 793ffe07 set0 gpio_active_bit ,pdata 
+03f0 67e0cc1c store 1 ,mem_dpi_another_button_gpio 
+03f1 204005d5 call p_mouse_gpio_config_output_low 
+03f2 704c2000 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
+03f3 6848cc1c fetcht 1 ,mem_dpi_another_button_gpio 
+03f4 6fe0cc1d fetch 1 ,mem_dpi_another_press_status 
+03f5 20400417 call p_mouse_check_key_connect_vin_new 
+03f6 20400402 call p_mouse_dpi_another_state_check 
+03f7 6848cc1c fetcht 1 ,mem_dpi_another_button_gpio 
+03f8 20203f96 branch mouse_gpio_config_input_pu 
 
 p_mouse_dpi_another_down_new:
-03f6 20403f96 call mouse_gpio_config_input_pu 
-03f7 6fe0cc1e fetch 1 ,mem_dpi_another_button_state 
-03f8 c1008000 rtneq dpi_button_state_down 
-03f9 704c1e01 jam dpi_button_state_down ,mem_dpi_another_button_state 
-03fa 202040a9 branch mouse_dpi_process 
+03f9 20403f96 call mouse_gpio_config_input_pu 
+03fa 6fe0cc1e fetch 1 ,mem_dpi_another_button_state 
+03fb c1008000 rtneq dpi_button_state_down 
+03fc 704c1e01 jam dpi_button_state_down ,mem_dpi_another_button_state 
+03fd 202040a9 branch mouse_dpi_process 
 
 p_mouse_dpi_another_check:
-03fb 704c2000 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
-03fc 6848cc1c fetcht 1 ,mem_dpi_another_button_gpio 
-03fd 6fe0cc1d fetch 1 ,mem_dpi_another_press_status 
-03fe 2040040a call p_mouse_check_key_connect_gnd_new 
+03fe 704c2000 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
+03ff 6848cc1c fetcht 1 ,mem_dpi_another_button_gpio 
+0400 6fe0cc1d fetch 1 ,mem_dpi_another_press_status 
+0401 2040040d call p_mouse_check_key_connect_gnd_new 
 
 p_mouse_dpi_another_state_check:
-03ff 67e0cc1d store 1 ,mem_dpi_another_press_status 
-0400 6fe0cc1f fetch 1 ,mem_dpi_another_button_down_enable 
-0401 203a0406 branch p_mouse_dpi_another_up ,blank 
+0402 67e0cc1d store 1 ,mem_dpi_another_press_status 
+0403 6fe0cc1f fetch 1 ,mem_dpi_another_button_down_enable 
+0404 203a0409 branch p_mouse_dpi_another_up ,blank 
 
 p_mouse_dpi_another_down:
-0402 6fe0cc1e fetch 1 ,mem_dpi_another_button_state 
-0403 c1008000 rtneq dpi_button_state_down 
-0404 704c1e01 jam dpi_button_state_down ,mem_dpi_another_button_state 
-0405 202040a9 branch mouse_dpi_process 
+0405 6fe0cc1e fetch 1 ,mem_dpi_another_button_state 
+0406 c1008000 rtneq dpi_button_state_down 
+0407 704c1e01 jam dpi_button_state_down ,mem_dpi_another_button_state 
+0408 202040a9 branch mouse_dpi_process 
 
 p_mouse_dpi_another_up:
-0406 6fe0cc1e fetch 1 ,mem_dpi_another_button_state 
-0407 c1000000 rtneq dpi_button_state_up 
-0408 704c1e00 jam dpi_button_state_up ,mem_dpi_another_button_state 
-0409 20600000 rtn 
+0409 6fe0cc1e fetch 1 ,mem_dpi_another_button_state 
+040a c1000000 rtneq dpi_button_state_up 
+040b 704c1e00 jam dpi_button_state_up ,mem_dpi_another_button_state 
+040c 20600000 rtn 
 
 p_mouse_check_key_connect_gnd_new:
-040a 1fe3fe00 lshift pdata ,pdata 
-040b 1fe22400 copy pdata ,regb 
-040c 204060fd call gpio_get_bit 
-040d 7920a400 setflag true ,0 ,regb 
-040e 1a417e07 and regb ,0x07 ,pdata 
-040f 6848cc20 fetcht 1 ,mem_mouse_key_temp_patch 
-0410 18420e00 copy temp ,queue 
-0411 c003841f beq 0x07 ,p_mouse_key_press 
-0412 c0000421 beq 0x00 ,p_mouse_key_release 
-0413 20600000 rtn 
+040d 1fe3fe00 lshift pdata ,pdata 
+040e 1fe22400 copy pdata ,regb 
+040f 204060fd call gpio_get_bit 
+0410 7920a400 setflag true ,0 ,regb 
+0411 1a417e07 and regb ,0x07 ,pdata 
+0412 6848cc20 fetcht 1 ,mem_mouse_key_temp_patch 
+0413 18420e00 copy temp ,queue 
+0414 c0038422 beq 0x07 ,p_mouse_key_press 
+0415 c0000424 beq 0x00 ,p_mouse_key_release 
+0416 20600000 rtn 
 
 p_mouse_check_key_connect_vin_new:
-0414 1fe3fe00 lshift pdata ,pdata 
-0415 1fe22400 copy pdata ,regb 
-0416 20403f94 call mouse_gpio_config_input_pd 
-0417 204060fd call gpio_get_bit 
-0418 7920a400 setflag true ,0 ,regb 
-0419 1a417e07 and regb ,0x07 ,pdata 
-041a 6848cc20 fetcht 1 ,mem_mouse_key_temp_patch 
-041b 18420e00 copy temp ,queue 
-041c c003841f beq 0x07 ,p_mouse_key_press 
-041d c0000421 beq 0x00 ,p_mouse_key_release 
-041e 20600000 rtn 
+0417 1fe3fe00 lshift pdata ,pdata 
+0418 1fe22400 copy pdata ,regb 
+0419 20403f94 call mouse_gpio_config_input_pd 
+041a 204060fd call gpio_get_bit 
+041b 7920a400 setflag true ,0 ,regb 
+041c 1a417e07 and regb ,0x07 ,pdata 
+041d 6848cc20 fetcht 1 ,mem_mouse_key_temp_patch 
+041e 18420e00 copy temp ,queue 
+041f c0038422 beq 0x07 ,p_mouse_key_press 
+0420 c0000424 beq 0x00 ,p_mouse_key_release 
+0421 20600000 rtn 
 
 p_mouse_key_press:
-041f 704c1f01 jam 1 ,mem_dpi_another_button_down_enable 
-0420 20600000 rtn 
+0422 704c1f01 jam 1 ,mem_dpi_another_button_down_enable 
+0423 20600000 rtn 
 
 p_mouse_key_release:
-0421 704c1f00 jam 0 ,mem_dpi_another_button_down_enable 
-0422 20600000 rtn 
+0424 704c1f00 jam 0 ,mem_dpi_another_button_down_enable 
+0425 20600000 rtn 
 
 p_mouse_dpi_process_5_level:
-0423 18427e00 copy temp ,pdata 
-0424 1fe0fe01 increase 1 ,pdata 
-0425 1fe17e04 and pdata ,0x04 ,pdata 
-0426 20200433 branch p_mouse_dpi_store 
+0426 18427e00 copy temp ,pdata 
+0427 1fe0fe01 increase 1 ,pdata 
+0428 1fe67c04 sub pdata ,4 ,null 
+0429 2441042b ncall p_mouse_dpi_init ,positive 
+042a 20200439 branch p_mouse_dpi_store 
+
+p_mouse_dpi_init:
+042b 58000000 setarg 0 
+042c 20600000 rtn 
 
 p_mouse_dpi_process:
-0427 204040b2 call mouse_dpi_ghost_check 
-0428 20740000 rtn user 
-0429 6fe0c997 fetch 1 ,mem_mouse_dpi 
-042a 1fe20400 copy pdata ,temp 
-042b 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-042c c29e8436 bbit1 mouse_enable_double_dpi_key ,p_mouse_double_dpi_check 
-042d 6fe0c92c fetch 1 ,mem_config_sensor_type 
-042e c0060423 beq ka5857 ,p_mouse_dpi_process_5_level 
-042f c0018423 beq p3212 ,p_mouse_dpi_process_5_level 
-0430 18427e00 copy temp ,pdata 
-0431 1fe0fe01 increase 1 ,pdata 
-0432 1fe17e03 and pdata ,0x03 ,pdata 
+042d 204040b2 call mouse_dpi_ghost_check 
+042e 20740000 rtn user 
+042f 6fe0c997 fetch 1 ,mem_mouse_dpi 
+0430 1fe20400 copy pdata ,temp 
+0431 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0432 c29e843c bbit1 mouse_enable_double_dpi_key ,p_mouse_double_dpi_check 
+0433 6fe0c92c fetch 1 ,mem_config_sensor_type 
+0434 c0060426 beq ka5857 ,p_mouse_dpi_process_5_level 
+0435 c0018426 beq p3212 ,p_mouse_dpi_process_5_level 
+0436 18427e00 copy temp ,pdata 
+0437 1fe0fe01 increase 1 ,pdata 
+0438 1fe17e03 and pdata ,0x03 ,pdata 
 
 p_mouse_dpi_store:
-0433 67e0c997 store 1 ,mem_mouse_dpi 
-0434 204040d5 call mouse_seting_dpi 
-0435 2020462e branch mouse_store_device_info_delay 
+0439 67e0c997 store 1 ,mem_mouse_dpi 
+043a 204040d5 call mouse_seting_dpi 
+043b 2020462e branch mouse_store_device_info_delay 
 
 p_mouse_double_dpi_check:
-0436 6fe0cc1f fetch 1 ,mem_dpi_another_button_down_enable 
-0437 243a0453 nbranch p_mouse_another_dpi_button_down ,blank 
+043c 6fe0cc1f fetch 1 ,mem_dpi_another_button_down_enable 
+043d 243a0459 nbranch p_mouse_another_dpi_button_down ,blank 
 
 p_mouse_dpi_increase:
-0438 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-0439 c28e0447 bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_increase_level_4 
-043a 18427e00 copy temp ,pdata 
-043b c1008000 rtneq mouse_dpi_level2 
+043e 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+043f c28e044d bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_increase_level_4 
+0440 18427e00 copy temp ,pdata 
+0441 c1008000 rtneq mouse_dpi_level2 
 
 p_mouse_dpi_increase_level:
-043c c0000443 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
-043d c0010441 beq mouse_dpi_level3 ,p_mouse_dpi_level_2 
-043e 20600000 rtn 
+0442 c0000449 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
+0443 c0010447 beq mouse_dpi_level3 ,p_mouse_dpi_level_2 
+0444 20600000 rtn 
 
 p_mouse_dpi_level_1:
-043f 58000002 setarg 2 
-0440 20200433 branch p_mouse_dpi_store 
+0445 58000002 setarg 2 
+0446 20200439 branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_2:
-0441 58000000 setarg 0 
-0442 20200433 branch p_mouse_dpi_store 
+0447 58000000 setarg 0 
+0448 20200439 branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_3:
-0443 58000001 setarg 1 
-0444 20200433 branch p_mouse_dpi_store 
+0449 58000001 setarg 1 
+044a 20200439 branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_4:
-0445 58000003 setarg 3 
-0446 20200433 branch p_mouse_dpi_store 
+044b 58000003 setarg 3 
+044c 20200439 branch p_mouse_dpi_store 
 
 p_mouse_dpi_increase_level_4:
-0447 18427e00 copy temp ,pdata 
-0448 c1008000 rtneq mouse_dpi_level2 
-0449 c0000443 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
-044a c0010445 beq mouse_dpi_level3 ,p_mouse_dpi_level_4 
-044b c0018441 beq mouse_dpi_level4 ,p_mouse_dpi_level_2 
-044c 20600000 rtn 
-
-p_mouse_dpi_decrease_level_4:
 044d 18427e00 copy temp ,pdata 
-044e c1010000 rtneq mouse_dpi_level3 
-044f c0000445 beq mouse_dpi_level1 ,p_mouse_dpi_level_4 
-0450 c0008441 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
-0451 c001843f beq mouse_dpi_level4 ,p_mouse_dpi_level_1 
+044e c1008000 rtneq mouse_dpi_level2 
+044f c0000449 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
+0450 c001044b beq mouse_dpi_level3 ,p_mouse_dpi_level_4 
+0451 c0018447 beq mouse_dpi_level4 ,p_mouse_dpi_level_2 
 0452 20600000 rtn 
 
+p_mouse_dpi_decrease_level_4:
+0453 18427e00 copy temp ,pdata 
+0454 c1010000 rtneq mouse_dpi_level3 
+0455 c000044b beq mouse_dpi_level1 ,p_mouse_dpi_level_4 
+0456 c0008447 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
+0457 c0018445 beq mouse_dpi_level4 ,p_mouse_dpi_level_1 
+0458 20600000 rtn 
+
 p_mouse_another_dpi_button_down:
 
 p_mouse_dpi_decrease:
-0453 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-0454 c28e044d bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_decrease_level_4 
-0455 18427e00 copy temp ,pdata 
-0456 c1010000 rtneq mouse_dpi_level3 
+0459 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+045a c28e0453 bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_decrease_level_4 
+045b 18427e00 copy temp ,pdata 
+045c c1010000 rtneq mouse_dpi_level3 
 
 p_mouse_dpi_decrease_level:
-0457 c000043f beq mouse_dpi_level1 ,p_mouse_dpi_level_1 
-0458 c0008441 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
-0459 20600000 rtn 
+045d c0000445 beq mouse_dpi_level1 ,p_mouse_dpi_level_1 
+045e c0008447 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
+045f 20600000 rtn 
 
 p_mouse_seting_dpi:
-045a 204040cf call mouse_setting_dpi_4_level 
-045b 20400470 call p_mouse_dpi_led_blink_delay 
+0460 20400466 call p_mouse_setting_dpi_4_level 
+0461 2040047a call p_mouse_dpi_led_blink_delay 
 
 p_mouse_seting_sensor_type:
-045c 6fe0c92c fetch 1 ,mem_config_sensor_type 
-045d c0060460 beq ka5857 ,p_mouse_seting_3212_dpi 
-045e c0018460 beq p3212 ,p_mouse_seting_3212_dpi 
-045f 202040da branch mouse_seting_sensor_type + 2 
+0462 6fe0c92c fetch 1 ,mem_config_sensor_type 
+0463 c006046a beq ka5857 ,p_mouse_seting_3212_dpi 
+0464 c001846a beq p3212 ,p_mouse_seting_3212_dpi 
+0465 202040da branch mouse_seting_sensor_type + 2 
+
+p_mouse_setting_dpi_4_level:
+0466 6fe0c92c fetch 1 ,mem_config_sensor_type 
+0467 c1060000 rtneq ka5857 
+0468 c1018000 rtneq p3212 
+0469 202040cf branch mouse_setting_dpi_4_level 
 
 p_mouse_seting_3212_dpi:
-0460 6fe0c997 fetch 1 ,mem_mouse_dpi 
-0461 c0000468 beq mouse_dpi_level1 ,p_mouse_set_p3212_cpi0 
-0462 c0008466 beq mouse_dpi_level2 ,p_mouse_set_p3212_cpi1 
-0463 c001046a beq mouse_dpi_level3 ,p_mouse_set_p3212_cpi2 
-0464 c001846c beq mouse_dpi_level4 ,p_mouse_set_p3212_cpi3 
-0465 c002046e beq mouse_dpi_level5 ,p_mouse_set_p3212_cpi4 
+046a 6fe0c997 fetch 1 ,mem_mouse_dpi 
+046b c0000472 beq mouse_dpi_level1 ,p_mouse_set_p3212_cpi0 
+046c c0008470 beq mouse_dpi_level2 ,p_mouse_set_p3212_cpi1 
+046d c0010474 beq mouse_dpi_level3 ,p_mouse_set_p3212_cpi2 
+046e c0018476 beq mouse_dpi_level4 ,p_mouse_set_p3212_cpi3 
+046f c0020478 beq mouse_dpi_level5 ,p_mouse_set_p3212_cpi4 
 
 p_mouse_set_p3212_cpi1:
-0466 6fe0cccb fetch 1 ,mem_3212_dpi_1_new 
-0467 20204107 branch mouse_p3212_dpi 
+0470 6fe0cccb fetch 1 ,mem_3212_dpi_1_new 
+0471 20204107 branch mouse_p3212_dpi 
 
 p_mouse_set_p3212_cpi0:
-0468 6fe0ccca fetch 1 ,mem_3212_dpi_0_new 
-0469 20204107 branch mouse_p3212_dpi 
+0472 6fe0ccca fetch 1 ,mem_3212_dpi_0_new 
+0473 20204107 branch mouse_p3212_dpi 
 
 p_mouse_set_p3212_cpi2:
-046a 6fe0cccc fetch 1 ,mem_3212_dpi_2_new 
-046b 20204107 branch mouse_p3212_dpi 
+0474 6fe0cccc fetch 1 ,mem_3212_dpi_2_new 
+0475 20204107 branch mouse_p3212_dpi 
 
 p_mouse_set_p3212_cpi3:
-046c 6fe0cccd fetch 1 ,mem_3212_dpi_3_new 
-046d 20204107 branch mouse_p3212_dpi 
+0476 6fe0cccd fetch 1 ,mem_3212_dpi_3_new 
+0477 20204107 branch mouse_p3212_dpi 
 
 p_mouse_set_p3212_cpi4:
-046e 6fe0ccce fetch 1 ,mem_3212_dpi_4_new 
-046f 20204107 branch mouse_p3212_dpi 
+0478 6fe0ccce fetch 1 ,mem_3212_dpi_4_new 
+0479 20204107 branch mouse_p3212_dpi 
 
 p_mouse_dpi_led_blink_delay:
-0470 6fe0c928 fetch 1 ,mem_dpi_led_gpio 
-0471 c17f8000 rtneq gpio_disable 
-0472 6fe14ad3 fetch 2 ,mem_mouse_discovery_timer 
-0473 247a0000 nrtn blank 
-0474 6fe14887 fetch 2 ,mem_24g_pair_timeout 
-0475 247a0000 nrtn blank 
-0476 6fe1488b fetch 2 ,mem_24g_reconn_timeout 
-0477 247a0000 nrtn blank 
-0478 6fe0cbb8 fetch 1 ,mem_mouse_device_poweron_timer_count 
-0479 247a0000 nrtn blank 
-047a 6fe0cbd2 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
-047b 203a047e branch p_mouse_dpi_led_blink_init ,blank 
-047c 67e0cbb9 store 1 ,mem_mouse_dpi_led_delay_count 
-047d 20600000 rtn 
+047a 6fe0c928 fetch 1 ,mem_dpi_led_gpio 
+047b c17f8000 rtneq gpio_disable 
+047c 6fe14ad3 fetch 2 ,mem_mouse_discovery_timer 
+047d 247a0000 nrtn blank 
+047e 6fe14887 fetch 2 ,mem_24g_pair_timeout 
+047f 247a0000 nrtn blank 
+0480 6fe1488b fetch 2 ,mem_24g_reconn_timeout 
+0481 247a0000 nrtn blank 
+0482 6fe0cbb8 fetch 1 ,mem_mouse_device_poweron_timer_count 
+0483 247a0000 nrtn blank 
+0484 6fe0cbd2 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
+0485 203a0488 branch p_mouse_dpi_led_blink_init ,blank 
+0486 67e0cbb9 store 1 ,mem_mouse_dpi_led_delay_count 
+0487 20600000 rtn 
 
 p_mouse_dpi_led_blink_init:
-047e 6fe0c92c fetch 1 ,mem_config_sensor_type 
-047f c001c93f beq p3212 ,mouse_dpi_led_blink_init 
-0480 c005c93f beq ka8g2 ,mouse_dpi_led_blink_init 
-0481 6fe0c928 fetch 1 ,mem_dpi_led_gpio 
-0482 67e0c934 store 1 ,mem_mouse_struct_led_gpio 
-0483 6fe14bd3 fetch 2 ,mem_mouse_dpi_led_blink_time 
-0484 67e14935 store 2 ,mem_mouse_on_time 
-0485 67e14937 store 2 ,mem_mouse_off_time 
-0486 da200000 arg 0 ,rega 
-0487 6848c997 fetcht 1 ,mem_mouse_dpi 
-0488 18408402 increase 2 ,temp 
-0489 18467c03 sub temp ,3 ,null 
-048a 2041048d call p_mouse_dpi_led_blink_init_level_4 ,positive 
-048b 24410491 ncall p_mouse_dpi_led_blink_count_clean ,positive 
-048c 2020494c branch mouse_dpi_led_blink_init_end 
+0488 6fe0c92c fetch 1 ,mem_config_sensor_type 
+0489 c001c93f beq p3212 ,mouse_dpi_led_blink_init 
+048a c005c93f beq ka8g2 ,mouse_dpi_led_blink_init 
+048b 6fe0c928 fetch 1 ,mem_dpi_led_gpio 
+048c 67e0c934 store 1 ,mem_mouse_struct_led_gpio 
+048d 6fe14bd3 fetch 2 ,mem_mouse_dpi_led_blink_time 
+048e 67e14935 store 2 ,mem_mouse_on_time 
+048f 67e14937 store 2 ,mem_mouse_off_time 
+0490 da200000 arg 0 ,rega 
+0491 6848c997 fetcht 1 ,mem_mouse_dpi 
+0492 18408402 increase 2 ,temp 
+0493 18467c03 sub temp ,3 ,null 
+0494 20410497 call p_mouse_dpi_led_blink_init_level_4 ,positive 
+0495 2441049b ncall p_mouse_dpi_led_blink_count_clean ,positive 
+0496 2020494c branch mouse_dpi_led_blink_init_end 
 
 p_mouse_dpi_led_blink_init_level_4:
-048d 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-048e c40e0000 rtnbit0 mouse_enable_dpi_level_4 
-048f 18408401 increase 1 ,temp 
-0490 20600000 rtn 
+0497 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0498 c40e0000 rtnbit0 mouse_enable_dpi_level_4 
+0499 18408401 increase 1 ,temp 
+049a 20600000 rtn 
 
 p_mouse_dpi_led_blink_count_clean:
-0491 184085fd increase -3 ,temp 
-0492 20600000 rtn 
+049b 184085fd increase -3 ,temp 
+049c 20600000 rtn 
 
 p_mouse_priority_bb_event:
-0493 1a627e00 copy regc ,pdata 
-0494 c01e049f beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-0495 c01c8498 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
-0496 c01d04b0 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-0497 20204376 branch mouse_priority_bb_event + 2 
+049d 1a627e00 copy regc ,pdata 
+049e c01e04a9 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+049f c01c84a2 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
+04a0 c01d04ba beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+04a1 20204376 branch mouse_priority_bb_event + 2 
 
 p_mouse_24g_pairing_complete:
-0498 20400186 call p_mouse_soft_agc_disable 
-0499 2040011f call p_mouse_fetch_normal_tx_power 
-049a 20404584 call mouse_no_data_timer_init 
-049b d8e00001 arg mouse_24g_pairing_flag ,queue 
-049c 20404732 call mouse_disable_function_flag 
-049d 2040034b call p_mouse_device_poweron_led_config 
-049e 20204899 branch mouse_24g_pairing_complete + 3 
+04a2 20400186 call p_mouse_soft_agc_disable 
+04a3 2040011f call p_mouse_fetch_normal_tx_power 
+04a4 20404584 call mouse_no_data_timer_init 
+04a5 d8e00001 arg mouse_24g_pairing_flag ,queue 
+04a6 20404732 call mouse_disable_function_flag 
+04a7 2040034b call p_mouse_device_poweron_led_config 
+04a8 20204899 branch mouse_24g_pairing_complete + 3 
 
 p_mouse_24g_attempt_success:
-049f 6fe2483f fetch 4 ,mem_24g_addr 
-04a0 67e24895 store 4 ,mem_24g_receiver_addr 
-04a1 67e24998 store 4 ,mem_mouse_24g_addr 
-04a2 20402587 call g24_ch_syncword_crc8_init 
-04a3 2040034b call p_mouse_device_poweron_led_config 
-04a4 20404584 call mouse_no_data_timer_init 
-04a5 2040430a call mouse_init_sensor_reset 
-04a6 704abf00 jam 0 ,mem_mouse_long_mult_flag 
-04a7 7048a500 jam 0 ,mem_24g_conn_sm 
-04a8 70488f00 jam 0 ,mem_24g_reconn_type 
-04a9 6fe24895 fetch 4 ,mem_24g_receiver_addr 
-04aa 684a4891 fetcht 4 ,mem_24g_fast_conn_addr 
-04ab 98467c00 isub temp ,null 
-04ac 20628000 rtn zero 
-04ad 20400186 call p_mouse_soft_agc_disable 
-04ae 2040011f call p_mouse_fetch_normal_tx_power 
-04af 20204861 branch mouse_24g_first_store_reconn_info 
+04a9 6fe2483f fetch 4 ,mem_24g_addr 
+04aa 67e24895 store 4 ,mem_24g_receiver_addr 
+04ab 67e24998 store 4 ,mem_mouse_24g_addr 
+04ac 20402587 call g24_ch_syncword_crc8_init 
+04ad 2040034b call p_mouse_device_poweron_led_config 
+04ae 20404584 call mouse_no_data_timer_init 
+04af 2040430a call mouse_init_sensor_reset 
+04b0 704abf00 jam 0 ,mem_mouse_long_mult_flag 
+04b1 7048a500 jam 0 ,mem_24g_conn_sm 
+04b2 70488f00 jam 0 ,mem_24g_reconn_type 
+04b3 6fe24895 fetch 4 ,mem_24g_receiver_addr 
+04b4 684a4891 fetcht 4 ,mem_24g_fast_conn_addr 
+04b5 98467c00 isub temp ,null 
+04b6 20628000 rtn zero 
+04b7 20400186 call p_mouse_soft_agc_disable 
+04b8 2040011f call p_mouse_fetch_normal_tx_power 
+04b9 20204861 branch mouse_24g_first_store_reconn_info 
 
 p_mouse_24g_attempt_fail:
-04b0 20400186 call p_mouse_soft_agc_disable 
-04b1 2040011f call p_mouse_fetch_normal_tx_power 
-04b2 6fe0c8a9 fetch 1 ,mem_24g_attempt_fail_flag 
-04b3 243a04f1 nbranch p_mouse_24g_hibernate_set ,blank 
-04b4 6fe0c88f fetch 1 ,mem_24g_reconn_type 
-04b5 c00104d6 beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
-04b6 c00204ea beq pair_and_3_0_addr ,p_mouse_24g_auto_pair_attempt_fail 
-04b7 c00184fa beq receiver_and_3_0_addr ,p_mouse_reconn_dongle_attempt_fail 
-04b8 20204878 branch mouse_24g_attempt_fail_enter_hibernate 
+04ba 20400186 call p_mouse_soft_agc_disable 
+04bb 2040011f call p_mouse_fetch_normal_tx_power 
+04bc 6fe0c8a9 fetch 1 ,mem_24g_attempt_fail_flag 
+04bd 243a04fb nbranch p_mouse_24g_hibernate_set ,blank 
+04be 6fe0c88f fetch 1 ,mem_24g_reconn_type 
+04bf c00104e0 beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
+04c0 c00204f4 beq pair_and_3_0_addr ,p_mouse_24g_auto_pair_attempt_fail 
+04c1 c0018504 beq receiver_and_3_0_addr ,p_mouse_reconn_dongle_attempt_fail 
+04c2 20204878 branch mouse_24g_attempt_fail_enter_hibernate 
 
 p_g24_nodata_transmit:
-04b9 6fe0c8ab fetch 1 ,mem_24g_abort_pac 
-04ba 205a04c8 call p_g24_send_abort_packet ,blank 
-04bb 6fe0c8c1 fetch 1 ,mem_24g_transmit_by_interrupt 
-04bc c1008000 rtneq g24_tx_timer_int_enable 
-04bd 204026a6 call g24_search_receiver 
+04c3 6fe0c8ab fetch 1 ,mem_24g_abort_pac 
+04c4 205a04d2 call p_g24_send_abort_packet ,blank 
+04c5 6fe0c8c1 fetch 1 ,mem_24g_transmit_by_interrupt 
+04c6 c1008000 rtneq g24_tx_timer_int_enable 
+04c7 204026a6 call g24_search_receiver 
 
 p_g24_long_sleep:
-04be 204026c2 call g24_lpm_wait 
-04bf 24740000 nrtn user 
-04c0 204026cb call g24_setgpio_lpm_before 
-04c1 704c4d00 jam 0 ,mem_sleep_miss 
-04c2 704c4e01 jam 1 ,mem_long_sleep_flag 
-04c3 2040010a call p_send_time_long_wake 
-04c4 6fe0cbf2 fetch 1 ,mem_sensor_shutdown_flag 
-04c5 245a3e6a ncall mouse_setgpio_hibernate ,blank 
-04c6 6fe2485f fetch 4 ,mem_24g_enter_hibernate 
-04c7 202026bf branch g24_long_seep2 
+04c8 204026c2 call g24_lpm_wait 
+04c9 24740000 nrtn user 
+04ca 204026cb call g24_setgpio_lpm_before 
+04cb 704c4d00 jam 0 ,mem_sleep_miss 
+04cc 704c4e01 jam 1 ,mem_long_sleep_flag 
+04cd 2040010a call p_send_time_long_wake 
+04ce 6fe0cbf2 fetch 1 ,mem_sensor_shutdown_flag 
+04cf 245a3e6a ncall mouse_setgpio_hibernate ,blank 
+04d0 6fe2485f fetch 4 ,mem_24g_enter_hibernate 
+04d1 202026bf branch g24_long_seep2 
 
 p_g24_send_abort_packet:
-04c8 70483901 jam type_ms ,mem_24g_data_type 
-04c9 7048ab01 jam 1 ,mem_24g_abort_pac 
-04ca 20402649 call g24_transmit_rf_ctrl_clear 
-04cb 67e0c7c9 store 1 ,mem_24g_txbuf 
-04cc 58000000 setarg 0 
-04cd 67e3c7ca store 7 ,mem_24g_txbuf + 1 
-04ce 6fe248ad fetch 4 ,mem_24g_device_addr 
-04cf 67e247d1 store 4 ,mem_24g_txbuf + 8 
-04d0 7048380c jam 12 ,mem_24g_datalen 
-04d1 6fe0c839 fetch 1 ,mem_24g_data_type 
-04d2 79207e03 set1 bit_abort ,pdata 
-04d3 67e0c839 store 1 ,mem_24g_data_type 
-04d4 20402247 call g24_transmit_prep 
-04d5 2020018a branch p_g24_transmit_start 
+04d2 70483901 jam type_ms ,mem_24g_data_type 
+04d3 7048ab01 jam 1 ,mem_24g_abort_pac 
+04d4 20402649 call g24_transmit_rf_ctrl_clear 
+04d5 67e0c7c9 store 1 ,mem_24g_txbuf 
+04d6 58000000 setarg 0 
+04d7 67e3c7ca store 7 ,mem_24g_txbuf + 1 
+04d8 6fe248ad fetch 4 ,mem_24g_device_addr 
+04d9 67e247d1 store 4 ,mem_24g_txbuf + 8 
+04da 7048380c jam 12 ,mem_24g_datalen 
+04db 6fe0c839 fetch 1 ,mem_24g_data_type 
+04dc 79207e03 set1 bit_abort ,pdata 
+04dd 67e0c839 store 1 ,mem_24g_data_type 
+04de 20402247 call g24_transmit_prep 
+04df 2020018a branch p_g24_transmit_start 
 
 p_mouse_24g_fast_conn_attempt_fail:
-04d6 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-04d7 c29784df bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_start_auto_pair 
-04d8 c29804df bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_start_auto_pair 
-04d9 c31d4845 bbit0 mouse_enable_24g_auto_pair_nerver_been_paired ,mouse_24g_reconn_dongle_start 
-04da 6fe24998 fetch 4 ,mem_mouse_24g_addr 
-04db 684a4979 fetcht 4 ,mem_mouse_compare_addr_ff 
-04dc 98467c00 isub temp ,null 
-04dd 202284e1 branch p_mouse_24g_start_pair_mode ,zero 
-04de 20204845 branch mouse_24g_reconn_dongle_start 
+04e0 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+04e1 c29784e9 bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_start_auto_pair 
+04e2 c29804e9 bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_start_auto_pair 
+04e3 c31d4845 bbit0 mouse_enable_24g_auto_pair_nerver_been_paired ,mouse_24g_reconn_dongle_start 
+04e4 6fe24998 fetch 4 ,mem_mouse_24g_addr 
+04e5 684a4979 fetcht 4 ,mem_mouse_compare_addr_ff 
+04e6 98467c00 isub temp ,null 
+04e7 202284eb branch p_mouse_24g_start_pair_mode ,zero 
+04e8 20204845 branch mouse_24g_reconn_dongle_start 
 
 p_mouse_24g_start_auto_pair:
-04df 2040034e call p_mouse_device_discover_led_config 
-04e0 20204851 branch mouse_24g_start_auto_pair + 1 
+04e9 2040034e call p_mouse_device_discover_led_config 
+04ea 20204851 branch mouse_24g_start_auto_pair + 1 
 
 p_mouse_24g_start_pair_mode:
-04e1 70488f00 jam 0 ,mem_24g_reconn_type 
-04e2 d8e00001 arg mouse_24g_pairing_flag ,queue 
-04e3 2040472e call mouse_enable_function_flag 
-04e4 58000000 setarg 0 
-04e5 67e1488b store 2 ,mem_24g_reconn_timeout 
-04e6 204045b6 call mouse_stop_discovery 
-04e7 204049db call mouse_low_voltage_led_blink_disable 
-04e8 2040034e call p_mouse_device_discover_led_config 
-04e9 2020486d branch mouse_24g_start_pair_mode + 7 
+04eb 70488f00 jam 0 ,mem_24g_reconn_type 
+04ec d8e00001 arg mouse_24g_pairing_flag ,queue 
+04ed 2040472e call mouse_enable_function_flag 
+04ee 58000000 setarg 0 
+04ef 67e1488b store 2 ,mem_24g_reconn_timeout 
+04f0 204045b6 call mouse_stop_discovery 
+04f1 204049db call mouse_low_voltage_led_blink_disable 
+04f2 2040034e call p_mouse_device_discover_led_config 
+04f3 2020486d branch mouse_24g_start_pair_mode + 7 
 
 p_mouse_24g_auto_pair_attempt_fail:
-04ea 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-04eb c317c878 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
-04ec 6fe0cbc5 fetch 1 ,mem_device_number 
-04ed c000c878 beq 1 ,mouse_24g_attempt_fail_enter_hibernate 
-04ee 20204859 branch mouse_24g_first_bluetooth_reconnect 
+04f4 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+04f5 c317c878 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
+04f6 6fe0cbc5 fetch 1 ,mem_device_number 
+04f7 c000c878 beq 1 ,mouse_24g_attempt_fail_enter_hibernate 
+04f8 20204859 branch mouse_24g_first_bluetooth_reconnect 
 
 p_mouse_24g_attempt_fail_enter_hibernate:
-04ef 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-04f0 c31e4878 bbit0 mouse_enable_wheel_wake_up_cancel ,mouse_24g_attempt_fail_enter_hibernate 
+04f9 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+04fa c31e4878 bbit0 mouse_enable_wheel_wake_up_cancel ,mouse_24g_attempt_fail_enter_hibernate 
 
 p_mouse_24g_hibernate_set:
-04f1 7048a900 jam 0 ,mem_24g_attempt_fail_flag 
-04f2 20402659 call g24_transmit_next_packet 
-04f3 5fffffff setarg -1 
-04f4 67e2485f store 4 ,mem_24g_enter_hibernate 
-04f5 58000000 setarg 0 
-04f6 67e3c8d4 store 7 ,mem_mouse_key 
-04f7 704bf201 jam 1 ,mem_sensor_shutdown_flag 
-04f8 20400382 call p_mouse_sensor_powerdown 
-04f9 202004be branch p_g24_long_sleep 
+04fb 7048a900 jam 0 ,mem_24g_attempt_fail_flag 
+04fc 20402659 call g24_transmit_next_packet 
+04fd 5fffffff setarg -1 
+04fe 67e2485f store 4 ,mem_24g_enter_hibernate 
+04ff 58000000 setarg 0 
+0500 67e3c8d4 store 7 ,mem_mouse_key 
+0501 704bf201 jam 1 ,mem_sensor_shutdown_flag 
+0502 20400385 call p_mouse_sensor_powerdown 
+0503 202004c8 branch p_g24_long_sleep 
 
 p_mouse_reconn_dongle_attempt_fail:
-04fa 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-04fb c317c878 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
-04fc c289c878 bbit1 mouse_enable_eeprom ,mouse_24g_attempt_fail_enter_hibernate 
-04fd c2894878 bbit1 mouse_enable_flash ,mouse_24g_attempt_fail_enter_hibernate 
-04fe 20204851 branch mouse_24g_start_auto_pair + 1 
+0504 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0505 c317c878 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
+0506 c289c878 bbit1 mouse_enable_eeprom ,mouse_24g_attempt_fail_enter_hibernate 
+0507 c2894878 bbit1 mouse_enable_flash ,mouse_24g_attempt_fail_enter_hibernate 
+0508 20204851 branch mouse_24g_start_auto_pair + 1 
 
 p_g24_dispatch:
-04ff c513a3e1 bmark1 mark_24g_rxmode ,g24_receive_dispatch 
+0509 c513a3e1 bmark1 mark_24g_rxmode ,g24_receive_dispatch 
 
 p_g24_transmit_dispatch:
-0500 c6930000 rtnmark0 mark_24g 
-0501 6fe0c8a5 fetch 1 ,mem_24g_conn_sm 
-0502 20202624 branch g24_transmit_dispatch + 2 
+050a c6930000 rtnmark0 mark_24g 
+050b 6fe0c8a5 fetch 1 ,mem_24g_conn_sm 
+050c 20202624 branch g24_transmit_dispatch + 2 
 
 p_g24_transmit_by_interrupt:
-0503 204022a0 call g24_timer_check 
-0504 24340500 nbranch p_g24_transmit_dispatch ,user 
-0505 204026e2 call g24_interval_calibrate 
-0506 6fe148c2 fetch 2 ,mem_24g_transmit_by_interrupt_exit_count 
-0507 1fe0fe01 increase 1 ,pdata 
-0508 67e148c2 store 2 ,mem_24g_transmit_by_interrupt_exit_count 
-0509 20202628 branch g24_transmit_no_interrupt 
+050d 204022a0 call g24_timer_check 
+050e 2434050a nbranch p_g24_transmit_dispatch ,user 
+050f 204026e2 call g24_interval_calibrate 
+0510 6fe148c2 fetch 2 ,mem_24g_transmit_by_interrupt_exit_count 
+0511 1fe0fe01 increase 1 ,pdata 
+0512 67e148c2 store 2 ,mem_24g_transmit_by_interrupt_exit_count 
+0513 20202628 branch g24_transmit_no_interrupt 
 
 p_g24_pair_dispatch:
-050a 70488f00 jam default_24g_device ,mem_24g_reconn_type 
-050b 6fe14bfd fetch 2 ,mem_24g_pair_count 
-050c 1fe0fe01 increase 1 ,pdata 
-050d 67e14bfd store 2 ,mem_24g_pair_count 
-050e 6fe0cbfd fetch 1 ,mem_24g_pair_count 
-050f 1fe17eff and pdata ,0xff ,pdata 
-0510 c0000512 beq 0 ,p_g24_pair_dispatch2 
-0511 20600000 rtn 
+0514 70488f00 jam default_24g_device ,mem_24g_reconn_type 
+0515 6fe14bfd fetch 2 ,mem_24g_pair_count 
+0516 1fe0fe01 increase 1 ,pdata 
+0517 67e14bfd store 2 ,mem_24g_pair_count 
+0518 6fe0cbfd fetch 1 ,mem_24g_pair_count 
+0519 1fe17eff and pdata ,0xff ,pdata 
+051a c000051c beq 0 ,p_g24_pair_dispatch2 
+051b 20600000 rtn 
 
 p_g24_pair_dispatch2:
-0512 6fe0c883 fetch 1 ,mem_24g_pair_sm 
-0513 c07fa344 beq state_24g_pairing_success ,g24_pair_exit 
-0514 c0008519 beq state_24g_pairing_1 ,p_g24_pair_sm_1 
-0515 c001051b beq state_24g_pairing_2 ,p_g24_pair_sm_2 
-0516 c0018521 beq state_24g_pairing_3 ,p_g24_pair_sm_3 
-0517 c0020527 beq state_24g_pairing_4 ,p_g24_pair_sm_4 
-0518 20600000 rtn 
+051c 6fe0c883 fetch 1 ,mem_24g_pair_sm 
+051d c07fa344 beq state_24g_pairing_success ,g24_pair_exit 
+051e c0008523 beq state_24g_pairing_1 ,p_g24_pair_sm_1 
+051f c0010525 beq state_24g_pairing_2 ,p_g24_pair_sm_2 
+0520 c001852b beq state_24g_pairing_3 ,p_g24_pair_sm_3 
+0521 c0020531 beq state_24g_pairing_4 ,p_g24_pair_sm_4 
+0522 20600000 rtn 
 
 p_g24_pair_sm_1:
-0519 7047c9ff jam datatype_attemp ,mem_24g_txbuf 
-051a 20200528 branch p_g24_pair_sm_prep 
+0523 7047c9ff jam datatype_attemp ,mem_24g_txbuf 
+0524 20200532 branch p_g24_pair_sm_prep 
 
 p_g24_pair_sm_2:
-051b 6fe0c85e fetch 1 ,mem_24g_pair_switch 
-051c 203a051f branch p_g24_pair_sm_2_skip ,blank 
-051d 6fe248ad fetch 4 ,mem_24g_device_addr 
-051e 20402292 call g24_update_addr_and_synccrc8 
+0525 6fe0c85e fetch 1 ,mem_24g_pair_switch 
+0526 203a0529 branch p_g24_pair_sm_2_skip ,blank 
+0527 6fe248ad fetch 4 ,mem_24g_device_addr 
+0528 20402292 call g24_update_addr_and_synccrc8 
 
 p_g24_pair_sm_2_skip:
-051f 7047c9aa jam datatype_bind ,mem_24g_txbuf 
-0520 20200528 branch p_g24_pair_sm_prep 
+0529 7047c9aa jam datatype_bind ,mem_24g_txbuf 
+052a 20200532 branch p_g24_pair_sm_prep 
 
 p_g24_pair_sm_3:
-0521 7047c955 jam datatype_config ,mem_24g_txbuf 
-0522 6fe0c85e fetch 1 ,mem_24g_pair_switch 
-0523 203a0528 branch p_g24_pair_sm_prep ,blank 
-0524 6fe24895 fetch 4 ,mem_24g_receiver_addr 
-0525 67e247cb store 4 ,mem_24g_txbuf + 2 
-0526 2020052a branch p_g24_pair_sm_common 
+052b 7047c955 jam datatype_config ,mem_24g_txbuf 
+052c 6fe0c85e fetch 1 ,mem_24g_pair_switch 
+052d 203a0532 branch p_g24_pair_sm_prep ,blank 
+052e 6fe24895 fetch 4 ,mem_24g_receiver_addr 
+052f 67e247cb store 4 ,mem_24g_txbuf + 2 
+0530 20200534 branch p_g24_pair_sm_common 
 
 p_g24_pair_sm_4:
-0527 7047c922 jam datatype_ok ,mem_24g_txbuf 
+0531 7047c922 jam datatype_ok ,mem_24g_txbuf 
 
 p_g24_pair_sm_prep:
-0528 6fe248ad fetch 4 ,mem_24g_device_addr 
-0529 67e247cb store 4 ,mem_24g_txbuf + 2 
+0532 6fe248ad fetch 4 ,mem_24g_device_addr 
+0533 67e247cb store 4 ,mem_24g_txbuf + 2 
 
 p_g24_pair_sm_common:
-052a 6fe0c839 fetch 1 ,mem_24g_data_type 
-052b 1fe17e07 and_into bits_data ,pdata 
-052c 67e0c7ca store 1 ,mem_24g_txbuf + 1 
-052d 7047cf00 jam 0 ,mem_24g_txbuf + 6 
-052e 70483807 jam 7 ,mem_24g_datalen 
-052f 20402247 call g24_transmit_prep 
-0530 20400227 call p_g24_transmit_receive_ack 
-0531 20202316 branch g24_pair_sm_common + 7 
+0534 6fe0c839 fetch 1 ,mem_24g_data_type 
+0535 1fe17e07 and_into bits_data ,pdata 
+0536 67e0c7ca store 1 ,mem_24g_txbuf + 1 
+0537 7047cf00 jam 0 ,mem_24g_txbuf + 6 
+0538 70483807 jam 7 ,mem_24g_datalen 
+0539 20402247 call g24_transmit_prep 
+053a 20400227 call p_g24_transmit_receive_ack 
+053b 20202316 branch g24_pair_sm_common + 7 
 
 p_g24_pair_sm_common_next:
-0532 6fe0c883 fetch 1 ,mem_24g_pair_sm 
-0533 c17f8000 rtneq state_24g_pairing_success 
-0534 c0010536 beq state_24g_pairing_2 ,p_g24_pair_sm_2_waiting_ack 
-0535 2020231d branch g24_pair_sm_common_next + 2 
+053c 6fe0c883 fetch 1 ,mem_24g_pair_sm 
+053d c17f8000 rtneq state_24g_pairing_success 
+053e c0010540 beq state_24g_pairing_2 ,p_g24_pair_sm_2_waiting_ack 
+053f 2020231d branch g24_pair_sm_common_next + 2 
 
 p_g24_pair_sm_2_waiting_ack:
-0536 6fe0c85e fetch 1 ,mem_24g_pair_switch 
-0537 203a232d branch g24_pair_sm_2_waiting_ack_skip ,blank 
-0538 6fe2480f fetch 4 ,mem_24g_rxpayload + 2 
-0539 207a0000 rtn blank 
-053a 67e24895 store 4 ,mem_24g_receiver_addr 
-053b 2020232d branch g24_pair_sm_2_waiting_ack_skip 
+0540 6fe0c85e fetch 1 ,mem_24g_pair_switch 
+0541 203a232d branch g24_pair_sm_2_waiting_ack_skip ,blank 
+0542 6fe2480f fetch 4 ,mem_24g_rxpayload + 2 
+0543 207a0000 rtn blank 
+0544 67e24895 store 4 ,mem_24g_receiver_addr 
+0545 2020232d branch g24_pair_sm_2_waiting_ack_skip 
 
 p_g24_reconn_dispatch:
-053c 6fe1488d fetch 2 ,mem_24g_reconn_count 
-053d d84001f8 arg 0x01f8 ,temp 
-053e 98417e00 iand temp ,pdata 
-053f 203a0544 branch p_g24_reconn_dispatch_next ,blank 
-0540 6fe1488d fetch 2 ,mem_24g_reconn_count 
-0541 1fe0fe01 increase 1 ,pdata 
-0542 67e1488d store 2 ,mem_24g_reconn_count 
-0543 20600000 rtn 
+0546 6fe1488d fetch 2 ,mem_24g_reconn_count 
+0547 d84001f8 arg 0x01f8 ,temp 
+0548 98417e00 iand temp ,pdata 
+0549 203a054e branch p_g24_reconn_dispatch_next ,blank 
+054a 6fe1488d fetch 2 ,mem_24g_reconn_count 
+054b 1fe0fe01 increase 1 ,pdata 
+054c 67e1488d store 2 ,mem_24g_reconn_count 
+054d 20600000 rtn 
 
 p_g24_reconn_dispatch_next:
-0544 204025a3 call g24_reconn_data_prep 
-0545 20400227 call p_g24_transmit_receive_ack 
-0546 242c055d nbranch p_g24_reconn_device_fail ,sync 
-0547 2437855d nbranch p_g24_reconn_device_fail ,user3 
-0548 20402679 call g24_ackpayload_parse 
-0549 6fe2487b fetch 4 ,mem_24g_pair_addr 
-054a 684a483f fetcht 4 ,mem_24g_addr 
-054b 98467c00 isub temp ,null 
-054c 2022a2e4 branch g24_pair_start ,zero 
-054d 6fe248ad fetch 4 ,mem_24g_device_addr 
-054e 684a483f fetcht 4 ,mem_24g_addr 
-054f 98467c00 isub temp ,null 
-0550 20428559 call p_g24_store_receiver_addr ,zero 
-0551 6fe0c8a5 fetch 1 ,mem_24g_conn_sm 
-0552 793ffe02 set0 state_24g_reconn ,pdata 
-0553 67e0c8a5 store 1 ,mem_24g_conn_sm 
-0554 58000000 setarg 0 
-0555 67e14887 store 2 ,mem_24g_pair_timeout 
-0556 67e1488d store 2 ,mem_24g_reconn_count 
-0557 67e1488b store 2 ,mem_24g_reconn_timeout 
-0558 2020259e branch g24_reconn_attempt_success 
+054e 204025a3 call g24_reconn_data_prep 
+054f 20400227 call p_g24_transmit_receive_ack 
+0550 242c0567 nbranch p_g24_reconn_device_fail ,sync 
+0551 24378567 nbranch p_g24_reconn_device_fail ,user3 
+0552 20402679 call g24_ackpayload_parse 
+0553 6fe2487b fetch 4 ,mem_24g_pair_addr 
+0554 684a483f fetcht 4 ,mem_24g_addr 
+0555 98467c00 isub temp ,null 
+0556 2022a2e4 branch g24_pair_start ,zero 
+0557 6fe248ad fetch 4 ,mem_24g_device_addr 
+0558 684a483f fetcht 4 ,mem_24g_addr 
+0559 98467c00 isub temp ,null 
+055a 20428563 call p_g24_store_receiver_addr ,zero 
+055b 6fe0c8a5 fetch 1 ,mem_24g_conn_sm 
+055c 793ffe02 set0 state_24g_reconn ,pdata 
+055d 67e0c8a5 store 1 ,mem_24g_conn_sm 
+055e 58000000 setarg 0 
+055f 67e14887 store 2 ,mem_24g_pair_timeout 
+0560 67e1488d store 2 ,mem_24g_reconn_count 
+0561 67e1488b store 2 ,mem_24g_reconn_timeout 
+0562 2020259e branch g24_reconn_attempt_success 
 
 p_g24_store_receiver_addr:
-0559 6fe2480f fetch 4 ,mem_24g_rxpayload + 2 
-055a 207a0000 rtn blank 
-055b 67e24895 store 4 ,mem_24g_receiver_addr 
-055c 20202587 branch g24_ch_syncword_crc8_init 
+0563 6fe2480f fetch 4 ,mem_24g_rxpayload + 2 
+0564 207a0000 rtn blank 
+0565 67e24895 store 4 ,mem_24g_receiver_addr 
+0566 20202587 branch g24_ch_syncword_crc8_init 
 
 p_g24_reconn_device_fail:
-055d 6fe0c890 fetch 1 ,mem_24g_fast_conn_enable 
-055e 203a2281 branch g24_ch ,blank 
-055f 6fe1488d fetch 2 ,mem_24g_reconn_count 
-0560 1fe0fe01 increase 1 ,pdata 
-0561 67e1488d store 2 ,mem_24g_reconn_count 
-0562 2feffe09 isolate1 9 ,pdata 
-0563 6fe0c88f fetch 1 ,mem_24g_reconn_type 
-0564 c0020566 beq pair_and_3_0_addr ,p_g24_reconn_pair_and_3_0 
-0565 202025b1 branch g24_reconn_device_fail + 7 
+0567 6fe0c890 fetch 1 ,mem_24g_fast_conn_enable 
+0568 203a2281 branch g24_ch ,blank 
+0569 6fe1488d fetch 2 ,mem_24g_reconn_count 
+056a 1fe0fe01 increase 1 ,pdata 
+056b 67e1488d store 2 ,mem_24g_reconn_count 
+056c 2feffe09 isolate1 9 ,pdata 
+056d 6fe0c88f fetch 1 ,mem_24g_reconn_type 
+056e c0020570 beq pair_and_3_0_addr ,p_g24_reconn_pair_and_3_0 
+056f 202025b1 branch g24_reconn_device_fail + 7 
 
 p_g24_reconn_pair_and_3_0:
-0566 2020a57e branch g24_reconn_device_3_0_addr ,true 
-0567 202022ef branch g24_pair_init_param 
+0570 2020a57e branch g24_reconn_device_3_0_addr ,true 
+0571 202022ef branch g24_pair_init_param 
 
 p_g24_lpm_wait:
-0568 6fe0cbbb fetch 1 ,mem_24g_device_led_status 
-0569 243a7ec7 nbranch disable_user ,blank 
-056a 78347c00 enable user 
-056b 20401436 call lpo_calibration 
-056c 6fe1c174 fetch 3 ,mem_clks_per_lpo 
-056d 203a7ec7 branch disable_user ,blank 
-056e 6fe0c099 fetch 1 ,mem_lpm_mode 
-056f 203a7ec7 branch disable_user ,blank 
-0570 6fe0c8c1 fetch 1 ,mem_24g_transmit_by_interrupt 
-0571 c000fec7 beq g24_tx_timer_int_enable ,disable_user 
-0572 20600000 rtn 
+0572 6fe0cbbb fetch 1 ,mem_24g_device_led_status 
+0573 243a7ec7 nbranch disable_user ,blank 
+0574 78347c00 enable user 
+0575 20401436 call lpo_calibration 
+0576 6fe1c174 fetch 3 ,mem_clks_per_lpo 
+0577 203a7ec7 branch disable_user ,blank 
+0578 6fe0c099 fetch 1 ,mem_lpm_mode 
+0579 203a7ec7 branch disable_user ,blank 
+057a 6fe0c8c1 fetch 1 ,mem_24g_transmit_by_interrupt 
+057b c000fec7 beq g24_tx_timer_int_enable ,disable_user 
+057c 20600000 rtn 
 
 p_ui_timer_check:
-0573 6fe0cbf4 fetch 1 ,mem_power_on_flag 
-0574 245a78cc ncall ui_timer_init ,blank 
-0575 704bf400 jam 0 ,mem_power_on_flag 
-0576 202078bc branch ui_timer_check + 1 
+057d 6fe0cbf4 fetch 1 ,mem_power_on_flag 
+057e 245a78cc ncall ui_timer_init ,blank 
+057f 704bf400 jam 0 ,mem_power_on_flag 
+0580 202078bc branch ui_timer_check + 1 
 
 p_le_enable_phy_by_pdata:
-0577 18427e00 copy temp ,pdata 
-0578 c2801651 bbit1 bit_le_1m_phy ,le_enable 
-0579 c280857b bbit1 bit_le_2m_phy ,p_le_enable_2m 
-057a 2020163c branch le_enable_phy_by_pdata + 5 
+0581 18427e00 copy temp ,pdata 
+0582 c2801651 bbit1 bit_le_1m_phy ,le_enable 
+0583 c2808585 bbit1 bit_le_2m_phy ,p_le_enable_2m 
+0584 2020163c branch le_enable_phy_by_pdata + 5 
 
 p_le_enable_2m:
-057b 20401640 call le_enable_2m 
-057c 708a6d89 jam 0x89 ,core_rx_bq_cfg0 
-057d 20600000 rtn 
+0585 20401640 call le_enable_2m 
+0586 708a6d89 jam 0x89 ,core_rx_bq_cfg0 
+0587 20600000 rtn 
 
 p_mouse_motion:
-057e 78547c00 disable user 
-057f 58000000 setarg 0 
-0580 67e348d5 store 6 ,mem_mouse_x 
-0581 2040058e call p_mouse_check_sensor_data 
-0582 58000089 setarg 0x0089 
-0583 20405d5e call twspi_write 
-0584 204040ce call mouse_dpi_config 
-0585 20403fbe call mouse_zwheel 
-0586 20403fc3 call mouse_t_zwheel 
-0587 20400596 call p_mouse_key 
-0588 6fe0c8d4 fetch 1 ,mem_mouse_key 
-0589 1fe17e1f and_into 0x1f ,pdata 
-058a 67e0c8d4 store 1 ,mem_mouse_key 
-058b 24344766 nbranch mouse_drawing_optima_init ,user 
-058c 20400593 call p_mouse_drawing_optima 
-058d 20204584 branch mouse_no_data_timer_init 
+0588 78547c00 disable user 
+0589 58000000 setarg 0 
+058a 67e348d5 store 6 ,mem_mouse_x 
+058b 20400598 call p_mouse_check_sensor_data 
+058c 58000089 setarg 0x0089 
+058d 20405d5e call twspi_write 
+058e 20400381 call p_mouse_dpi_config 
+058f 20403fbe call mouse_zwheel 
+0590 20403fc3 call mouse_t_zwheel 
+0591 204005a0 call p_mouse_key 
+0592 6fe0c8d4 fetch 1 ,mem_mouse_key 
+0593 1fe17e1f and_into 0x1f ,pdata 
+0594 67e0c8d4 store 1 ,mem_mouse_key 
+0595 24344766 nbranch mouse_drawing_optima_init ,user 
+0596 2040059d call p_mouse_drawing_optima 
+0597 20204584 branch mouse_no_data_timer_init 
 
 p_mouse_check_sensor_data:
-058e 6fe0c4ae fetch 1 ,mem_spi_write_flash_sm 
-058f c1800000 rtnne flash_sm_no_buys 
-0590 6fe0c92c fetch 1 ,mem_config_sensor_type 
-0591 c00642b0 beq ka5857 ,mouse_p3212_sensor_motion 
-0592 20204283 branch mouse_check_sensor_data + 3 
+0598 6fe0c4ae fetch 1 ,mem_spi_write_flash_sm 
+0599 c1800000 rtnne flash_sm_no_buys 
+059a 6fe0c92c fetch 1 ,mem_config_sensor_type 
+059b c00642b0 beq ka5857 ,mouse_p3212_sensor_motion 
+059c 20204283 branch mouse_check_sensor_data + 3 
 
 p_mouse_drawing_optima:
-0593 6fe0c92c fetch 1 ,mem_config_sensor_type 
-0594 c1018000 rtneq p3212 
-0595 20204758 branch mouse_drawing_optima 
+059d 6fe0c92c fetch 1 ,mem_config_sensor_type 
+059e c1018000 rtneq p3212 
+059f 20204758 branch mouse_drawing_optima 
 
 p_mouse_key:
-0596 20400598 call p_mouse_check_key_gpio 
-0597 2020411d branch mouse_key + 1 
+05a0 204005a2 call p_mouse_check_key_gpio 
+05a1 2020411d branch mouse_key + 1 
 
 p_mouse_check_key_gpio:
-0598 6fe0cbf2 fetch 1 ,mem_sensor_shutdown_flag 
-0599 245a4161 ncall mouse_check_key_gpio_once ,blank 
-059a da200000 arg 0 ,rega 
-059b 2040059f call p_mouse_check_lkey_gpio 
-059c 204005ae call p_mouse_check_bkkey_gpio 
-059d 204005bb call p_mouse_check_fwkey_gpio 
-059e 2020415e branch mouse_check_key_gpio_next 
+05a2 6fe0cbf2 fetch 1 ,mem_sensor_shutdown_flag 
+05a3 245a4161 ncall mouse_check_key_gpio_once ,blank 
+05a4 da200000 arg 0 ,rega 
+05a5 204005a9 call p_mouse_check_lkey_gpio 
+05a6 204005b8 call p_mouse_check_bkkey_gpio 
+05a7 204005c5 call p_mouse_check_fwkey_gpio 
+05a8 2020415e branch mouse_check_key_gpio_next 
 
 p_mouse_check_lkey_gpio:
-059f 6fe0c91c fetch 1 ,mem_lbutton_gpio 
-05a0 204005c8 call p_mouse_gpio_config_output_high 
-05a1 20404164 call mouse_check_lkey_gpio 
-05a2 6848c91c fetcht 1 ,mem_lbutton_gpio 
-05a3 20403f96 call mouse_gpio_config_input_pu 
+05a9 6fe0c91c fetch 1 ,mem_lbutton_gpio 
+05aa 204005d2 call p_mouse_gpio_config_output_high 
+05ab 20404164 call mouse_check_lkey_gpio 
+05ac 6848c91c fetcht 1 ,mem_lbutton_gpio 
+05ad 20403f96 call mouse_gpio_config_input_pu 
 
 p_mouse_check_rkey_gpio:
-05a4 6fe0c91d fetch 1 ,mem_rbutton_gpio 
-05a5 204005c8 call p_mouse_gpio_config_output_high 
-05a6 2040416a call mouse_check_rkey_gpio 
-05a7 6848c91d fetcht 1 ,mem_rbutton_gpio 
-05a8 20403f96 call mouse_gpio_config_input_pu 
+05ae 6fe0c91d fetch 1 ,mem_rbutton_gpio 
+05af 204005d2 call p_mouse_gpio_config_output_high 
+05b0 2040416a call mouse_check_rkey_gpio 
+05b1 6848c91d fetcht 1 ,mem_rbutton_gpio 
+05b2 20403f96 call mouse_gpio_config_input_pu 
 
 p_mouse_check_mkey_gpio:
-05a9 6fe0c91e fetch 1 ,mem_mbutton_gpio 
-05aa 204005c8 call p_mouse_gpio_config_output_high 
-05ab 20404170 call mouse_check_mkey_gpio 
-05ac 6848c91e fetcht 1 ,mem_mbutton_gpio 
-05ad 20203f96 branch mouse_gpio_config_input_pu 
+05b3 6fe0c91e fetch 1 ,mem_mbutton_gpio 
+05b4 204005d2 call p_mouse_gpio_config_output_high 
+05b5 20404170 call mouse_check_mkey_gpio 
+05b6 6848c91e fetcht 1 ,mem_mbutton_gpio 
+05b7 20203f96 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_bkkey_gpio:
-05ae 6fe0c911 fetch 1 ,mem_bk_button_gpio 
-05af c17f8000 rtneq gpio_disable 
-05b0 704ba703 jam mouse_bk_key ,mem_mouse_key_temp 
-05b1 6fe0cba2 fetch 1 ,mem_mouse_bkkey_press_status 
-05b2 1fe22600 copy pdata ,regc 
-05b3 6848c911 fetcht 1 ,mem_bk_button_gpio 
-05b4 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
-05b5 c07f85b7 beq gpio_disable ,p_mouse_3io6key_bk_check 
-05b6 2020417e branch mouse_check_bkkey_gpio_next 
+05b8 6fe0c911 fetch 1 ,mem_bk_button_gpio 
+05b9 c17f8000 rtneq gpio_disable 
+05ba 704ba703 jam mouse_bk_key ,mem_mouse_key_temp 
+05bb 6fe0cba2 fetch 1 ,mem_mouse_bkkey_press_status 
+05bc 1fe22600 copy pdata ,regc 
+05bd 6848c911 fetcht 1 ,mem_bk_button_gpio 
+05be 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
+05bf c07f85c1 beq gpio_disable ,p_mouse_3io6key_bk_check 
+05c0 2020417e branch mouse_check_bkkey_gpio_next 
 
 p_mouse_3io6key_bk_check:
-05b7 6fe0c911 fetch 1 ,mem_bk_button_gpio 
-05b8 204005cb call p_mouse_gpio_config_output_low 
-05b9 6848c911 fetcht 1 ,mem_bk_button_gpio 
-05ba 2020418b branch mouse_3io6key_bk_check 
+05c1 6fe0c911 fetch 1 ,mem_bk_button_gpio 
+05c2 204005d5 call p_mouse_gpio_config_output_low 
+05c3 6848c911 fetcht 1 ,mem_bk_button_gpio 
+05c4 2020418b branch mouse_3io6key_bk_check 
 
 p_mouse_check_fwkey_gpio:
-05bb 6fe0c912 fetch 1 ,mem_fw_button_gpio 
-05bc c17f8000 rtneq gpio_disable 
-05bd 704ba704 jam mouse_fw_key ,mem_mouse_key_temp 
-05be 6fe0cba3 fetch 1 ,mem_mouse_fwkey_press_status 
-05bf 1fe22600 copy pdata ,regc 
-05c0 6848c912 fetcht 1 ,mem_fw_button_gpio 
-05c1 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
-05c2 c07f85c4 beq gpio_disable ,p_mouse_3io6key_fw_check 
-05c3 20204197 branch mouse_check_fwkey_gpio_next 
+05c5 6fe0c912 fetch 1 ,mem_fw_button_gpio 
+05c6 c17f8000 rtneq gpio_disable 
+05c7 704ba704 jam mouse_fw_key ,mem_mouse_key_temp 
+05c8 6fe0cba3 fetch 1 ,mem_mouse_fwkey_press_status 
+05c9 1fe22600 copy pdata ,regc 
+05ca 6848c912 fetcht 1 ,mem_fw_button_gpio 
+05cb 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
+05cc c07f85ce beq gpio_disable ,p_mouse_3io6key_fw_check 
+05cd 20204197 branch mouse_check_fwkey_gpio_next 
 
 p_mouse_3io6key_fw_check:
-05c4 6fe0c912 fetch 1 ,mem_fw_button_gpio 
-05c5 204005cb call p_mouse_gpio_config_output_low 
-05c6 6848c912 fetcht 1 ,mem_fw_button_gpio 
-05c7 202041a4 branch mouse_3io6key_fw_check 
+05ce 6fe0c912 fetch 1 ,mem_fw_button_gpio 
+05cf 204005d5 call p_mouse_gpio_config_output_low 
+05d0 6848c912 fetcht 1 ,mem_fw_button_gpio 
+05d1 202041a4 branch mouse_3io6key_fw_check 
 
 p_mouse_gpio_config_output_high:
-05c8 c17f8000 rtneq gpio_disable 
-05c9 d840003f arg gpcfg_output_high ,temp 
-05ca 2020612c branch gpio_config_function_int 
+05d2 c17f8000 rtneq gpio_disable 
+05d3 d840003f arg gpcfg_output_high ,temp 
+05d4 2020612c branch gpio_config_function_int 
 
 p_mouse_gpio_config_output_low:
-05cb c17f8000 rtneq gpio_disable 
-05cc d840003e arg gpcfg_output_low ,temp 
-05cd 2020612c branch gpio_config_function_int 
+05d5 c17f8000 rtneq gpio_disable 
+05d6 d840003e arg gpcfg_output_low ,temp 
+05d7 2020612c branch gpio_config_function_int 
               org 0x800
 
 start:
Index: program/patch.prog
===================================================================
--- /YC1308AF/branch/mouse/mouse_public/program/patch.prog	(revision 1637)
+++ /YC1308AF/branch/mouse/mouse_public/program/patch.prog	(working copy)
@@ -250,7 +250,7 @@
 	ncall mouse_gpio_init,wake
 	call mouse_init_sunt
 	rtn wake
-	call mouse_dpi_config
+	call p_mouse_dpi_config
 	call mouse_drawing_optima_init
 	call p_mouse_cb_fuction
 	call p_mouse_sensor_powerdown
@@ -1389,18 +1389,24 @@
 	jam KA5857,mem_config_sensor_type
 	arg mem_sensor_ka5857_init,regc
 	call mouse_sensor_wr_seq
-	branch mouse_dpi_config
+	branch p_mouse_dpi_config
 
 p_mouse_sensor_poweron:
 	call mouse_sensor_spi_init
 	fetch 1,mem_config_sensor_type
 	beq KA8G2,p_mouse_ka8g2_sensor_init
-	branch mouse_sensor_poweron_next
+p_mouse_sensor_poweron_next:
+	call mouse_sensor_reset
+	arg mem_sensor_poweron_init,regc
+p_mouse_sensor_poweron_end:
+	call mouse_sensor_wr_seq
+p_mouse_dpi_config:
+	branch p_mouse_seting_sensor_type
 	
 p_mouse_ka8g2_sensor_init:
 	call p_mouse_ka8g2_sensor_reset
 	arg mem_ka8g2_sensor_poweron_init,regc
-	branch mouse_sensor_poweron_end
+	branch p_mouse_sensor_poweron_end
 	
 p_mouse_sensor_powerdown:
 	call mouse_init_sunt
@@ -1639,8 +1645,12 @@
 p_mouse_dpi_process_5_level:
 	copy temp,pdata
 	increase 1,pdata
-	and pdata,0x04,pdata
+	sub pdata,4,null
+	ncall p_mouse_dpi_init,positive
 	branch p_mouse_dpi_store
+p_mouse_dpi_init:
+	setarg 0
+	rtn
 
 p_mouse_dpi_process:
 	call mouse_dpi_ghost_check
@@ -1713,7 +1723,7 @@
 	rtn
 
 p_mouse_seting_dpi:
-	call mouse_setting_dpi_4_level
+	call p_mouse_setting_dpi_4_level
 	call p_mouse_dpi_led_blink_delay
 p_mouse_seting_sensor_type:
 	fetch 1,mem_config_sensor_type
@@ -1721,6 +1731,12 @@
 	beq P3212,p_mouse_seting_3212_dpi
 	branch mouse_seting_sensor_type+2
 
+p_mouse_setting_dpi_4_level:
+	fetch 1,mem_config_sensor_type
+	rtneq KA5857
+	rtneq P3212
+	branch mouse_setting_dpi_4_level
+
 p_mouse_seting_3212_dpi:
 	fetch 1,mem_mouse_dpi
 	beq MOUSE_DPI_LEVEL1,p_mouse_set_p3212_cpi0	//1600
@@ -2416,7 +2432,7 @@
 	call p_mouse_check_sensor_data
 	setarg 0x0089			
 	call twspi_write
-	call mouse_dpi_config
+	call p_mouse_dpi_config
 	call mouse_zwheel
 	call mouse_t_zwheel
 	call p_mouse_key
