Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/PB_3mode_3ch_1IO2LED_24G_BT1_WK8_NEW/output/eeprom.dat	(revision 3319)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/PB_3mode_3ch_1IO2LED_24G_BT1_WK8_NEW/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-ba
+be
 19
 c2
 84
@@ -75,11 +75,11 @@
 c0
 67
 05
-2e
+2f
 c0
 67
 86
-36
+37
 c0
 68
 03
@@ -87,7 +87,7 @@
 c0
 68
 85
-5e
+5f
 c0
 69
 83
@@ -95,7 +95,7 @@
 c0
 6a
 05
-41
+42
 c0
 6b
 02
@@ -111,11 +111,11 @@
 c0
 6d
 84
-c2
+c3
 c0
 6f
 05
-d1
+d2
 c0
 6f
 80
@@ -131,7 +131,7 @@
 c0
 74
 04
-c9
+ca
 20
 20
 13
@@ -139,7 +139,7 @@
 c0
 0d
 04
-dd
+de
 c0
 10
 00
@@ -155,23 +155,23 @@
 c0
 43
 84
-c5
+c6
 c0
 50
 84
-e7
+e8
 c0
 51
 84
-f1
+f2
 c0
 5a
 84
-f3
+f4
 c0
 60
 04
-fd
+fe
 c0
 6e
 83
@@ -191,11 +191,11 @@
 c0
 76
 05
-23
+24
 c0
 76
 86
-66
+67
 20
 20
 13
@@ -1083,7 +1083,7 @@
 20
 20
 04
-53
+46
 6f
 e0
 cc
@@ -1247,7 +1247,7 @@
 20
 40
 05
-50
+51
 20
 20
 3b
@@ -1971,7 +1971,7 @@
 20
 20
 05
-50
+51
 20
 40
 26
@@ -2247,7 +2247,7 @@
 20
 20
 05
-e6
+e7
 70
 4b
 94
@@ -2383,11 +2383,11 @@
 20
 40
 05
-4b
+4c
 20
 40
 05
-50
+51
 20
 20
 3e
@@ -2431,7 +2431,7 @@
 20
 40
 05
-91
+92
 d8
 40
 00
@@ -2635,7 +2635,7 @@
 20
 40
 05
-91
+92
 20
 20
 3e
@@ -2663,7 +2663,7 @@
 20
 40
 05
-23
+24
 24
 74
 00
@@ -3107,7 +3107,7 @@
 20
 40
 05
-50
+51
 20
 20
 02
@@ -4435,7 +4435,7 @@
 20
 20
 60
-65
+7f
 70
 4c
 43
@@ -4731,7 +4731,7 @@
 20
 40
 05
-5e
+5f
 1f
 e1
 7e
@@ -4840,6 +4840,10 @@
 40
 03
 f9
+20
+40
+01
+0c
 6f
 e1
 47
@@ -4931,7 +4935,7 @@
 c0
 04
 84
-d1
+d2
 20
 20
 4d
@@ -5007,7 +5011,7 @@
 c0
 03
 84
-e4
+e5
 20
 20
 57
@@ -5119,7 +5123,7 @@
 c0
 02
 05
-00
+01
 20
 20
 19
@@ -5135,11 +5139,11 @@
 c0
 05
 05
-05
+06
 c0
 09
 05
-14
+15
 20
 20
 1c
@@ -5167,7 +5171,7 @@
 c2
 81
 85
-0f
+10
 6f
 e1
 44
@@ -5195,11 +5199,11 @@
 24
 22
 85
-0b
+0c
 24
 34
 05
-0b
+0c
 20
 20
 1e
@@ -5339,7 +5343,7 @@
 20
 40
 05
-57
+58
 6f
 e0
 c8
@@ -5355,11 +5359,11 @@
 24
 34
 05
-3c
+3d
 20
 40
 05
-3e
+3f
 20
 20
 45
@@ -5395,7 +5399,7 @@
 c0
 05
 85
-48
+49
 20
 40
 42
@@ -5415,7 +5419,7 @@
 20
 40
 05
-4e
+4f
 da
 60
 4b
@@ -5423,7 +5427,7 @@
 20
 20
 05
-46
+47
 6f
 e0
 c9
@@ -5431,7 +5435,7 @@
 c0
 05
 85
-4e
+4f
 20
 20
 42
@@ -5459,7 +5463,7 @@
 c0
 05
 85
-55
+56
 20
 20
 42
@@ -5475,7 +5479,7 @@
 20
 40
 05
-97
+98
 6f
 e0
 cc
@@ -5483,7 +5487,7 @@
 24
 3a
 05
-ae
+af
 6f
 e0
 cc
@@ -5491,11 +5495,11 @@
 24
 3a
 05
-ad
+ae
 20
 40
 05
-5e
+5f
 20
 20
 40
@@ -5515,27 +5519,27 @@
 20
 40
 05
-68
+69
 20
 40
 05
-6d
+6e
 20
 40
 05
-72
+73
 20
 40
 05
-77
+78
 20
 40
 05
-84
+85
 20
 40
 05
-97
+98
 20
 20
 41
@@ -5547,7 +5551,7 @@
 20
 40
 05
-91
+92
 20
 40
 41
@@ -5567,7 +5571,7 @@
 20
 40
 05
-91
+92
 20
 40
 41
@@ -5587,7 +5591,7 @@
 20
 40
 05
-91
+92
 20
 40
 41
@@ -5631,7 +5635,7 @@
 c0
 7f
 85
-80
+81
 20
 20
 41
@@ -5643,7 +5647,7 @@
 20
 40
 05
-94
+95
 68
 48
 c9
@@ -5683,7 +5687,7 @@
 c0
 7f
 85
-8d
+8e
 20
 20
 41
@@ -5695,7 +5699,7 @@
 20
 40
 05
-94
+95
 68
 48
 c9
@@ -5747,7 +5751,7 @@
 24
 3a
 05
-a4
+a5
 68
 48
 cc
@@ -5815,15 +5819,15 @@
 20
 20
 05
-a1
+a2
 c0
 02
 05
-c6
+c7
 20
 40
 05
-c9
+ca
 6f
 e2
 4c
@@ -5859,19 +5863,19 @@
 c0
 00
 05
-bc
+bd
 c0
 00
 85
-bf
+c0
 c0
 01
 05
-c2
+c3
 c0
 01
 85
-c4
+c5
 20
 60
 00
@@ -5907,7 +5911,7 @@
 20
 20
 05
-bd
+be
 70
 4c
 32
@@ -5915,7 +5919,7 @@
 20
 20
 05
-c0
+c1
 70
 4c
 32
@@ -5943,7 +5947,7 @@
 24
 41
 05
-ce
+cf
 20
 60
 00
@@ -5963,7 +5967,7 @@
 20
 40
 05
-d7
+d8
 20
 40
 79
@@ -5971,15 +5975,15 @@
 20
 40
 05
-e6
+e7
 20
 40
 05
-fa
+fb
 20
 40
 05
-db
+dc
 20
 20
 46
@@ -6007,11 +6011,11 @@
 c2
 94
 85
-df
+e0
 c2
 9b
 85
-df
+e0
 20
 60
 00
@@ -6075,7 +6079,7 @@
 20
 40
 05
-ef
+f0
 20
 20
 40
@@ -6103,7 +6107,7 @@
 c0
 7f
 85
-f6
+f7
 20
 20
 40
@@ -6115,7 +6119,7 @@
 20
 40
 05
-94
+95
 68
 48
 c9
@@ -6139,7 +6143,7 @@
 24
 3a
 06
-03
+04
 6f
 e0
 cc
@@ -6147,11 +6151,11 @@
 20
 40
 05
-91
+92
 20
 40
 06
-0e
+0f
 68
 48
 cc
@@ -6175,7 +6179,7 @@
 20
 40
 05
-94
+95
 70
 4c
 3f
@@ -6191,11 +6195,11 @@
 20
 40
 06
-27
+28
 20
 40
 06
-12
+13
 68
 48
 cc
@@ -6219,7 +6223,7 @@
 20
 40
 06
-1d
+1e
 67
 e0
 cc
@@ -6231,7 +6235,7 @@
 20
 3a
 06
-19
+1a
 6f
 e0
 cc
@@ -6295,11 +6299,11 @@
 c0
 03
 86
-32
+33
 c0
 00
 06
-34
+35
 20
 60
 00
@@ -6339,11 +6343,11 @@
 c0
 03
 86
-32
+33
 c0
 00
 06
-34
+35
 20
 60
 00
@@ -6387,7 +6391,7 @@
 c2
 9e
 86
-42
+43
 18
 42
 7e
@@ -6419,7 +6423,7 @@
 24
 3a
 06
-5f
+60
 6f
 e4
 4b
@@ -6427,7 +6431,7 @@
 c2
 8e
 06
-53
+54
 18
 42
 7e
@@ -6439,11 +6443,11 @@
 c0
 00
 06
-4f
+50
 c0
 01
 06
-4d
+4e
 20
 60
 00
@@ -6455,7 +6459,7 @@
 20
 20
 06
-3f
+40
 58
 00
 00
@@ -6463,7 +6467,7 @@
 20
 20
 06
-3f
+40
 58
 00
 00
@@ -6471,7 +6475,7 @@
 20
 20
 06
-3f
+40
 58
 00
 00
@@ -6479,7 +6483,7 @@
 20
 20
 06
-3f
+40
 18
 42
 7e
@@ -6491,15 +6495,15 @@
 c0
 00
 06
-4f
+50
 c0
 01
 06
-51
+52
 c0
 01
 86
-4d
+4e
 20
 60
 00
@@ -6515,15 +6519,15 @@
 c0
 00
 06
-51
+52
 c0
 00
 86
-4d
+4e
 c0
 01
 86
-4b
+4c
 20
 60
 00
@@ -6535,7 +6539,7 @@
 c2
 8e
 06
-59
+5a
 18
 42
 7e
@@ -6547,11 +6551,11 @@
 c0
 00
 06
-4b
+4c
 c0
 00
 86
-4d
+4e
 20
 60
 00
@@ -6588,8 +6592,8 @@
 20
 26
 f6
-aa
-63
+de
+f9
 aa
 55
 40
@@ -6731,7 +6735,7 @@
 4b
 04
 09
-0a
+1a
 00
 00
 22
@@ -6743,7 +6747,7 @@
 00
 40
 4c
