Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle_pb_immediately_switch/output/eeprom.dat	(revision 4692)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle_pb_immediately_switch/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-16
+1e
 19
 c2
 84
@@ -83,7 +83,7 @@
 c0
 67
 86
-0d
+0f
 c0
 68
 03
@@ -91,7 +91,7 @@
 c0
 68
 85
-60
+62
 c0
 69
 80
@@ -99,7 +99,7 @@
 c0
 6a
 05
-45
+47
 c0
 6b
 02
@@ -119,7 +119,7 @@
 c0
 6f
 05
-b2
+b4
 c0
 6f
 80
@@ -195,7 +195,7 @@
 c0
 76
 86
-3d
+3f
 20
 20
 13
@@ -1039,7 +1039,7 @@
 20
 40
 05
-57
+59
 20
 20
 3b
@@ -1351,7 +1351,7 @@
 20
 40
 05
-94
+96
 20
 40
 01
@@ -1827,7 +1827,7 @@
 20
 20
 05
-57
+59
 20
 40
 26
@@ -2055,7 +2055,7 @@
 20
 20
 05
-bf
+c1
 70
 4b
 94
@@ -2191,11 +2191,11 @@
 20
 40
 05
-50
+52
 20
 40
 05
-57
+59
 20
 20
 3e
@@ -2243,7 +2243,7 @@
 20
 40
 05
-ac
+ae
 d8
 40
 00
@@ -2523,7 +2523,7 @@
 20
 40
 05
-ac
+ae
 20
 20
 3e
@@ -3091,7 +3091,7 @@
 20
 40
 05
-57
+59
 20
 20
 02
@@ -3967,7 +3967,7 @@
 20
 40
 05
-45
+47
 20
 20
 03
@@ -4755,7 +4755,7 @@
 20
 40
 05
-57
+59
 20
 40
 04
@@ -5235,7 +5235,7 @@
 20
 40
 05
-5e
+60
 6f
 e0
 c8
@@ -5259,7 +5259,7 @@
 20
 40
 05
-42
+44
 20
 20
 45
@@ -5373,6 +5373,14 @@
 47
 28
 6f
+e4
+4b
+ab
+c4
+02
+00
+00
+6f
 e0
 cc
 99
@@ -5411,7 +5419,7 @@
 c0
 05
 85
-4c
+4e
 20
 40
 42
@@ -5431,7 +5439,7 @@
 20
 40
 05
-53
+55
 da
 60
 4b
@@ -5451,7 +5459,7 @@
 c0
 05
 85
-53
+55
 20
 20
 42
@@ -5487,7 +5495,7 @@
 c0
 05
 85
-5c
+5e
 20
 20
 42
@@ -5503,7 +5511,7 @@
 20
 40
 05
-60
+62
 20
 20
 40
@@ -5523,27 +5531,27 @@
 20
 40
 05
-6b
+6d
 20
 40
 05
-70
+72
 20
 40
 05
-75
+77
 20
 40
 05
-7a
+7c
 20
 40
 05
-87
+89
 20
 40
 05
-99
+9b
 1a
 22
 7e
@@ -5559,7 +5567,7 @@
 20
 40
 05
-ac
+ae
 20
 40
 41
@@ -5579,7 +5587,7 @@
 20
 40
 05
-ac
+ae
 20
 40
 41
@@ -5599,7 +5607,7 @@
 20
 40
 05
-ac
+ae
 20
 40
 41
@@ -5643,7 +5651,7 @@
 c0
 7f
 85
-83
+85
 20
 20
 41
@@ -5655,7 +5663,7 @@
 20
 40
 05
-af
+b1
 68
 48
 c9
@@ -5695,7 +5703,7 @@
 c0
 7f
 85
-90
+92
 20
 20
 41
@@ -5707,7 +5715,7 @@
 20
 40
 05
-af
+b1
 68
 48
 c9
@@ -5787,7 +5795,7 @@
 20
 40
 05
-af
+b1
 68
 48
 c9
@@ -5847,15 +5855,15 @@
 20
 40
 05
-bf
+c1
 20
 40
 05
-d1
+d3
 20
 40
 05
-b8
+ba
 20
 20
 46
@@ -5867,11 +5875,11 @@
 c2
 94
 85
-bc
+be
 c2
 9b
 85
-bc
+be
 20
 60
 00
@@ -5911,7 +5919,7 @@
 20
 40
 05
-c6
+c8
 20
 20
 40
@@ -5939,7 +5947,7 @@
 c0
 7f
 85
-cd
+cf
 20
 20
 40
@@ -5951,7 +5959,7 @@
 20
 40
 05
-af
+b1
 68
 48
 c9
@@ -5975,7 +5983,7 @@
 24
 3a
 05
-da
+dc
 6f
 e0
 cc
@@ -5983,11 +5991,11 @@
 20
 40
 05
-ac
+ae
 20
 40
 05
-e5
+e7
 68
 48
 cc
@@ -6011,7 +6019,7 @@
 20
 40
 05
-af
+b1
 70
 4c
 3f
@@ -6026,12 +6034,12 @@
 3c
 20
 40
-05
-fe
+06
+00
 20
 40
 05
-e9
+eb
 68
 48
 cc
@@ -6055,7 +6063,7 @@
 20
 40
 05
-f4
+f6
 67
 e0
 cc
@@ -6067,7 +6075,7 @@
 20
 3a
 05
-f0
+f2
 6f
 e0
 cc
@@ -6131,11 +6139,11 @@
 c0
 03
 86
-09
+0b
 c0
 00
 06
-0b
+0d
 20
 60
 00
@@ -6175,11 +6183,11 @@
 c0
 03
 86
-09
+0b
 c0
 00
 06
-0b
+0d
 20
 60
 00
@@ -6223,7 +6231,7 @@
 c2
 9e
 86
-19
+1b
 18
 42
 7e
@@ -6255,7 +6263,7 @@
 24
 3a
 06
-36
+38
 6f
 e4
 4b
@@ -6263,7 +6271,7 @@
 c2
 8e
 06
-2a
+2c
 18
 42
 7e
@@ -6275,11 +6283,11 @@
 c0
 00
 06
-26
+28
 c0
 01
 06
-24
+26
 20
 60
 00
@@ -6291,7 +6299,7 @@
 20
 20
 06
-16
+18
 58
 00
 00
@@ -6299,7 +6307,7 @@
 20
 20
 06
-16
+18
 58
 00
 00
@@ -6307,7 +6315,7 @@
 20
 20
 06
-16
+18
 58
 00
 00
@@ -6315,7 +6323,7 @@
 20
 20
 06
-16
+18
 18
 42
 7e
@@ -6327,15 +6335,15 @@
 c0
 00
 06
-26
+28
 c0
 01
 06
-28
+2a
 c0
 01
 86
-24
+26
 20
 60
 00
@@ -6351,15 +6359,15 @@
 c0
 00
 06
-28
+2a
 c0
 00
 86
-24
+26
 c0
 01
 86
-22
+24
 20
 60
 00
@@ -6371,7 +6379,7 @@
 c2
 8e
 06
-30
+32
 18
 42
 7e
