Index: output/eeprom.dat
===================================================================
--- /YC1308AF/branch/mouse/mouse_public_4mode_usb _1M/output/eeprom.dat	(revision 3612)
+++ /YC1308AF/branch/mouse/mouse_public_4mode_usb _1M/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-1e
+52
 15
 c2
 84
@@ -55,19 +55,19 @@
 c0
 66
 84
-1c
+1b
 c0
 67
 02
-d8
+d9
 c0
 67
 82
-e1
+e2
 c0
 68
 04
-46
+45
 c0
 69
 02
@@ -79,7 +79,7 @@
 c0
 6a
 82
-f4
+f5
 c0
 6c
 01
@@ -103,11 +103,11 @@
 c0
 6c
 83
-b4
+b3
 c0
 6d
 03
-be
+bd
 c0
 6e
 02
@@ -119,7 +119,7 @@
 c0
 73
 83
-cc
+cb
 20
 20
 13
@@ -131,27 +131,27 @@
 c0
 42
 83
-c1
+c0
 c0
 47
 04
-89
+88
 c0
 49
 84
-9a
+99
 c0
 53
 03
-c5
+c4
 c0
 71
 03
-6a
+69
 c0
 74
 83
-72
+71
 c0
 75
 00
@@ -159,23 +159,23 @@
 c0
 76
 03
-a9
+a8
 c0
 0c
 83
-e0
+df
 c0
 4f
 83
-ea
+e9
 c0
 50
 83
-f4
+f3
 c0
 5f
 03
-f6
+f5
 20
 20
 13
@@ -531,11 +531,11 @@
 20
 40
 02
-e2
+e3
 20
 40
 04
-a6
+a5
 20
 40
 47
@@ -947,7 +947,7 @@
 24
 34
 03
-20
+21
 20
 40
 00
@@ -1447,7 +1447,7 @@
 20
 40
 02
-c1
+c2
 20
 40
 02
@@ -2175,7 +2175,7 @@
 da
 40
 03
-45
+46
 20
 20
 45
@@ -2283,7 +2283,7 @@
 20
 20
 03
-25
+26
 da
 60
 49
@@ -2455,7 +2455,7 @@
 20
 20
 02
-e2
+e3
 20
 40
 02
@@ -2575,7 +2575,7 @@
 20
 40
 04
-76
+75
 20
 40
 3e
@@ -2771,15 +2771,15 @@
 20
 40
 02
-c4
+c5
 20
 40
 02
-bb
+bc
 20
 40
 02
-be
+bf
 20
 40
 47
@@ -2791,11 +2791,15 @@
 20
 40
 04
-e8
+e7
 20
 40
 05
-16
+23
+20
+40
+05
+15
 20
 60
 00
@@ -2867,7 +2871,7 @@
 20
 40
 02
-cd
+ce
 20
 20
 40
@@ -2895,7 +2899,7 @@
 c0
 7f
 82
-d4
+d5
 20
 20
 40
@@ -2907,7 +2911,7 @@
 20
 40
 04
-79
+78
 68
 48
 c9
@@ -2943,11 +2947,11 @@
 20
 40
 02
-e1
+e2
 20
 40
 02
-e5
+e6
 20
 20
 46
@@ -2983,15 +2987,15 @@
 c0
 00
 02
-ee
+ef
 c0
 00
 82
-f0
+f1
 c0
 01
 02
-ec
+ed
 20
 60
 00
@@ -3003,7 +3007,7 @@
 20
 20
 02
-f1
+f2
 58
 00
 00
@@ -3011,7 +3015,7 @@
 20
 20
 02
-f1
+f2
 58
 00
 00
@@ -3035,23 +3039,23 @@
 c0
 1e
 03
-09
+0a
 c0
 1c
 83
-05
+06
 c0
 1d
 03
-19
+1a
 c0
 19
 03
-47
+48
 c0
 0a
 83
-53
+54
 c0
 0a
 03
@@ -3059,7 +3063,7 @@
 c0
 20
 03
-4e
+4f
 c0
 00
 83
@@ -3071,7 +3075,7 @@
 c0
 09
 03
-00
+01
 20
 20
 43
@@ -3099,7 +3103,7 @@
 20
 40
 03
-03
+04
 20
 40
 45
@@ -3171,7 +3175,7 @@
 20
 40
 03
-03
+04
 20
 20
 48
@@ -3183,7 +3187,7 @@
 20
 40
 03
-03
+04
 6f
 e0
 c8
@@ -3199,7 +3203,7 @@
 c0
 01
 03
-3c
+3d
 20
 20
 48
@@ -3211,7 +3215,7 @@
 20
 5a
 03
-2e
+2f
 6f
 e0
 c8
@@ -3347,7 +3351,7 @@
 20
 22
 83
-45
+46
 20
 20
 48
@@ -3367,7 +3371,7 @@
 c0
 00
 83
-4b
+4c
 70
 4b
 87
@@ -3429,10 +3433,6 @@
 ca
 d7
 70
-4c
-be
-00
-70
 4b
 05
 00
@@ -3469,10 +3469,6 @@
 44
 3a
 70
-4c
-be
-00
-70
 4b
 90
 00
@@ -3547,7 +3543,7 @@
 20
 3a
 03
-7d
+7c
 6f
 e1
 48
@@ -3587,11 +3583,11 @@
 24
 2c
 03
-96
+95
 24
 37
 83
-96
+95
 20
 40
 26
@@ -3611,7 +3607,7 @@
 20
 22
 83
-7a
+79
 6f
 e2
 48
@@ -3627,7 +3623,7 @@
 20
 42
 83
-92
+91
 6f
 e0
 c8
@@ -3707,11 +3703,11 @@
 c0
 01
 03
-a0
+9f
 c0
 02
 03
-a7
+a6
 20
 20
 25
@@ -3875,7 +3871,7 @@
 c2
 80
 83
-c9
+c8
 20
 20
 16
@@ -3919,7 +3915,7 @@
 c0
 04
 83
-d4
+d3
 20
 20
 4d
@@ -3995,7 +3991,7 @@
 c0
 03
 83
-e7
+e6
 20
 20
 57
@@ -4067,7 +4063,7 @@
 c0
 02
 03
-f9
+f8
 20
 20
 19
@@ -4083,11 +4079,11 @@
 c0
 05
 03
-fe
+fd
 c0
 09
 04
-0d
+0c
 20
 20
 1c
@@ -4115,7 +4111,7 @@
 c2
 81
 84
-08
+07
 6f
 e1
 44
@@ -4143,11 +4139,11 @@
 24
 22
 84
-04
+03
 24
 34
 04
-04
+03
 20
 20
 1d
@@ -4227,7 +4223,7 @@
 20
 40
 04
-2c
+2b
 58
 00
 00
@@ -4239,7 +4235,7 @@
 20
 40
 02
-e2
+e3
 20
 40
 3f
@@ -4251,7 +4247,7 @@
 20
 40
 04
-43
+42
 6f
 e0
 c8
@@ -4271,7 +4267,7 @@
 20
 40
 04
-3c
+3b
 20
 20
 45
@@ -4291,11 +4287,11 @@
 c0
 06
 04
-32
+31
 c0
 05
 84
-32
+31
 20
 20
 42
@@ -4311,7 +4307,7 @@
 c0
 7f
 84
-38
+37
 68
 48
 c9
@@ -4355,7 +4351,7 @@
 20
 40
 04
-a0
+9f
 20
 40
 47
@@ -4363,7 +4359,7 @@
 20
 40
 04
-a3
+a2
 20
 60
 00
@@ -4371,11 +4367,11 @@
 20
 40
 04
-46
+45
 20
 40
 04
-7c
+7b
 20
 20
 41
@@ -4395,15 +4391,15 @@
 20
 40
 04
-4d
+4c
 20
 40
 04
-5c
+5b
 20
 40
 04
-69
+68
 20
 20
 41
@@ -4415,7 +4411,7 @@
 20
 40
 04
-76
+75
 20
 40
 41
@@ -4435,7 +4431,7 @@
 20
 40
 04
-76
+75
 20
 40
 41
@@ -4455,7 +4451,7 @@
 20
 40
 04
-76
+75
 20
 40
 41
@@ -4499,7 +4495,7 @@
 c0
 7f
 84
-65
+64
 20
 20
 41
@@ -4511,7 +4507,7 @@
 20
 40
 04
-79
+78
 68
 48
 c9
@@ -4551,7 +4547,7 @@
 c0
 7f
 84
-72
+71
 20
 20
 41
@@ -4563,7 +4559,7 @@
 20
 40
 04
-79
+78
 68
 48
 c9
@@ -4615,11 +4611,11 @@
 20
 40
 04
-83
+82
 20
 40
 04
-86
+85
 20
 20
 41
@@ -4663,7 +4659,7 @@
 c0
 00
 04
-8e
+8d
 20
 20
 7a
@@ -4691,7 +4687,7 @@
 c0
 00
 84
-95
+94
 20
 20
 7a
@@ -4703,7 +4699,7 @@
 c0
 04
 84
-98
+97
 20
 20
 7a
@@ -4783,15 +4779,15 @@
 20
 40
 04
-b3
+b2
 20
 40
 04
-db
+da
 20
 40
 04
-b8
+b7
 6f
 e0
 cc
@@ -4843,7 +4839,7 @@
 20
 40
 04
-bc
+bb
 6f
 e0
 c9
@@ -4891,7 +4887,7 @@
 24
 41
 04
-d0
+cf
 1f
 e2
 24
@@ -4979,7 +4975,7 @@
 20
 40
 04
-d3
+d2
 6f
 e4
 4b
@@ -4987,15 +4983,15 @@
 c2
 8e
 84
-e2
+e1
 c2
 8f
 04
-e4
+e3
 c2
 8f
 84
-e6
+e5
 70
 49
 2e
@@ -5039,7 +5035,7 @@
 20
 40
 04
-ee
+ed
 6f
 e0
 c9
@@ -5063,11 +5059,11 @@
 24
 20
 84
-f2
+f1
 20
 20
 04
-ff
+fe
 6f
 e0
 c9
@@ -5132,6 +5128,10 @@
 49
 30
 5a
+70
+4c
+af
+01
 58
 00
 00
@@ -5144,10 +5144,6 @@
 e1
 48
 8b
-70
-4c
-af
-01
 20
 40
 01
@@ -5159,7 +5155,7 @@
 20
 40
 04
-d6
+d5
 20
 40
 48
@@ -5179,7 +5175,7 @@
 58
 00
 04
-aa
+a9
 67
 e1
 0b
@@ -5221,6 +5217,62 @@
 80
 00
 6f
+e0
+c9
+30
+c0
+2d
+05
+1b
+c0
+52
+85
+1f
+20
+60
+00
+00
+6f
+e0
+cc
+af
+20
+7a
+00
+00
+70
+4c
+be
+01
+20
+60
+00
+00
+6f
+e0
+cc
+af
+20
+7a
+00
+00
+70
+4c
+be
+00
+20
+60
+00
+00
+6f
+e4
+4b
+bc
+c4
+06
+80
+00
+6f
 f0
 8c
 02
@@ -5235,7 +5287,7 @@
 20
 40
 04
-c1
+c0
 24
 74
 00
@@ -5251,7 +5303,7 @@
 20
 20
 05
-20
+2d
 6f
 f0
 8c
@@ -5267,7 +5319,7 @@
 c3
 0a
 85
-26
+33
 6f
 e0
 cb
@@ -5275,7 +5327,7 @@
 c0
 00
 85
-2c
+39
 20
 40
 37
@@ -5307,7 +5359,7 @@
 20
 3a
 05
-37
+44
 6f
 e4
 4b
@@ -5323,11 +5375,11 @@
 c0
 01
 85
-39
+46
 c0
 01
 05
-40
+4d
 20
 40
 37
@@ -5351,7 +5403,7 @@
 20
 20
 05
-2f
+3c
 20
 40
 37
@@ -5408,8 +5460,8 @@
 60
 00
 00
-59
-3e
+7f
+14
 aa
 55
 40
@@ -5554,7 +5606,7 @@
 46
 40
 00
-00
+22
 02
 1f
 aa
@@ -5600,7 +5652,7 @@
 02
 0f
 0e
-ff
+00
 ff
 ff
 ff
@@ -5694,7 +5746,7 @@
 c4
 4b
 03
-01
+02
 aa
 55
 08
@@ -6807,62 +6859,10 @@
 aa
 aa
 55
-8b
-a1
-d5
-d7
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+af
+a0
+aa
+0e
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-a4
-f4
+a2
+34
Index: output/program.lis
===================================================================
--- /YC1308AF/branch/mouse/mouse_public_4mode_usb _1M/output/program.lis	(revision 3610)
+++ /YC1308AF/branch/mouse/mouse_public_4mode_usb _1M/output/program.lis	(working copy)
@@ -12,39 +12,39 @@
 0009 c064027a beq patch19_0 ,p_mouse_setgpio_hibernate 
 000a c06482ac beq patch19_1 ,p_mouse_lpm_before_common 
 000b c065818d beq patch19_3 ,p_mouse_adc_read_start 
-000c c066841c beq patch19_5 ,p_mouse_motion 
-000d c06702d8 beq patch19_6 ,p_mouse_dpi_process 
-000e c06782e1 beq patch19_7 ,p_mouse_seting_dpi 
-000f c0680446 beq patch1a_0 ,p_mouse_check_key_gpio 
+000c c066841b beq patch19_5 ,p_mouse_motion 
+000d c06702d9 beq patch19_6 ,p_mouse_dpi_process 
+000e c06782e2 beq patch19_7 ,p_mouse_seting_dpi 
+000f c0680445 beq patch1a_0 ,p_mouse_check_key_gpio 
 0010 c0690249 beq patch1a_2 ,p_mouse_init_sunt 
 0011 c069825e beq patch1a_3 ,p_mouse_sensor_poweron 
-0012 c06a82f4 beq patch1a_5 ,p_mouse_priority_bb_event 
+0012 c06a82f5 beq patch1a_5 ,p_mouse_priority_bb_event 
 0013 c06c0160 beq patch1b_0 ,p_mouse_bb_event_timer 
 0014 c06e82b1 beq patch1b_5 ,p_mouse_idle 
 0015 c06f0038 beq patch1b_6 ,p_mouse_ready_reconnection_by_button 
 0016 c0700030 beq patch1c_0 ,p_mouse_led_off 
 0017 c070802c beq patch1c_1 ,p_mouse_led_on 