-03
+0b
 aa
 55
 0c
@@ -6768,8 +6772,8 @@
 00
 0d
 49
-0c
 0d
+0c
 0b
 aa
 55
@@ -6824,8 +6828,8 @@
 00
 24
 49
-03
-03
+02
+02
 00
 aa
 55
@@ -6904,8 +6908,8 @@
 0a
 8a
 03
-ff
-ff
+0a
+0a
 aa
 55
 01
@@ -7061,7 +7065,7 @@
 00
 fd
 48
-02
+00
 aa
 55
 01
@@ -7075,12 +7079,12 @@
 00
 e3
 48
-0f
+47
+01
+21
+01
+35
 01
-a2
-00
-b4
-00
 aa
 55
 0a
@@ -7170,20 +7174,17 @@
 51
 aa
 55
-0d
+0a
 00
 fc
 45
-0c
-53
-54
-2d
-36
-30
-30
-20
+09
+43
+41
+52
 42
-54
+4f
+4e
 33
 2e
 30
@@ -7269,7 +7270,7 @@
 03
 aa
 55
-15
+13
 00
 d2
 4a
@@ -7280,76 +7281,68 @@
 03
 00
 80
-0d
+0b
 09
-53
-54
-2d
-36
-30
-30
-20
+43
+41
+52
 42
-54
+4f
+4e
+20
 35
 2e
 32
 aa
 55
-0f
+0d
 00
 07
 44
 1f
-0d
+0b
 09
-53
-54
-2d
-36
-30
-30
-20
+43
+41
+52
 42
-54
+4f
+4e
+20
 35
 2e
 32
 aa
 55
-0d
+0b
 00
 f7
 42
-0c
-53
-54
-2d
-36
-30
-30
-20
+0a
+43
+41
+52
 42
-54
+4f
+4e
+20
 35
 2e
 32
 aa
 55
-0d
+0b
 00
 1e
 4c
-0c
-53
-54
-2d
-36
-30
-30
-20
+0a
+43
+41
+52
 42
-54
+4f
+4e
+20
 35
 2e
 32
@@ -7941,10 +7934,10 @@
 aa
 aa
 55
-45
-92
-12
-ab
+fc
+8d
+c5
+30
 ff
 ff
 ff
@@ -8188,5 +8181,12 @@
 ff
 ff
 ff
-13
-0d
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+93
+14
Index: output/program.lis
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/PB_3mode_3ch_1IO2LED_24G_BT1_WK8_NEW/output/program.lis	(revision 3319)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/PB_3mode_3ch_1IO2LED_24G_BT1_WK8_NEW/output/program.lis	(working copy)
@@ -17,39 +17,39 @@
 000e c0648255 beq patch19_1 ,p_mouse_setgpio_hibernate 
 000f c065028b beq patch19_2 ,p_mouse_lpm_before_common 
 0010 c06600c4 beq patch19_4 ,p_mouse_adc_read_start 
-0011 c067052e beq patch19_6 ,p_mouse_motion 
-0012 c0678636 beq patch19_7 ,p_mouse_dpi_process 
+0011 c067052f beq patch19_6 ,p_mouse_motion 
+0012 c0678637 beq patch19_7 ,p_mouse_dpi_process 
 0013 c068035d beq patch1a_0 ,p_mouse_seting_dpi 
-0014 c068855e beq patch1a_1 ,p_mouse_check_key_gpio 
+0014 c068855f beq patch1a_1 ,p_mouse_check_key_gpio 
 0015 c0698376 beq patch1a_3 ,p_mouse_init_sunt 
-0016 c06a0541 beq patch1a_4 ,p_mouse_sensor_poweron 
+0016 c06a0542 beq patch1a_4 ,p_mouse_sensor_poweron 
 0017 c06b02ad beq patch1a_6 ,p_mouse_priority_bb_event 
 0018 c06c839e beq patch1b_1 ,p_mouse_bb_event_timer 
 0019 c06d04b8 beq patch1b_2 ,p_mouse_start_discovery 
-001a c06d84c2 beq patch1b_3 ,p_mouse_stop_discovery 
-001b c06f05d1 beq patch1b_6 ,p_mouse_idle 
+001a c06d84c3 beq patch1b_3 ,p_mouse_stop_discovery 
+001b c06f05d2 beq patch1b_6 ,p_mouse_idle 
 001c c06f804f beq patch1b_7 ,p_mouse_ready_reconnection_by_button 
 001d c0708047 beq patch1c_1 ,p_mouse_led_off 
 001e c0710043 beq patch1c_2 ,p_mouse_led_on 
-001f c07404c9 beq patch1d_0 ,p_hid_rx_process 
+001f c07404ca beq patch1d_0 ,p_hid_rx_process 
 0020 2020137c branch loop 
 
 pf_patch_ext:
-0021 c00d04dd beq patch23_2 ,p_send_lmp 
+0021 c00d04de beq patch23_2 ,p_send_lmp 
 0022 c0100041 beq patch24_0 ,p_twspi_reset 
 0023 c01980a4 beq patch26_3 ,p_adc_init_data 
 0024 c01a00a9 beq patch26_4 ,p_enable_adc 
-0025 c04384c5 beq patch30_7 ,p_ui_timer_check 
-0026 c05084e7 beq patch34_1 ,p_le_slave_match 
-0027 c05184f1 beq patch34_3 ,p_le_slave_unsync 
-0028 c05a84f3 beq patch36_5 ,p_le_transmit 
-0029 c06004fd beq patch38_0 ,p_le_parse_l2cap 
+0025 c04384c6 beq patch30_7 ,p_ui_timer_check 
+0026 c05084e8 beq patch34_1 ,p_le_slave_match 
+0027 c05184f2 beq patch34_3 ,p_le_slave_unsync 
+0028 c05a84f4 beq patch36_5 ,p_le_transmit 
+0029 c06004fe beq patch38_0 ,p_le_parse_l2cap 
 002a c06e833d beq patch3b_5 ,p_g24_dispatch 
 002b c0710309 beq patch3c_2 ,p_g24_pair_dispatch 
 002c c0748311 beq patch3d_1 ,p_g24_reconn_dispatch 
 002d c07501ec beq patch3d_2 ,p_g24_transmit_no_interrupt 
-002e c0760523 beq patch3d_4 ,p_g24_lpm_wait 
-002f c0768666 beq patch3d_5 ,p_power_ctrl_start 
+002e c0760524 beq patch3d_4 ,p_g24_lpm_wait 
+002f c0768667 beq patch3d_5 ,p_power_ctrl_start 
 0030 2020137c branch loop 
 
 p_soft_reset:
@@ -351,7 +351,7 @@
 
 p_mouse_low_voltage_led_off:
 010c 6848cc58 fetcht 1 ,mem_mouse_low_gpio 
-010d 20200453 branch p_mouse_multi_led_off 
+010d 20200446 branch p_gpio_set_high_impedance 
 
 p_mouse_low_led_blink_decrease:
 010e 6fe0cc54 fetch 1 ,mem_mouse_multi_low_led_blink_count 
@@ -404,7 +404,7 @@
 0133 20403d8a call mouse_usb_check_enable 
 0134 20404728 call mouse_drawing_optima_init 
 0135 2040019e call p_mouse_cb_fuction 
-0136 20400550 call p_mouse_sensor_powerdown 
+0136 20400551 call p_mouse_sensor_powerdown 
 0137 20203bc9 branch mouse_init + 8 
 
 p_mouse_double_dpi_judge:
@@ -639,7 +639,7 @@
 01e8 67e0cba4 store 1 ,mem_mouse_search_dongle_action 
 01e9 6fe14bbc fetch 2 ,mem_mouse_24g_search_dongle_time_init 
 01ea 67e14ab2 store 2 ,mem_mouse_no_data_timer 
-01eb 20200550 branch p_mouse_sensor_powerdown 
+01eb 20200551 branch p_mouse_sensor_powerdown 
 
 p_g24_transmit_no_interrupt:
 01ec 20402631 call g24_txdata_prep 
@@ -732,7 +732,7 @@
 p_mouse_dpi_check_once:
 022e 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
 022f c4140000 rtnbit0 mouse_enable_select_device_by_dpi_button 
-0230 202005e6 branch p_mouse_dpi_check 
+0230 202005e7 branch p_mouse_dpi_check 
 
 p_mouse_select_device_by_pb_button_check_once:
 0231 704b9403 jam 0x03 ,mem_mouse_pbkey_press_status 
@@ -782,8 +782,8 @@
 024f 58000006 setarg pan_reg_config 
 0250 20405b0d call twspi_read 
 0251 c281be23 bbit1 3 ,mouse_app_enter_hibernate + 3 
-0252 2040054b call p_mouse_sensor_reset 
-0253 20400550 call p_mouse_sensor_powerdown 
+0252 2040054c call p_mouse_sensor_reset 
+0253 20400551 call p_mouse_sensor_powerdown 
 0254 20203e23 branch mouse_app_enter_hibernate + 3 
 
 p_mouse_setgpio_hibernate:
@@ -796,7 +796,7 @@
 025b 6848c910 fetcht 1 ,mem_matrix_public_gpio 
 025c 20406042 call gpio_clr_wake 
 025d 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
-025e 20400591 call p_mouse_gpio_config_output_high 
+025e 20400592 call p_mouse_gpio_config_output_high 
 025f d8400003 arg 3 ,temp 
 0260 20403f56 call mouse_gpio_config_input_pu 
 0261 2040028b call p_mouse_lpm_before_common 
@@ -865,7 +865,7 @@
 028e 20406050 call gpio_config_input 
 028f 20403f88 call mouse_wheel_check 
 0290 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
-0291 20400591 call p_mouse_gpio_config_output_high 
+0291 20400592 call p_mouse_gpio_config_output_high 
 0292 20203e44 branch mouse_lpm_before_common + 4 
 
 p_g24_nodata_transmit:
@@ -876,7 +876,7 @@
 0297 2040269f call g24_search_receiver 
 
 p_g24_long_sleep:
-0298 20400523 call p_g24_lpm_wait 
+0298 20400524 call p_g24_lpm_wait 
 0299 24740000 nrtn user 
 029a 204026c4 call g24_setgpio_lpm_before 
 029b 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