@@ -6383,11 +6391,11 @@
 c0
 00
 06
-22
+24
 c0
 00
 86
-24
+26
 20
 60
 00
@@ -6424,8 +6432,8 @@
 20
 26
 f6
-db
-bd
+57
+d5
 aa
 55
 40
@@ -7758,24 +7766,16 @@
 02
 40
 00
-5b
+63
 1e
 55
 aa
 aa
 55
-5c
+64
 8e
-4a
-ae
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+ba
+50
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-be
-eb
+49
+c4
Index: output/program.lis
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle_pb_immediately_switch/output/program.lis	(revision 4692)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle_pb_immediately_switch/output/program.lis	(working copy)
@@ -19,16 +19,16 @@
 0010 c065026f beq patch19_2 ,p_mouse_lpm_before_common 
 0011 c06600de beq patch19_4 ,p_mouse_adc_read_start 
 0012 c0670512 beq patch19_6 ,p_mouse_motion 
-0013 c067860d beq patch19_7 ,p_mouse_dpi_process 
+0013 c067860f beq patch19_7 ,p_mouse_dpi_process 
 0014 c068036a beq patch1a_0 ,p_mouse_seting_dpi 
-0015 c0688560 beq patch1a_1 ,p_mouse_check_key_gpio 
+0015 c0688562 beq patch1a_1 ,p_mouse_check_key_gpio 
 0016 c0698039 beq patch1a_3 ,p_mouse_init_sunt 
-0017 c06a0545 beq patch1a_4 ,p_mouse_sensor_poweron 
+0017 c06a0547 beq patch1a_4 ,p_mouse_sensor_poweron 
 0018 c06b0291 beq patch1a_6 ,p_mouse_priority_bb_event 
 0019 c06c8395 beq patch1b_1 ,p_mouse_bb_event_timer 
 001a c06d04a1 beq patch1b_2 ,p_mouse_start_discovery 
 001b c06d84ae beq patch1b_3 ,p_mouse_stop_discovery 
-001c c06f05b2 beq patch1b_6 ,p_mouse_idle 
+001c c06f05b4 beq patch1b_6 ,p_mouse_idle 
 001d c06f8063 beq patch1b_7 ,p_mouse_ready_reconnection_by_button 
 001e c070805b beq patch1c_1 ,p_mouse_led_off 
 001f c0710057 beq patch1c_2 ,p_mouse_led_on 
@@ -49,7 +49,7 @@
 002c c074830d beq patch3d_1 ,p_g24_reconn_dispatch 
 002d c07501c8 beq patch3d_2 ,p_g24_transmit_no_interrupt 
 002e c0760505 beq patch3d_4 ,p_g24_lpm_wait 
-002f c076863d beq patch3d_5 ,p_power_ctrl_start 
+002f c076863f beq patch3d_5 ,p_power_ctrl_start 
 0030 2020137c branch loop 
 
 p_soft_reset:
@@ -336,7 +336,7 @@
 00ff 20403d8a call mouse_usb_check_enable 
 0100 20404728 call mouse_drawing_optima_init 
 0101 20400183 call p_mouse_cb_fuction 
-0102 20400557 call p_mouse_sensor_powerdown 
+0102 20400559 call p_mouse_sensor_powerdown 
 0103 20203bc9 branch mouse_init + 8 
 
 p_mouse_double_dpi_judge:
@@ -434,7 +434,7 @@
 014d 20400390 call p_mouse_low_voltage_led_off 
 014e 204003e0 call p_mouse_device_multi_led_poweron_init 
 014f 20400104 call p_mouse_double_dpi_judge 
-0150 20400594 call p_mouse_customer_key_connect_vin 
+0150 20400596 call p_mouse_customer_key_connect_vin 
 0151 20400169 call p_mouse_store_normal_tx_power 
 0152 20401b16 call le_set_config_fixed_ltk 
 0153 20401b3f call le_set_justwork 
@@ -585,7 +585,7 @@
 01c4 67e0cba4 store 1 ,mem_mouse_search_dongle_action 
 01c5 6fe14bbc fetch 2 ,mem_mouse_24g_search_dongle_time_init 
 01c6 67e14ab2 store 2 ,mem_mouse_no_data_timer 
-01c7 20200557 branch p_mouse_sensor_powerdown 
+01c7 20200559 branch p_mouse_sensor_powerdown 
 
 p_g24_transmit_no_interrupt:
 01c8 20402631 call g24_txdata_prep 
@@ -662,7 +662,7 @@
 p_mouse_dpi_check_once:
 01fe 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
 01ff c4140000 rtnbit0 mouse_enable_select_device_by_dpi_button 
-0200 202005bf branch p_mouse_dpi_check 
+0200 202005c1 branch p_mouse_dpi_check 
 
 p_mouse_select_device_by_pb_button_check_once:
 0201 704b9403 jam 0x03 ,mem_mouse_pbkey_press_status 
@@ -712,8 +712,8 @@
 021f 58000006 setarg pan_reg_config 
 0220 20405b0d call twspi_read 
 0221 c281be23 bbit1 3 ,mouse_app_enter_hibernate + 3 
-0222 20400550 call p_mouse_sensor_reset 
-0223 20400557 call p_mouse_sensor_powerdown 
+0222 20400552 call p_mouse_sensor_reset 
+0223 20400559 call p_mouse_sensor_powerdown 
 0224 20203e23 branch mouse_app_enter_hibernate + 3 
 
 p_mouse_setgpio_hibernate:
@@ -727,7 +727,7 @@
 022c 6848c910 fetcht 1 ,mem_matrix_public_gpio 
 022d 20406042 call gpio_clr_wake 
 022e 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
-022f 204005ac call p_mouse_gpio_config_output_high 
+022f 204005ae call p_mouse_gpio_config_output_high 
 0230 d8400003 arg 3 ,temp 
 0231 20403f56 call mouse_gpio_config_input_pu 
 0232 2040026f call p_mouse_lpm_before_common 
@@ -819,7 +819,7 @@
 0272 20406050 call gpio_config_input 
 0273 20403f88 call mouse_wheel_check 
 0274 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
-0275 204005ac call p_mouse_gpio_config_output_high 
+0275 204005ae call p_mouse_gpio_config_output_high 
 0276 20203e44 branch mouse_lpm_before_common + 4 
 
 p_g24_nodata_transmit:
@@ -1001,7 +1001,7 @@
 0300 58000000 setarg 0 
 0301 67e3c8d0 store 7 ,mem_mouse_key 
 0302 704be101 jam 1 ,mem_sensor_shutdown_flag 
-0303 20400557 call p_mouse_sensor_powerdown 
+0303 20400559 call p_mouse_sensor_powerdown 
 0304 2020027c branch p_g24_long_sleep 
 
 p_g24_pair_dispatch:
@@ -1294,7 +1294,7 @@
 03dd 2020318a branch timer_single_step 
 
 p_mouse_device_connect_init_sensor_or_led:
-03de 20400545 call p_mouse_sensor_poweron 
+03de 20400547 call p_mouse_sensor_poweron 
 03df 202003e8 branch p_mouse_device_poweron_led_config 
 
 p_mouse_device_multi_led_poweron_init:
@@ -1585,7 +1585,7 @@
 p_mouse_start_discovery:
 04a1 704c4c02 jam 0x02 ,mem_mouse_multi_led_blink_timer_init 
 04a2 204003ea call p_mouse_device_discover_led_config 
-04a3 20400557 call p_mouse_sensor_powerdown 
+04a3 20400559 call p_mouse_sensor_powerdown 
 04a4 2040043a call p_mouse_logo_led_off 
 04a5 6fe1478c fetch 2 ,mem_ui_state_map 
 04a6 2feffe0b isolate1 ui_state_ble_adv ,pdata 
@@ -1739,13 +1739,13 @@
 0518 2040408e call mouse_dpi_config 
 0519 20403f7e call mouse_zwheel 
 051a 20403f83 call mouse_t_zwheel 
-051b 2040055e call p_mouse_key 
+051b 20400560 call p_mouse_key 
 051c 6fe0c8d0 fetch 1 ,mem_mouse_key 
 051d 1fe17e1f and_into 0x1f ,pdata 
 051e 67e0c8d0 store 1 ,mem_mouse_key 
 051f 2434053d nbranch p_mouse_low_power_led_delay_off ,user 
 0520 2040053a call p_mouse_work_state_flag 
-0521 20400542 call p_mouse_drawing_optima 
+0521 20400544 call p_mouse_drawing_optima 
 0522 20204544 branch mouse_no_data_timer_init 
 
 p_mouse_check_sensor_data:
@@ -1790,377 +1790,379 @@
 
 p_mouse_low_power_led_delay_off:
 053d 20404728 call mouse_drawing_optima_init 
-053e 6fe0cc99 fetch 1 ,mem_24g_low_power_stop_blink 
-053f 247a0000 nrtn blank 
-0540 704c996a jam 0x6a ,mem_24g_low_power_stop_blink 
-0541 20600000 rtn 
+053e 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+053f c4020000 rtnbit0 mouse_low_voltage_flag 
+0540 6fe0cc99 fetch 1 ,mem_24g_low_power_stop_blink 
+0541 247a0000 nrtn blank 
+0542 704c996a jam 0x6a ,mem_24g_low_power_stop_blink 
+0543 20600000 rtn 
 
 p_mouse_drawing_optima:
-0542 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0543 c1018000 rtneq p3212 
-0544 2020471a branch mouse_drawing_optima 
+0544 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0545 c1018000 rtneq p3212 
+0546 2020471a branch mouse_drawing_optima 
 
 p_mouse_sensor_poweron:
-0545 20403f65 call mouse_sensor_spi_init 
-0546 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0547 c005854c beq ka8g2 ,p_mouse_ka8g2_sensor_init 
-0548 20404232 call mouse_sensor_reset 
-0549 da604aa3 arg mem_sensor_poweron_init ,regc 
-054a 2040422b call mouse_sensor_wr_seq 
-054b 2020408e branch mouse_dpi_config 
+0547 20403f65 call mouse_sensor_spi_init 
+0548 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0549 c005854e beq ka8g2 ,p_mouse_ka8g2_sensor_init 
+054a 20404232 call mouse_sensor_reset 
+054b da604aa3 arg mem_sensor_poweron_init ,regc 
+054c 2040422b call mouse_sensor_wr_seq 
+054d 2020408e branch mouse_dpi_config 
 
 p_mouse_ka8g2_sensor_init:
-054c 20400553 call p_mouse_ka8g2_sensor_reset 
-054d da604be3 arg mem_ka8g2_sensor_poweron_init ,regc 
-054e 2040422b call mouse_sensor_wr_seq 
-054f 2020408e branch mouse_dpi_config 
+054e 20400555 call p_mouse_ka8g2_sensor_reset 
+054f da604be3 arg mem_ka8g2_sensor_poweron_init ,regc 
+0550 2040422b call mouse_sensor_wr_seq 
+0551 2020408e branch mouse_dpi_config 
 
 p_mouse_sensor_reset:
-0550 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0551 c0058553 beq ka8g2 ,p_mouse_ka8g2_sensor_reset 
-0552 20204232 branch mouse_sensor_reset 
+0552 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0553 c0058555 beq ka8g2 ,p_mouse_ka8g2_sensor_reset 
+0554 20204232 branch mouse_sensor_reset 
 
 p_mouse_ka8g2_sensor_reset:
-0553 58009706 setarg 0x9706 
-0554 20405b0c call twspi_write 
-0555 20002ee0 nop 12000 
-0556 20600000 rtn 
+0555 58009706 setarg 0x9706 
+0556 20405b0c call twspi_write 
+0557 20002ee0 nop 12000 
+0558 20600000 rtn 
 
 p_mouse_sensor_powerdown:
-0557 204041a7 call mouse_init_sunt 
-0558 20403f65 call mouse_sensor_spi_init 
-0559 6fe0c927 fetch 1 ,mem_config_sensor_type 
-055a c005855c beq ka8g2 ,p_mouse_ka8g2_sensor_powerdown 
-055b 2020423e branch mouse_sensor_powerdown_end 
+0559 204041a7 call mouse_init_sunt 
+055a 20403f65 call mouse_sensor_spi_init 
+055b 6fe0c927 fetch 1 ,mem_config_sensor_type 
+055c c005855e beq ka8g2 ,p_mouse_ka8g2_sensor_powerdown 
+055d 2020423e branch mouse_sensor_powerdown_end 
 
 p_mouse_ka8g2_sensor_powerdown:
-055c 58001f06 setarg 0x1f06 
-055d 20205b0c branch twspi_write 
+055e 58001f06 setarg 0x1f06 
+055f 20205b0c branch twspi_write 
 
 p_mouse_key:
-055e 20400560 call p_mouse_check_key_gpio 
-055f 202040dd branch mouse_key + 1 
+0560 20400562 call p_mouse_check_key_gpio 
+0561 202040dd branch mouse_key + 1 
 
 p_mouse_check_key_gpio:
-0560 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-0561 245a4121 ncall mouse_check_key_gpio_once ,blank 
-0562 da200000 arg 0 ,rega 
-0563 2040056b call p_mouse_check_lkey_gpio 
-0564 20400570 call p_mouse_check_rkey_gpio 
-0565 20400575 call p_mouse_check_mkey_gpio 
-0566 2040057a call p_mouse_check_bkkey_gpio 
-0567 20400587 call p_mouse_check_fwkey_gpio 
+0562 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+0563 245a4121 ncall mouse_check_key_gpio_once ,blank 
+0564 da200000 arg 0 ,rega 
+0565 2040056d call p_mouse_check_lkey_gpio 
+0566 20400572 call p_mouse_check_rkey_gpio 
+0567 20400577 call p_mouse_check_mkey_gpio 
+0568 2040057c call p_mouse_check_bkkey_gpio 
+0569 20400589 call p_mouse_check_fwkey_gpio 
 
 p_mouse_check_key_gpio_next:
-0568 20400599 call p_mouse_check_customerkey_gpio 
-0569 1a227e00 copy rega ,pdata 
-056a 20600000 rtn 
+056a 2040059b call p_mouse_check_customerkey_gpio 
+056b 1a227e00 copy rega ,pdata 
+056c 20600000 rtn 
 
 p_mouse_check_lkey_gpio:
-056b 6fe0c918 fetch 1 ,mem_lbutton_gpio 
-056c 204005ac call p_mouse_gpio_config_output_high 
-056d 20404124 call mouse_check_lkey_gpio 
-056e 6848c918 fetcht 1 ,mem_lbutton_gpio 
-056f 20203f56 branch mouse_gpio_config_input_pu 
+056d 6fe0c918 fetch 1 ,mem_lbutton_gpio 
+056e 204005ae call p_mouse_gpio_config_output_high 
+056f 20404124 call mouse_check_lkey_gpio 
+0570 6848c918 fetcht 1 ,mem_lbutton_gpio 
+0571 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_rkey_gpio:
-0570 6fe0c919 fetch 1 ,mem_rbutton_gpio 
-0571 204005ac call p_mouse_gpio_config_output_high 
-0572 2040412a call mouse_check_rkey_gpio 
-0573 6848c919 fetcht 1 ,mem_rbutton_gpio 
-0574 20203f56 branch mouse_gpio_config_input_pu 
+0572 6fe0c919 fetch 1 ,mem_rbutton_gpio 
+0573 204005ae call p_mouse_gpio_config_output_high 
+0574 2040412a call mouse_check_rkey_gpio 
+0575 6848c919 fetcht 1 ,mem_rbutton_gpio 
+0576 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_mkey_gpio:
-0575 6fe0c91a fetch 1 ,mem_mbutton_gpio 
-0576 204005ac call p_mouse_gpio_config_output_high 
-0577 20404130 call mouse_check_mkey_gpio 
-0578 6848c91a fetcht 1 ,mem_mbutton_gpio 
-0579 20203f56 branch mouse_gpio_config_input_pu 
+0577 6fe0c91a fetch 1 ,mem_mbutton_gpio 
+0578 204005ae call p_mouse_gpio_config_output_high 
+0579 20404130 call mouse_check_mkey_gpio 
+057a 6848c91a fetcht 1 ,mem_mbutton_gpio 
+057b 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_bkkey_gpio:
-057a 6fe0c90d fetch 1 ,mem_bk_button_gpio 
-057b c17f8000 rtneq gpio_disable 
-057c 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
-057d 6fe0cb91 fetch 1 ,mem_mouse_bkkey_press_status 
-057e 1fe22600 copy pdata ,regc 
-057f 6848c90d fetcht 1 ,mem_bk_button_gpio 
-0580 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-0581 c07f8583 beq gpio_disable ,p_mouse_3io6key_bk_check 
-0582 2020413e branch mouse_check_bkkey_gpio_next 
+057c 6fe0c90d fetch 1 ,mem_bk_button_gpio 
+057d c17f8000 rtneq gpio_disable 
+057e 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
+057f 6fe0cb91 fetch 1 ,mem_mouse_bkkey_press_status 
+0580 1fe22600 copy pdata ,regc 
+0581 6848c90d fetcht 1 ,mem_bk_button_gpio 
+0582 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+0583 c07f8585 beq gpio_disable ,p_mouse_3io6key_bk_check 
+0584 2020413e branch mouse_check_bkkey_gpio_next 
 
 p_mouse_3io6key_bk_check:
-0583 6fe0c90d fetch 1 ,mem_bk_button_gpio 
-0584 204005af call p_mouse_gpio_config_output_low 
-0585 6848c90d fetcht 1 ,mem_bk_button_gpio 
-0586 2020414b branch mouse_3io6key_bk_check 
+0585 6fe0c90d fetch 1 ,mem_bk_button_gpio 
+0586 204005b1 call p_mouse_gpio_config_output_low 
+0587 6848c90d fetcht 1 ,mem_bk_button_gpio 
+0588 2020414b branch mouse_3io6key_bk_check 
 
 p_mouse_check_fwkey_gpio:
-0587 6fe0c90e fetch 1 ,mem_fw_button_gpio 
-0588 c17f8000 rtneq gpio_disable 
-0589 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
-058a 6fe0cb92 fetch 1 ,mem_mouse_fwkey_press_status 
-058b 1fe22600 copy pdata ,regc 
-058c 6848c90e fetcht 1 ,mem_fw_button_gpio 
-058d 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-058e c07f8590 beq gpio_disable ,p_mouse_3io6key_fw_check 
-058f 20204157 branch mouse_check_fwkey_gpio_next 
+0589 6fe0c90e fetch 1 ,mem_fw_button_gpio 
+058a c17f8000 rtneq gpio_disable 
+058b 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
+058c 6fe0cb92 fetch 1 ,mem_mouse_fwkey_press_status 
+058d 1fe22600 copy pdata ,regc 
+058e 6848c90e fetcht 1 ,mem_fw_button_gpio 
+058f 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+0590 c07f8592 beq gpio_disable ,p_mouse_3io6key_fw_check 
+0591 20204157 branch mouse_check_fwkey_gpio_next 
 
 p_mouse_3io6key_fw_check:
-0590 6fe0c90e fetch 1 ,mem_fw_button_gpio 
-0591 204005af call p_mouse_gpio_config_output_low 
-0592 6848c90e fetcht 1 ,mem_fw_button_gpio 
-0593 20204164 branch mouse_3io6key_fw_check 
+0592 6fe0c90e fetch 1 ,mem_fw_button_gpio 
+0593 204005b1 call p_mouse_gpio_config_output_low 
+0594 6848c90e fetcht 1 ,mem_fw_button_gpio 
+0595 20204164 branch mouse_3io6key_fw_check 
 
 p_mouse_customer_key_connect_vin:
-0594 6fe0c912 fetch 1 ,mem_customer_key_gpio 
-0595 c17f8000 rtneq gpio_disable 
-0596 c4038000 rtnbit0 7 
-0597 704c9c01 jam 1 ,mem_mouse_customer_key_connect_vin_flag 
-0598 20600000 rtn 
+0596 6fe0c912 fetch 1 ,mem_customer_key_gpio 
+0597 c17f8000 rtneq gpio_disable 
+0598 c4038000 rtnbit0 7 
+0599 704c9c01 jam 1 ,mem_mouse_customer_key_connect_vin_flag 
+059a 20600000 rtn 
 
 p_mouse_check_customerkey_gpio:
-0599 6fe0cc9c fetch 1 ,mem_mouse_customer_key_connect_vin_flag 
-059a 203a416a branch mouse_check_customerkey_gpio ,blank 
-059b 704b8b00 jam 0 ,mem_customer_key 
-059c 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-059d c40a8000 rtnbit0 mouse_enable_keyboard 
-059e 6fe0c912 fetch 1 ,mem_customer_key_gpio 
-059f 793ffe07 set0 gpio_active_bit ,pdata 
-05a0 67e0c912 store 1 ,mem_customer_key_gpio 
-05a1 704b9607 jam mouse_customer_key ,mem_mouse_key_temp 
-05a2 6fe0cb95 fetch 1 ,mem_mouse_customerkey_press_status 
-05a3 1fe22600 copy pdata ,regc 
+059b 6fe0cc9c fetch 1 ,mem_mouse_customer_key_connect_vin_flag 
+059c 203a416a branch mouse_check_customerkey_gpio ,blank 
+059d 704b8b00 jam 0 ,mem_customer_key 
+059e 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+059f c40a8000 rtnbit0 mouse_enable_keyboard 
+05a0 6fe0c912 fetch 1 ,mem_customer_key_gpio 
+05a1 793ffe07 set0 gpio_active_bit ,pdata 
+05a2 67e0c912 store 1 ,mem_customer_key_gpio 
+05a3 704b9607 jam mouse_customer_key ,mem_mouse_key_temp 
+05a4 6fe0cb95 fetch 1 ,mem_mouse_customerkey_press_status 
+05a5 1fe22600 copy pdata ,regc 
 
 p_mouse_3io6key_customerkey_check:
-05a4 6fe0c912 fetch 1 ,mem_customer_key_gpio 
-05a5 204005af call p_mouse_gpio_config_output_low 
-05a6 6848c912 fetcht 1 ,mem_customer_key_gpio 
-05a7 20404195 call mouse_3io6key_check 
-05a8 67e0cb95 store 1 ,mem_mouse_customerkey_press_status 
-05a9 20404174 call mouse_check_customerkey_state 
-05aa 6848c912 fetcht 1 ,mem_customer_key_gpio 
-05ab 20203f56 branch mouse_gpio_config_input_pu 
+05a6 6fe0c912 fetch 1 ,mem_customer_key_gpio 
+05a7 204005b1 call p_mouse_gpio_config_output_low 
+05a8 6848c912 fetcht 1 ,mem_customer_key_gpio 
+05a9 20404195 call mouse_3io6key_check 
+05aa 67e0cb95 store 1 ,mem_mouse_customerkey_press_status 
+05ab 20404174 call mouse_check_customerkey_state 
+05ac 6848c912 fetcht 1 ,mem_customer_key_gpio 
+05ad 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_gpio_config_output_high:
-05ac c17f8000 rtneq gpio_disable 
-05ad d840003f arg gpcfg_output_high ,temp 
-05ae 20206093 branch gpio_config_function_int 
+05ae c17f8000 rtneq gpio_disable 
+05af d840003f arg gpcfg_output_high ,temp 
+05b0 20206093 branch gpio_config_function_int 
 
 p_mouse_gpio_config_output_low:
-05af c17f8000 rtneq gpio_disable 
-05b0 d840003e arg gpcfg_output_low ,temp 
-05b1 20206093 branch gpio_config_function_int 
+05b1 c17f8000 rtneq gpio_disable 
+05b2 d840003e arg gpcfg_output_low ,temp 
+05b3 20206093 branch gpio_config_function_int 
 
 p_mouse_idle:
-05b2 20404990 call mouse_low_voltage_led_no_enter_lpm 
-05b3 20407936 call ui_check_paring_button 
-05b4 204005bf call p_mouse_dpi_check 
-05b5 204005d1 call p_mouse_dpi_another_gpio_check 
-05b6 204005b8 call p_mouse_select_device_check 
-05b7 20204650 branch mouse_idle + 5 
+05b4 20404990 call mouse_low_voltage_led_no_enter_lpm 
+05b5 20407936 call ui_check_paring_button 
+05b6 204005c1 call p_mouse_dpi_check 
+05b7 204005d3 call p_mouse_dpi_another_gpio_check 
+05b8 204005ba call p_mouse_select_device_check 
+05b9 20204650 branch mouse_idle + 5 
 
 p_mouse_select_device_check:
-05b8 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-05b9 c29485bc bbit1 mouse_enable_select_device_by_pb_button ,p_mouse_select_device_by_pb_button_check_judge 
-05ba c29b85bc bbit1 mouse_enable_pb_button_long_press_disconvery ,p_mouse_select_device_by_pb_button_check_judge 
-05bb 20600000 rtn 
+05ba 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+05bb c29485be bbit1 mouse_enable_select_device_by_pb_button ,p_mouse_select_device_by_pb_button_check_judge 
+05bc c29b85be bbit1 mouse_enable_pb_button_long_press_disconvery ,p_mouse_select_device_by_pb_button_check_judge 
+05bd 20600000 rtn 
 
 p_mouse_select_device_by_pb_button_check_judge:
-05bc 6fe1478c fetch 2 ,mem_ui_state_map 
-05bd c2830201 bbit1 ui_state_bt_discovery ,p_mouse_select_device_by_pb_button_check_once 
-05be 2020465a branch mouse_select_device_by_pb_button 
+05be 6fe1478c fetch 2 ,mem_ui_state_map 
+05bf c2830201 bbit1 ui_state_bt_discovery ,p_mouse_select_device_by_pb_button_check_once 
+05c0 2020465a branch mouse_select_device_by_pb_button 
 
 p_mouse_dpi_check:
-05bf 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
-05c0 c17f8000 rtneq gpio_disable 
-05c1 da200000 arg 0 ,rega 
-05c2 704b9605 jam mouse_dpi_key ,mem_mouse_key_temp 
-05c3 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-05c4 204005c6 call p_mouse_dpi_key_check 
-05c5 2020402f branch mouse_dpi_check_next 
+05c1 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
+05c2 c17f8000 rtneq gpio_disable 
+05c3 da200000 arg 0 ,rega 
+05c4 704b9605 jam mouse_dpi_key ,mem_mouse_key_temp 
+05c5 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+05c6 204005c8 call p_mouse_dpi_key_check 
+05c7 2020402f branch mouse_dpi_check_next 
 
 p_mouse_dpi_key_check:
-05c6 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-05c7 c2964048 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
-05c8 6fe0cb93 fetch 1 ,mem_mouse_dpikey_press_status 
-05c9 1fe22600 copy pdata ,regc 
-05ca 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-05cb c07f85cd beq gpio_disable ,p_mouse_3io6key_dpi_check 
-05cc 2020403f branch mouse_dpi_key_check_next 
+05c8 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+05c9 c2964048 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
+05ca 6fe0cb93 fetch 1 ,mem_mouse_dpikey_press_status 
+05cb 1fe22600 copy pdata ,regc 
+05cc 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+05cd c07f85cf beq gpio_disable ,p_mouse_3io6key_dpi_check 
+05ce 2020403f branch mouse_dpi_key_check_next 
 
 p_mouse_3io6key_dpi_check:
-05cd 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
-05ce 204005af call p_mouse_gpio_config_output_low 
-05cf 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-05d0 20204195 branch mouse_3io6key_check 
+05cf 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
+05d0 204005b1 call p_mouse_gpio_config_output_low 
+05d1 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+05d2 20204195 branch mouse_3io6key_check 
 
 p_mouse_dpi_another_gpio_check:
-05d1 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-05d2 c41e8000 rtnbit0 mouse_enable_double_dpi_key 
-05d3 6fe0cc3a fetch 1 ,mem_mouse_another_dpi_connect_vin_flag 
-05d4 243a05da nbranch p_mouse_dpi_another_gpio_connect_vin_check ,blank 
+05d3 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+05d4 c41e8000 rtnbit0 mouse_enable_double_dpi_key 
+05d5 6fe0cc3a fetch 1 ,mem_mouse_another_dpi_connect_vin_flag 
+05d6 243a05dc nbranch p_mouse_dpi_another_gpio_connect_vin_check ,blank 
 
 p_mouse_dpi_another_gpio_connect_gnd_check:
-05d5 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
-05d6 204005ac call p_mouse_gpio_config_output_high 
-05d7 204005e5 call p_mouse_dpi_another_check 
-05d8 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-05d9 20203f56 branch mouse_gpio_config_input_pu 
+05d7 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
+05d8 204005ae call p_mouse_gpio_config_output_high 
+05d9 204005e7 call p_mouse_dpi_another_check 
+05da 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+05db 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_dpi_another_gpio_connect_vin_check:
-05da 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
-05db 793ffe07 set0 gpio_active_bit ,pdata 
-05dc 67e0cc3b store 1 ,mem_dpi_another_button_gpio 
-05dd 204005af call p_mouse_gpio_config_output_low 
-05de 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
-05df 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-05e0 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
-05e1 204005fe call p_mouse_check_key_connect_vin_new 
-05e2 204005e9 call p_mouse_dpi_another_state_check 
-05e3 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-05e4 20203f56 branch mouse_gpio_config_input_pu 
+05dc 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
+05dd 793ffe07 set0 gpio_active_bit ,pdata 
+05de 67e0cc3b store 1 ,mem_dpi_another_button_gpio 
+05df 204005b1 call p_mouse_gpio_config_output_low 
+05e0 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
+05e1 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+05e2 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
+05e3 20400600 call p_mouse_check_key_connect_vin_new 
+05e4 204005eb call p_mouse_dpi_another_state_check 
+05e5 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+05e6 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_dpi_another_check:
-05e5 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
-05e6 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-05e7 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
-05e8 204005f4 call p_mouse_check_key_connect_gnd_new 
+05e7 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
+05e8 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+05e9 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
+05ea 204005f6 call p_mouse_check_key_connect_gnd_new 
 
 p_mouse_dpi_another_state_check:
-05e9 67e0cc3c store 1 ,mem_dpi_another_press_status 
-05ea 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
-05eb 203a05f0 branch p_mouse_dpi_another_up ,blank 
+05eb 67e0cc3c store 1 ,mem_dpi_another_press_status 
+05ec 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
+05ed 203a05f2 branch p_mouse_dpi_another_up ,blank 
 
 p_mouse_dpi_another_down:
-05ec 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
-05ed c1008000 rtneq dpi_button_state_down 
-05ee 704c3d01 jam dpi_button_state_down ,mem_dpi_another_button_state 
-05ef 20204069 branch mouse_dpi_process 
+05ee 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
+05ef c1008000 rtneq dpi_button_state_down 
+05f0 704c3d01 jam dpi_button_state_down ,mem_dpi_another_button_state 
+05f1 20204069 branch mouse_dpi_process 
 
 p_mouse_dpi_another_up:
-05f0 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
-05f1 c1000000 rtneq dpi_button_state_up 
-05f2 704c3d00 jam dpi_button_state_up ,mem_dpi_another_button_state 
-05f3 20600000 rtn 
+05f2 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
+05f3 c1000000 rtneq dpi_button_state_up 
+05f4 704c3d00 jam dpi_button_state_up ,mem_dpi_another_button_state 
+05f5 20600000 rtn 
 
 p_mouse_check_key_connect_gnd_new:
-05f4 1fe3fe00 lshift pdata ,pdata 
-05f5 1fe22400 copy pdata ,regb 
-05f6 20406059 call gpio_get_bit 
-05f7 7920a400 setflag true ,0 ,regb 
-05f8 1a417e07 and regb ,0x07 ,pdata 
-05f9 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
-05fa 18420e00 copy temp ,queue 
-05fb c0038609 beq 0x07 ,p_mouse_key_press 
-05fc c000060b beq 0x00 ,p_mouse_key_release 
-05fd 20600000 rtn 
+05f6 1fe3fe00 lshift pdata ,pdata 
+05f7 1fe22400 copy pdata ,regb 
+05f8 20406059 call gpio_get_bit 
+05f9 7920a400 setflag true ,0 ,regb 
+05fa 1a417e07 and regb ,0x07 ,pdata 
+05fb 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
+05fc 18420e00 copy temp ,queue 
+05fd c003860b beq 0x07 ,p_mouse_key_press 
+05fe c000060d beq 0x00 ,p_mouse_key_release 
+05ff 20600000 rtn 
 
 p_mouse_check_key_connect_vin_new:
-05fe 1fe3fe00 lshift pdata ,pdata 
-05ff 1fe22400 copy pdata ,regb 
-0600 20403f54 call mouse_gpio_config_input_pd 
-0601 20406059 call gpio_get_bit 
-0602 7920a400 setflag true ,0 ,regb 
-0603 1a417e07 and regb ,0x07 ,pdata 
-0604 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
-0605 18420e00 copy temp ,queue 
-0606 c0038609 beq 0x07 ,p_mouse_key_press 
-0607 c000060b beq 0x00 ,p_mouse_key_release 
-0608 20600000 rtn 
+0600 1fe3fe00 lshift pdata ,pdata 
+0601 1fe22400 copy pdata ,regb 
+0602 20403f54 call mouse_gpio_config_input_pd 
+0603 20406059 call gpio_get_bit 
+0604 7920a400 setflag true ,0 ,regb 
+0605 1a417e07 and regb ,0x07 ,pdata 
+0606 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
+0607 18420e00 copy temp ,queue 
+0608 c003860b beq 0x07 ,p_mouse_key_press 
+0609 c000060d beq 0x00 ,p_mouse_key_release 
+060a 20600000 rtn 
 
 p_mouse_key_press:
-0609 704c3e01 jam 1 ,mem_dpi_another_button_down_enable 
-060a 20600000 rtn 
+060b 704c3e01 jam 1 ,mem_dpi_another_button_down_enable 
+060c 20600000 rtn 
 
 p_mouse_key_release:
-060b 704c3e00 jam 0 ,mem_dpi_another_button_down_enable 
-060c 20600000 rtn 
+060d 704c3e00 jam 0 ,mem_dpi_another_button_down_enable 
+060e 20600000 rtn 
 
 p_mouse_dpi_process:
-060d 20404072 call mouse_dpi_ghost_check 
-060e 20740000 rtn user 
-060f 6fe0c992 fetch 1 ,mem_mouse_dpi 
-0610 1fe20400 copy pdata ,temp 
-0611 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0612 c29e8619 bbit1 mouse_enable_double_dpi_key ,p_mouse_double_dpi_check 
-0613 18427e00 copy temp ,pdata 
-0614 1fe0fe01 increase 1 ,pdata 
-0615 1fe17e03 and pdata ,0x03 ,pdata 
+060f 20404072 call mouse_dpi_ghost_check 
+0610 20740000 rtn user 
+0611 6fe0c992 fetch 1 ,mem_mouse_dpi 
+0612 1fe20400 copy pdata ,temp 
+0613 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0614 c29e861b bbit1 mouse_enable_double_dpi_key ,p_mouse_double_dpi_check 
+0615 18427e00 copy temp ,pdata 
+0616 1fe0fe01 increase 1 ,pdata 
+0617 1fe17e03 and pdata ,0x03 ,pdata 
 
 p_mouse_dpi_store:
-0616 67e0c992 store 1 ,mem_mouse_dpi 
-0617 20404095 call mouse_seting_dpi 
-0618 202045ee branch mouse_store_device_info_delay 
+0618 67e0c992 store 1 ,mem_mouse_dpi 
+0619 20404095 call mouse_seting_dpi 
+061a 202045ee branch mouse_store_device_info_delay 
 
 p_mouse_double_dpi_check:
-0619 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
-061a 243a0636 nbranch p_mouse_another_dpi_button_down ,blank 
+061b 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
+061c 243a0638 nbranch p_mouse_another_dpi_button_down ,blank 
 
 p_mouse_dpi_increase:
-061b 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-061c c28e062a bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_increase_level_4 
-061d 18427e00 copy temp ,pdata 
-061e c1008000 rtneq mouse_dpi_level2 
+061d 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+061e c28e062c bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_increase_level_4 
+061f 18427e00 copy temp ,pdata 
+0620 c1008000 rtneq mouse_dpi_level2 
 
 p_mouse_dpi_increase_level:
-061f c0000626 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
-0620 c0010624 beq mouse_dpi_level3 ,p_mouse_dpi_level_2 
-0621 20600000 rtn 
+0621 c0000628 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
+0622 c0010626 beq mouse_dpi_level3 ,p_mouse_dpi_level_2 
+0623 20600000 rtn 
 
 p_mouse_dpi_level_1:
-0622 58000002 setarg 2 
-0623 20200616 branch p_mouse_dpi_store 
+0624 58000002 setarg 2 
+0625 20200618 branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_2:
-0624 58000000 setarg 0 
-0625 20200616 branch p_mouse_dpi_store 
+0626 58000000 setarg 0 
+0627 20200618 branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_3:
-0626 58000001 setarg 1 
-0627 20200616 branch p_mouse_dpi_store 
+0628 58000001 setarg 1 
+0629 20200618 branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_4:
-0628 58000003 setarg 3 
-0629 20200616 branch p_mouse_dpi_store 
+062a 58000003 setarg 3 
+062b 20200618 branch p_mouse_dpi_store 
 
 p_mouse_dpi_increase_level_4:
-062a 18427e00 copy temp ,pdata 
-062b c1008000 rtneq mouse_dpi_level2 
-062c c0000626 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
-062d c0010628 beq mouse_dpi_level3 ,p_mouse_dpi_level_4 
-062e c0018624 beq mouse_dpi_level4 ,p_mouse_dpi_level_2 
-062f 20600000 rtn 
+062c 18427e00 copy temp ,pdata 
+062d c1008000 rtneq mouse_dpi_level2 
+062e c0000628 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
+062f c001062a beq mouse_dpi_level3 ,p_mouse_dpi_level_4 
+0630 c0018626 beq mouse_dpi_level4 ,p_mouse_dpi_level_2 
+0631 20600000 rtn 
 
 p_mouse_dpi_decrease_level_4:
-0630 18427e00 copy temp ,pdata 
-0631 c1010000 rtneq mouse_dpi_level3 
-0632 c0000628 beq mouse_dpi_level1 ,p_mouse_dpi_level_4 
-0633 c0008624 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
-0634 c0018622 beq mouse_dpi_level4 ,p_mouse_dpi_level_1 
-0635 20600000 rtn 
+0632 18427e00 copy temp ,pdata 
+0633 c1010000 rtneq mouse_dpi_level3 
+0634 c000062a beq mouse_dpi_level1 ,p_mouse_dpi_level_4 
+0635 c0008626 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
+0636 c0018624 beq mouse_dpi_level4 ,p_mouse_dpi_level_1 
+0637 20600000 rtn 
 
 p_mouse_another_dpi_button_down:
 
 p_mouse_dpi_decrease:
-0636 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0637 c28e0630 bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_decrease_level_4 
-0638 18427e00 copy temp ,pdata 
-0639 c1010000 rtneq mouse_dpi_level3 
+0638 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0639 c28e0632 bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_decrease_level_4 
+063a 18427e00 copy temp ,pdata 
+063b c1010000 rtneq mouse_dpi_level3 
 
 p_mouse_dpi_decrease_level:
-063a c0000622 beq mouse_dpi_level1 ,p_mouse_dpi_level_1 
-063b c0008624 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
-063c 20600000 rtn 
+063c c0000624 beq mouse_dpi_level1 ,p_mouse_dpi_level_1 
+063d c0008626 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
+063e 20600000 rtn 
 
 p_power_ctrl_start:
-063d 6fe1478c fetch 2 ,mem_ui_state_map 
-063e c3858000 rtnbit1 ui_state_ble_adv 
-063f c3838000 rtnbit1 ui_state_bt_reconnect 
-0640 c3830000 rtnbit1 ui_state_bt_discovery 
-0641 6a214899 fetchr rega ,2 ,mem_rssi_signal_buf_ptr 
-0642 204025cb call rssi_average 
-0643 6048c8c7 storet 1 ,mem_rssi_avg_received 
-0644 202026f6 branch power_ctrl_rssi_avg_compare 
+063f 6fe1478c fetch 2 ,mem_ui_state_map 
+0640 c3858000 rtnbit1 ui_state_ble_adv 
+0641 c3838000 rtnbit1 ui_state_bt_reconnect 
+0642 c3830000 rtnbit1 ui_state_bt_discovery 
+0643 6a214899 fetchr rega ,2 ,mem_rssi_signal_buf_ptr 
+0644 204025cb call rssi_average 
+0645 6048c8c7 storet 1 ,mem_rssi_avg_received 
+0646 202026f6 branch power_ctrl_rssi_avg_compare 
               org 0x3bc1
 
 mouse_init:
Index: output/ramcode.rom
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle_pb_immediately_switch/output/ramcode.rom	(revision 4692)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle_pb_immediately_switch/output/ramcode.rom	(working copy)
@@ -17,16 +17,16 @@
 c065026f
 c06600de
 c0670512
-c067860d
+c067860f
 c068036a
-c0688560
+c0688562
 c0698039
-c06a0545
+c06a0547
 c06b0291
 c06c8395
 c06d04a1
 c06d84ae
-c06f05b2
+c06f05b4
 c06f8063
 c070805b
 c0710057
@@ -45,7 +45,7 @@
 c074830d
 c07501c8
 c0760505
-c076863d
+c076863f
 2020137c
 20800000
 204030f3
@@ -256,7 +256,7 @@
 20403d8a
 20404728
 20400183
-20400557
+20400559
 20203bc9
 6fe44bab
 c41e8000