-0018 c06c83b4 beq patch1b_1 ,p_mouse_start_discovery 
-0019 c06d03be beq patch1b_2 ,p_mouse_stop_discovery 
+0018 c06c83b3 beq patch1b_1 ,p_mouse_start_discovery 
+0019 c06d03bd beq patch1b_2 ,p_mouse_stop_discovery 
 001a c06e0242 beq patch1b_4 ,p_mouse_store_device_info 
 001b c04f8071 beq patch13_7 ,p_init_param 
-001c c07383cc beq patch1c_7 ,p_hid_rx_process 
+001c c07383cb beq patch1c_7 ,p_hid_rx_process 
 001d 2020137e branch loop 
 
 pf_patch_ext:
 001e c00f8089 beq patch23_7 ,p_twspi_reset 
-001f c04283c1 beq patch30_5 ,p_ui_timer_check 
-0020 c0470489 beq patch31_6 ,p_usb_class_type 
-0021 c049849a beq patch32_3 ,p_usb_tx 
-0022 c05303c5 beq patch34_6 ,p_le_enable_phy_by_pdata 
-0023 c071036a beq patch3c_2 ,p_g24_pair_dispatch 
-0024 c0748372 beq patch3d_1 ,p_g24_reconn_dispatch 
+001f c04283c0 beq patch30_5 ,p_ui_timer_check 
+0020 c0470488 beq patch31_6 ,p_usb_class_type 
+0021 c0498499 beq patch32_3 ,p_usb_tx 
+0022 c05303c4 beq patch34_6 ,p_le_enable_phy_by_pdata 
+0023 c0710369 beq patch3c_2 ,p_g24_pair_dispatch 
+0024 c0748371 beq patch3d_1 ,p_g24_reconn_dispatch 
 0025 c07500ea beq patch3d_2 ,p_g24_transmit_no_interrupt 
-0026 c07603a9 beq patch3d_4 ,p_g24_lpm_wait 
-0027 c00c83e0 beq patch23_1 ,p_send_lmp 
-0028 c04f83ea beq patch33_7 ,p_le_slave_match 
-0029 c05083f4 beq patch34_1 ,p_le_slave_unsync 
-002a c05f03f6 beq patch37_6 ,p_le_parse_l2cap 
+0026 c07603a8 beq patch3d_4 ,p_g24_lpm_wait 
+0027 c00c83df beq patch23_1 ,p_send_lmp 
+0028 c04f83e9 beq patch33_7 ,p_le_slave_match 
+0029 c05083f3 beq patch34_1 ,p_le_slave_unsync 
+002a c05f03f5 beq patch37_6 ,p_le_parse_l2cap 
 002b 2020137e branch loop 
 
 p_mouse_led_on:
@@ -171,8 +171,8 @@
 0080 204000ba call p_mouse_setting_config 
 0081 204041e7 call mouse_init_sunt 
 0082 20758000 rtn wake 
-0083 204002e2 call p_mouse_seting_sensor_type 
-0084 204004a6 call p_mouse_usb_check_enable 
+0083 204002e3 call p_mouse_seting_sensor_type 
+0084 204004a5 call p_mouse_usb_check_enable 
 0085 20404766 call mouse_drawing_optima_init 
 0086 204000c9 call p_mouse_cb_fuction 
 0087 20400268 call p_mouse_sensor_powerdown 
@@ -313,7 +313,7 @@
 
 p_g24_transmit_no_interrupt:
 00ea 20402638 call g24_txdata_prep 
-00eb 24340320 nbranch p_g24_nodata_transmit ,user 
+00eb 24340321 nbranch p_g24_nodata_transmit ,user 
 
 p_g24_transmit_start:
 00ec 204000fa call p_g24_transmit_process 
@@ -478,7 +478,7 @@
 0165 204001c3 call p_mouse_led_multi_timer 
 0166 20400177 call p_mouse_dpi_led_timer 
 0167 204040bc call mouse_dpi_key_check_long_press 
-0168 204002c1 call p_mouse_bt_discovery_check 
+0168 204002c2 call p_mouse_bt_discovery_check 
 0169 20400209 call p_mouse_commbination_key_process 
 016a 2040453f call mouse_check_discovery_timeout_timer 
 016b 20400220 call p_mouse_check_direct_timeout_timer 
@@ -736,7 +736,7 @@
 021d 20600000 rtn 
 
 p_mouse_combination_ui_timer:
-021e da400345 arg p_mouse_24g_start_pair_mode ,regb 
+021e da400346 arg p_mouse_24g_start_pair_mode ,regb 
 021f 20204537 branch mouse_combination_ui_timer + 1 
 
 p_mouse_check_direct_timeout_timer:
@@ -775,7 +775,7 @@
 0236 67e3c8d4 store 7 ,mem_mouse_key 
 0237 704bf201 jam 1 ,mem_sensor_shutdown_flag 
 0238 20400268 call p_mouse_sensor_powerdown 
-0239 20200325 branch p_g24_long_sleep 
+0239 20200326 branch p_g24_long_sleep 
 
 p_mouse_store_information_delay_timer:
 023a da6049c4 arg mem_store_information_delay_timer ,regc 
@@ -844,7 +844,7 @@
 
 p_mouse_sensor_poweron_end:
 0263 2040426b call mouse_sensor_wr_seq 
-0264 202002e2 branch p_mouse_seting_sensor_type 
+0264 202002e3 branch p_mouse_seting_sensor_type 
 
 p_mouse_ka8g2_sensor_init:
 0265 20400278 call p_mouse_ka8g2_sensor_reset 
@@ -888,7 +888,7 @@
 027f 6848c914 fetcht 1 ,mem_matrix_public_gpio 
 0280 204060e6 call gpio_clr_wake 
 0281 6fe0c924 fetch 1 ,mem_mouse_sensor_sdio_gpio 
-0282 20400476 call p_mouse_gpio_config_output_high 
+0282 20400475 call p_mouse_gpio_config_output_high 
 0283 20403e80 call mouse_lpm_before_common 
 0284 20403e72 call mouse_gpio_pu_idle 
 0285 d8400001 arg 0x01 ,temp 
@@ -953,230 +953,230 @@
 p_mouse_idle:
 02b1 204049dd call mouse_low_voltage_led_no_enter_lpm 
 02b2 204079a1 call ui_check_paring_button 
-02b3 204002c4 call p_mouse_dpi_check 
-02b4 204002bb call p_mouse_select_device_check 
-02b5 204002be call p_mouse_check_select_device_by_switch 
+02b3 204002c5 call p_mouse_dpi_check 
+02b4 204002bc call p_mouse_select_device_check 
+02b5 204002bf call p_mouse_check_select_device_by_switch 
 02b6 20404714 call mouse_bt_button_check 
 02b7 20403fc8 call mouse_wheel_check 
-02b8 204004e8 call p_mouse_usb_isr 
-02b9 20400516 call p_mouse_usb_mode 
-02ba 20600000 rtn 
+02b8 204004e7 call p_mouse_usb_isr 
+02b9 20400523 call p_mouse_usb_mode 
+02ba 20400515 call p_mouse_usb_mode_flag_check 
+02bb 20600000 rtn 
 
 p_mouse_select_device_check:
-02bb 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
-02bc 247a0000 nrtn blank 
-02bd 20204693 branch mouse_select_device_check 
+02bc 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
+02bd 247a0000 nrtn blank 
+02be 20204693 branch mouse_select_device_check 
 
 p_mouse_check_select_device_by_switch:
-02be 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
-02bf 247a0000 nrtn blank 
-02c0 202046de branch mouse_check_select_device_by_switch 
+02bf 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
+02c0 247a0000 nrtn blank 
+02c1 202046de branch mouse_check_select_device_by_switch 
 
 p_mouse_bt_discovery_check:
-02c1 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
-02c2 247a0000 nrtn blank 
-02c3 2020450c branch mouse_bt_discovery_check 
+02c2 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
+02c3 247a0000 nrtn blank 
+02c4 2020450c branch mouse_bt_discovery_check 
 
 p_mouse_dpi_check:
-02c4 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-02c5 c2974076 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
-02c6 6fe0c913 fetch 1 ,mem_dpi_button_gpio 
-02c7 c17f8000 rtneq gpio_disable 
-02c8 da200000 arg 0 ,rega 
-02c9 704ba705 jam mouse_dpi_key ,mem_mouse_key_temp 
-02ca 6848c913 fetcht 1 ,mem_dpi_button_gpio 
-02cb 204002cd call p_mouse_dpi_key_check 
-02cc 2020406f branch mouse_dpi_check_next 
+02c5 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+02c6 c2974076 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
+02c7 6fe0c913 fetch 1 ,mem_dpi_button_gpio 
+02c8 c17f8000 rtneq gpio_disable 
+02c9 da200000 arg 0 ,rega 
+02ca 704ba705 jam mouse_dpi_key ,mem_mouse_key_temp 
+02cb 6848c913 fetcht 1 ,mem_dpi_button_gpio 
+02cc 204002ce call p_mouse_dpi_key_check 
+02cd 2020406f branch mouse_dpi_check_next 
 
 p_mouse_dpi_key_check:
-02cd 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-02ce c2964088 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
-02cf 6fe0cba4 fetch 1 ,mem_mouse_dpikey_press_status 
-02d0 1fe22600 copy pdata ,regc 
-02d1 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
-02d2 c07f82d4 beq gpio_disable ,p_mouse_3io6key_dpi_check 
-02d3 2020407f branch mouse_dpi_key_check_next 
+02ce 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+02cf c2964088 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
+02d0 6fe0cba4 fetch 1 ,mem_mouse_dpikey_press_status 
+02d1 1fe22600 copy pdata ,regc 
+02d2 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
+02d3 c07f82d5 beq gpio_disable ,p_mouse_3io6key_dpi_check 
+02d4 2020407f branch mouse_dpi_key_check_next 
 
 p_mouse_3io6key_dpi_check:
-02d4 6fe0c913 fetch 1 ,mem_dpi_button_gpio 
-02d5 20400479 call p_mouse_gpio_config_output_low 
-02d6 6848c913 fetcht 1 ,mem_dpi_button_gpio 
-02d7 202041d5 branch mouse_3io6key_check 
+02d5 6fe0c913 fetch 1 ,mem_dpi_button_gpio 
+02d6 20400478 call p_mouse_gpio_config_output_low 
+02d7 6848c913 fetcht 1 ,mem_dpi_button_gpio 
+02d8 202041d5 branch mouse_3io6key_check 
 
 p_mouse_dpi_process:
-02d8 204040b2 call mouse_dpi_ghost_check 
-02d9 20740000 rtn user 
-02da 6fe0c997 fetch 1 ,mem_mouse_dpi 
-02db 1fe0fe01 increase 1 ,pdata 
-02dc 1fe17e03 and pdata ,0x03 ,pdata 
-02dd 67e0c997 store 1 ,mem_mouse_dpi 
-02de 204002e1 call p_mouse_seting_dpi 
-02df 204002e5 call p_mouse_dpi_led_blink_init 
-02e0 2020462e branch mouse_store_device_info_delay 
+02d9 204040b2 call mouse_dpi_ghost_check 
+02da 20740000 rtn user 
+02db 6fe0c997 fetch 1 ,mem_mouse_dpi 
+02dc 1fe0fe01 increase 1 ,pdata 
+02dd 1fe17e03 and pdata ,0x03 ,pdata 
+02de 67e0c997 store 1 ,mem_mouse_dpi 
+02df 204002e2 call p_mouse_seting_dpi 
+02e0 204002e6 call p_mouse_dpi_led_blink_init 
+02e1 2020462e branch mouse_store_device_info_delay 
 
 p_mouse_seting_dpi:
-02e1 204040cf call mouse_setting_dpi_4_level 
+02e2 204040cf call mouse_setting_dpi_4_level 
 
 p_mouse_seting_sensor_type:
-02e2 6fe0c92c fetch 1 ,mem_config_sensor_type 
-02e3 c00640fb beq ka5857 ,mouse_seting_3212_dpi 
-02e4 202040da branch mouse_seting_sensor_type + 2 
+02e3 6fe0c92c fetch 1 ,mem_config_sensor_type 
+02e4 c00640fb beq ka5857 ,mouse_seting_3212_dpi 
+02e5 202040da branch mouse_seting_sensor_type + 2 
 
 p_mouse_dpi_led_blink_init:
-02e5 6fe0ccbe fetch 1 ,mem_mouse_pair_success 
-02e6 207a0000 rtn blank 
-02e7 6fe0c997 fetch 1 ,mem_mouse_dpi 
-02e8 c00002ee beq mouse_dpi_level1 ,p_mouse_dpi_level_2 
-02e9 c00082f0 beq mouse_dpi_level2 ,p_mouse_dpi_level_3 
-02ea c00102ec beq mouse_dpi_level3 ,p_mouse_dpi_level_1 
-02eb 20600000 rtn 
+02e6 6fe0ccbe fetch 1 ,mem_mouse_pair_success 
+02e7 207a0000 rtn blank 
+02e8 6fe0c997 fetch 1 ,mem_mouse_dpi 
+02e9 c00002ef beq mouse_dpi_level1 ,p_mouse_dpi_level_2 
+02ea c00082f1 beq mouse_dpi_level2 ,p_mouse_dpi_level_3 
+02eb c00102ed beq mouse_dpi_level3 ,p_mouse_dpi_level_1 
+02ec 20600000 rtn 
 
 p_mouse_dpi_level_1:
-02ec 58000001 setarg 1 
-02ed 202002f1 branch p_mouse_dpi_blink_count_init 
+02ed 58000001 setarg 1 
+02ee 202002f2 branch p_mouse_dpi_blink_count_init 
 
 p_mouse_dpi_level_2:
-02ee 58000002 setarg 2 
-02ef 202002f1 branch p_mouse_dpi_blink_count_init 
+02ef 58000002 setarg 2 
+02f0 202002f2 branch p_mouse_dpi_blink_count_init 
 
 p_mouse_dpi_level_3:
-02f0 58000003 setarg 3 
+02f1 58000003 setarg 3 
 
 p_mouse_dpi_blink_count_init:
-02f1 67e0ccc0 store 1 ,mem_mouse_dpi_blink_count 
-02f2 704cbf01 jam 1 ,mem_mouse_dpi_led_blink_enable 
-02f3 20600000 rtn 
+02f2 67e0ccc0 store 1 ,mem_mouse_dpi_blink_count 
+02f3 704cbf01 jam 1 ,mem_mouse_dpi_led_blink_enable 
+02f4 20600000 rtn 
 
 p_mouse_priority_bb_event:
-02f4 1a627e00 copy regc ,pdata 
-02f5 c01e0309 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-02f6 c01c8305 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
-02f7 c01d0319 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-02f8 c0190347 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
-02f9 c00a8353 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
-02fa c00a035d beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
-02fb c020034e beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
-02fc c000835f beq bt_evt_bb_connected ,p_mouse_bb_event_connected 
-02fd c0010362 beq bt_evt_bb_disconnected ,p_mouse_bb_disconnected 
-02fe c0090300 beq bt_evt_hid_handshake ,p_mouse_bt_hid_handshake 
-02ff 20204376 branch mouse_priority_bb_event + 2 
+02f5 1a627e00 copy regc ,pdata 
+02f6 c01e030a beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+02f7 c01c8306 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
+02f8 c01d031a beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+02f9 c0190348 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
+02fa c00a8354 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
+02fb c00a035d beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
+02fc c020034f beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
+02fd c000835f beq bt_evt_bb_connected ,p_mouse_bb_event_connected 
+02fe c0010362 beq bt_evt_bb_disconnected ,p_mouse_bb_disconnected 
+02ff c0090301 beq bt_evt_hid_handshake ,p_mouse_bt_hid_handshake 
+0300 20204376 branch mouse_priority_bb_event + 2 
 
 p_mouse_bt_hid_handshake:
-0300 70445401 jam app_handshake_done ,mem_app_handshake_flag 
-0301 20403295 call app_lpm_mult_enable 
-0302 20204467 branch mouse_bt_hid_handshake + 3 
+0301 70445401 jam app_handshake_done ,mem_app_handshake_flag 
+0302 20403295 call app_lpm_mult_enable 
+0303 20204467 branch mouse_bt_hid_handshake + 3 
 
 p_mouse_agc_disable_nomal_power:
-0303 204000e5 call p_mouse_soft_agc_disable 
-0304 202000c6 branch p_mouse_fetch_normal_tx_power 
+0304 204000e5 call p_mouse_soft_agc_disable 
+0305 202000c6 branch p_mouse_fetch_normal_tx_power 
 
 p_mouse_24g_pairing_complete:
-0305 20400303 call p_mouse_agc_disable_nomal_power 
-0306 20404584 call mouse_no_data_timer_init 
-0307 204001f1 call p_mouse_device_poweron_led_config 
-0308 20204896 branch mouse_24g_pairing_complete 
+0306 20400304 call p_mouse_agc_disable_nomal_power 
+0307 20404584 call mouse_no_data_timer_init 
+0308 204001f1 call p_mouse_device_poweron_led_config 
+0309 20204896 branch mouse_24g_pairing_complete 
 
 p_mouse_24g_attempt_success:
-0309 6fe2483f fetch 4 ,mem_24g_addr 
-030a 67e24895 store 4 ,mem_24g_receiver_addr 
-030b 67e24998 store 4 ,mem_mouse_24g_addr 
-030c 20402587 call g24_ch_syncword_crc8_init 
-030d 20404584 call mouse_no_data_timer_init 
-030e 2040430a call mouse_init_sensor_reset 
-030f 704abf00 jam 0 ,mem_mouse_long_mult_flag 
-0310 7048a500 jam 0 ,mem_24g_conn_sm 
-0311 70488f00 jam 0 ,mem_24g_reconn_type 
-0312 6fe24895 fetch 4 ,mem_24g_receiver_addr 
-0313 684a4891 fetcht 4 ,mem_24g_fast_conn_addr 
-0314 98467c00 isub temp ,null 
-0315 20628000 rtn zero 
-0316 204001f1 call p_mouse_device_poweron_led_config 
-0317 20400303 call p_mouse_agc_disable_nomal_power 
-0318 20204861 branch mouse_24g_first_store_reconn_info 
+030a 6fe2483f fetch 4 ,mem_24g_addr 
+030b 67e24895 store 4 ,mem_24g_receiver_addr 
+030c 67e24998 store 4 ,mem_mouse_24g_addr 
+030d 20402587 call g24_ch_syncword_crc8_init 
+030e 20404584 call mouse_no_data_timer_init 
+030f 2040430a call mouse_init_sensor_reset 
+0310 704abf00 jam 0 ,mem_mouse_long_mult_flag 
+0311 7048a500 jam 0 ,mem_24g_conn_sm 
+0312 70488f00 jam 0 ,mem_24g_reconn_type 
+0313 6fe24895 fetch 4 ,mem_24g_receiver_addr 
+0314 684a4891 fetcht 4 ,mem_24g_fast_conn_addr 
+0315 98467c00 isub temp ,null 
+0316 20628000 rtn zero 
+0317 204001f1 call p_mouse_device_poweron_led_config 
+0318 20400304 call p_mouse_agc_disable_nomal_power 
+0319 20204861 branch mouse_24g_first_store_reconn_info 
 
 p_mouse_24g_attempt_fail:
-0319 704cbe00 jam 0 ,mem_mouse_pair_success 
-031a 20400303 call p_mouse_agc_disable_nomal_power 
-031b 6fe0c8a9 fetch 1 ,mem_24g_attempt_fail_flag 
-031c 243a0231 nbranch p_mouse_24g_hibernate_set ,blank 
-031d 6fe0c88f fetch 1 ,mem_24g_reconn_type 
-031e c001033c beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
-031f 20204876 branch mouse_24g_attempt_fail + 4 
+031a 704cbe00 jam 0 ,mem_mouse_pair_success 
+031b 20400304 call p_mouse_agc_disable_nomal_power 
+031c 6fe0c8a9 fetch 1 ,mem_24g_attempt_fail_flag 
+031d 243a0231 nbranch p_mouse_24g_hibernate_set ,blank 
+031e 6fe0c88f fetch 1 ,mem_24g_reconn_type 
+031f c001033d beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
+0320 20204876 branch mouse_24g_attempt_fail + 4 
 
 p_g24_nodata_transmit:
-0320 6fe0c8ab fetch 1 ,mem_24g_abort_pac 
-0321 205a032e call p_g24_send_abort_packet ,blank 
-0322 6fe0c8c1 fetch 1 ,mem_24g_transmit_by_interrupt 
-0323 c1008000 rtneq g24_tx_timer_int_enable 
-0324 204026a6 call g24_search_receiver 
+0321 6fe0c8ab fetch 1 ,mem_24g_abort_pac 
+0322 205a032f call p_g24_send_abort_packet ,blank 
+0323 6fe0c8c1 fetch 1 ,mem_24g_transmit_by_interrupt 
+0324 c1008000 rtneq g24_tx_timer_int_enable 
+0325 204026a6 call g24_search_receiver 
 
 p_g24_long_sleep:
-0325 204026c2 call g24_lpm_wait 
-0326 24740000 nrtn user 
-0327 204026cb call g24_setgpio_lpm_before 
-0328 704c3100 jam 0 ,mem_sleep_miss 
-0329 704c3201 jam 1 ,mem_long_sleep_flag 
-032a 6fe0cbf2 fetch 1 ,mem_sensor_shutdown_flag 
-032b 245a3e6a ncall mouse_setgpio_hibernate ,blank 
-032c 6fe2485f fetch 4 ,mem_24g_enter_hibernate 
-032d 202026bf branch g24_long_seep2 
+0326 204026c2 call g24_lpm_wait 
+0327 24740000 nrtn user 
+0328 204026cb call g24_setgpio_lpm_before 
+0329 704c3100 jam 0 ,mem_sleep_miss 
+032a 704c3201 jam 1 ,mem_long_sleep_flag 
+032b 6fe0cbf2 fetch 1 ,mem_sensor_shutdown_flag 
+032c 245a3e6a ncall mouse_setgpio_hibernate ,blank 
+032d 6fe2485f fetch 4 ,mem_24g_enter_hibernate 
+032e 202026bf branch g24_long_seep2 
 
 p_g24_send_abort_packet:
-032e 70483901 jam type_ms ,mem_24g_data_type 
-032f 7048ab01 jam 1 ,mem_24g_abort_pac 
-0330 20402649 call g24_transmit_rf_ctrl_clear 
-0331 67e0c7c9 store 1 ,mem_24g_txbuf 
-0332 58000000 setarg 0 
-0333 67e3c7ca store 7 ,mem_24g_txbuf + 1 
-0334 6fe248ad fetch 4 ,mem_24g_device_addr 
-0335 67e247d1 store 4 ,mem_24g_txbuf + 8 
-0336 7048380c jam 12 ,mem_24g_datalen 
-0337 6fe0c839 fetch 1 ,mem_24g_data_type 
-0338 79207e03 set1 bit_abort ,pdata 
-0339 67e0c839 store 1 ,mem_24g_data_type 
-033a 20402247 call g24_transmit_prep 
-033b 202000ec branch p_g24_transmit_start 
+032f 70483901 jam type_ms ,mem_24g_data_type 
+0330 7048ab01 jam 1 ,mem_24g_abort_pac 
+0331 20402649 call g24_transmit_rf_ctrl_clear 
+0332 67e0c7c9 store 1 ,mem_24g_txbuf 
+0333 58000000 setarg 0 
+0334 67e3c7ca store 7 ,mem_24g_txbuf + 1 
+0335 6fe248ad fetch 4 ,mem_24g_device_addr 
+0336 67e247d1 store 4 ,mem_24g_txbuf + 8 
+0337 7048380c jam 12 ,mem_24g_datalen 
+0338 6fe0c839 fetch 1 ,mem_24g_data_type 
+0339 79207e03 set1 bit_abort ,pdata 
+033a 67e0c839 store 1 ,mem_24g_data_type 
+033b 20402247 call g24_transmit_prep 
+033c 202000ec branch p_g24_transmit_start 
 
 p_mouse_24g_fast_conn_attempt_fail:
-033c 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-033d c297c850 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_start_auto_pair 
-033e c2984850 bbit1 mouse_enable_auto_24g_paring ,mouse_24g_start_auto_pair 
-033f c31d4845 bbit0 mouse_enable_24g_auto_pair_nerver_been_paired ,mouse_24g_reconn_dongle_start 
-0340 6fe24998 fetch 4 ,mem_mouse_24g_addr 
-0341 684a4979 fetcht 4 ,mem_mouse_compare_addr_ff 
-0342 98467c00 isub temp ,null 
-0343 20228345 branch p_mouse_24g_start_pair_mode ,zero 
-0344 20204845 branch mouse_24g_reconn_dongle_start 
+033d 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+033e c297c850 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_start_auto_pair 
+033f c2984850 bbit1 mouse_enable_auto_24g_paring ,mouse_24g_start_auto_pair 
+0340 c31d4845 bbit0 mouse_enable_24g_auto_pair_nerver_been_paired ,mouse_24g_reconn_dongle_start 
+0341 6fe24998 fetch 4 ,mem_mouse_24g_addr 
+0342 684a4979 fetcht 4 ,mem_mouse_compare_addr_ff 
+0343 98467c00 isub temp ,null 
+0344 20228346 branch p_mouse_24g_start_pair_mode ,zero 
+0345 20204845 branch mouse_24g_reconn_dongle_start 
 
 p_mouse_24g_start_pair_mode:
-0345 70488f00 jam 0 ,mem_24g_reconn_type 
-0346 20204866 branch mouse_24g_start_pair_mode 
+0346 70488f00 jam 0 ,mem_24g_reconn_type 
+0347 20204866 branch mouse_24g_start_pair_mode 
 
 p_mouse_le_ll_start_encryt:
-0347 6fe0cad8 fetch 1 ,mem_mouse_le_reconnect_flag 
-0348 c000834b beq 1 ,p_mouse_le_ll_reconn_start_encryt 
-0349 704b8714 jam 20 ,mem_le_start_encrypt_timer 
-034a 202043b3 branch mouse_le_ll_enable_start_enc_flag 
+0348 6fe0cad8 fetch 1 ,mem_mouse_le_reconnect_flag 
+0349 c000834c beq 1 ,p_mouse_le_ll_reconn_start_encryt 
+034a 704b8714 jam 20 ,mem_le_start_encrypt_timer 
+034b 202043b3 branch mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_le_ll_reconn_start_encryt:
-034b 204043ac call mouse_updata_le_param 
-034c 704b870a jam 10 ,mem_le_start_encrypt_timer 
-034d 202043b3 branch mouse_le_ll_enable_start_enc_flag 
+034c 204043ac call mouse_updata_le_param 
+034d 704b870a jam 10 ,mem_le_start_encrypt_timer 
+034e 202043b3 branch mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_le_conn_param_update_rsp_recieved:
-034e 6fe0cc6f fetch 1 ,mem_mouse_le_send_conn_param_update 
-034f 247a0000 nrtn blank 
-0350 704c6f01 jam 1 ,mem_mouse_le_send_conn_param_update 
-0351 704c701e jam 30 ,mem_mouse_le_send_conn_param_update_timer 
-0352 20600000 rtn 
+034f 6fe0cc6f fetch 1 ,mem_mouse_le_send_conn_param_update 
+0350 247a0000 nrtn blank 
+0351 704c6f01 jam 1 ,mem_mouse_le_send_conn_param_update 
+0352 704c701e jam 30 ,mem_mouse_le_send_conn_param_update_timer 
+0353 20600000 rtn 
 
 p_mouse_le_bb_disconnected:
-0353 58000000 setarg 0 
-0354 67e14b03 store 2 ,mem_le_battery_level_updata_timer 
-0355 67e0cc6f store 1 ,mem_mouse_le_send_conn_param_update 
-0356 67e0cc70 store 1 ,mem_mouse_le_send_conn_param_update_timer 
-0357 67e0cad7 store 1 ,mem_mouse_le_bb_connected_flag 
-0358 704cbe00 jam 0 ,mem_mouse_pair_success 
+0354 58000000 setarg 0 
+0355 67e14b03 store 2 ,mem_le_battery_level_updata_timer 
+0356 67e0cc6f store 1 ,mem_mouse_le_send_conn_param_update 
+0357 67e0cc70 store 1 ,mem_mouse_le_send_conn_param_update_timer 
+0358 67e0cad7 store 1 ,mem_mouse_le_bb_connected_flag 
 0359 704b0500 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
 035a 704abd00 jam 0 ,mem_mouse_clear_sensor_data_flag 
 035b 20401ac8 call le_clr_config_more_data 
@@ -1192,653 +1192,672 @@
 0361 2020443a branch mouse_bb_event_connected 
 
 p_mouse_bb_disconnected:
-0362 704cbe00 jam 0 ,mem_mouse_pair_success 
-0363 704b9000 jam 0 ,mem_mouse_enter_sniff_count 
-0364 704b9900 jam 0 ,mem_mouse_bt_send_first_package_flag 
-0365 20404433 call mouse_bt_sniff_param_interval_setup 
-0366 20404449 call mouse_bb_discon_clear_stack 
-0367 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
-0368 247a0000 nrtn blank 
-0369 20204442 branch mouse_bb_disconnected + 4 
+0362 704b9000 jam 0 ,mem_mouse_enter_sniff_count 
+0363 704b9900 jam 0 ,mem_mouse_bt_send_first_package_flag 
+0364 20404433 call mouse_bt_sniff_param_interval_setup 
+0365 20404449 call mouse_bb_discon_clear_stack 
+0366 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
+0367 247a0000 nrtn blank 
+0368 20204442 branch mouse_bb_disconnected + 4 
 
 p_g24_pair_dispatch:
-036a 70488f00 jam default_24g_device ,mem_24g_reconn_type 
-036b 6fe14bfd fetch 2 ,mem_24g_pair_count 
-036c 1fe0fe01 increase 1 ,pdata 
-036d 67e14bfd store 2 ,mem_24g_pair_count 
-036e 6fe0cbfd fetch 1 ,mem_24g_pair_count 
-036f 1fe17eff and pdata ,0xff ,pdata 
-0370 c00022f7 beq 0 ,g24_pair_dispatch + 1 
-0371 20600000 rtn 
+0369 70488f00 jam default_24g_device ,mem_24g_reconn_type 
+036a 6fe14bfd fetch 2 ,mem_24g_pair_count 
+036b 1fe0fe01 increase 1 ,pdata 
+036c 67e14bfd store 2 ,mem_24g_pair_count 
+036d 6fe0cbfd fetch 1 ,mem_24g_pair_count 
+036e 1fe17eff and pdata ,0xff ,pdata 
+036f c00022f7 beq 0 ,g24_pair_dispatch + 1 
+0370 20600000 rtn 
 
 p_g24_reconn_dispatch:
-0372 6fe1488d fetch 2 ,mem_24g_reconn_count 
-0373 d84001f8 arg 0x01f8 ,temp 
-0374 98417e00 iand temp ,pdata 
-0375 203a037d branch p_g24_reconn_dispatch_next ,blank 
-0376 6fe1488d fetch 2 ,mem_24g_reconn_count 
-0377 1fe0fe01 increase 1 ,pdata 
-0378 67e1488d store 2 ,mem_24g_reconn_count 
-0379 20600000 rtn 
+0371 6fe1488d fetch 2 ,mem_24g_reconn_count 
+0372 d84001f8 arg 0x01f8 ,temp 
+0373 98417e00 iand temp ,pdata 
+0374 203a037c branch p_g24_reconn_dispatch_next ,blank 
+0375 6fe1488d fetch 2 ,mem_24g_reconn_count 
+0376 1fe0fe01 increase 1 ,pdata 
+0377 67e1488d store 2 ,mem_24g_reconn_count 
+0378 20600000 rtn 
 
 p_g24_reconn_mode_judge:
-037a 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-037b c29822e4 bbit1 mouse_enable_auto_24g_paring ,g24_pair_start 
-037c 20202577 branch g24_reconn_receiver_addr 
+0379 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+037a c29822e4 bbit1 mouse_enable_auto_24g_paring ,g24_pair_start 
+037b 20202577 branch g24_reconn_receiver_addr 
 
 p_g24_reconn_dispatch_next:
-037d 204025a3 call g24_reconn_data_prep 
-037e 20402662 call g24_transmit_receive_ack 
-037f 242c0396 nbranch p_g24_reconn_device_fail ,sync 
-0380 24378396 nbranch p_g24_reconn_device_fail ,user3 
-0381 20402679 call g24_ackpayload_parse 
-0382 6fe2487b fetch 4 ,mem_24g_pair_addr 
-0383 684a483f fetcht 4 ,mem_24g_addr 
-0384 98467c00 isub temp ,null 
-0385 2022837a branch p_g24_reconn_mode_judge ,zero 
-0386 6fe248ad fetch 4 ,mem_24g_device_addr 
-0387 684a483f fetcht 4 ,mem_24g_addr 
-0388 98467c00 isub temp ,null 
-0389 20428392 call p_g24_store_receiver_addr ,zero 
-038a 6fe0c8a5 fetch 1 ,mem_24g_conn_sm 
-038b 793ffe02 set0 state_24g_reconn ,pdata 
-038c 67e0c8a5 store 1 ,mem_24g_conn_sm 
-038d 58000000 setarg 0 
-038e 67e14887 store 2 ,mem_24g_pair_timeout 
-038f 67e1488d store 2 ,mem_24g_reconn_count 
-0390 67e1488b store 2 ,mem_24g_reconn_timeout 
-0391 2020259e branch g24_reconn_attempt_success 
+037c 204025a3 call g24_reconn_data_prep 
+037d 20402662 call g24_transmit_receive_ack 
+037e 242c0395 nbranch p_g24_reconn_device_fail ,sync 
+037f 24378395 nbranch p_g24_reconn_device_fail ,user3 
+0380 20402679 call g24_ackpayload_parse 
+0381 6fe2487b fetch 4 ,mem_24g_pair_addr 
+0382 684a483f fetcht 4 ,mem_24g_addr 
+0383 98467c00 isub temp ,null 
+0384 20228379 branch p_g24_reconn_mode_judge ,zero 
+0385 6fe248ad fetch 4 ,mem_24g_device_addr 
+0386 684a483f fetcht 4 ,mem_24g_addr 
+0387 98467c00 isub temp ,null 
+0388 20428391 call p_g24_store_receiver_addr ,zero 
+0389 6fe0c8a5 fetch 1 ,mem_24g_conn_sm 
+038a 793ffe02 set0 state_24g_reconn ,pdata 
+038b 67e0c8a5 store 1 ,mem_24g_conn_sm 
+038c 58000000 setarg 0 
+038d 67e14887 store 2 ,mem_24g_pair_timeout 
+038e 67e1488d store 2 ,mem_24g_reconn_count 
+038f 67e1488b store 2 ,mem_24g_reconn_timeout 
+0390 2020259e branch g24_reconn_attempt_success 
 
 p_g24_store_receiver_addr:
-0392 6fe2480f fetch 4 ,mem_24g_rxpayload + 2 
-0393 207a0000 rtn blank 
-0394 67e24895 store 4 ,mem_24g_receiver_addr 
-0395 20202587 branch g24_ch_syncword_crc8_init 
+0391 6fe2480f fetch 4 ,mem_24g_rxpayload + 2 
+0392 207a0000 rtn blank 
+0393 67e24895 store 4 ,mem_24g_receiver_addr 
+0394 20202587 branch g24_ch_syncword_crc8_init 
 
 p_g24_reconn_device_fail:
-0396 6fe0c890 fetch 1 ,mem_24g_fast_conn_enable 
-0397 203a2281 branch g24_ch ,blank 
-0398 6fe1488d fetch 2 ,mem_24g_reconn_count 
-0399 1fe0fe01 increase 1 ,pdata 
-039a 67e1488d store 2 ,mem_24g_reconn_count 
-039b 2feffe09 isolate1 9 ,pdata 
-039c 6fe0c88f fetch 1 ,mem_24g_reconn_type 
-039d c00103a0 beq fast_conn_and_3_0_addr ,p_g24_reconn_fast_conn_and_3_0 
-039e c00203a7 beq pair_and_3_0_addr ,p_g24_reconn_pair_and_3_0 
-039f 202025b1 branch g24_reconn_device_fail + 7 
+0395 6fe0c890 fetch 1 ,mem_24g_fast_conn_enable 
+0396 203a2281 branch g24_ch ,blank 
+0397 6fe1488d fetch 2 ,mem_24g_reconn_count 
+0398 1fe0fe01 increase 1 ,pdata 
+0399 67e1488d store 2 ,mem_24g_reconn_count 
+039a 2feffe09 isolate1 9 ,pdata 
+039b 6fe0c88f fetch 1 ,mem_24g_reconn_type 
+039c c001039f beq fast_conn_and_3_0_addr ,p_g24_reconn_fast_conn_and_3_0 
+039d c00203a6 beq pair_and_3_0_addr ,p_g24_reconn_pair_and_3_0 
+039e 202025b1 branch g24_reconn_device_fail + 7 
 
 p_g24_reconn_fast_conn_and_3_0:
-03a0 6fe0cc85 fetch 1 ,mem_24g_reconn_pairing_switch 
-03a1 1fe0fe01 increase 1 ,pdata 
-03a2 1fe17e03 and_into 3 ,pdata 
-03a3 67e0cc85 store 1 ,mem_24g_reconn_pairing_switch 
-03a4 c000257e beq 0 ,g24_reconn_device_3_0_addr 
-03a5 c001256f beq 2 ,g24_reconn_fast_conn 
-03a6 202022ef branch g24_pair_init_param 
+039f 6fe0cc85 fetch 1 ,mem_24g_reconn_pairing_switch 
+03a0 1fe0fe01 increase 1 ,pdata 
+03a1 1fe17e03 and_into 3 ,pdata 
+03a2 67e0cc85 store 1 ,mem_24g_reconn_pairing_switch 
+03a3 c000257e beq 0 ,g24_reconn_device_3_0_addr 
+03a4 c001256f beq 2 ,g24_reconn_fast_conn 
+03a5 202022ef branch g24_pair_init_param 
 
 p_g24_reconn_pair_and_3_0:
-03a7 2020a57e branch g24_reconn_device_3_0_addr ,true 
-03a8 202022ef branch g24_pair_init_param 
+03a6 2020a57e branch g24_reconn_device_3_0_addr ,true 
+03a7 202022ef branch g24_pair_init_param 
 
 p_g24_lpm_wait:
-03a9 6fe0cbbb fetch 1 ,mem_24g_device_led_status 
-03aa 243a7ec7 nbranch disable_user ,blank 
-03ab 78347c00 enable user 
-03ac 20401436 call lpo_calibration 
-03ad 6fe1c174 fetch 3 ,mem_clks_per_lpo 
-03ae 203a7ec7 branch disable_user ,blank 
-03af 6fe0c099 fetch 1 ,mem_lpm_mode 
-03b0 203a7ec7 branch disable_user ,blank 
-03b1 6fe0c8c1 fetch 1 ,mem_24g_transmit_by_interrupt 
-03b2 c000fec7 beq g24_tx_timer_int_enable ,disable_user 
-03b3 20600000 rtn 
+03a8 6fe0cbbb fetch 1 ,mem_24g_device_led_status 
+03a9 243a7ec7 nbranch disable_user ,blank 
+03aa 78347c00 enable user 
+03ab 20401436 call lpo_calibration 
+03ac 6fe1c174 fetch 3 ,mem_clks_per_lpo 
+03ad 203a7ec7 branch disable_user ,blank 
+03ae 6fe0c099 fetch 1 ,mem_lpm_mode 
+03af 203a7ec7 branch disable_user ,blank 
+03b0 6fe0c8c1 fetch 1 ,mem_24g_transmit_by_interrupt 
+03b1 c000fec7 beq g24_tx_timer_int_enable ,disable_user 
+03b2 20600000 rtn 
 
 p_mouse_start_discovery:
-03b4 204001ff call p_mouse_device_discovery_led_config 
-03b5 6fe1478f fetch 2 ,mem_ui_state_map 
-03b6 2feffe0b isolate1 ui_state_ble_adv ,pdata 
-03b7 2040c5c1 call mouse_stop_le_adv ,true 
-03b8 6fe1478f fetch 2 ,mem_ui_state_map 
-03b9 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
-03ba 2040c362 call mouse_cancel_reconnect ,true 
-03bb 58000000 setarg 0 
-03bc 67e14b03 store 2 ,mem_le_battery_level_updata_timer 
-03bd 20204594 branch mouse_start_discovery + 1 
+03b3 204001ff call p_mouse_device_discovery_led_config 
+03b4 6fe1478f fetch 2 ,mem_ui_state_map 
+03b5 2feffe0b isolate1 ui_state_ble_adv ,pdata 
+03b6 2040c5c1 call mouse_stop_le_adv ,true 
+03b7 6fe1478f fetch 2 ,mem_ui_state_map 
+03b8 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
+03b9 2040c362 call mouse_cancel_reconnect ,true 
+03ba 58000000 setarg 0 
+03bb 67e14b03 store 2 ,mem_le_battery_level_updata_timer 
+03bc 20204594 branch mouse_start_discovery + 1 
 
 p_mouse_stop_discovery:
-03be 58000000 setarg 0 
-03bf 67e14ad3 store 2 ,mem_mouse_discovery_timer 
-03c0 202045b7 branch mouse_stop_discovery + 1 
+03bd 58000000 setarg 0 
+03be 67e14ad3 store 2 ,mem_mouse_discovery_timer 
+03bf 202045b7 branch mouse_stop_discovery + 1 
 
 p_ui_timer_check:
-03c1 6fe0cbf4 fetch 1 ,mem_power_on_flag 
-03c2 245a78cc ncall ui_timer_init ,blank 
-03c3 704bf400 jam 0 ,mem_power_on_flag 
-03c4 202078bc branch ui_timer_check + 1 
+03c0 6fe0cbf4 fetch 1 ,mem_power_on_flag 
+03c1 245a78cc ncall ui_timer_init ,blank 
+03c2 704bf400 jam 0 ,mem_power_on_flag 
+03c3 202078bc branch ui_timer_check + 1 
 
 p_le_enable_phy_by_pdata:
-03c5 18427e00 copy temp ,pdata 
-03c6 c2801651 bbit1 bit_le_1m_phy ,le_enable 
-03c7 c28083c9 bbit1 bit_le_2m_phy ,p_le_enable_2m 
-03c8 2020163c branch le_enable_phy_by_pdata + 5 
+03c4 18427e00 copy temp ,pdata 
+03c5 c2801651 bbit1 bit_le_1m_phy ,le_enable 
+03c6 c28083c8 bbit1 bit_le_2m_phy ,p_le_enable_2m 
+03c7 2020163c branch le_enable_phy_by_pdata + 5 
 
 p_le_enable_2m:
-03c9 20401640 call le_enable_2m 
-03ca 708a6d89 jam 0x89 ,core_rx_bq_cfg0 
-03cb 20600000 rtn 
+03c8 20401640 call le_enable_2m 
+03c9 708a6d89 jam 0x89 ,core_rx_bq_cfg0 
+03ca 20600000 rtn 
 
 p_hid_rx_process:
-03cc 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
-03cd 1fe20c00 copy pdata ,contr 
-03ce efe08006 ifetch 1 ,contr 
-03cf 67e0c5f8 store 1 ,mem_l2cap_rcv_hidtype 
-03d0 1fe1040f and pdata ,0x0f ,temp 
-03d1 1ff1fe00 rshift4 pdata ,pdata 
-03d2 c00483d4 beq hid_type_set_idle ,p_hid_rx_process_handshake 
-03d3 20204df1 branch hid_rx_process + 7 
+03cb 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
+03cc 1fe20c00 copy pdata ,contr 
+03cd efe08006 ifetch 1 ,contr 
+03ce 67e0c5f8 store 1 ,mem_l2cap_rcv_hidtype 
+03cf 1fe1040f and pdata ,0x0f ,temp 
+03d0 1ff1fe00 rshift4 pdata ,pdata 
+03d1 c00483d3 beq hid_type_set_idle ,p_hid_rx_process_handshake 
+03d2 20204df1 branch hid_rx_process + 7 
 
 p_hid_rx_process_handshake:
-03d4 da200001 arg 1 ,rega 
-03d5 20404e1e call hid_malloc_tx_buff 
-03d6 6fe144df fetch 2 ,mem_hid_ctrl_remote_cid 
-03d7 e7e10005 istore 2 ,contw 
-03d8 58000000 setarg 0 
-03d9 e7e08005 istore 1 ,contw 
-03da 70095001 jam 1 ,mem_ui_data_txbuff_length 
-03db 6fe0c4e5 fetch 1 ,mem_hid_control_state 
-03dc 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
-03dd 67e0c4e5 store 1 ,mem_hid_control_state 
-03de 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
-03df 202078dc branch ui_ipc_send_event 
+03d3 da200001 arg 1 ,rega 
+03d4 20404e1e call hid_malloc_tx_buff 
+03d5 6fe144df fetch 2 ,mem_hid_ctrl_remote_cid 
+03d6 e7e10005 istore 2 ,contw 
+03d7 58000000 setarg 0 
+03d8 e7e08005 istore 1 ,contw 
+03d9 70095001 jam 1 ,mem_ui_data_txbuff_length 
+03da 6fe0c4e5 fetch 1 ,mem_hid_control_state 
+03db 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
+03dc 67e0c4e5 store 1 ,mem_hid_control_state 
+03dd 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
+03de 202078dc branch ui_ipc_send_event 
 
 p_send_lmp:
-03e0 78547c00 disable user 
-03e1 20405a44 call lmo_fifo_process 
-03e2 6fe08048 fetch 1 ,mem_lmp_to_send 
-03e3 207a0000 rtn blank 
-03e4 c283d78e bbit1 7 ,send_lmp_escape 
+03df 78547c00 disable user 
+03e0 20405a44 call lmo_fifo_process 
+03e1 6fe08048 fetch 1 ,mem_lmp_to_send 
+03e2 207a0000 rtn blank 
+03e3 c283d78e bbit1 7 ,send_lmp_escape 
 
 p_send_lmp0:
-03e5 c00383e7 beq lmp_detach ,p_send_lmp_detach 
-03e6 2020575f branch send_lmp0 
+03e4 c00383e6 beq lmp_detach ,p_send_lmp_detach 
+03e5 2020575f branch send_lmp0 
 
 p_send_lmp_detach:
-03e7 204058bb call send_lmp_detach 
-03e8 70007278 jam 120 ,mem_conn_timer 
-03e9 20600000 rtn 
+03e6 204058bb call send_lmp_detach 
+03e7 70007278 jam 120 ,mem_conn_timer 
+03e8 20600000 rtn 
 
 p_le_slave_match:
-03ea 6fe0c3dd fetch 1 ,mem_le_md_count 
-03eb 1fe0fe01 pincrease 1 
-03ec 67e0c3dd store 1 ,mem_le_md_count 
-03ed c0061606 beq le_md_max_count ,le_slave_cont 
-03ee 204018c7 call le_acknowledge 
-03ef 20401916 call le_prepare_tx 
-03f0 6fe082bd fetch 1 ,mem_le_tx_phy 
-03f1 20401637 call le_enable_phy_by_pdata 
-03f2 204017e4 call le_transmit 
-03f3 20201601 branch le_slave_match + 10 
+03e9 6fe0c3dd fetch 1 ,mem_le_md_count 
+03ea 1fe0fe01 pincrease 1 
+03eb 67e0c3dd store 1 ,mem_le_md_count 
+03ec c0061606 beq le_md_max_count ,le_slave_cont 
+03ed 204018c7 call le_acknowledge 
+03ee 20401916 call le_prepare_tx 
+03ef 6fe082bd fetch 1 ,mem_le_tx_phy 
+03f0 20401637 call le_enable_phy_by_pdata 
+03f1 204017e4 call le_transmit 
+03f2 20201601 branch le_slave_match + 10 
 
 p_le_slave_unsync:
-03f4 20400e7c call end_of_packet 
-03f5 2020160d branch le_slave_unsync + 1 
+03f3 20400e7c call end_of_packet 
+03f4 2020160d branch le_slave_unsync + 1 
 
 p_le_parse_l2cap:
-03f6 efe10006 ifetch 2 ,contr 
-03f7 c00203f9 beq le_l2cap_cid_att ,p_le_parse_att 
-03f8 20201990 branch le_parse_l2cap + 10 
+03f5 efe10006 ifetch 2 ,contr 
+03f6 c00203f8 beq le_l2cap_cid_att ,p_le_parse_att 
+03f7 20201990 branch le_parse_l2cap + 10 
 
 p_le_parse_att:
-03f9 efe18006 ifetch 3 ,contr 
-03fa 67e1c436 store 3 ,mem_le_att_opcode 
-03fb c00503fe beq attop_read_request ,p_le_parse_att_read_request 
-03fc c009040d beq attop_write_request ,p_le_parse_att_write_request 
-03fd 20201c7f branch le_parse_att + 2 
+03f8 efe18006 ifetch 3 ,contr 
+03f9 67e1c436 store 3 ,mem_le_att_opcode 
+03fa c00503fd beq attop_read_request ,p_le_parse_att_read_request 
+03fb c009040c beq attop_write_request ,p_le_parse_att_write_request 
+03fc 20201c7f branch le_parse_att + 2 
 
 p_le_parse_att_read_request:
-03fe 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-03ff c31d9d93 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
-0400 20401e39 call le_check_encrypt_state 
-0401 68494437 fetcht 2 ,mem_le_att_handle 
-0402 6fe0c3c0 fetch 1 ,mem_le_configuration 
-0403 c2818408 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
+03fd 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+03fe c31d9d93 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
+03ff 20401e39 call le_check_encrypt_state 
+0400 68494437 fetcht 2 ,mem_le_att_handle 
+0401 6fe0c3c0 fetch 1 ,mem_le_configuration 
+0402 c2818407 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
 
 p_le_send_att_read_response:
-0404 6fe14437 fetch 2 ,mem_le_att_handle 
-0405 c0181e74 beq 0x30 ,le_send_att_error_response_notfound 
-0406 68494437 fetcht 2 ,mem_le_att_handle 
-0407 20201d97 branch le_send_att_read_response 
+0403 6fe14437 fetch 2 ,mem_le_att_handle 
+0404 c0181e74 beq 0x30 ,le_send_att_error_response_notfound 
+0405 68494437 fetcht 2 ,mem_le_att_handle 
+0406 20201d97 branch le_send_att_read_response 
 
 p_le_send_att_read_response_check_auth:
-0408 6fe143d1 fetch 2 ,mem_le_pairing_handle 
-0409 98467c00 isub temp ,null 
-040a 24228404 nbranch p_le_send_att_read_response ,zero 
-040b 24340404 nbranch p_le_send_att_read_response ,user 
-040c 20201dbc branch le_send_att_read_response_error_insufficient_auth 
+0407 6fe143d1 fetch 2 ,mem_le_pairing_handle 
+0408 98467c00 isub temp ,null 
+0409 24228403 nbranch p_le_send_att_read_response ,zero 
+040a 24340403 nbranch p_le_send_att_read_response ,user 
+040b 20201dbc branch le_send_att_read_response_error_insufficient_auth 
 
 p_le_parse_att_write_request:
-040d 18c22200 copy contr ,rega 
-040e 6fe143d4 fetch 2 ,mem_le_l2cap_size 
-040f 1fe0a5fd add pdata ,-3 ,regb 
-0410 204019d1 call le_writeatt_cb 
-0411 6fe0cad2 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-0412 c07f9e1f beq 0xff ,le_send_att_write_response_check_auth 
-0413 6fe0cad8 fetch 1 ,mem_mouse_le_reconnect_flag 
-0414 203a1e1f branch le_send_att_write_response_check_auth ,blank 
-0415 6fe0cb86 fetch 1 ,mem_le_connect_status_flag 
-0416 c2809e1f bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
-0417 5800001a setarg 0x001a 
-0418 68494437 fetcht 2 ,mem_le_att_handle 
-0419 98467c00 isub temp ,null 
-041a 24229e1f nbranch le_send_att_write_response_check_auth ,zero 
-041b 20201dbc branch le_send_att_read_response_error_insufficient_auth 
+040c 18c22200 copy contr ,rega 
+040d 6fe143d4 fetch 2 ,mem_le_l2cap_size 
+040e 1fe0a5fd add pdata ,-3 ,regb 
+040f 204019d1 call le_writeatt_cb 
+0410 6fe0cad2 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+0411 c07f9e1f beq 0xff ,le_send_att_write_response_check_auth 
+0412 6fe0cad8 fetch 1 ,mem_mouse_le_reconnect_flag 
+0413 203a1e1f branch le_send_att_write_response_check_auth ,blank 
+0414 6fe0cb86 fetch 1 ,mem_le_connect_status_flag 
+0415 c2809e1f bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
+0416 5800001a setarg 0x001a 
+0417 68494437 fetcht 2 ,mem_le_att_handle 
+0418 98467c00 isub temp ,null 
+0419 24229e1f nbranch le_send_att_write_response_check_auth ,zero 
+041a 20201dbc branch le_send_att_read_response_error_insufficient_auth 
 
 p_mouse_motion:
-041c 78547c00 disable user 
-041d 58000000 setarg 0 
-041e 67e348d5 store 6 ,mem_mouse_x 
-041f 2040042c call p_mouse_check_sensor_data 
-0420 58000089 setarg 0x0089 
-0421 20405d5e call twspi_write 
-0422 204002e2 call p_mouse_seting_sensor_type 
-0423 20403fbe call mouse_zwheel 
-0424 20403fc3 call mouse_t_zwheel 
-0425 20400443 call p_mouse_key 
-0426 6fe0c8d4 fetch 1 ,mem_mouse_key 
-0427 1fe17e1f and_into 0x1f ,pdata 
-0428 67e0c8d4 store 1 ,mem_mouse_key 
-0429 24344766 nbranch mouse_drawing_optima_init ,user 
-042a 2040043c call p_mouse_drawing_optima 
-042b 20204584 branch mouse_no_data_timer_init 
+041b 78547c00 disable user 
+041c 58000000 setarg 0 
+041d 67e348d5 store 6 ,mem_mouse_x 
+041e 2040042b call p_mouse_check_sensor_data 
+041f 58000089 setarg 0x0089 
+0420 20405d5e call twspi_write 
+0421 204002e3 call p_mouse_seting_sensor_type 
+0422 20403fbe call mouse_zwheel 
+0423 20403fc3 call mouse_t_zwheel 
+0424 20400442 call p_mouse_key 
+0425 6fe0c8d4 fetch 1 ,mem_mouse_key 
+0426 1fe17e1f and_into 0x1f ,pdata 
+0427 67e0c8d4 store 1 ,mem_mouse_key 
+0428 24344766 nbranch mouse_drawing_optima_init ,user 
+0429 2040043b call p_mouse_drawing_optima 
+042a 20204584 branch mouse_no_data_timer_init 
 
 p_mouse_check_sensor_data:
-042c 6fe0c4ae fetch 1 ,mem_spi_write_flash_sm 
-042d c1800000 rtnne flash_sm_no_buys 
-042e 6fe0c92c fetch 1 ,mem_config_sensor_type 
-042f c0060432 beq ka5857 ,p_mouse_ka5857_sensor_motion 
-0430 c0058432 beq ka8g2 ,p_mouse_ka5857_sensor_motion 
-0431 20204283 branch mouse_check_sensor_data + 3 
+042b 6fe0c4ae fetch 1 ,mem_spi_write_flash_sm 
+042c c1800000 rtnne flash_sm_no_buys 
+042d 6fe0c92c fetch 1 ,mem_config_sensor_type 
+042e c0060431 beq ka5857 ,p_mouse_ka5857_sensor_motion 
+042f c0058431 beq ka8g2 ,p_mouse_ka5857_sensor_motion 
+0430 20204283 branch mouse_check_sensor_data + 3 
 
 p_mouse_ka5857_sensor_motion:
-0432 20404304 call mouse_clear_sensor_data 
-0433 6fe0c915 fetch 1 ,mem_sensor_motion_gpio 
-0434 c07f8438 beq gpio_disable ,p_mouse_ka5857_sensor_motion_1 
-0435 6848c915 fetcht 1 ,mem_sensor_motion_gpio 
-0436 204060fd call gpio_get_bit 
-0437 24608000 nrtn true 
+0431 20404304 call mouse_clear_sensor_data 
+0432 6fe0c915 fetch 1 ,mem_sensor_motion_gpio 
+0433 c07f8437 beq gpio_disable ,p_mouse_ka5857_sensor_motion_1 
+0434 6848c915 fetcht 1 ,mem_sensor_motion_gpio 
+0435 204060fd call gpio_get_bit 
+0436 24608000 nrtn true 
 
 p_mouse_ka5857_sensor_motion_1:
-0438 58000000 setarg pan_reg_pid_l 
-0439 20405d65 call twspi_read 
-043a c0ac41f2 bne pka8g2_id1 ,mouse_twspi_reset 
-043b 202042b9 branch mouse_p3212_sensor_motion_2 
+0437 58000000 setarg pan_reg_pid_l 
+0438 20405d65 call twspi_read 
+0439 c0ac41f2 bne pka8g2_id1 ,mouse_twspi_reset 
+043a 202042b9 branch mouse_p3212_sensor_motion_2 
 
 p_mouse_drawing_optima:
-043c 6fe0c92c fetch 1 ,mem_config_sensor_type 
-043d c1018000 rtneq p3212 
-043e c1058000 rtneq ka8g2 
-043f 204004a0 call p_usb_store_mem 
-0440 20404758 call mouse_drawing_optima 
-0441 204004a3 call p_usb_get_mem 
-0442 20600000 rtn 
+043b 6fe0c92c fetch 1 ,mem_config_sensor_type 
+043c c1018000 rtneq p3212 
+043d c1058000 rtneq ka8g2 
+043e 2040049f call p_usb_store_mem 
+043f 20404758 call mouse_drawing_optima 
+0440 204004a2 call p_usb_get_mem 
+0441 20600000 rtn 
 
 p_mouse_key:
-0443 20400446 call p_mouse_check_key_gpio 
-0444 2040047c call p_mouse_ghost_key_check 
-0445 2020411e branch mouse_key + 2 
+0442 20400445 call p_mouse_check_key_gpio 
+0443 2040047b call p_mouse_ghost_key_check 
+0444 2020411e branch mouse_key + 2 
 
 p_mouse_check_key_gpio:
-0446 6fe0cbf2 fetch 1 ,mem_sensor_shutdown_flag 
-0447 245a4161 ncall mouse_check_key_gpio_once ,blank 
-0448 da200000 arg 0 ,rega 
-0449 2040044d call p_mouse_check_lkey_gpio 
-044a 2040045c call p_mouse_check_bkkey_gpio 
-044b 20400469 call p_mouse_check_fwkey_gpio 
-044c 2020415e branch mouse_check_key_gpio_next 
+0445 6fe0cbf2 fetch 1 ,mem_sensor_shutdown_flag 
+0446 245a4161 ncall mouse_check_key_gpio_once ,blank 
+0447 da200000 arg 0 ,rega 
+0448 2040044c call p_mouse_check_lkey_gpio 
+0449 2040045b call p_mouse_check_bkkey_gpio 
+044a 20400468 call p_mouse_check_fwkey_gpio 
+044b 2020415e branch mouse_check_key_gpio_next 
 
 p_mouse_check_lkey_gpio:
-044d 6fe0c91c fetch 1 ,mem_lbutton_gpio 
-044e 20400476 call p_mouse_gpio_config_output_high 
-044f 20404164 call mouse_check_lkey_gpio 
-0450 6848c91c fetcht 1 ,mem_lbutton_gpio 
-0451 20403f96 call mouse_gpio_config_input_pu 
+044c 6fe0c91c fetch 1 ,mem_lbutton_gpio 
+044d 20400475 call p_mouse_gpio_config_output_high 
+044e 20404164 call mouse_check_lkey_gpio 
+044f 6848c91c fetcht 1 ,mem_lbutton_gpio 
+0450 20403f96 call mouse_gpio_config_input_pu 
 
 p_mouse_check_rkey_gpio:
-0452 6fe0c91d fetch 1 ,mem_rbutton_gpio 
-0453 20400476 call p_mouse_gpio_config_output_high 
-0454 2040416a call mouse_check_rkey_gpio 
-0455 6848c91d fetcht 1 ,mem_rbutton_gpio 
-0456 20403f96 call mouse_gpio_config_input_pu 
+0451 6fe0c91d fetch 1 ,mem_rbutton_gpio 
+0452 20400475 call p_mouse_gpio_config_output_high 
+0453 2040416a call mouse_check_rkey_gpio 
+0454 6848c91d fetcht 1 ,mem_rbutton_gpio 
+0455 20403f96 call mouse_gpio_config_input_pu 
 
 p_mouse_check_mkey_gpio:
-0457 6fe0c91e fetch 1 ,mem_mbutton_gpio 
-0458 20400476 call p_mouse_gpio_config_output_high 
-0459 20404170 call mouse_check_mkey_gpio 
-045a 6848c91e fetcht 1 ,mem_mbutton_gpio 
-045b 20203f96 branch mouse_gpio_config_input_pu 
+0456 6fe0c91e fetch 1 ,mem_mbutton_gpio 
+0457 20400475 call p_mouse_gpio_config_output_high 
+0458 20404170 call mouse_check_mkey_gpio 
+0459 6848c91e fetcht 1 ,mem_mbutton_gpio 
+045a 20203f96 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_bkkey_gpio:
-045c 6fe0c911 fetch 1 ,mem_bk_button_gpio 
-045d c17f8000 rtneq gpio_disable 
-045e 704ba703 jam mouse_bk_key ,mem_mouse_key_temp 
-045f 6fe0cba2 fetch 1 ,mem_mouse_bkkey_press_status 
-0460 1fe22600 copy pdata ,regc 
-0461 6848c911 fetcht 1 ,mem_bk_button_gpio 
-0462 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
-0463 c07f8465 beq gpio_disable ,p_mouse_3io6key_bk_check 
-0464 2020417e branch mouse_check_bkkey_gpio_next 
+045b 6fe0c911 fetch 1 ,mem_bk_button_gpio 
+045c c17f8000 rtneq gpio_disable 
+045d 704ba703 jam mouse_bk_key ,mem_mouse_key_temp 
+045e 6fe0cba2 fetch 1 ,mem_mouse_bkkey_press_status 
+045f 1fe22600 copy pdata ,regc 
+0460 6848c911 fetcht 1 ,mem_bk_button_gpio 
+0461 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
+0462 c07f8464 beq gpio_disable ,p_mouse_3io6key_bk_check 
+0463 2020417e branch mouse_check_bkkey_gpio_next 
 
 p_mouse_3io6key_bk_check:
-0465 6fe0c911 fetch 1 ,mem_bk_button_gpio 
-0466 20400479 call p_mouse_gpio_config_output_low 
-0467 6848c911 fetcht 1 ,mem_bk_button_gpio 
-0468 2020418b branch mouse_3io6key_bk_check 
+0464 6fe0c911 fetch 1 ,mem_bk_button_gpio 
+0465 20400478 call p_mouse_gpio_config_output_low 
+0466 6848c911 fetcht 1 ,mem_bk_button_gpio 
+0467 2020418b branch mouse_3io6key_bk_check 
 
 p_mouse_check_fwkey_gpio:
-0469 6fe0c912 fetch 1 ,mem_fw_button_gpio 
-046a c17f8000 rtneq gpio_disable 
-046b 704ba704 jam mouse_fw_key ,mem_mouse_key_temp 
-046c 6fe0cba3 fetch 1 ,mem_mouse_fwkey_press_status 
-046d 1fe22600 copy pdata ,regc 
-046e 6848c912 fetcht 1 ,mem_fw_button_gpio 
-046f 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
-0470 c07f8472 beq gpio_disable ,p_mouse_3io6key_fw_check 
-0471 20204197 branch mouse_check_fwkey_gpio_next 
+0468 6fe0c912 fetch 1 ,mem_fw_button_gpio 
+0469 c17f8000 rtneq gpio_disable 
+046a 704ba704 jam mouse_fw_key ,mem_mouse_key_temp 
+046b 6fe0cba3 fetch 1 ,mem_mouse_fwkey_press_status 
+046c 1fe22600 copy pdata ,regc 
+046d 6848c912 fetcht 1 ,mem_fw_button_gpio 
+046e 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
+046f c07f8471 beq gpio_disable ,p_mouse_3io6key_fw_check 
+0470 20204197 branch mouse_check_fwkey_gpio_next 
 
 p_mouse_3io6key_fw_check:
-0472 6fe0c912 fetch 1 ,mem_fw_button_gpio 
-0473 20400479 call p_mouse_gpio_config_output_low 
-0474 6848c912 fetcht 1 ,mem_fw_button_gpio 
-0475 202041a4 branch mouse_3io6key_fw_check 
+0471 6fe0c912 fetch 1 ,mem_fw_button_gpio 
+0472 20400478 call p_mouse_gpio_config_output_low 
+0473 6848c912 fetcht 1 ,mem_fw_button_gpio 
+0474 202041a4 branch mouse_3io6key_fw_check 
 
 p_mouse_gpio_config_output_high:
-0476 c17f8000 rtneq gpio_disable 
-0477 d840003f arg gpcfg_output_high ,temp 
-0478 2020612c branch gpio_config_function_int 
+0475 c17f8000 rtneq gpio_disable 
+0476 d840003f arg gpcfg_output_high ,temp 
+0477 2020612c branch gpio_config_function_int 
 
 p_mouse_gpio_config_output_low:
-0479 c17f8000 rtneq gpio_disable 
-047a d840003e arg gpcfg_output_low ,temp 
-047b 2020612c branch gpio_config_function_int 
+0478 c17f8000 rtneq gpio_disable 
+0479 d840003e arg gpcfg_output_low ,temp 
+047a 2020612c branch gpio_config_function_int 
 
 p_mouse_ghost_key_check:
-047c 704ba900 jam 0 ,mem_mouse_matrix_key_cow_count 
-047d 704baa00 jam 0 ,mem_mouse_matrix_key_row_count 
-047e 704bab00 jam 0 ,mem_mouse_ghost_flag 
-047f 1fe20400 copy pdata ,temp 
-0480 20400483 call p_mouse_ghost_key_check_l_fw 
-0481 20400486 call p_mouse_ghost_key_check_r_bk 
-0482 20204133 branch mouse_ghost_key_check + 6 
+047b 704ba900 jam 0 ,mem_mouse_matrix_key_cow_count 
+047c 704baa00 jam 0 ,mem_mouse_matrix_key_row_count 
+047d 704bab00 jam 0 ,mem_mouse_ghost_flag 
+047e 1fe20400 copy pdata ,temp 
+047f 20400482 call p_mouse_ghost_key_check_l_fw 
+0480 20400485 call p_mouse_ghost_key_check_r_bk 
+0481 20204133 branch mouse_ghost_key_check + 6 
 
 p_mouse_ghost_key_check_l_fw:
-0483 18417e11 and temp ,mouse_l_fw_button ,pdata 
-0484 c008c14e beq mouse_l_fw_button ,mouse_matrix_cow_more_than_one_key 
-0485 20600000 rtn 
+0482 18417e11 and temp ,mouse_l_fw_button ,pdata 
+0483 c008c14e beq mouse_l_fw_button ,mouse_matrix_cow_more_than_one_key 
+0484 20600000 rtn 
 
 p_mouse_ghost_key_check_r_bk:
-0486 18417e0a and temp ,mouse_r_bk_button ,pdata 
-0487 c005414e beq mouse_r_bk_button ,mouse_matrix_cow_more_than_one_key 
-0488 20600000 rtn 
+0485 18417e0a and temp ,mouse_r_bk_button ,pdata 
+0486 c005414e beq mouse_r_bk_button ,mouse_matrix_cow_more_than_one_key 
+0487 20600000 rtn 
 
 p_usb_class_type:
-0489 793f8023 set0 mark_isstr ,mark 
-048a 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
-048b 1fe17e80 and_into 0x80 ,pdata 
-048c c000048e beq out_device ,p_usb_out_device 
-048d 20207aa1 branch usb_class_type + 4 
+0488 793f8023 set0 mark_isstr ,mark 
+0489 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
+048a 1fe17e80 and_into 0x80 ,pdata 
+048b c000048d beq out_device ,p_usb_out_device 
+048c 20207aa1 branch usb_class_type + 4 
 
 p_usb_out_device:
-048e 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
-048f 1ff1fe00 rshift4 pdata ,pdata 
-0490 1fe37e00 rshift pdata ,pdata 
-0491 1fe17e03 and_into 0x03 ,pdata 
-0492 c0007ac4 beq standard_req ,usb_out_standard_req 
-0493 c0008495 beq class_req ,p_usb_out_class_req 
-0494 20207ab4 branch usb_out_device + 4 
+048d 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
+048e 1ff1fe00 rshift4 pdata ,pdata 
+048f 1fe37e00 rshift pdata ,pdata 
+0490 1fe17e03 and_into 0x03 ,pdata 
+0491 c0007ac4 beq standard_req ,usb_out_standard_req 
+0492 c0008494 beq class_req ,p_usb_out_class_req 
+0493 20207ab4 branch usb_out_device + 4 
 
 p_usb_out_class_req:
-0495 6fe08b5a fetch 1 ,mem_usb_setup_brequest 
-0496 c0048498 beq set_report ,p_usb_set_report 
-0497 20207acd branch usb_out_class_req + 1 
+0494 6fe08b5a fetch 1 ,mem_usb_setup_brequest 
+0495 c0048497 beq set_report ,p_usb_set_report 
+0496 20207acd branch usb_out_class_req + 1 
 
 p_usb_set_report:
-0498 20003a98 nop 15000 
-0499 20207c4a branch usb_set_report 
+0497 20003a98 nop 15000 
+0498 20207c4a branch usb_set_report 
 
 p_usb_tx:
-049a 6fe08bf9 fetch 1 ,mem_usb_tx_enable 
-049b 207a0000 rtn blank 
-049c 6ff08c24 fetch 1 ,core_usb_txbusy 
-049d 1fe17e0f and_into 0x0f ,pdata 
-049e 243a7d17 nbranch usb_inwake_state_tx_dispose ,blank 
-049f 20207ccc branch usb_tx + 3 
+0499 6fe08bf9 fetch 1 ,mem_usb_tx_enable 
+049a 207a0000 rtn blank 
+049b 6ff08c24 fetch 1 ,core_usb_txbusy 
+049c 1fe17e0f and_into 0x0f ,pdata 
+049d 243a7d17 nbranch usb_inwake_state_tx_dispose ,blank 
+049e 20207ccc branch usb_tx + 3 
 
 p_usb_store_mem:
-04a0 d8c009f6 arg mem_usb_status ,contr 
-04a1 d8a00c4b arg mem_usb_mem_temp ,contw 
-04a2 20207d7f branch memcpy16 
+049f d8c009f6 arg mem_usb_status ,contr 
+04a0 d8a00c4b arg mem_usb_mem_temp ,contw 
+04a1 20207d7f branch memcpy16 
 
 p_usb_get_mem:
-04a3 d8a009f6 arg mem_usb_status ,contw 
-04a4 d8c00c4b arg mem_usb_mem_temp ,contr 
-04a5 20207d7f branch memcpy16 
+04a2 d8a009f6 arg mem_usb_status ,contw 
+04a3 d8c00c4b arg mem_usb_mem_temp ,contr 
+04a4 20207d7f branch memcpy16 
 
 p_mouse_usb_check_enable:
-04a6 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-04a7 c4068000 rtnbit0 mouse_enable_usb 
-04a8 704930a5 jam mouse_usb_interface_remove ,mem_mouse_usb_vdd_status 
-04a9 20600000 rtn 
+04a5 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+04a6 c4068000 rtnbit0 mouse_enable_usb 
+04a7 704930a5 jam mouse_usb_interface_remove ,mem_mouse_usb_vdd_status 
+04a8 20600000 rtn 
 
 p_mouse_usb_config_param:
-04aa 204004b3 call p_mouse_usb_config_kb_check 
-04ab 204004db call p_mouse_usb_report_rate_set 
-04ac 204004b8 call p_mouse_usb_config_param_setup 
+04a9 204004b2 call p_mouse_usb_config_kb_check 
+04aa 204004da call p_mouse_usb_report_rate_set 
+04ab 204004b7 call p_mouse_usb_config_param_setup 
 
 p_mouse_usb_device_name_config:
-04ad 6fe0cc91 fetch 1 ,mem_usb_device_name_retention 
-04ae 207a0000 rtn blank 
-04af d8c04c91 arg mem_usb_device_name_retention ,contr 
-04b0 d8a00b09 arg mem_string2 ,contw 
-04b1 df20001e arg 30 ,loopcnt 
-04b2 20207dd4 branch memcpy 
+04ac 6fe0cc91 fetch 1 ,mem_usb_device_name_retention 
+04ad 207a0000 rtn blank 
+04ae d8c04c91 arg mem_usb_device_name_retention ,contr 
+04af d8a00b09 arg mem_string2 ,contw 
+04b0 df20001e arg 30 ,loopcnt 
+04b1 20207dd4 branch memcpy 
 
 p_mouse_usb_config_kb_check:
-04b3 70493100 jam dongle_kb_bind_eeprom_offect ,mem_mouse_usb_keyboard_flag 
-04b4 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-04b5 c40a8000 rtnbit0 mouse_enable_keyboard 
-04b6 7049315a jam dongle_kb_bind_success ,mem_mouse_usb_keyboard_flag 
-04b7 20600000 rtn 
+04b2 70493100 jam dongle_kb_bind_eeprom_offect ,mem_mouse_usb_keyboard_flag 
+04b3 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+04b4 c40a8000 rtnbit0 mouse_enable_keyboard 
+04b5 7049315a jam dongle_kb_bind_success ,mem_mouse_usb_keyboard_flag 
+04b6 20600000 rtn 
 
 p_mouse_usb_config_param_setup:
-04b8 20407a5b call usb_tx_interval_config 
-04b9 204004bc call p_mouse_usb_vid_pid_config 
+04b7 20407a5b call usb_tx_interval_config 
+04b8 204004bb call p_mouse_usb_vid_pid_config 
 
 p_mouse_usb_hid_icon_config:
-04ba 6fe0c931 fetch 1 ,mem_mouse_usb_keyboard_flag 
-04bb 202036ee branch dongle_usb_hid_icon_config + 1 
+04b9 6fe0c931 fetch 1 ,mem_mouse_usb_keyboard_flag 
+04ba 202036ee branch dongle_usb_hid_icon_config + 1 
 
 p_mouse_usb_vid_pid_config:
-04bc 6fe08b48 fetch 1 ,mem_usb_vid_pid 
-04bd 207a0000 rtn blank 
-04be 6fe0c931 fetch 1 ,mem_mouse_usb_keyboard_flag 
-04bf c02d36eb beq dongle_kb_bind_success ,dongle_usb_vid_pid_for_suit 
-04c0 202036e8 branch dongle_usb_vid_pid_for_mouse_only_auto_pair 
+04bb 6fe08b48 fetch 1 ,mem_usb_vid_pid 
+04bc 207a0000 rtn blank 
+04bd 6fe0c931 fetch 1 ,mem_mouse_usb_keyboard_flag 
+04be c02d36eb beq dongle_kb_bind_success ,dongle_usb_vid_pid_for_suit 
+04bf 202036e8 branch dongle_usb_vid_pid_for_mouse_only_auto_pair 
 
 p_usb_timer_check:
-04c1 20407ec7 call disable_user 
-04c2 684a4ace fetcht 4 ,mem_btclk_sensor 
-04c3 1c427e00 copy clkn_bt ,pdata 
-04c4 98467c00 isub temp ,null 
-04c5 244104d0 ncall p_usb_timer_timeout ,positive 
-04c6 1fe22400 copy pdata ,regb 
-04c7 6fe24ace fetch 4 ,mem_btclk_sensor 
-04c8 6848c92e fetcht 1 ,mem_wire_usb_interval 
-04c9 98408400 iadd temp ,temp 
-04ca 1a427e00 copy regb ,pdata 
-04cb 98467c00 isub temp ,null 
-04cc 24610000 nrtn positive 
-04cd 793ffe1c set0 28 ,pdata 
-04ce 67e24ace store 4 ,mem_btclk_sensor 
-04cf 20207ec5 branch enable_user 
+04c0 20407ec7 call disable_user 
+04c1 684a4ace fetcht 4 ,mem_btclk_sensor 
+04c2 1c427e00 copy clkn_bt ,pdata 
+04c3 98467c00 isub temp ,null 
+04c4 244104cf ncall p_usb_timer_timeout ,positive 
+04c5 1fe22400 copy pdata ,regb 
+04c6 6fe24ace fetch 4 ,mem_btclk_sensor 
+04c7 6848c92e fetcht 1 ,mem_wire_usb_interval 
+04c8 98408400 iadd temp ,temp 
+04c9 1a427e00 copy regb ,pdata 
+04ca 98467c00 isub temp ,null 
+04cb 24610000 nrtn positive 
+04cc 793ffe1c set0 28 ,pdata 
+04cd 67e24ace store 4 ,mem_btclk_sensor 
+04ce 20207ec5 branch enable_user 
 
 p_usb_timer_timeout:
-04d0 20628000 rtn zero 
-04d1 79207e1c set1 28 ,pdata 
-04d2 20600000 rtn 
+04cf 20628000 rtn zero 
+04d0 79207e1c set1 28 ,pdata 
+04d1 20600000 rtn 
 
 p_usb_timer_init:
-04d3 58000000 setarg 0 
-04d4 67e24ace store 4 ,mem_btclk_sensor 
-04d5 20600000 rtn 
+04d2 58000000 setarg 0 
+04d3 67e24ace store 4 ,mem_btclk_sensor 
+04d4 20600000 rtn 
 
 p_select_system_clk_24m_dpll:
-04d6 7041f018 jam system_clk_24m ,mem_system_clk 
-04d7 70804201 jam clksel_dpll_24m ,core_clksel 
-04d8 5800176f setarg 5999 
-04d9 67f10040 store 2 ,core_halfslot 
-04da 20206312 branch calc_new_param 
+04d5 7041f018 jam system_clk_24m ,mem_system_clk 
+04d6 70804201 jam clksel_dpll_24m ,core_clksel 
+04d7 5800176f setarg 5999 
+04d8 67f10040 store 2 ,core_halfslot 
+04d9 20206312 branch calc_new_param 
 
 p_mouse_usb_report_rate_set:
-04db 204004d3 call p_usb_timer_init 
-04dc 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-04dd c28e84e2 bbit1 mouse_enable_usb_250 ,p_usb_report_rate_set_250hz 
-04de c28f04e4 bbit1 mouse_enable_usb_500 ,p_usb_report_rate_set_500hz 
-04df c28f84e6 bbit1 mouse_enable_usb_1000 ,p_usb_report_rate_set_1000hz 
+04da 204004d2 call p_usb_timer_init 
+04db 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+04dc c28e84e1 bbit1 mouse_enable_usb_250 ,p_usb_report_rate_set_250hz 
+04dd c28f04e3 bbit1 mouse_enable_usb_500 ,p_usb_report_rate_set_500hz 
+04de c28f84e5 bbit1 mouse_enable_usb_1000 ,p_usb_report_rate_set_1000hz 
 
 p_usb_report_rate_set_125hz:
-04e0 70492e20 jam 32 ,mem_wire_usb_interval 
-04e1 20600000 rtn 
+04df 70492e20 jam 32 ,mem_wire_usb_interval 
+04e0 20600000 rtn 
 
 p_usb_report_rate_set_250hz:
-04e2 70492e10 jam 16 ,mem_wire_usb_interval 
-04e3 20600000 rtn 
+04e1 70492e10 jam 16 ,mem_wire_usb_interval 
+04e2 20600000 rtn 
 
 p_usb_report_rate_set_500hz:
-04e4 70492e08 jam 8 ,mem_wire_usb_interval 
-04e5 20600000 rtn 
+04e3 70492e08 jam 8 ,mem_wire_usb_interval 
+04e4 20600000 rtn 
 
 p_usb_report_rate_set_1000hz:
-04e6 70492e04 jam 4 ,mem_wire_usb_interval 
-04e7 20600000 rtn 
+04e5 70492e04 jam 4 ,mem_wire_usb_interval 
+04e6 20600000 rtn 
 
 p_mouse_usb_isr:
-04e8 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-04e9 c4068000 rtnbit0 mouse_enable_usb 
-04ea 204004ee call p_mouse_usb_interface_check 
-04eb 6fe0c930 fetch 1 ,mem_mouse_usb_vdd_status 
-04ec c1ad0000 rtnne mouse_usb_interface_insert 
-04ed 202079fc branch usb_isr 
+04e7 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+04e8 c4068000 rtnbit0 mouse_enable_usb 
+04e9 204004ed call p_mouse_usb_interface_check 
+04ea 6fe0c930 fetch 1 ,mem_mouse_usb_vdd_status 
+04eb c1ad0000 rtnne mouse_usb_interface_insert 
+04ec 202079fc branch usb_isr 
 
 p_mouse_usb_interface_check:
-04ee 68488b58 fetcht 1 ,mem_usb_offline_check_gpio 
-04ef 204060fd call gpio_get_bit 
-04f0 242084f2 nbranch p_mouse_usb_gpio_low ,true 
-04f1 202004ff branch p_mouse_usb_gpio_high 
+04ed 68488b58 fetcht 1 ,mem_usb_offline_check_gpio 
+04ee 204060fd call gpio_get_bit 
+04ef 242084f1 nbranch p_mouse_usb_gpio_low ,true 
+04f0 202004fe branch p_mouse_usb_gpio_high 
 
 p_mouse_usb_gpio_low:
-04f2 6fe0c930 fetch 1 ,mem_mouse_usb_vdd_status 
-04f3 c1528000 rtneq mouse_usb_interface_remove 
-04f4 704930a5 jam mouse_usb_interface_remove ,mem_mouse_usb_vdd_status 
-04f5 704caf00 jam 0 ,mem_usb_mode_enable 
-04f6 700bfa00 jam 0 ,mem_usb_device_enumeration_endflag 
-04f7 7009f600 jam 0 ,mem_usb_status 
-04f8 700bec00 jam 0 ,mem_usb_state 
-04f9 6ff10050 fetch 2 ,core_clkoff 
-04fa 79207e0a set1 clock_off_usb ,pdata 
-04fb 67f10050 store 2 ,core_clkoff 
-04fc 70409901 jam 1 ,mem_lpm_mode 
-04fd 20406321 call select_system_clk_12m_dpll 
-04fe 20200240 branch p_mouse_soft_reset 
+04f1 6fe0c930 fetch 1 ,mem_mouse_usb_vdd_status 
+04f2 c1528000 rtneq mouse_usb_interface_remove 
+04f3 704930a5 jam mouse_usb_interface_remove ,mem_mouse_usb_vdd_status 
+04f4 704caf00 jam 0 ,mem_usb_mode_enable 
+04f5 700bfa00 jam 0 ,mem_usb_device_enumeration_endflag 
+04f6 7009f600 jam 0 ,mem_usb_status 
+04f7 700bec00 jam 0 ,mem_usb_state 
+04f8 6ff10050 fetch 2 ,core_clkoff 
+04f9 79207e0a set1 clock_off_usb ,pdata 
+04fa 67f10050 store 2 ,core_clkoff 
+04fb 70409901 jam 1 ,mem_lpm_mode 
+04fc 20406321 call select_system_clk_12m_dpll 
+04fd 20200240 branch p_mouse_soft_reset 
 
 p_mouse_usb_gpio_high:
-04ff 6fe0c930 fetch 1 ,mem_mouse_usb_vdd_status 
-0500 c12d0000 rtneq mouse_usb_interface_insert 
-0501 7049305a jam mouse_usb_interface_insert ,mem_mouse_usb_vdd_status 
+04fe 6fe0c930 fetch 1 ,mem_mouse_usb_vdd_status 
+04ff c12d0000 rtneq mouse_usb_interface_insert 
+0500 7049305a jam mouse_usb_interface_insert ,mem_mouse_usb_vdd_status 
+0501 704caf01 jam 1 ,mem_usb_mode_enable 
 0502 58000000 setarg 0 
 0503 67e14887 store 2 ,mem_24g_pair_timeout 
 0504 67e1488b store 2 ,mem_24g_reconn_timeout 