@@ -1023,7 +1023,7 @@
 0304 58000000 setarg 0 
 0305 67e3c8d0 store 7 ,mem_mouse_key 
 0306 704be101 jam 1 ,mem_sensor_shutdown_flag 
-0307 20400550 call p_mouse_sensor_powerdown 
+0307 20400551 call p_mouse_sensor_powerdown 
 0308 20200298 branch p_g24_long_sleep 
 
 p_g24_pair_dispatch:
@@ -1517,7 +1517,7 @@
 0452 6848cc59 fetcht 1 ,mem_mouse_dpi_gpio 
 
 p_mouse_multi_led_off:
-0453 20206065 branch gpio_out_inactive 
+0453 2020607f branch gpio_set_high_impedance 
 
 p_mouse_multi_dpi_led_on_judge:
 0454 704c4301 jam on ,mem_mouse_multi_led_state 
@@ -1621,7 +1621,7 @@
 
 p_mouse_commbination_key_start:
 049c 6048cb9d storet 1 ,mem_mouse_commbination_key 
-049d 2040055e call p_mouse_check_key_gpio 
+049d 2040055f call p_mouse_check_key_gpio 
 049e 1fe17e07 and pdata ,0x07 ,pdata 
 049f 6848cb9d fetcht 1 ,mem_mouse_commbination_key 
 04a0 98467c00 isub temp ,null 
@@ -1665,621 +1665,622 @@
 
 p_mouse_start_discovery:
 04b8 204003f9 call p_mouse_device_discovery_led_config 
-04b9 6fe1478c fetch 2 ,mem_ui_state_map 
-04ba 2feffe0b isolate1 ui_state_ble_adv ,pdata 
-04bb 2040c581 call mouse_stop_le_adv ,true 
-04bc 6fe1478c fetch 2 ,mem_ui_state_map 
-04bd 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
-04be 2040c322 call mouse_cancel_reconnect ,true 
-04bf 58000000 setarg 0 
-04c0 67e14af2 store 2 ,mem_le_battery_level_updata_timer 
-04c1 20204554 branch mouse_start_discovery + 1 
+04b9 2040010c call p_mouse_low_voltage_led_off 
+04ba 6fe1478c fetch 2 ,mem_ui_state_map 
+04bb 2feffe0b isolate1 ui_state_ble_adv ,pdata 
+04bc 2040c581 call mouse_stop_le_adv ,true 
+04bd 6fe1478c fetch 2 ,mem_ui_state_map 
+04be 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
+04bf 2040c322 call mouse_cancel_reconnect ,true 
+04c0 58000000 setarg 0 
+04c1 67e14af2 store 2 ,mem_le_battery_level_updata_timer 
+04c2 20204554 branch mouse_start_discovery + 1 
 
 p_mouse_stop_discovery:
-04c2 58000000 setarg 0 
-04c3 67e14ac2 store 2 ,mem_mouse_discovery_timer 
-04c4 20204577 branch mouse_stop_discovery + 1 
+04c3 58000000 setarg 0 
+04c4 67e14ac2 store 2 ,mem_mouse_discovery_timer 
+04c5 20204577 branch mouse_stop_discovery + 1 
 
 p_ui_timer_check:
-04c5 6fe0cbe2 fetch 1 ,mem_power_on_flag 
-04c6 245a7861 ncall ui_timer_init ,blank 
-04c7 704be200 jam 0 ,mem_power_on_flag 
-04c8 20207851 branch ui_timer_check + 1 
+04c6 6fe0cbe2 fetch 1 ,mem_power_on_flag 
+04c7 245a7861 ncall ui_timer_init ,blank 
+04c8 704be200 jam 0 ,mem_power_on_flag 
+04c9 20207851 branch ui_timer_check + 1 
 
 p_hid_rx_process:
-04c9 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
-04ca 1fe20c00 copy pdata ,contr 
-04cb efe08006 ifetch 1 ,contr 
-04cc 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
-04cd 1fe1040f and pdata ,0x0f ,temp 
-04ce 1ff1fe00 rshift4 pdata ,pdata 
-04cf c00484d1 beq hid_type_set_idle ,p_hid_rx_process_handshake 
-04d0 20204d93 branch hid_rx_process + 7 
+04ca 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
+04cb 1fe20c00 copy pdata ,contr 
+04cc efe08006 ifetch 1 ,contr 
+04cd 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
+04ce 1fe1040f and pdata ,0x0f ,temp 
+04cf 1ff1fe00 rshift4 pdata ,pdata 
+04d0 c00484d2 beq hid_type_set_idle ,p_hid_rx_process_handshake 
+04d1 20204d93 branch hid_rx_process + 7 
 
 p_hid_rx_process_handshake:
-04d1 da200001 arg 1 ,rega 
-04d2 20404dc0 call hid_malloc_tx_buff 
-04d3 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
-04d4 e7e10005 istore 2 ,contw 
-04d5 58000000 setarg 0 
-04d6 e7e08005 istore 1 ,contw 
-04d7 70095001 jam 1 ,mem_ui_data_txbuff_length 
-04d8 6fe0c4e2 fetch 1 ,mem_hid_control_state 
-04d9 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
-04da 67e0c4e2 store 1 ,mem_hid_control_state 
-04db 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
-04dc 20207871 branch ui_ipc_send_event 
+04d2 da200001 arg 1 ,rega 
+04d3 20404dc0 call hid_malloc_tx_buff 
+04d4 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
+04d5 e7e10005 istore 2 ,contw 
+04d6 58000000 setarg 0 
+04d7 e7e08005 istore 1 ,contw 
+04d8 70095001 jam 1 ,mem_ui_data_txbuff_length 
+04d9 6fe0c4e2 fetch 1 ,mem_hid_control_state 
+04da 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
+04db 67e0c4e2 store 1 ,mem_hid_control_state 
+04dc 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
+04dd 20207871 branch ui_ipc_send_event 
 
 p_send_lmp:
-04dd 78547c00 disable user 
-04de 204059e6 call lmo_fifo_process 
-04df 6fe08049 fetch 1 ,mem_lmp_to_send 
-04e0 207a0000 rtn blank 
-04e1 c283d730 bbit1 7 ,send_lmp_escape 
+04de 78547c00 disable user 
+04df 204059e6 call lmo_fifo_process 
+04e0 6fe08049 fetch 1 ,mem_lmp_to_send 
+04e1 207a0000 rtn blank 
+04e2 c283d730 bbit1 7 ,send_lmp_escape 
 
 p_send_lmp0:
-04e2 c00384e4 beq lmp_detach ,p_send_lmp_detach 
-04e3 20205701 branch send_lmp0 
+04e3 c00384e5 beq lmp_detach ,p_send_lmp_detach 
+04e4 20205701 branch send_lmp0 
 
 p_send_lmp_detach:
-04e4 2040585d call send_lmp_detach 
-04e5 70007378 jam 120 ,mem_conn_timer 
-04e6 20600000 rtn 
+04e5 2040585d call send_lmp_detach 
+04e6 70007378 jam 120 ,mem_conn_timer 
+04e7 20600000 rtn 
 
 p_le_slave_match:
-04e7 6fe0c3dd fetch 1 ,mem_le_md_count 
-04e8 1fe0fe01 pincrease 1 
-04e9 67e0c3dd store 1 ,mem_le_md_count 
-04ea c006165a beq le_md_max_count ,le_slave_cont 
-04eb 2040191b call le_acknowledge 
-04ec 2040196a call le_prepare_tx 
-04ed 6fe082bd fetch 1 ,mem_le_tx_phy 
-04ee 2040168b call le_enable_phy_by_pdata 
-04ef 20401838 call le_transmit 
-04f0 20201655 branch le_slave_match + 10 
+04e8 6fe0c3dd fetch 1 ,mem_le_md_count 
+04e9 1fe0fe01 pincrease 1 
+04ea 67e0c3dd store 1 ,mem_le_md_count 
+04eb c006165a beq le_md_max_count ,le_slave_cont 
+04ec 2040191b call le_acknowledge 
+04ed 2040196a call le_prepare_tx 
+04ee 6fe082bd fetch 1 ,mem_le_tx_phy 
+04ef 2040168b call le_enable_phy_by_pdata 
+04f0 20401838 call le_transmit 
+04f1 20201655 branch le_slave_match + 10 
 
 p_le_slave_unsync:
-04f1 20400e80 call end_of_packet 
-04f2 20201661 branch le_slave_unsync + 1 
+04f2 20400e80 call end_of_packet 
+04f3 20201661 branch le_slave_unsync + 1 
 
 p_le_transmit:
-04f3 204016be call le_prep 
-04f4 204016cc call le_tx_setfreq 
-04f5 20404cb5 call rf_debug_tx_on_line 
-04f6 79202a00 set1 txgfsk ,radio_ctrl 
-04f7 782efc00 enable encode_fec0 
-04f8 78307c00 enable is_tx 
-04f9 7850fc00 disable is_rx 
-04fa 20401744 call le_wait_tx 
-04fb 2000000a nop 10 
-04fc 20201841 branch le_transmit + 9 
+04f4 204016be call le_prep 
+04f5 204016cc call le_tx_setfreq 
+04f6 20404cb5 call rf_debug_tx_on_line 
+04f7 79202a00 set1 txgfsk ,radio_ctrl 
+04f8 782efc00 enable encode_fec0 
+04f9 78307c00 enable is_tx 
+04fa 7850fc00 disable is_rx 
+04fb 20401744 call le_wait_tx 
+04fc 2000000a nop 10 
+04fd 20201841 branch le_transmit + 9 
 
 p_le_parse_l2cap:
-04fd efe10006 ifetch 2 ,contr 
-04fe c0020500 beq le_l2cap_cid_att ,p_le_parse_att 
-04ff 202019e4 branch le_parse_l2cap + 10 
+04fe efe10006 ifetch 2 ,contr 
+04ff c0020501 beq le_l2cap_cid_att ,p_le_parse_att 
+0500 202019e4 branch le_parse_l2cap + 10 
 
 p_le_parse_att:
-0500 efe18006 ifetch 3 ,contr 
-0501 67e1c436 store 3 ,mem_le_att_opcode 
-0502 c0050505 beq attop_read_request ,p_le_parse_att_read_request 
-0503 c0090514 beq attop_write_request ,p_le_parse_att_write_request 
-0504 20201cd3 branch le_parse_att + 2 
+0501 efe18006 ifetch 3 ,contr 
+0502 67e1c436 store 3 ,mem_le_att_opcode 
+0503 c0050506 beq attop_read_request ,p_le_parse_att_read_request 
+0504 c0090515 beq attop_write_request ,p_le_parse_att_write_request 
+0505 20201cd3 branch le_parse_att + 2 
 
 p_le_parse_att_read_request:
-0505 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0506 c31d9de7 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
-0507 20401e8d call le_check_encrypt_state 
-0508 68494437 fetcht 2 ,mem_le_att_handle 
-0509 6fe0c3c0 fetch 1 ,mem_le_configuration 
-050a c281850f bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
+0506 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0507 c31d9de7 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
+0508 20401e8d call le_check_encrypt_state 
+0509 68494437 fetcht 2 ,mem_le_att_handle 
+050a 6fe0c3c0 fetch 1 ,mem_le_configuration 
+050b c2818510 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
 
 p_le_send_att_read_response:
-050b 6fe14437 fetch 2 ,mem_le_att_handle 
-050c c0181ec8 beq 0x30 ,le_send_att_error_response_notfound 
-050d 68494437 fetcht 2 ,mem_le_att_handle 
-050e 20201deb branch le_send_att_read_response 
+050c 6fe14437 fetch 2 ,mem_le_att_handle 
+050d c0181ec8 beq 0x30 ,le_send_att_error_response_notfound 
+050e 68494437 fetcht 2 ,mem_le_att_handle 
+050f 20201deb branch le_send_att_read_response 
 
 p_le_send_att_read_response_check_auth:
-050f 6fe143d1 fetch 2 ,mem_le_pairing_handle 
-0510 98467c00 isub temp ,null 
-0511 2422850b nbranch p_le_send_att_read_response ,zero 
-0512 2434050b nbranch p_le_send_att_read_response ,user 
-0513 20201e10 branch le_send_att_read_response_error_insufficient_auth 
+0510 6fe143d1 fetch 2 ,mem_le_pairing_handle 
+0511 98467c00 isub temp ,null 
+0512 2422850c nbranch p_le_send_att_read_response ,zero 
+0513 2434050c nbranch p_le_send_att_read_response ,user 
+0514 20201e10 branch le_send_att_read_response_error_insufficient_auth 
 
 p_le_parse_att_write_request:
-0514 18c22200 copy contr ,rega 
-0515 6fe143d4 fetch 2 ,mem_le_l2cap_size 
-0516 1fe0a5fd add pdata ,-3 ,regb 
-0517 20401a25 call le_writeatt_cb 
-0518 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-0519 c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
-051a 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
-051b 203a1e73 branch le_send_att_write_response_check_auth ,blank 
-051c 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
-051d c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
-051e 5800001a setarg 0x001a 
-051f 68494437 fetcht 2 ,mem_le_att_handle 
-0520 98467c00 isub temp ,null 
-0521 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
-0522 20201e10 branch le_send_att_read_response_error_insufficient_auth 
+0515 18c22200 copy contr ,rega 
+0516 6fe143d4 fetch 2 ,mem_le_l2cap_size 
+0517 1fe0a5fd add pdata ,-3 ,regb 
+0518 20401a25 call le_writeatt_cb 
+0519 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+051a c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
+051b 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
+051c 203a1e73 branch le_send_att_write_response_check_auth ,blank 
+051d 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
+051e c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
+051f 5800001a setarg 0x001a 
+0520 68494437 fetcht 2 ,mem_le_att_handle 
+0521 98467c00 isub temp ,null 
+0522 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
+0523 20201e10 branch le_send_att_read_response_error_insufficient_auth 
 
 p_g24_lpm_wait:
-0523 78347c00 enable user 
-0524 20401465 call lpo_calibration 
-0525 6fe1c174 fetch 3 ,mem_clks_per_lpo 
-0526 203a7e56 branch disable_user ,blank 
-0527 6fe0c099 fetch 1 ,mem_lpm_mode 
-0528 203a7e56 branch disable_user ,blank 
-0529 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-052a 247a0000 nrtn blank 
-052b 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
-052c c000fe56 beq g24_tx_timer_int_enable ,disable_user 
-052d 20600000 rtn 
+0524 78347c00 enable user 
+0525 20401465 call lpo_calibration 
+0526 6fe1c174 fetch 3 ,mem_clks_per_lpo 
+0527 203a7e56 branch disable_user ,blank 
+0528 6fe0c099 fetch 1 ,mem_lpm_mode 
+0529 203a7e56 branch disable_user ,blank 
+052a 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+052b 247a0000 nrtn blank 
+052c 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
+052d c000fe56 beq g24_tx_timer_int_enable ,disable_user 
+052e 20600000 rtn 
 
 p_mouse_motion:
-052e 78547c00 disable user 
-052f 58000000 setarg 0 
-0530 67e348d1 store 6 ,mem_mouse_x 
-0531 20404240 call mouse_check_sensor_data 
-0532 2040035f call p_mouse_seting_sensor_type 
-0533 20403f7e call mouse_zwheel 
-0534 20403f83 call mouse_t_zwheel 
-0535 20400557 call p_mouse_key 
-0536 6fe0c8d0 fetch 1 ,mem_mouse_key 
-0537 1fe17e1f and_into 0x1f ,pdata 
-0538 67e0c8d0 store 1 ,mem_mouse_key 
-0539 2434053c nbranch p_mouse_motion_nodata ,user 
-053a 2040053e call p_mouse_drawing_optima 
-053b 20204544 branch mouse_no_data_timer_init 
+052f 78547c00 disable user 
+0530 58000000 setarg 0 
+0531 67e348d1 store 6 ,mem_mouse_x 
+0532 20404240 call mouse_check_sensor_data 
+0533 2040035f call p_mouse_seting_sensor_type 
+0534 20403f7e call mouse_zwheel 
+0535 20403f83 call mouse_t_zwheel 
+0536 20400558 call p_mouse_key 
+0537 6fe0c8d0 fetch 1 ,mem_mouse_key 
+0538 1fe17e1f and_into 0x1f ,pdata 
+0539 67e0c8d0 store 1 ,mem_mouse_key 
+053a 2434053d nbranch p_mouse_motion_nodata ,user 
+053b 2040053f call p_mouse_drawing_optima 
+053c 20204544 branch mouse_no_data_timer_init 
 
 p_mouse_motion_nodata:
-053c 20404728 call mouse_drawing_optima_init 
-053d 20600000 rtn 
+053d 20404728 call mouse_drawing_optima_init 
+053e 20600000 rtn 
 
 p_mouse_drawing_optima:
-053e 6fe0c927 fetch 1 ,mem_config_sensor_type 
-053f c1018000 rtneq p3212 
-0540 2020471a branch mouse_drawing_optima 
+053f 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0540 c1018000 rtneq p3212 
+0541 2020471a branch mouse_drawing_optima 
 
 p_mouse_sensor_poweron:
-0541 20403f65 call mouse_sensor_spi_init 
-0542 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0543 c0058548 beq ka8g2 ,p_mouse_ka8g2_sensor_init 
-0544 20404232 call mouse_sensor_reset 
-0545 da604aa3 arg mem_sensor_poweron_init ,regc 
+0542 20403f65 call mouse_sensor_spi_init 
+0543 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0544 c0058549 beq ka8g2 ,p_mouse_ka8g2_sensor_init 
+0545 20404232 call mouse_sensor_reset 
+0546 da604aa3 arg mem_sensor_poweron_init ,regc 
 
 p_mouse_sensor_end:
-0546 2040422b call mouse_sensor_wr_seq 
-0547 2020035f branch p_mouse_seting_sensor_type 
+0547 2040422b call mouse_sensor_wr_seq 
+0548 2020035f branch p_mouse_seting_sensor_type 
 
 p_mouse_ka8g2_sensor_init:
-0548 2040054e call p_mouse_ka8g2_sensor_reset 
-0549 da604be3 arg mem_ka8g2_sensor_poweron_init ,regc 
-054a 20200546 branch p_mouse_sensor_end 
+0549 2040054f call p_mouse_ka8g2_sensor_reset 
+054a da604be3 arg mem_ka8g2_sensor_poweron_init ,regc 
+054b 20200547 branch p_mouse_sensor_end 
 
 p_mouse_sensor_reset:
-054b 6fe0c927 fetch 1 ,mem_config_sensor_type 
-054c c005854e beq ka8g2 ,p_mouse_ka8g2_sensor_reset 
-054d 20204232 branch mouse_sensor_reset 
+054c 6fe0c927 fetch 1 ,mem_config_sensor_type 
+054d c005854f beq ka8g2 ,p_mouse_ka8g2_sensor_reset 
+054e 20204232 branch mouse_sensor_reset 
 
 p_mouse_ka8g2_sensor_reset:
-054e 58009706 setarg 0x9706 
-054f 20204233 branch mouse_sensor_reset_end 
+054f 58009706 setarg 0x9706 
+0550 20204233 branch mouse_sensor_reset_end 
 
 p_mouse_sensor_powerdown:
-0550 204041a7 call mouse_init_sunt 
-0551 20403f65 call mouse_sensor_spi_init 
-0552 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0553 c0058555 beq ka8g2 ,p_mouse_ka8g2_sensor_powerdown 
-0554 2020423e branch mouse_sensor_powerdown_end 
+0551 204041a7 call mouse_init_sunt 
+0552 20403f65 call mouse_sensor_spi_init 
+0553 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0554 c0058556 beq ka8g2 ,p_mouse_ka8g2_sensor_powerdown 
+0555 2020423e branch mouse_sensor_powerdown_end 
 
 p_mouse_ka8g2_sensor_powerdown:
-0555 58001f06 setarg 0x1f06 
-0556 20205b0c branch twspi_write 
+0556 58001f06 setarg 0x1f06 
+0557 20205b0c branch twspi_write 
 
 p_mouse_key:
-0557 20400597 call p_mouse_check_firekey_gpio 
-0558 6fe0cc37 fetch 1 ,mem_fire_key_flag 
-0559 243a05ae nbranch p_fire_key_press ,blank 
-055a 6fe0cc32 fetch 1 ,mem_fire_key_status 
-055b 243a05ad nbranch p_fire_key_process ,blank 
-055c 2040055e call p_mouse_check_key_gpio 
-055d 202040dd branch mouse_key + 1 
+0558 20400598 call p_mouse_check_firekey_gpio 
+0559 6fe0cc37 fetch 1 ,mem_fire_key_flag 
+055a 243a05af nbranch p_fire_key_press ,blank 
+055b 6fe0cc32 fetch 1 ,mem_fire_key_status 
+055c 243a05ae nbranch p_fire_key_process ,blank 
+055d 2040055f call p_mouse_check_key_gpio 
+055e 202040dd branch mouse_key + 1 
 
 p_mouse_check_key_gpio:
-055e 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-055f 245a4121 ncall mouse_check_key_gpio_once ,blank 
-0560 da200000 arg 0 ,rega 
-0561 20400568 call p_mouse_check_lkey_gpio 
-0562 2040056d call p_mouse_check_rkey_gpio 
-0563 20400572 call p_mouse_check_mkey_gpio 
-0564 20400577 call p_mouse_check_bkkey_gpio 
-0565 20400584 call p_mouse_check_fwkey_gpio 
-0566 20400597 call p_mouse_check_firekey_gpio 
-0567 2020411e branch mouse_check_key_gpio_next 
+055f 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+0560 245a4121 ncall mouse_check_key_gpio_once ,blank 
+0561 da200000 arg 0 ,rega 
+0562 20400569 call p_mouse_check_lkey_gpio 
+0563 2040056e call p_mouse_check_rkey_gpio 
+0564 20400573 call p_mouse_check_mkey_gpio 
+0565 20400578 call p_mouse_check_bkkey_gpio 
+0566 20400585 call p_mouse_check_fwkey_gpio 
+0567 20400598 call p_mouse_check_firekey_gpio 
+0568 2020411e branch mouse_check_key_gpio_next 
 
 p_mouse_check_lkey_gpio:
-0568 6fe0c918 fetch 1 ,mem_lbutton_gpio 
-0569 20400591 call p_mouse_gpio_config_output_high 
-056a 20404124 call mouse_check_lkey_gpio 
-056b 6848c918 fetcht 1 ,mem_lbutton_gpio 
-056c 20203f56 branch mouse_gpio_config_input_pu 
+0569 6fe0c918 fetch 1 ,mem_lbutton_gpio 
+056a 20400592 call p_mouse_gpio_config_output_high 
+056b 20404124 call mouse_check_lkey_gpio 
+056c 6848c918 fetcht 1 ,mem_lbutton_gpio 
+056d 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_rkey_gpio:
-056d 6fe0c919 fetch 1 ,mem_rbutton_gpio 
-056e 20400591 call p_mouse_gpio_config_output_high 
-056f 2040412a call mouse_check_rkey_gpio 
-0570 6848c919 fetcht 1 ,mem_rbutton_gpio 
-0571 20203f56 branch mouse_gpio_config_input_pu 
+056e 6fe0c919 fetch 1 ,mem_rbutton_gpio 
+056f 20400592 call p_mouse_gpio_config_output_high 
+0570 2040412a call mouse_check_rkey_gpio 
+0571 6848c919 fetcht 1 ,mem_rbutton_gpio 
+0572 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_mkey_gpio:
-0572 6fe0c91a fetch 1 ,mem_mbutton_gpio 
-0573 20400591 call p_mouse_gpio_config_output_high 
-0574 20404130 call mouse_check_mkey_gpio 
-0575 6848c91a fetcht 1 ,mem_mbutton_gpio 
-0576 20203f56 branch mouse_gpio_config_input_pu 
+0573 6fe0c91a fetch 1 ,mem_mbutton_gpio 
+0574 20400592 call p_mouse_gpio_config_output_high 
+0575 20404130 call mouse_check_mkey_gpio 
+0576 6848c91a fetcht 1 ,mem_mbutton_gpio 
+0577 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_bkkey_gpio:
-0577 6fe0c90d fetch 1 ,mem_bk_button_gpio 
-0578 c17f8000 rtneq gpio_disable 
-0579 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
-057a 6fe0cb91 fetch 1 ,mem_mouse_bkkey_press_status 
-057b 1fe22600 copy pdata ,regc 
-057c 6848c90d fetcht 1 ,mem_bk_button_gpio 
-057d 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-057e c07f8580 beq gpio_disable ,p_mouse_3io6key_bk_check 
-057f 2020413e branch mouse_check_bkkey_gpio_next 
+0578 6fe0c90d fetch 1 ,mem_bk_button_gpio 
+0579 c17f8000 rtneq gpio_disable 
+057a 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
+057b 6fe0cb91 fetch 1 ,mem_mouse_bkkey_press_status 
+057c 1fe22600 copy pdata ,regc 
+057d 6848c90d fetcht 1 ,mem_bk_button_gpio 
+057e 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+057f c07f8581 beq gpio_disable ,p_mouse_3io6key_bk_check 
+0580 2020413e branch mouse_check_bkkey_gpio_next 
 
 p_mouse_3io6key_bk_check:
-0580 6fe0c90d fetch 1 ,mem_bk_button_gpio 
-0581 20400594 call p_mouse_gpio_config_output_low 
-0582 6848c90d fetcht 1 ,mem_bk_button_gpio 
-0583 2020414b branch mouse_3io6key_bk_check 
+0581 6fe0c90d fetch 1 ,mem_bk_button_gpio 
+0582 20400595 call p_mouse_gpio_config_output_low 
+0583 6848c90d fetcht 1 ,mem_bk_button_gpio 
+0584 2020414b branch mouse_3io6key_bk_check 
 
 p_mouse_check_fwkey_gpio:
-0584 6fe0c90e fetch 1 ,mem_fw_button_gpio 
-0585 c17f8000 rtneq gpio_disable 
-0586 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
-0587 6fe0cb92 fetch 1 ,mem_mouse_fwkey_press_status 
-0588 1fe22600 copy pdata ,regc 
-0589 6848c90e fetcht 1 ,mem_fw_button_gpio 
-058a 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-058b c07f858d beq gpio_disable ,p_mouse_3io6key_fw_check 
-058c 20204157 branch mouse_check_fwkey_gpio_next 
+0585 6fe0c90e fetch 1 ,mem_fw_button_gpio 
+0586 c17f8000 rtneq gpio_disable 
+0587 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
+0588 6fe0cb92 fetch 1 ,mem_mouse_fwkey_press_status 
+0589 1fe22600 copy pdata ,regc 
+058a 6848c90e fetcht 1 ,mem_fw_button_gpio 
+058b 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+058c c07f858e beq gpio_disable ,p_mouse_3io6key_fw_check 
+058d 20204157 branch mouse_check_fwkey_gpio_next 
 
 p_mouse_3io6key_fw_check:
-058d 6fe0c90e fetch 1 ,mem_fw_button_gpio 
-058e 20400594 call p_mouse_gpio_config_output_low 
-058f 6848c90e fetcht 1 ,mem_fw_button_gpio 
-0590 20204164 branch mouse_3io6key_fw_check 
+058e 6fe0c90e fetch 1 ,mem_fw_button_gpio 
+058f 20400595 call p_mouse_gpio_config_output_low 
+0590 6848c90e fetcht 1 ,mem_fw_button_gpio 
+0591 20204164 branch mouse_3io6key_fw_check 
 
 p_mouse_gpio_config_output_high:
-0591 c17f8000 rtneq gpio_disable 
-0592 d840003f arg gpcfg_output_high ,temp 
-0593 20206093 branch gpio_config_function_int 
+0592 c17f8000 rtneq gpio_disable 
+0593 d840003f arg gpcfg_output_high ,temp 
+0594 20206093 branch gpio_config_function_int 
 
 p_mouse_gpio_config_output_low:
-0594 c17f8000 rtneq gpio_disable 
-0595 d840003e arg gpcfg_output_low ,temp 
-0596 20206093 branch gpio_config_function_int 
+0595 c17f8000 rtneq gpio_disable 
+0596 d840003e arg gpcfg_output_low ,temp 
+0597 20206093 branch gpio_config_function_int 
 
 p_mouse_check_firekey_gpio:
-0597 da400000 arg 0 ,regb 
-0598 6fe0cc38 fetch 1 ,mem_firebutton_gpio 
-0599 c17f8000 rtneq gpio_disable 
-059a 6fe0cc39 fetch 1 ,mem_mouse_firebutton_connect_vin_flag 
-059b 243a05a4 nbranch p_mouse_check_firekey_connect_vin ,blank 
+0598 da400000 arg 0 ,regb 
+0599 6fe0cc38 fetch 1 ,mem_firebutton_gpio 
+059a c17f8000 rtneq gpio_disable 
+059b 6fe0cc39 fetch 1 ,mem_mouse_firebutton_connect_vin_flag 
+059c 243a05a5 nbranch p_mouse_check_firekey_connect_vin ,blank 
 
 p_mouse_check_firekey_connect_gnd:
-059c 6848cc38 fetcht 1 ,mem_firebutton_gpio 
-059d 20403f56 call mouse_gpio_config_input_pu 
-059e 6848cc38 fetcht 1 ,mem_firebutton_gpio 
-059f 20406059 call gpio_get_bit 
-05a0 7920a400 setflag true ,0 ,regb 
+059d 6848cc38 fetcht 1 ,mem_firebutton_gpio 
+059e 20403f56 call mouse_gpio_config_input_pu 
+059f 6848cc38 fetcht 1 ,mem_firebutton_gpio 
+05a0 20406059 call gpio_get_bit 
+05a1 7920a400 setflag true ,0 ,regb 
 
 p_mouse_firekey_state_store:
-05a1 1a427e00 copy regb ,pdata 
-05a2 67e0cc37 store 1 ,mem_fire_key_flag 
-05a3 20600000 rtn 
+05a2 1a427e00 copy regb ,pdata 
+05a3 67e0cc37 store 1 ,mem_fire_key_flag 
+05a4 20600000 rtn 
 
 p_mouse_check_firekey_connect_vin:
-05a4 6fe0cc38 fetch 1 ,mem_firebutton_gpio 
-05a5 793ffe07 set0 gpio_active_bit ,pdata 
-05a6 67e0cc38 store 1 ,mem_firebutton_gpio 
-05a7 6848cc38 fetcht 1 ,mem_firebutton_gpio 
-05a8 20403f54 call mouse_gpio_config_input_pd 
-05a9 6848cc38 fetcht 1 ,mem_firebutton_gpio 
-05aa 20406059 call gpio_get_bit 
-05ab 7d20a400 nsetflag true ,0 ,regb 
-05ac 202005a1 branch p_mouse_firekey_state_store 
+05a5 6fe0cc38 fetch 1 ,mem_firebutton_gpio 
+05a6 793ffe07 set0 gpio_active_bit ,pdata 
+05a7 67e0cc38 store 1 ,mem_firebutton_gpio 
+05a8 6848cc38 fetcht 1 ,mem_firebutton_gpio 
+05a9 20403f54 call mouse_gpio_config_input_pd 
+05aa 6848cc38 fetcht 1 ,mem_firebutton_gpio 
+05ab 20406059 call gpio_get_bit 
+05ac 7d20a400 nsetflag true ,0 ,regb 
+05ad 202005a2 branch p_mouse_firekey_state_store 
 
 p_fire_key_process:
-05ad c00205c6 beq 4 ,p_fire_key_process_end 
+05ae c00205c7 beq 4 ,p_fire_key_process_end 
 
 p_fire_key_press:
-05ae 204005c9 call p_firekey_clkn_bt_timer_check 
-05af 6fe24c33 fetch 4 ,mem_fire_key_delay 
-05b0 d84000a0 arg 0xa0 ,temp 
-05b1 98408400 iadd temp ,temp 
-05b2 1c427e00 copy clkn_bt ,pdata 
-05b3 98467c00 isub temp ,null 
-05b4 24610000 nrtn positive 
-05b5 67e24c33 store 4 ,mem_fire_key_delay 
-05b6 6fe0cc32 fetch 1 ,mem_fire_key_status 
-05b7 c00005bc beq 0 ,p_fire_key_process_start 
-05b8 c00085bf beq 1 ,p_fire_key_process_release1 
-05b9 c00105c2 beq 2 ,p_fire_key_process_start2 
-05ba c00185c4 beq 3 ,p_fire_key_process_release2 
-05bb 20600000 rtn 
+05af 204005ca call p_firekey_clkn_bt_timer_check 
+05b0 6fe24c33 fetch 4 ,mem_fire_key_delay 
+05b1 d84000a0 arg 0xa0 ,temp 
+05b2 98408400 iadd temp ,temp 
+05b3 1c427e00 copy clkn_bt ,pdata 
+05b4 98467c00 isub temp ,null 
+05b5 24610000 nrtn positive 
+05b6 67e24c33 store 4 ,mem_fire_key_delay 
+05b7 6fe0cc32 fetch 1 ,mem_fire_key_status 
+05b8 c00005bd beq 0 ,p_fire_key_process_start 
+05b9 c00085c0 beq 1 ,p_fire_key_process_release1 
+05ba c00105c3 beq 2 ,p_fire_key_process_start2 
+05bb c00185c5 beq 3 ,p_fire_key_process_release2 
+05bc 20600000 rtn 
 
 p_fire_key_process_start:
-05bc 704c3201 jam 1 ,mem_fire_key_status 
+05bd 704c3201 jam 1 ,mem_fire_key_status 
 
 p_fire_key_down:
-05bd 7048d001 jam 1 ,mem_mouse_key 
-05be 20207e54 branch enable_user 
+05be 7048d001 jam 1 ,mem_mouse_key 
+05bf 20207e54 branch enable_user 
 
 p_fire_key_process_release1:
-05bf 704c3202 jam 2 ,mem_fire_key_status 
+05c0 704c3202 jam 2 ,mem_fire_key_status 
 
 p_fire_key_release:
-05c0 7048d000 jam 0 ,mem_mouse_key 
-05c1 20207e54 branch enable_user 
+05c1 7048d000 jam 0 ,mem_mouse_key 
+05c2 20207e54 branch enable_user 
 
 p_fire_key_process_start2:
-05c2 704c3203 jam 3 ,mem_fire_key_status 
-05c3 202005bd branch p_fire_key_down 
+05c3 704c3203 jam 3 ,mem_fire_key_status 
+05c4 202005be branch p_fire_key_down 
 
 p_fire_key_process_release2:
-05c4 704c3200 jam 0 ,mem_fire_key_status 
-05c5 202005c0 branch p_fire_key_release 
+05c5 704c3200 jam 0 ,mem_fire_key_status 
+05c6 202005c1 branch p_fire_key_release 
 
 p_fire_key_process_end:
-05c6 704c3200 jam 0 ,mem_fire_key_status 
-05c7 7048d000 jam 0 ,mem_mouse_key 
-05c8 20600000 rtn 
+05c7 704c3200 jam 0 ,mem_fire_key_status 
+05c8 7048d000 jam 0 ,mem_mouse_key 
+05c9 20600000 rtn 
 
 p_firekey_clkn_bt_timer_check:
-05c9 684a4c33 fetcht 4 ,mem_fire_key_delay 
-05ca 1c427e00 copy clkn_bt ,pdata 
-05cb 98467c00 isub temp ,null 
-05cc 244105ce ncall p_firekey_clkn_bt_timer_timeout ,positive 
-05cd 20600000 rtn 
+05ca 684a4c33 fetcht 4 ,mem_fire_key_delay 
+05cb 1c427e00 copy clkn_bt ,pdata 
+05cc 98467c00 isub temp ,null 
+05cd 244105cf ncall p_firekey_clkn_bt_timer_timeout ,positive 
+05ce 20600000 rtn 
 
 p_firekey_clkn_bt_timer_timeout:
-05ce 58000000 setarg 0 
-05cf 67e24c33 store 4 ,mem_fire_key_delay 
-05d0 20600000 rtn 
+05cf 58000000 setarg 0 
+05d0 67e24c33 store 4 ,mem_fire_key_delay 
+05d1 20600000 rtn 
 
 p_mouse_idle:
-05d1 204005d7 call p_mouse_low_voltage_led_no_enter_lpm 
-05d2 20407936 call ui_check_paring_button 
-05d3 204005e6 call p_mouse_dpi_check 
-05d4 204005fa call p_mouse_dpi_another_gpio_check 
-05d5 204005db call p_mouse_select_device_check 
-05d6 20204650 branch mouse_idle + 5 
+05d2 204005d8 call p_mouse_low_voltage_led_no_enter_lpm 
+05d3 20407936 call ui_check_paring_button 
+05d4 204005e7 call p_mouse_dpi_check 
+05d5 204005fb call p_mouse_dpi_another_gpio_check 
+05d6 204005dc call p_mouse_select_device_check 
+05d7 20204650 branch mouse_idle + 5 
 
 p_mouse_low_voltage_led_no_enter_lpm:
-05d7 6fe0cc40 fetch 1 ,mem_mouse_led_new_interface_config 
-05d8 c301c990 bbit0 mouse_enable_low_led ,mouse_low_voltage_led_no_enter_lpm 
+05d8 6fe0cc40 fetch 1 ,mem_mouse_led_new_interface_config 
+05d9 c301c990 bbit0 mouse_enable_low_led ,mouse_low_voltage_led_no_enter_lpm 
 
 p_mouse_low_voltage_led_no_enter_lpm_next:
-05d9 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-05da 20204992 branch mouse_low_voltage_led_no_enter_lpm + 2 
+05da 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+05db 20204992 branch mouse_low_voltage_led_no_enter_lpm + 2 
 
 p_mouse_select_device_check:
-05db 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-05dc c29485df bbit1 mouse_enable_select_device_by_pb_button ,p_mouse_select_device_by_pb_button_check_judge 
-05dd c29b85df bbit1 mouse_enable_pb_button_long_press_disconvery ,p_mouse_select_device_by_pb_button_check_judge 
-05de 20600000 rtn 
+05dc 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+05dd c29485e0 bbit1 mouse_enable_select_device_by_pb_button ,p_mouse_select_device_by_pb_button_check_judge 
+05de c29b85e0 bbit1 mouse_enable_pb_button_long_press_disconvery ,p_mouse_select_device_by_pb_button_check_judge 
+05df 20600000 rtn 
 
 p_mouse_select_device_by_pb_button_check_judge:
-05df 6fe1478c fetch 2 ,mem_ui_state_map 
-05e0 c2830231 bbit1 ui_state_bt_discovery ,p_mouse_select_device_by_pb_button_check_once 
+05e0 6fe1478c fetch 2 ,mem_ui_state_map 
+05e1 c2830231 bbit1 ui_state_bt_discovery ,p_mouse_select_device_by_pb_button_check_once 
 
 p_mouse_idle_select_device_by_pb_button:
-05e1 6fe0c91b fetch 1 ,mem_config_select_device_button_gpio 
-05e2 c17f8000 rtneq gpio_disable 
-05e3 6fe0c9bf fetch 1 ,mem_store_information_delay_timer 
-05e4 247a0000 nrtn blank 
-05e5 2020465c branch mouse_select_device_by_pb_button + 2 
+05e2 6fe0c91b fetch 1 ,mem_config_select_device_button_gpio 
+05e3 c17f8000 rtneq gpio_disable 
+05e4 6fe0c9bf fetch 1 ,mem_store_information_delay_timer 
+05e5 247a0000 nrtn blank 
+05e6 2020465c branch mouse_select_device_by_pb_button + 2 
 
 p_mouse_dpi_check:
-05e6 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-05e7 c2974036 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
-05e8 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
-05e9 c17f8000 rtneq gpio_disable 
-05ea da200000 arg 0 ,rega 
-05eb 704b9605 jam mouse_dpi_key ,mem_mouse_key_temp 
-05ec 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-05ed 204005ef call p_mouse_dpi_key_check 
-05ee 2020402f branch mouse_dpi_check_next 
+05e7 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+05e8 c2974036 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
+05e9 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
+05ea c17f8000 rtneq gpio_disable 
+05eb da200000 arg 0 ,rega 
+05ec 704b9605 jam mouse_dpi_key ,mem_mouse_key_temp 
+05ed 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+05ee 204005f0 call p_mouse_dpi_key_check 
+05ef 2020402f branch mouse_dpi_check_next 
 
 p_mouse_dpi_key_check:
-05ef 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-05f0 c2964048 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
-05f1 6fe0cb93 fetch 1 ,mem_mouse_dpikey_press_status 
-05f2 1fe22600 copy pdata ,regc 
-05f3 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-05f4 c07f85f6 beq gpio_disable ,p_mouse_3io6key_dpi_check 
-05f5 2020403f branch mouse_dpi_key_check_next 
+05f0 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+05f1 c2964048 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
+05f2 6fe0cb93 fetch 1 ,mem_mouse_dpikey_press_status 
+05f3 1fe22600 copy pdata ,regc 
+05f4 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+05f5 c07f85f7 beq gpio_disable ,p_mouse_3io6key_dpi_check 
+05f6 2020403f branch mouse_dpi_key_check_next 
 
 p_mouse_3io6key_dpi_check:
-05f6 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
-05f7 20400594 call p_mouse_gpio_config_output_low 
-05f8 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-05f9 20204195 branch mouse_3io6key_check 
+05f7 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
+05f8 20400595 call p_mouse_gpio_config_output_low 
+05f9 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+05fa 20204195 branch mouse_3io6key_check 
 
 p_mouse_dpi_another_gpio_check:
-05fa 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-05fb c41e8000 rtnbit0 mouse_enable_double_dpi_key 
-05fc 6fe0cc3a fetch 1 ,mem_mouse_another_dpi_connect_vin_flag 
-05fd 243a0603 nbranch p_mouse_dpi_another_gpio_connect_vin_check ,blank 
+05fb 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+05fc c41e8000 rtnbit0 mouse_enable_double_dpi_key 
+05fd 6fe0cc3a fetch 1 ,mem_mouse_another_dpi_connect_vin_flag 
+05fe 243a0604 nbranch p_mouse_dpi_another_gpio_connect_vin_check ,blank 
 
 p_mouse_dpi_another_gpio_connect_gnd_check:
-05fe 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
-05ff 20400591 call p_mouse_gpio_config_output_high 
-0600 2040060e call p_mouse_dpi_another_check 
-0601 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-0602 20203f56 branch mouse_gpio_config_input_pu 
+05ff 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
+0600 20400592 call p_mouse_gpio_config_output_high 
+0601 2040060f call p_mouse_dpi_another_check 
+0602 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+0603 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_dpi_another_gpio_connect_vin_check:
-0603 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
-0604 793ffe07 set0 gpio_active_bit ,pdata 
-0605 67e0cc3b store 1 ,mem_dpi_another_button_gpio 
-0606 20400594 call p_mouse_gpio_config_output_low 
-0607 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
-0608 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-0609 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
-060a 20400627 call p_mouse_check_key_connect_vin_new 
-060b 20400612 call p_mouse_dpi_another_state_check 
-060c 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-060d 20203f56 branch mouse_gpio_config_input_pu 
+0604 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
+0605 793ffe07 set0 gpio_active_bit ,pdata 
+0606 67e0cc3b store 1 ,mem_dpi_another_button_gpio 
+0607 20400595 call p_mouse_gpio_config_output_low 
+0608 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
+0609 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+060a 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
+060b 20400628 call p_mouse_check_key_connect_vin_new 
+060c 20400613 call p_mouse_dpi_another_state_check 
+060d 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+060e 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_dpi_another_check:
-060e 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
-060f 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-0610 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
-0611 2040061d call p_mouse_check_key_connect_gnd_new 
+060f 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
+0610 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+0611 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
+0612 2040061e call p_mouse_check_key_connect_gnd_new 
 
 p_mouse_dpi_another_state_check:
-0612 67e0cc3c store 1 ,mem_dpi_another_press_status 
-0613 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
-0614 203a0619 branch p_mouse_dpi_another_up ,blank 
+0613 67e0cc3c store 1 ,mem_dpi_another_press_status 
+0614 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
+0615 203a061a branch p_mouse_dpi_another_up ,blank 
 
 p_mouse_dpi_another_down:
-0615 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
-0616 c1008000 rtneq dpi_button_state_down 
-0617 704c3d01 jam dpi_button_state_down ,mem_dpi_another_button_state 
-0618 20204069 branch mouse_dpi_process 
+0616 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
+0617 c1008000 rtneq dpi_button_state_down 
+0618 704c3d01 jam dpi_button_state_down ,mem_dpi_another_button_state 
+0619 20204069 branch mouse_dpi_process 
 
 p_mouse_dpi_another_up:
-0619 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
-061a c1000000 rtneq dpi_button_state_up 
-061b 704c3d00 jam dpi_button_state_up ,mem_dpi_another_button_state 
-061c 20600000 rtn 
+061a 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
+061b c1000000 rtneq dpi_button_state_up 
+061c 704c3d00 jam dpi_button_state_up ,mem_dpi_another_button_state 
+061d 20600000 rtn 
 
 p_mouse_check_key_connect_gnd_new:
-061d 1fe3fe00 lshift pdata ,pdata 
-061e 1fe22400 copy pdata ,regb 
-061f 20406059 call gpio_get_bit 
-0620 7920a400 setflag true ,0 ,regb 
-0621 1a417e07 and regb ,0x07 ,pdata 
-0622 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
-0623 18420e00 copy temp ,queue 
-0624 c0038632 beq 0x07 ,p_mouse_key_press 
-0625 c0000634 beq 0x00 ,p_mouse_key_release 
-0626 20600000 rtn 
+061e 1fe3fe00 lshift pdata ,pdata 
+061f 1fe22400 copy pdata ,regb 
+0620 20406059 call gpio_get_bit 
+0621 7920a400 setflag true ,0 ,regb 
+0622 1a417e07 and regb ,0x07 ,pdata 
+0623 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
+0624 18420e00 copy temp ,queue 
+0625 c0038633 beq 0x07 ,p_mouse_key_press 
+0626 c0000635 beq 0x00 ,p_mouse_key_release 
+0627 20600000 rtn 
 
 p_mouse_check_key_connect_vin_new:
-0627 1fe3fe00 lshift pdata ,pdata 
-0628 1fe22400 copy pdata ,regb 
-0629 20403f54 call mouse_gpio_config_input_pd 
-062a 20406059 call gpio_get_bit 
-062b 7920a400 setflag true ,0 ,regb 
-062c 1a417e07 and regb ,0x07 ,pdata 
-062d 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
-062e 18420e00 copy temp ,queue 
-062f c0038632 beq 0x07 ,p_mouse_key_press 
-0630 c0000634 beq 0x00 ,p_mouse_key_release 
-0631 20600000 rtn 
+0628 1fe3fe00 lshift pdata ,pdata 
+0629 1fe22400 copy pdata ,regb 
+062a 20403f54 call mouse_gpio_config_input_pd 
+062b 20406059 call gpio_get_bit 
+062c 7920a400 setflag true ,0 ,regb 
+062d 1a417e07 and regb ,0x07 ,pdata 
+062e 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
+062f 18420e00 copy temp ,queue 
+0630 c0038633 beq 0x07 ,p_mouse_key_press 
+0631 c0000635 beq 0x00 ,p_mouse_key_release 
+0632 20600000 rtn 
 
 p_mouse_key_press:
-0632 704c3e01 jam 1 ,mem_dpi_another_button_down_enable 
-0633 20600000 rtn 
+0633 704c3e01 jam 1 ,mem_dpi_another_button_down_enable 
+0634 20600000 rtn 
 
 p_mouse_key_release:
-0634 704c3e00 jam 0 ,mem_dpi_another_button_down_enable 
-0635 20600000 rtn 
+0635 704c3e00 jam 0 ,mem_dpi_another_button_down_enable 
+0636 20600000 rtn 
 
 p_mouse_dpi_process:
-0636 20404072 call mouse_dpi_ghost_check 
-0637 20740000 rtn user 
+0637 20404072 call mouse_dpi_ghost_check 
+0638 20740000 rtn user 
 
 p_mouse_dpi_process_next:
-0638 6fe0c992 fetch 1 ,mem_mouse_dpi 
-0639 1fe20400 copy pdata ,temp 
-063a 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-063b c29e8642 bbit1 mouse_enable_double_dpi_key ,p_mouse_double_dpi_check 
-063c 18427e00 copy temp ,pdata 
-063d 1fe0fe01 increase 1 ,pdata 
-063e 1fe17e03 and pdata ,0x03 ,pdata 
+0639 6fe0c992 fetch 1 ,mem_mouse_dpi 
+063a 1fe20400 copy pdata ,temp 
+063b 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+063c c29e8643 bbit1 mouse_enable_double_dpi_key ,p_mouse_double_dpi_check 
+063d 18427e00 copy temp ,pdata 
+063e 1fe0fe01 increase 1 ,pdata 
+063f 1fe17e03 and pdata ,0x03 ,pdata 
 
 p_mouse_dpi_store:
-063f 67e0c992 store 1 ,mem_mouse_dpi 
-0640 2040035d call p_mouse_seting_dpi 
-0641 20204643 branch mouse_store_eerpom_dpi 
+0640 67e0c992 store 1 ,mem_mouse_dpi 
+0641 2040035d call p_mouse_seting_dpi 
+0642 20204643 branch mouse_store_eerpom_dpi 
 
 p_mouse_double_dpi_check:
-0642 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
-0643 243a065f nbranch p_mouse_another_dpi_button_down ,blank 
+0643 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
+0644 243a0660 nbranch p_mouse_another_dpi_button_down ,blank 
 
 p_mouse_dpi_increase:
-0644 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0645 c28e0653 bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_increase_level_4 
-0646 18427e00 copy temp ,pdata 
-0647 c1008000 rtneq mouse_dpi_level2 
+0645 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0646 c28e0654 bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_increase_level_4 
+0647 18427e00 copy temp ,pdata 
+0648 c1008000 rtneq mouse_dpi_level2 
 
 p_mouse_dpi_increase_level:
-0648 c000064f beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
-0649 c001064d beq mouse_dpi_level3 ,p_mouse_dpi_level_2 
-064a 20600000 rtn 
+0649 c0000650 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
+064a c001064e beq mouse_dpi_level3 ,p_mouse_dpi_level_2 
+064b 20600000 rtn 
 
 p_mouse_dpi_level_1:
-064b 58000002 setarg 2 
-064c 2020063f branch p_mouse_dpi_store 
+064c 58000002 setarg 2 
+064d 20200640 branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_2:
-064d 58000000 setarg 0 
-064e 2020063f branch p_mouse_dpi_store 
+064e 58000000 setarg 0 
+064f 20200640 branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_3:
-064f 58000001 setarg 1 
-0650 2020063f branch p_mouse_dpi_store 
+0650 58000001 setarg 1 
+0651 20200640 branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_4:
-0651 58000003 setarg 3 
-0652 2020063f branch p_mouse_dpi_store 
+0652 58000003 setarg 3 
+0653 20200640 branch p_mouse_dpi_store 
 
 p_mouse_dpi_increase_level_4:
-0653 18427e00 copy temp ,pdata 
-0654 c1008000 rtneq mouse_dpi_level2 
-0655 c000064f beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
-0656 c0010651 beq mouse_dpi_level3 ,p_mouse_dpi_level_4 
-0657 c001864d beq mouse_dpi_level4 ,p_mouse_dpi_level_2 
-0658 20600000 rtn 
+0654 18427e00 copy temp ,pdata 
+0655 c1008000 rtneq mouse_dpi_level2 
+0656 c0000650 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
+0657 c0010652 beq mouse_dpi_level3 ,p_mouse_dpi_level_4 
+0658 c001864e beq mouse_dpi_level4 ,p_mouse_dpi_level_2 
+0659 20600000 rtn 
 
 p_mouse_dpi_decrease_level_4:
-0659 18427e00 copy temp ,pdata 
-065a c1010000 rtneq mouse_dpi_level3 
-065b c0000651 beq mouse_dpi_level1 ,p_mouse_dpi_level_4 
-065c c000864d beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
-065d c001864b beq mouse_dpi_level4 ,p_mouse_dpi_level_1 
-065e 20600000 rtn 
+065a 18427e00 copy temp ,pdata 
+065b c1010000 rtneq mouse_dpi_level3 
+065c c0000652 beq mouse_dpi_level1 ,p_mouse_dpi_level_4 
+065d c000864e beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
+065e c001864c beq mouse_dpi_level4 ,p_mouse_dpi_level_1 
+065f 20600000 rtn 
 
 p_mouse_another_dpi_button_down:
 
 p_mouse_dpi_decrease:
-065f 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0660 c28e0659 bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_decrease_level_4 
-0661 18427e00 copy temp ,pdata 
-0662 c1010000 rtneq mouse_dpi_level3 
+0660 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0661 c28e065a bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_decrease_level_4 
+0662 18427e00 copy temp ,pdata 
+0663 c1010000 rtneq mouse_dpi_level3 
 
 p_mouse_dpi_decrease_level:
-0663 c000064b beq mouse_dpi_level1 ,p_mouse_dpi_level_1 
-0664 c000864d beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
-0665 20600000 rtn 
+0664 c000064c beq mouse_dpi_level1 ,p_mouse_dpi_level_1 
+0665 c000864e beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
+0666 20600000 rtn 
 
 p_power_ctrl_start:
-0666 6fe1478c fetch 2 ,mem_ui_state_map 
-0667 c3858000 rtnbit1 ui_state_ble_adv 
-0668 c3838000 rtnbit1 ui_state_bt_reconnect 
-0669 c3830000 rtnbit1 ui_state_bt_discovery 
-066a 6a214899 fetchr rega ,2 ,mem_rssi_signal_buf_ptr 
-066b 204025cb call rssi_average 
-066c 6048c8c7 storet 1 ,mem_rssi_avg_received 
-066d 202026f6 branch power_ctrl_rssi_avg_compare 
+0667 6fe1478c fetch 2 ,mem_ui_state_map 
+0668 c3858000 rtnbit1 ui_state_ble_adv 
+0669 c3838000 rtnbit1 ui_state_bt_reconnect 
+066a c3830000 rtnbit1 ui_state_bt_discovery 
+066b 6a214899 fetchr rega ,2 ,mem_rssi_signal_buf_ptr 
+066c 204025cb call rssi_average 
+066d 6048c8c7 storet 1 ,mem_rssi_avg_received 
+066e 202026f6 branch power_ctrl_rssi_avg_compare 
               org 0x3bc1
 
 mouse_init:
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/PB_3mode_3ch_1IO2LED_24G_BT1_WK8_NEW/program/patch.prog	(revision 3319)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/PB_3mode_3ch_1IO2LED_24G_BT1_WK8_NEW/program/patch.prog	(working copy)
@@ -396,7 +396,7 @@
 	beq MOUSE_ENABLE_DPI_LOW_FOR_LED,p_mouse_device_multi_led_off+1
 p_mouse_low_voltage_led_off:
 	fetcht 1,mem_mouse_low_gpio
-	branch p_mouse_multi_led_off
+	branch p_gpio_set_high_impedance
 
 p_mouse_low_led_blink_decrease:
 	fetch 1,mem_mouse_multi_low_led_blink_count
@@ -1812,7 +1812,7 @@
 p_mouse_multi_dpi_led_off:
 	fetcht 1,mem_mouse_dpi_gpio
 p_mouse_multi_led_off:
-	branch gpio_out_inactive
+	branch gpio_set_high_impedance
 	
 p_mouse_multi_dpi_led_on_judge:
 	jam ON,mem_mouse_multi_led_state
@@ -1962,6 +1962,7 @@
 
 p_mouse_start_discovery:
 	call p_mouse_device_discovery_led_config
+	call p_mouse_low_voltage_led_off
 	fetch 2,mem_ui_state_map
 	isolate1 UI_STATE_BLE_ADV,pdata
 	call mouse_stop_le_adv,true		//reconnect adv
Index: sched/mouse.dat
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/PB_3mode_3ch_1IO2LED_24G_BT1_WK8_NEW/sched/mouse.dat	(revision 3319)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/PB_3mode_3ch_1IO2LED_24G_BT1_WK8_NEW/sched/mouse.dat	(working copy)
@@ -41,7 +41,7 @@
 #bit4 MOUSE_ENABLE_ADC
 #bit5 MOUSE_ENABLE_KEYBOARD
 #bit6 MOUSE_ENABLE_24G_SEARCH_DONGLE
-0a
+1a
 
 #mouse flag byte4
 #bit0 MOUSE_ENABLE_24G_250Hz
@@ -102,7 +102,7 @@
 #bit2 MOUSE_ENABLE_LED_BLINK_LIMIT
 #bit3 MOUSE_ENABLE_LOW_LED
 #bit4 MOUSE_ENABLE_LOW_LED_BLINK_LIMIT
-03
+0b
 
 mem_mouse_discovery_timeout:58 02	#1min
 mem_mouse_24g_pair_timeout_init:58 02  #1min	    24g reconn timer&pair timer
@@ -116,8 +116,8 @@
 mem_rssi_dis_min_ble_init:75
 mem_rssi_dis_max_ble_init:80
 
-mem_bk_button_gpio:0c
-mem_fw_button_gpio:0d
+mem_bk_button_gpio:0d
+mem_fw_button_gpio:0c
 mem_dpi_button_gpio:0b
 mem_dpi_another_button_gpio:ff
 mem_matrix_public_gpio:08
@@ -144,8 +144,8 @@
 mem_firebutton_gpio:ff
 
 mem_mouse_rgb_ctrl_gpio:ff
-mem_sensor_angle_default:03	#00--6CLK   01--9CLK   02--12CLK   03--3CLK
-mem_sensor_angle_switch:03	#00--6CLK   01--9CLK   02--12CLK   03--3CLK
+mem_sensor_angle_default:02	#00--6CLK   01--9CLK   02--12CLK   03--3CLK
+mem_sensor_angle_switch:02#00--6CLK   01--9CLK   02--12CLK   03--3CLK
 mem_config_sensor_dpi:00		#00--1200   01--1600
 
 mem_mouse_logo_led_gpio:ff
@@ -170,8 +170,8 @@
 mem_mouse_1io2led_multi_24gled:0a
 mem_mouse_1io2led_multi_bt1led:8a
 mem_mouse_1io2led_multi_bt2led:03
-mem_mouse_low_gpio:ff
-mem_mouse_dpi_gpio:ff
+mem_mouse_low_gpio:0a
+mem_mouse_dpi_gpio:0a
 #1io2led multi end
 
 mem_usb_offline_check_gpio:ff
@@ -230,14 +230,14 @@
 mem_store_information_delay_timer_init:01
 
 #adc start
-mem_adc_config_flag_init:02 		#00-vinlpm   01-hvin   02-gpio
+mem_adc_config_flag_init:00 		#00-vinlpm   01-hvin   02-gpio
 mem_adc_channel:05 		#00-gpio4   01-gpio5   02-gpio6  03-gpio7    04-gpio9  05-gpio10  06-gpio11  07-gpio12
-mem_mouse_vdd_full_vol:0f 01		#1.5V
-a2 00#mem_mouse_vdd_empty_vol  :0.9V
-b4 00#mem_mouse_vdd_low_vol   :1.0V
-#mem_mouse_vdd_full_vol:4a 01		#3.3V
-#2c 01#mem_mouse_vdd_empty_vol  :3.0V
-#40 01#mem_mouse_vdd_low_vol   :3.2V
+#mem_mouse_vdd_full_vol:0f 01		#1.5V
+#a2 00#mem_mouse_vdd_empty_vol  :0.9V
+#b4 00#mem_mouse_vdd_low_vol   :1.0V
+mem_mouse_vdd_full_vol:47 01		#3.3V
+21 01#mem_mouse_vdd_empty_vol  :2.9V
+35 01#mem_mouse_vdd_low_vol   :3.1V
 mem_mouse_vdd_button_press_vol:10 00
 mem_mouse_vdd_switch_gnd_24g_vol:52 00
 mem_mouse_vdd_switch_gnd_full_vol:35 00
@@ -258,7 +258,7 @@
 mem_app_connection_options:06
 mem_lap:15 a3 c8 12 23 51
 mem_local_name_length:
-'ST-600 BT3.0
+'CARBON3.0
 mem_sniff_param_interval:
 0e 00 
 01 00 ##mem_sniff_param_attempt:01 00
@@ -294,19 +294,19 @@
 #microsoft swift pair
 06 ff 06 00 03 00 80
 #name
-'\09ST-600 BT5.2
+'\09CARBON 5.2
 
 mem_le_scan_data_len:1f
 mem_le_scan_data:
 #name
-'\09ST-600 BT5.2
+'\09CARBON 5.2
 
 
 mem_le_name_len:
-'ST-600 BT5.2
+'CARBON 5.2
 
 mem_le_name_patch_len:	#max 18bytes
-'ST-600 BT5.2
+'CARBON 5.2
 
 mem_le_interval_min:
 06 00 #min interval