@@ -334,7 +334,7 @@
 20400390
 204003e0
 20400104
-20400594
+20400596
 20400169
 20401b16
 20401b3f
@@ -453,7 +453,7 @@
 67e0cba4
 6fe14bbc
 67e14ab2
-20200557
+20200559
 20402631
 24340277
 204001d8
@@ -510,7 +510,7 @@
 20207d66
 6fe44bab
 c4140000
-202005bf
+202005c1
 704b9403
 6fe0c91b
 c17f8000
@@ -544,8 +544,8 @@
 58000006
 20405b0d
 c281be23
-20400550
-20400557
+20400552
+20400559
 20203e23
 204042e9
 20407fdc
@@ -557,7 +557,7 @@
 6848c910
 20406042
 6fe0c920
-204005ac
+204005ae
 d8400003
 20403f56
 2040026f
@@ -627,7 +627,7 @@
 20406050
 20403f88
 6fe0c91f
-204005ac
+204005ae
 20203e44
 6fe0c8a7
 205a0283
@@ -769,7 +769,7 @@
 58000000
 67e3c8d0
 704be101
-20400557
+20400559
 2020027c
 70488b00
 6fe14beb
@@ -988,7 +988,7 @@
 da604c1d
 da405d8c
 2020318a
-20400545
+20400547
 202003e8
 6fe0cc46
 67e0cc47
@@ -1185,7 +1185,7 @@
 2020431b
 704c4c02
 204003ea
-20400557
+20400559
 2040043a
 6fe1478c
 2feffe0b
@@ -1305,13 +1305,13 @@
 2040408e
 20403f7e
 20403f83
-2040055e
+20400560
 6fe0c8d0
 1fe17e1f
 67e0c8d0
 2434053d
 2040053a
-20400542
+20400544
 20204544
 6fe0c4ac
 c1800000
@@ -1340,6 +1340,8 @@
 704c9900
 20600000
 20404728
+6fe44bab
+c4020000
 6fe0cc99
 247a0000
 704c996a
@@ -1349,17 +1351,17 @@
 2020471a
 20403f65
 6fe0c927
-c005854c
+c005854e
 20404232
 da604aa3
 2040422b
 2020408e
-20400553
+20400555
 da604be3
 2040422b
 2020408e
 6fe0c927
-c0058553
+c0058555
 20204232
 58009706
 20405b0c
@@ -1368,35 +1370,35 @@
 204041a7
 20403f65
 6fe0c927
-c005855c
+c005855e
 2020423e
 58001f06
 20205b0c
-20400560
+20400562
 202040dd
 6fe0cbe1
 245a4121
 da200000
-2040056b
-20400570
-20400575
-2040057a
-20400587
-20400599
+2040056d
+20400572
+20400577
+2040057c
+20400589
+2040059b
 1a227e00
 20600000
 6fe0c918
-204005ac
+204005ae
 20404124
 6848c918
 20203f56
 6fe0c919
-204005ac
+204005ae
 2040412a
 6848c919
 20203f56
 6fe0c91a
-204005ac
+204005ae
 20404130
 6848c91a
 20203f56
@@ -1407,10 +1409,10 @@
 1fe22600
 6848c90d
 6fe0c910
-c07f8583
+c07f8585
 2020413e
 6fe0c90d
-204005af
+204005b1
 6848c90d
 2020414b
 6fe0c90e
@@ -1420,10 +1422,10 @@
 1fe22600
 6848c90e
 6fe0c910
-c07f8590
+c07f8592
 20204157
 6fe0c90e
-204005af
+204005b1
 6848c90e
 20204164
 6fe0c912
@@ -1443,7 +1445,7 @@
 6fe0cb95
 1fe22600
 6fe0c912
-204005af
+204005b1
 6848c912
 20404195
 67e0cb95
@@ -1458,13 +1460,13 @@
 20206093
 20404990
 20407936
-204005bf
-204005d1
-204005b8
+204005c1
+204005d3
+204005ba
 20204650
 6fe44bab
-c29485bc
-c29b85bc
+c29485be
+c29b85be
 20600000
 6fe1478c
 c2830201
@@ -1474,46 +1476,46 @@
 da200000
 704b9605
 6848c90f
-204005c6
+204005c8
 2020402f
 6fe44bab
 c2964048
 6fe0cb93
 1fe22600
 6fe0c910
-c07f85cd
+c07f85cf
 2020403f
 6fe0c90f
-204005af
+204005b1
 6848c90f
 20204195
 6fe44bab
 c41e8000
 6fe0cc3a
-243a05da
+243a05dc
 6fe0cc3b
-204005ac
-204005e5
+204005ae
+204005e7
 6848cc3b
 20203f56
 6fe0cc3b
 793ffe07
 67e0cc3b
-204005af
+204005b1
 704c3f00
 6848cc3b
 6fe0cc3c
-204005fe
-204005e9
+20400600
+204005eb
 6848cc3b
 20203f56
 704c3f00
 6848cc3b
 6fe0cc3c
-204005f4
+204005f6
 67e0cc3c
 6fe0cc3e
-203a05f0
+203a05f2
 6fe0cc3d
 c1008000
 704c3d01
@@ -1529,8 +1531,8 @@
 1a417e07
 6848cc3f
 18420e00
-c0038609
-c000060b
+c003860b
+c000060d
 20600000
 1fe3fe00
 1fe22400
@@ -1540,8 +1542,8 @@
 1a417e07
 6848cc3f
 18420e00
-c0038609
-c000060b
+c003860b
+c000060d
 20600000
 704c3e01
 20600000
@@ -1552,7 +1554,7 @@
 6fe0c992
 1fe20400
 6fe44bab
-c29e8619
+c29e861b
 18427e00
 1fe0fe01
 1fe17e03
@@ -1560,40 +1562,40 @@
 20404095
 202045ee
 6fe0cc3e
-243a0636
+243a0638
 6fe44bab
-c28e062a
+c28e062c
 18427e00
 c1008000
-c0000626
-c0010624
+c0000628
+c0010626
 20600000
 58000002
-20200616
+20200618
 58000000
-20200616
+20200618
 58000001
-20200616
+20200618
 58000003
-20200616
+20200618
 18427e00
 c1008000
-c0000626
-c0010628
-c0018624
+c0000628
+c001062a
+c0018626
 20600000
 18427e00
 c1010000
-c0000628
-c0008624
-c0018622
+c000062a
+c0008626
+c0018624
 20600000
 6fe44bab
-c28e0630
+c28e0632
 18427e00
 c1010000
-c0000622
-c0008624
+c0000624
+c0008626
 20600000
 6fe1478c
 c3858000
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle_pb_immediately_switch/program/patch.prog	(revision 4692)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle_pb_immediately_switch/program/patch.prog	(working copy)
@@ -1952,6 +1952,8 @@
 	
 p_mouse_low_power_led_delay_off:
 	call mouse_drawing_optima_init
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_LOW_VOLTAGE_FLAG
 	fetch 1,mem_24g_low_power_stop_blink
 	nrtn blank
 	jam 0x6a,mem_24g_low_power_stop_blink