-0505 704caf01 jam 1 ,mem_usb_mode_enable 
-0506 204001ce call p_mouse_multi_led_blink_disable 
-0507 70409900 jam 0 ,mem_lpm_mode 
-0508 204004d6 call p_select_system_clk_24m_dpll 
-0509 20404831 call mouse_24g_stop 
-050a 20400042 call p_mouse_stop_bluetooth_mode 
-050b 7855fc00 disable wake 
-050c 2040430a call mouse_init_sensor_reset 
-050d 580004aa setarg p_mouse_usb_config_param 
-050e 67e10b45 store 2 ,mem_cb_usb_config 
-050f 6fe0cc87 fetch 1 ,mem_usb_tx_interval_retention 
-0510 67e08b47 store 1 ,mem_usb_tx_interval 
-0511 d8c04c88 arg mem_usb_vid_pid_retention ,contr 
-0512 d8a00b48 arg mem_usb_vid_pid ,contw 
-0513 df200009 arg 9 ,loopcnt 
-0514 20407dd4 call memcpy 
-0515 20207a08 branch usb_init 
+0505 204001ce call p_mouse_multi_led_blink_disable 
+0506 70409900 jam 0 ,mem_lpm_mode 
+0507 204004d5 call p_select_system_clk_24m_dpll 
+0508 20404831 call mouse_24g_stop 
+0509 20400042 call p_mouse_stop_bluetooth_mode 
+050a 7855fc00 disable wake 
+050b 2040430a call mouse_init_sensor_reset 
+050c 580004a9 setarg p_mouse_usb_config_param 
+050d 67e10b45 store 2 ,mem_cb_usb_config 
+050e 6fe0cc87 fetch 1 ,mem_usb_tx_interval_retention 
+050f 67e08b47 store 1 ,mem_usb_tx_interval 
+0510 d8c04c88 arg mem_usb_vid_pid_retention ,contr 
+0511 d8a00b48 arg mem_usb_vid_pid ,contw 
+0512 df200009 arg 9 ,loopcnt 
+0513 20407dd4 call memcpy 
+0514 20207a08 branch usb_init 
+
+p_mouse_usb_mode_flag_check:
+0515 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0516 c4068000 rtnbit0 mouse_enable_usb 
+0517 6fe0c930 fetch 1 ,mem_mouse_usb_vdd_status 
+0518 c02d051b beq mouse_usb_interface_insert ,p_mouse_usb_mode_flag_enable 
+0519 c052851f beq mouse_usb_interface_remove ,p_mouse_usb_mode_flag_disable 
+051a 20600000 rtn 
+
+p_mouse_usb_mode_flag_enable:
+051b 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
+051c 207a0000 rtn blank 
+051d 704cbe01 jam 1 ,mem_mouse_pair_success 
+051e 20600000 rtn 
+
+p_mouse_usb_mode_flag_disable:
+051f 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
+0520 207a0000 rtn blank 
+0521 704cbe00 jam 0 ,mem_mouse_pair_success 
+0522 20600000 rtn 
 
 p_mouse_usb_mode:
-0516 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-0517 c4068000 rtnbit0 mouse_enable_usb 
-0518 6ff08c02 fetch 1 ,core_usb_addr 
-0519 67e0c92f store 1 ,mem_usb_addr 
-051a c4038000 rtnbit0 7 
-051b 204004c1 call p_usb_timer_check 
-051c 24740000 nrtn user 
-051d 20403fb0 call mouse_motion 
-051e 24740000 nrtn user 
-051f 20200520 branch p_mouse_push_data_to_usb 
+0523 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0524 c4068000 rtnbit0 mouse_enable_usb 
+0525 6ff08c02 fetch 1 ,core_usb_addr 
+0526 67e0c92f store 1 ,mem_usb_addr 
+0527 c4038000 rtnbit0 7 
+0528 204004c0 call p_usb_timer_check 
+0529 24740000 nrtn user 
+052a 20403fb0 call mouse_motion 
+052b 24740000 nrtn user 
+052c 2020052d branch p_mouse_push_data_to_usb 
 
 p_mouse_push_data_to_usb:
-0520 6ff08c02 fetch 1 ,core_usb_addr 
-0521 c4038000 rtnbit0 7 
-0522 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-0523 c30a8526 bbit0 mouse_enable_keyboard ,p_mouse_push_mouse_data_to_usb 
-0524 6fe0cb9c fetch 1 ,mem_customer_key 
-0525 c000852c beq 1 ,p_mouse_push_keyboard_data_to_usb 
+052d 6ff08c02 fetch 1 ,core_usb_addr 
+052e c4038000 rtnbit0 7 
+052f 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0530 c30a8533 bbit0 mouse_enable_keyboard ,p_mouse_push_mouse_data_to_usb 
+0531 6fe0cb9c fetch 1 ,mem_customer_key 
+0532 c0008539 beq 1 ,p_mouse_push_keyboard_data_to_usb 
 
 p_mouse_push_mouse_data_to_usb:
-0526 2040370f call dongle_usb_tx_ms_data 
-0527 58000001 setarg ms_report_id 
-0528 67e08bff store 1 ,mem_usb_mouse_data 
-0529 6fe3c8d4 fetch 7 ,mem_mouse_key 
-052a e7e38005 istore 7 ,contw 
-052b 20600000 rtn 
+0533 2040370f call dongle_usb_tx_ms_data 
+0534 58000001 setarg ms_report_id 
+0535 67e08bff store 1 ,mem_usb_mouse_data 
+0536 6fe3c8d4 fetch 7 ,mem_mouse_key 
+0537 e7e38005 istore 7 ,contw 
+0538 20600000 rtn 
 
 p_mouse_push_keyboard_data_to_usb:
-052c 6fe0cb9d fetch 1 ,mem_customer_data_trigger 
-052d 203a0537 branch p_mouse_push_release_keyboard_data_to_usb ,blank 
-052e 6fe44bde fetch 8 ,mem_customer_key_press + 1 
+0539 6fe0cb9d fetch 1 ,mem_customer_data_trigger 
+053a 203a0544 branch p_mouse_push_release_keyboard_data_to_usb ,blank 
+053b 6fe44bde fetch 8 ,mem_customer_key_press + 1 
 
 p_mouse_push_keyboard_package_data_to_usb:
-052f 67e4095c store 8 ,mem_pdatatemp 
-0530 6fe0cbdd fetch 1 ,mem_customer_key_press 
-0531 c0018539 beq kb_multikey_report_id ,p_mouse_push_multimedia_key_data_to_usb 
-0532 c0010540 beq kb_system_conctrl_report_id ,p_mouse_push_systemctrl_key_data_to_usb 
-0533 2040371d call dongle_usb_tx_kb_data 
-0534 6fe4095c fetch 8 ,mem_pdatatemp 
-0535 67e40c0f store 8 ,mem_usb_kb_data 
-0536 20600000 rtn 
+053c 67e4095c store 8 ,mem_pdatatemp 
+053d 6fe0cbdd fetch 1 ,mem_customer_key_press 
+053e c0018546 beq kb_multikey_report_id ,p_mouse_push_multimedia_key_data_to_usb 
+053f c001054d beq kb_system_conctrl_report_id ,p_mouse_push_systemctrl_key_data_to_usb 
+0540 2040371d call dongle_usb_tx_kb_data 
+0541 6fe4095c fetch 8 ,mem_pdatatemp 
+0542 67e40c0f store 8 ,mem_usb_kb_data 
+0543 20600000 rtn 
 
 p_mouse_push_release_keyboard_data_to_usb:
-0537 6fe44be7 fetch 8 ,mem_customer_key_release + 1 
-0538 2020052f branch p_mouse_push_keyboard_package_data_to_usb 
+0544 6fe44be7 fetch 8 ,mem_customer_key_release + 1 
+0545 2020053c branch p_mouse_push_keyboard_package_data_to_usb 
 
 p_mouse_push_multimedia_key_data_to_usb:
-0539 20403710 call dongle_usb_tx_enable_ep2 
-053a 700bf821 jam usb_ep2_multikey ,mem_usb_ep2_data 
-053b 58000003 setarg kb_multikey_report_id 
-053c 67e08c1f store 1 ,mem_usb_kb_multikey 
-053d 6fe1095c fetch 2 ,mem_pdatatemp 
-053e e7e10005 istore 2 ,contw 
-053f 20600000 rtn 
+0546 20403710 call dongle_usb_tx_enable_ep2 
+0547 700bf821 jam usb_ep2_multikey ,mem_usb_ep2_data 
+0548 58000003 setarg kb_multikey_report_id 
+0549 67e08c1f store 1 ,mem_usb_kb_multikey 
+054a 6fe1095c fetch 2 ,mem_pdatatemp 
+054b e7e10005 istore 2 ,contw 
+054c 20600000 rtn 
 
 p_mouse_push_systemctrl_key_data_to_usb:
-0540 20403710 call dongle_usb_tx_enable_ep2 
-0541 700bf822 jam usb_ep2_systemkey ,mem_usb_ep2_data 
-0542 58000002 setarg kb_system_conctrl_report_id 
-0543 67e08c2f store 1 ,mem_usb_kb_system 
-0544 6fe0895c fetch 1 ,mem_pdatatemp 
-0545 e7e08005 istore 1 ,contw 
-0546 20600000 rtn 
+054d 20403710 call dongle_usb_tx_enable_ep2 
+054e 700bf822 jam usb_ep2_systemkey ,mem_usb_ep2_data 
+054f 58000002 setarg kb_system_conctrl_report_id 
+0550 67e08c2f store 1 ,mem_usb_kb_system 
+0551 6fe0895c fetch 1 ,mem_pdatatemp 
+0552 e7e08005 istore 1 ,contw 
+0553 20600000 rtn 
               org 0x800
 
 start:
Index: program/patch.prog
===================================================================
--- /YC1308AF/branch/mouse/mouse_public_4mode_usb _1M/program/patch.prog	(revision 3610)
+++ /YC1308AF/branch/mouse/mouse_public_4mode_usb _1M/program/patch.prog	(working copy)
@@ -1244,6 +1244,7 @@
 ifdef USB
 	call p_mouse_usb_isr
 	call p_mouse_usb_mode
+	call p_mouse_usb_mode_flag_check
 endif
 	rtn
 
@@ -1468,7 +1469,6 @@
 	store 1,mem_mouse_le_send_conn_param_update
 	store 1,mem_mouse_le_send_conn_param_update_timer
 	store 1,mem_mouse_le_bb_connected_flag
-	jam 0,mem_mouse_pair_success
 
 	jam LE_LPM_ENABLE,mem_mouse_le_conn_param_reject
 	jam 0,mem_mouse_clear_sensor_data_flag
@@ -1489,8 +1489,6 @@
 	branch mouse_bb_event_connected
 
 p_mouse_bb_disconnected:
-	jam 0,mem_mouse_pair_success
-
 	jam 0,mem_mouse_enter_sniff_count	
 	jam 0,mem_mouse_bt_send_first_package_flag
 	call mouse_bt_sniff_param_interval_setup
@@ -2159,10 +2157,10 @@
 	fetch 1,mem_mouse_usb_vdd_status
 	rtneq MOUSE_USB_INTERFACE_INSERT
 	jam MOUSE_USB_INTERFACE_INSERT,mem_mouse_usb_vdd_status
+	jam 1,mem_usb_mode_enable		//disabl select device
 	setarg 0
 	store 2,mem_24g_pair_timeout
 	store 2,mem_24g_reconn_timeout
-	jam 1,mem_usb_mode_enable		//can not select device
 	call p_mouse_multi_led_blink_disable
 	jam 0,mem_lpm_mode
 	call p_select_system_clk_24M_dpll
@@ -2181,6 +2179,25 @@
 	call memcpy
 	branch usb_init
 
+p_mouse_usb_mode_flag_check:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_USB
+	fetch 1,mem_mouse_usb_vdd_status
+	beq MOUSE_USB_INTERFACE_INSERT,p_mouse_usb_mode_flag_enable
+	beq MOUSE_USB_INTERFACE_REMOVE,p_mouse_usb_mode_flag_disable
+	rtn
+
+p_mouse_usb_mode_flag_enable:
+	fetch 1,mem_usb_mode_enable
+	rtn blank
+	jam 1,mem_mouse_pair_success	
+	rtn
+p_mouse_usb_mode_flag_disable:
+	fetch 1,mem_usb_mode_enable
+	rtn blank
+	jam 0,mem_mouse_pair_success	
+	rtn
+
 p_mouse_usb_mode:
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
 	rtnbit0 MOUSE_ENABLE_USB
Index: sched/mouse.dat
===================================================================
--- /YC1308AF/branch/mouse/mouse_public_4mode_usb _1M/sched/mouse.dat	(revision 3565)
+++ /YC1308AF/branch/mouse/mouse_public_4mode_usb _1M/sched/mouse.dat	(working copy)
@@ -73,7 +73,7 @@
 #bit5 MOUSE_ENABLE_PB_BUTTON_CONNECT_GND
 #bit6 MOUSE_ENABLE_DPI_KEY_CONNECT_ADC
 #bit7 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING
-00
+22
 
 #mouse flag byte7
 #bit0 MOUSE_ENABLE_AUTO_24G_PARING
@@ -122,7 +122,7 @@
 mem_lbutton_gpio:02
 mem_rbutton_gpio:0f
 mem_mbutton_gpio:0e
-mem_config_select_device_button_gpio:ff#00
+mem_config_select_device_button_gpio:00
 mem_whee_ta_data_gpio:ff
 mem_whee_tb_data_gpio:ff
 mem_device_switch_gpio:ff
@@ -162,7 +162,7 @@
 mem_lpm_mode:01
 
 mem_mouse_bluetooth_type:03	#03 bt3.0+ble   #02 ble   #01 bt3.0
-mem_device_number:01  #max device number   value:01,02,03
+mem_device_number:02  #max device number   value:01,02,03
 
 mem_device_flag:
 00
