Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/FD-E701_Only2.4G_16M/output/eeprom.dat	(revision 511)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/FD-E701_Only2.4G_16M/output/eeprom.dat	(working copy)
@@ -2,64 +2,68 @@
 02
 aa
 55
-92
+fe
 05
 c2
 84
 00
-0f
+10
 c0
 00
 00
-11
+12
 c0
 45
 80
-4f
+50
 c0
 4f
 80
-4d
+4e
 c0
 57
 00
-15
+16
 c0
 61
 80
-24
+25
 c0
 64
 80
-5a
+5b
 c0
 65
 00
-6a
+6b
 c0
 67
 00
-88
+89
 c0
 68
 00
-a2
+a3
 c0
 68
 81
-2c
+2d
 c0
 69
 80
-e0
+e1
 c0
 6b
 00
-80
+81
 c0
 6c
 80
-b3
+b4
+c0
+6f
+01
+65
 20
 20
 13
@@ -67,7 +71,7 @@
 c0
 75
 00
-f9
+fa
 20
 20
 13
@@ -95,11 +99,11 @@
 20
 40
 00
-1c
+1d
 20
 40
 00
-47
+48
 20
 40
 41
@@ -163,7 +167,7 @@
 c0
 00
 00
-2b
+2c
 20
 40
 3d
@@ -199,7 +203,7 @@
 20
 40
 00
-42
+43
 1f
 e1
 7e
@@ -223,7 +227,7 @@
 20
 40
 00
-39
+3a
 20
 34
 48
@@ -263,7 +267,7 @@
 c2
 00
 00
-3d
+3e
 20
 60
 00
@@ -383,7 +387,7 @@
 c0
 7f
 80
-63
+64
 68
 48
 c9
@@ -423,7 +427,7 @@
 20
 40
 00
-c4
+c5
 20
 20
 3e
@@ -523,7 +527,7 @@
 c0
 1e
 00
-83
+84
 20
 20
 43
@@ -595,7 +599,7 @@
 24
 34
 00
-97
+98
 20
 40
 47
@@ -603,7 +607,7 @@
 20
 40
 00
-9a
+9b
 20
 20
 45
@@ -659,7 +663,7 @@
 20
 40
 00
-a5
+a6
 20
 20
 40
@@ -711,7 +715,7 @@
 20
 3a
 00
-cb
+cc
 67
 e0
 cb
@@ -747,7 +751,7 @@
 20
 40
 00
-c8
+c9
 20
 20
 44
@@ -783,7 +787,7 @@
 da
 40
 00
-c4
+c5
 20
 20
 31
@@ -811,7 +815,7 @@
 da
 40
 00
-cb
+cc
 20
 20
 31
@@ -867,11 +871,11 @@
 20
 41
 00
-da
+db
 24
 41
 00
-de
+df
 20
 20
 48
@@ -919,7 +923,7 @@
 c0
 18
 00
-ea
+eb
 c0
 18
 c2
@@ -939,7 +943,7 @@
 20
 20
 00
-e3
+e4
 6f
 e0
 c9
@@ -947,7 +951,7 @@
 c0
 2d
 00
-f3
+f4
 c0
 6c
 41
@@ -975,7 +979,7 @@
 20
 20
 00
-e3
+e4
 70
 49
 27
@@ -1006,12 +1010,12 @@
 31
 24
 34
-26
-a1
+01
+01
 20
 40
 01
-14
+15
 20
 40
 26
@@ -1035,7 +1039,7 @@
 20
 5a
 01
-06
+07
 6f
 e0
 c8
@@ -1107,7 +1111,7 @@
 20
 20
 00
-fb
+fc
 70
 48
 a6
@@ -1135,11 +1139,11 @@
 24
 2c
 01
-23
+24
 24
 37
 81
-23
+24
 20
 40
 26
@@ -1147,7 +1151,7 @@
 20
 40
 01
-1f
+20
 20
 20
 26
@@ -1159,7 +1163,7 @@
 24
 5a
 00
-e2
+e3
 70
 4b
 e1
@@ -1203,7 +1207,7 @@
 20
 20
 01
-15
+16
 6f
 e0
 cb
@@ -1219,23 +1223,23 @@
 20
 40
 01
-37
+38
 20
 40
 01
-3c
+3d
 20
 40
 01
-41
+42
 20
 40
 01
-46
+47
 20
 40
 01
-53
+54
 20
 40
 41
@@ -1255,7 +1259,7 @@
 20
 40
 01
-60
+61
 20
 40
 41
@@ -1275,7 +1279,7 @@
 20
 40
 01
-60
+61
 20
 40
 41
@@ -1295,7 +1299,7 @@
 20
 40
 01
-60
+61
 20
 40
 41
@@ -1339,7 +1343,7 @@
 c0
 7f
 81
-4f
+50
 20
 20
 41
@@ -1351,7 +1355,7 @@
 20
 40
 01
-62
+63
 68
 48
 c9
@@ -1391,7 +1395,7 @@
 c0
 7f
 81
-5c
+5d
 20
 20
 41
@@ -1403,7 +1407,7 @@
 20
 40
 01
-62
+63
 68
 48
 c9
@@ -1428,8 +1432,112 @@
 20
 60
 93
-1d
-30
+20
+40
+49
+90
+20
+40
+79
+36
+20
+40
+01
+69
+20
+20
+46
+4f
+6f
+e4
+4b
+ab
+c2
+97
+40
+36
+6f
+e0
+c9
+0f
+c1
+7f
+80
+00
+da
+20
+00
+00
+70
+4b
+96
+05
+68
+48
+c9
+0f
+20
+40
+01
+72
+20
+20
+40
+2f
+6f
+e4
+4b
+ab
+c2
+96
+40
+48
+6f
+e0
+cb
+93
+1f
+e2
+26
+00
+6f
+e0
+c9
+10
+c0
+7f
+81
+7b
+6f
+e0
+cb
+9a
+24
+3a
+40
+45
+20
+20
+40
+4a
+6f
+e0
+c9
+0f
+20
+40
+01
+63
+68
+48
+c9
+0f
+20
+20
+41
+95
+ab
+54
 aa
 55
 40
@@ -1463,7 +1571,7 @@
 08
 46
 4b
-02
+42
 00
 00
 00
@@ -2615,116 +2723,8 @@
 e8
 41
 01
-09
-8a
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+67
+5d
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-95
-66
+84
+db
Index: output/program.lis
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/FD-E701_Only2.4G_16M/output/program.lis	(revision 511)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/FD-E701_Only2.4G_16M/output/program.lis	(working copy)
@@ -1,473 +1,508 @@
               include "bt_format "
               org 0x0000
-0000 c284000f bbit1 8 ,pf_patch_ext 
-0001 c0000011 beq patch00_0 ,p_soft_reset 
-0002 c045804f beq patch11_3 ,p_initialize_radio_cont 
-0003 c04f804d beq patch13_7 ,p_init_param 
-0004 c0570015 beq patch15_6 ,p_app_init 
-0005 c0618024 beq patch18_3 ,p_mouse_start_work 
-0006 c064805a beq patch19_1 ,p_mouse_setgpio_hibernate 
-0007 c065006a beq patch19_2 ,p_mouse_lpm_before_common 
-0008 c0670088 beq patch19_6 ,p_mouse_motion 
-0009 c06800a2 beq patch1a_0 ,p_mouse_seting_dpi 
-000a c068812c beq patch1a_1 ,p_mouse_check_key_gpio 
-000b c06980e0 beq patch1a_3 ,p_mouse_init_sunt 
-000c c06b0080 beq patch1a_6 ,p_mouse_priority_bb_event 
-000d c06c80b3 beq patch1b_1 ,p_mouse_bb_event_timer 
-000e 2020137c branch loop 
+0000 c2840010 bbit1 8 ,pf_patch_ext 
+0001 c0000012 beq patch00_0 ,p_soft_reset 
+0002 c0458050 beq patch11_3 ,p_initialize_radio_cont 
+0003 c04f804e beq patch13_7 ,p_init_param 
+0004 c0570016 beq patch15_6 ,p_app_init 
+0005 c0618025 beq patch18_3 ,p_mouse_start_work 
+0006 c064805b beq patch19_1 ,p_mouse_setgpio_hibernate 
+0007 c065006b beq patch19_2 ,p_mouse_lpm_before_common 
+0008 c0670089 beq patch19_6 ,p_mouse_motion 
+0009 c06800a3 beq patch1a_0 ,p_mouse_seting_dpi 
+000a c068812d beq patch1a_1 ,p_mouse_check_key_gpio 
+000b c06980e1 beq patch1a_3 ,p_mouse_init_sunt 
+000c c06b0081 beq patch1a_6 ,p_mouse_priority_bb_event 
+000d c06c80b4 beq patch1b_1 ,p_mouse_bb_event_timer 
+000e c06f0165 beq patch1b_6 ,p_mouse_idle 
+000f 2020137c branch loop 
 
 pf_patch_ext:
-000f c07500f9 beq patch3d_2 ,p_g24_transmit_dispatch 
-0010 2020137c branch loop 
+0010 c07500fa beq patch3d_2 ,p_g24_transmit_dispatch 
+0011 2020137c branch loop 
 
 p_soft_reset:
-0011 20800000 clear_stack 
-0012 204030f3 call app_param_init 
-0013 20403bfd call mouse_xtal_init 
-0014 20200804 branch soft_reset + 3 
+0012 20800000 clear_stack 
+0013 204030f3 call app_param_init 
+0014 20403bfd call mouse_xtal_init 
+0015 20200804 branch soft_reset + 3 
 
 p_app_init:
 
 p_mouse_init:
-0015 20406df3 call enable_authrom 
-0016 2040001c call p_mouse_wheel_set_wakeup 
-0017 20400047 call p_mouse_setting_config 
-0018 204041a7 call mouse_init_sunt 
-0019 20758000 rtn wake 
-001a 2040408e call mouse_dpi_config 
-001b 20203bc5 branch mouse_init + 4 
+0016 20406df3 call enable_authrom 
+0017 2040001d call p_mouse_wheel_set_wakeup 
+0018 20400048 call p_mouse_setting_config 
+0019 204041a7 call mouse_init_sunt 
+001a 20758000 rtn wake 
+001b 2040408e call mouse_dpi_config 
+001c 20203bc5 branch mouse_init + 4 
 
 p_mouse_wheel_set_wakeup:
-001c 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-001d 207a0000 rtn blank 
-001e 6fe0c913 fetch 1 ,mem_whee_a_data_gpio 
-001f d8400040 arg gpcfg_pullup ,temp 
-0020 20406093 call gpio_config_function_int 
-0021 6fe0c914 fetch 1 ,mem_whee_b_data_gpio 
-0022 d8400040 arg gpcfg_pullup ,temp 
-0023 20206093 branch gpio_config_function_int 
+001d 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+001e 207a0000 rtn blank 
+001f 6fe0c913 fetch 1 ,mem_whee_a_data_gpio 
+0020 d8400040 arg gpcfg_pullup ,temp 
+0021 20406093 call gpio_config_function_int 
+0022 6fe0c914 fetch 1 ,mem_whee_b_data_gpio 
+0023 d8400040 arg gpcfg_pullup ,temp 
+0024 20206093 branch gpio_config_function_int 
 
 p_mouse_start_work:
-0024 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0025 c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
-0026 6fe0c938 fetch 1 ,mem_device_flag 
-0027 c000002b beq mode_24g_device ,p_mouse_24g_start_mode 
-0028 20403d65 call mouse_wakeup_from_power_check 
-0029 243442eb nbranch mouse_buletooth_fast_conn_init ,user 
-002a 20203d59 branch mouse_start_reconnect_device 
+0025 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0026 c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
+0027 6fe0c938 fetch 1 ,mem_device_flag 
+0028 c000002c beq mode_24g_device ,p_mouse_24g_start_mode 
+0029 20403d65 call mouse_wakeup_from_power_check 
+002a 243442eb nbranch mouse_buletooth_fast_conn_init ,user 
+002b 20203d59 branch mouse_start_reconnect_device 
 
 p_mouse_24g_start_mode:
-002b 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-002c c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
-002d 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-002e c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
-002f c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
-0030 20400042 call p_mouse_key_check_once 
-0031 1fe17e07 and pdata ,0x07 ,pdata 
-0032 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
-0033 98467c00 isub temp ,null 
-0034 2022c827 branch mouse_24g_start_pair_mode ,zero 
-0035 2020480c branch mouse_24g_reconn_general_dongle 
+002c 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+002d c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
+002e 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+002f c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
+0030 c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
+0031 20400043 call p_mouse_key_check_once 
+0032 1fe17e07 and pdata ,0x07 ,pdata 
+0033 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
+0034 98467c00 isub temp ,null 
+0035 2022c827 branch mouse_24g_start_pair_mode ,zero 
+0036 2020480c branch mouse_24g_reconn_general_dongle 
 
 p_mouse_24g_reconn_dongle_start:
-0036 20400039 call p_g24_factory_check 
-0037 20344812 branch mouse_24g_start_auto_pair_next ,user 
-0038 20204806 branch mouse_24g_reconn_dongle_start 
+0037 2040003a call p_g24_factory_check 
+0038 20344812 branch mouse_24g_start_auto_pair_next ,user 
+0039 20204806 branch mouse_24g_reconn_dongle_start 
 
 p_g24_factory_check:
-0039 df200002 arg 2 ,loopcnt 
-003a d8c04993 arg mem_mouse_24g_addr ,contr 
+003a df200002 arg 2 ,loopcnt 
+003b d8c04993 arg mem_mouse_24g_addr ,contr 
 
 p_pdata_0xff_check:
-003b 20407e54 call enable_user 
-003c 5800ffff setarg 0xffff 
+003c 20407e54 call enable_user 
+003d 5800ffff setarg 0xffff 
 
 p_pdata_0xff_check_loop:
-003d e8410006 ifetcht 2 ,contr 
-003e 98467c00 isub temp ,null 
-003f 2442fe56 ncall disable_user ,zero 
-0040 c200003d loop p_pdata_0xff_check_loop 
-0041 20600000 rtn 
+003e e8410006 ifetcht 2 ,contr 
+003f 98467c00 isub temp ,null 
+0040 2442fe56 ncall disable_user ,zero 
+0041 c200003e loop p_pdata_0xff_check_loop 
+0042 20600000 rtn 
 
 p_mouse_key_check_once:
-0042 20404121 call mouse_check_key_gpio_once 
-0043 20404115 call mouse_check_key_gpio 
-0044 d8400000 arg 0 ,temp 
-0045 6049cb8e storet 3 ,mem_mouse_lkey_press_status 
-0046 20600000 rtn 
+0043 20404121 call mouse_check_key_gpio_once 
+0044 20404115 call mouse_check_key_gpio 
+0045 d8400000 arg 0 ,temp 
+0046 6049cb8e storet 3 ,mem_mouse_lkey_press_status 
+0047 20600000 rtn 
 
 p_mouse_setting_config:
-0047 20758000 rtn wake 
-0048 20402607 call g24_transmit_init 
-0049 204022ff call g24_chmap_param_init 
-004a 20403f1e call mouse_gpio_init 
-004b 20403d13 call mouse_param_init 
-004c 20203bf5 branch mouse_setting_config_next 
+0048 20758000 rtn wake 
+0049 20402607 call g24_transmit_init 
+004a 204022ff call g24_chmap_param_init 
+004b 20403f1e call mouse_gpio_init 
+004c 20403d13 call mouse_param_init 
+004d 20203bf5 branch mouse_setting_config_next 
 
 p_init_param:
-004d 70008000 jam 0 ,mem_lmo_tid2 
-004e 202013b7 branch init_param_next + 1 
+004e 70008000 jam 0 ,mem_lmo_tid2 
+004f 202013b7 branch init_param_next + 1 
 
 p_initialize_radio_cont:
-004f 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
-0050 2040126a call initialize_syn_afc_cfg1 
-0051 20401271 call initialize_rf_ldo_cfg1 
-0052 20401277 call initialize_rc_cal 
-0053 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
-0054 708a0305 jam 5 ,core_clkpll_cfg0 
-0055 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
-0056 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
-0057 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
-0058 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
-0059 2020125d branch initialize_radio_cont + 8 
+0050 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
+0051 2040126a call initialize_syn_afc_cfg1 
+0052 20401271 call initialize_rf_ldo_cfg1 
+0053 20401277 call initialize_rc_cal 
+0054 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
+0055 708a0305 jam 5 ,core_clkpll_cfg0 
+0056 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
+0057 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
+0058 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
+0059 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
+005a 2020125d branch initialize_radio_cont + 8 
 
 p_mouse_setgpio_hibernate:
-005a 204042e9 call mouse_set_sdio_high 
-005b 20407fdc call clear_wake 
-005c 20404015 call mouse_before_hibernate_wheel_gpio_set 
-005d 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-005e c07f8063 beq gpio_disable ,p_mouse_setgpio_hibernate_skip_public_gpio 
-005f 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-0060 20406069 call gpio_out_active 
-0061 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-0062 20406042 call gpio_clr_wake 
+005b 204042e9 call mouse_set_sdio_high 
+005c 20407fdc call clear_wake 
+005d 20404015 call mouse_before_hibernate_wheel_gpio_set 
+005e 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+005f c07f8064 beq gpio_disable ,p_mouse_setgpio_hibernate_skip_public_gpio 
+0060 6848c910 fetcht 1 ,mem_matrix_public_gpio 
+0061 20406069 call gpio_out_active 
+0062 6848c910 fetcht 1 ,mem_matrix_public_gpio 
+0063 20406042 call gpio_clr_wake 
 
 p_mouse_setgpio_hibernate_skip_public_gpio:
-0063 6848cbe2 fetcht 1 ,mem_mouse_reuse_2ice_gpio 
-0064 20403f56 call mouse_gpio_config_input_pu 
-0065 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
-0066 d840003f arg gpcfg_output_high ,temp 
-0067 20406093 call gpio_config_function_int 
-0068 204000c4 call p_mouse_logo_led_on_timeout 
-0069 20203e36 branch mouse_setgpio_hibernate + 3 
+0064 6848cbe2 fetcht 1 ,mem_mouse_reuse_2ice_gpio 
+0065 20403f56 call mouse_gpio_config_input_pu 
+0066 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
+0067 d840003f arg gpcfg_output_high ,temp 
+0068 20406093 call gpio_config_function_int 
+0069 204000c5 call p_mouse_logo_led_on_timeout 
+006a 20203e36 branch mouse_setgpio_hibernate + 3 
 
 p_mouse_lpm_before_common:
-006a 20403f88 call mouse_wheel_check 
-006b 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
-006c d840003f arg gpcfg_output_high ,temp 
-006d 20406093 call gpio_config_function_int 
-006e 6fe080a1 fetch 1 ,mem_gpio_wakeup_low + 2 
-006f 793ffe03 set0 3 ,pdata 
-0070 67e080a1 store 1 ,mem_gpio_wakeup_low + 2 
-0071 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
-0072 20406042 call gpio_clr_wake 
-0073 20405b04 call twspi_disable 
-0074 6848c918 fetcht 1 ,mem_lbutton_gpio 
-0075 20406036 call gpio_set_wake 
-0076 6848c919 fetcht 1 ,mem_rbutton_gpio 
-0077 20406036 call gpio_set_wake 
-0078 6848c91a fetcht 1 ,mem_mbutton_gpio 
-0079 20406036 call gpio_set_wake 
-007a 6848c90d fetcht 1 ,mem_bk_button_gpio 
-007b 20406036 call gpio_set_wake 
-007c 6848c90e fetcht 1 ,mem_fw_button_gpio 
-007d 20406036 call gpio_set_wake 
-007e 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-007f 20206036 branch gpio_set_wake 
+006b 20403f88 call mouse_wheel_check 
+006c 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
+006d d840003f arg gpcfg_output_high ,temp 
+006e 20406093 call gpio_config_function_int 
+006f 6fe080a1 fetch 1 ,mem_gpio_wakeup_low + 2 
+0070 793ffe03 set0 3 ,pdata 
+0071 67e080a1 store 1 ,mem_gpio_wakeup_low + 2 
+0072 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
+0073 20406042 call gpio_clr_wake 
+0074 20405b04 call twspi_disable 
+0075 6848c918 fetcht 1 ,mem_lbutton_gpio 
+0076 20406036 call gpio_set_wake 
+0077 6848c919 fetcht 1 ,mem_rbutton_gpio 
+0078 20406036 call gpio_set_wake 
+0079 6848c91a fetcht 1 ,mem_mbutton_gpio 
+007a 20406036 call gpio_set_wake 
+007b 6848c90d fetcht 1 ,mem_bk_button_gpio 
+007c 20406036 call gpio_set_wake 
+007d 6848c90e fetcht 1 ,mem_fw_button_gpio 
+007e 20406036 call gpio_set_wake 
+007f 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+0080 20206036 branch gpio_set_wake 
 
 p_mouse_priority_bb_event:
-0080 1a627e00 copy regc ,pdata 
-0081 c01e0083 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-0082 20204336 branch mouse_priority_bb_event + 2 
+0081 1a627e00 copy regc ,pdata 
+0082 c01e0084 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+0083 20204336 branch mouse_priority_bb_event + 2 
 
 p_mouse_24g_attempt_success:
-0083 6fe2483c fetch 4 ,mem_24g_addr 
-0084 67e24891 store 4 ,mem_24g_receiver_addr 
-0085 67e24993 store 4 ,mem_mouse_24g_addr 
-0086 204048c6 call mouse_device_poweron_timer_init 
-0087 2020484e branch mouse_24g_attempt_success 
+0084 6fe2483c fetch 4 ,mem_24g_addr 
+0085 67e24891 store 4 ,mem_24g_receiver_addr 
+0086 67e24993 store 4 ,mem_mouse_24g_addr 
+0087 204048c6 call mouse_device_poweron_timer_init 
+0088 2020484e branch mouse_24g_attempt_success 
 
 p_mouse_motion:
-0088 78547c00 disable user 
-0089 58000000 setarg 0 
-008a 67e348d1 store 6 ,mem_mouse_x 
-008b 20404240 call mouse_check_sensor_data 
-008c 2040408e call mouse_dpi_config 
-008d 20403f7e call mouse_zwheel 
-008e 20403f83 call mouse_t_zwheel 
-008f 204040dc call mouse_key 
-0090 6fe0c8d0 fetch 1 ,mem_mouse_key 
-0091 1fe17e1f and_into 0x1f ,pdata 
-0092 67e0c8d0 store 1 ,mem_mouse_key 
-0093 24340097 nbranch p_mouse_motion_nodata ,user 
-0094 2040471a call mouse_drawing_optima 
-0095 2040009a call p_mouse_logo_led_on_check 
-0096 20204544 branch mouse_no_data_timer_init 
+0089 78547c00 disable user 
+008a 58000000 setarg 0 
+008b 67e348d1 store 6 ,mem_mouse_x 
+008c 20404240 call mouse_check_sensor_data 
+008d 2040408e call mouse_dpi_config 
+008e 20403f7e call mouse_zwheel 
+008f 20403f83 call mouse_t_zwheel 
+0090 204040dc call mouse_key 
+0091 6fe0c8d0 fetch 1 ,mem_mouse_key 
+0092 1fe17e1f and_into 0x1f ,pdata 
+0093 67e0c8d0 store 1 ,mem_mouse_key 
+0094 24340098 nbranch p_mouse_motion_nodata ,user 
+0095 2040471a call mouse_drawing_optima 
+0096 2040009b call p_mouse_logo_led_on_check 
+0097 20204544 branch mouse_no_data_timer_init 
 
 p_mouse_motion_nodata:
-0097 20404728 call mouse_drawing_optima_init 
-0098 704be400 jam 0 ,mem_mouse_logo_led_on_check_count 
-0099 20600000 rtn 
+0098 20404728 call mouse_drawing_optima_init 
+0099 704be400 jam 0 ,mem_mouse_logo_led_on_check_count 
+009a 20600000 rtn 
 
 p_mouse_logo_led_on_check:
-009a 6fe0cbe4 fetch 1 ,mem_mouse_logo_led_on_check_count 
-009b 1fe0fe01 increase 1 ,pdata 
-009c 67e0cbe4 store 1 ,mem_mouse_logo_led_on_check_count 
-009d 1fe67c08 sub pdata ,low_voltage_led_count ,null 
-009e 20610000 rtn positive 
+009b 6fe0cbe4 fetch 1 ,mem_mouse_logo_led_on_check_count 
+009c 1fe0fe01 increase 1 ,pdata 
+009d 67e0cbe4 store 1 ,mem_mouse_logo_led_on_check_count 
+009e 1fe67c08 sub pdata ,low_voltage_led_count ,null 
+009f 20610000 rtn positive 
 
 p_mouse_logo_led_on:
-009f 58000258 setarg 0x0258 
-00a0 67e14be5 store 2 ,mem_mouse_logo_led_on_timer 
-00a1 20600000 rtn 
+00a0 58000258 setarg 0x0258 
+00a1 67e14be5 store 2 ,mem_mouse_logo_led_on_timer 
+00a2 20600000 rtn 
 
 p_mouse_seting_dpi:
-00a2 2040408f call mouse_setting_dpi_4_level 
-00a3 204000a5 call p_mouse_dpi_led_blink_delay 
-00a4 20204098 branch mouse_seting_sensor_type 
+00a3 2040408f call mouse_setting_dpi_4_level 
+00a4 204000a6 call p_mouse_dpi_led_blink_delay 
+00a5 20204098 branch mouse_seting_sensor_type 
 
 p_mouse_dpi_led_blink_delay:
-00a5 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-00a6 c17f8000 rtneq gpio_disable 
-00a7 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
-00a8 247a0000 nrtn blank 
-00a9 6fe14883 fetch 2 ,mem_24g_pair_timeout 
-00aa 247a0000 nrtn blank 
-00ab 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
-00ac 247a0000 nrtn blank 
-00ad 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
-00ae 247a0000 nrtn blank 
-00af 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
-00b0 203a00cb branch p_mouse_dpi_led_blink_init ,blank 
-00b1 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
-00b2 20600000 rtn 
+00a6 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+00a7 c17f8000 rtneq gpio_disable 
+00a8 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
+00a9 247a0000 nrtn blank 
+00aa 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+00ab 247a0000 nrtn blank 
+00ac 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+00ad 247a0000 nrtn blank 
+00ae 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
+00af 247a0000 nrtn blank 
+00b0 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
+00b1 203a00cc branch p_mouse_dpi_led_blink_init ,blank 
+00b2 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
+00b3 20600000 rtn 
 
 p_mouse_bb_event_timer:
-00b3 20403e9b call mouse_adc_read 
-00b4 20404956 call mouse_low_voltage_led_timer 
-00b5 2040232b call g24_pair_timeout_timer 
-00b6 20402556 call g24_reconn_timeout_timer 
-00b7 204047cd call mouse_24g_long_sleep_param_update_timer 
-00b8 204048be call mouse_device_poweron_timer 
-00b9 204000c8 call p_mouse_dpi_led_blink_delay_timer 
-00ba 202044bd branch mouse_bb_event_timer + 8 
+00b4 20403e9b call mouse_adc_read 
+00b5 20404956 call mouse_low_voltage_led_timer 
+00b6 2040232b call g24_pair_timeout_timer 
+00b7 20402556 call g24_reconn_timeout_timer 
+00b8 204047cd call mouse_24g_long_sleep_param_update_timer 
+00b9 204048be call mouse_device_poweron_timer 
+00ba 204000c9 call p_mouse_dpi_led_blink_delay_timer 
+00bb 202044bd branch mouse_bb_event_timer + 8 
 
 p_mouse_logo_led_on_timer:
-00bb 6fe0cbe3 fetch 1 ,mem_mouse_logo_led_gpio 
-00bc c17f8000 rtneq gpio_disable 
-00bd 6fe14be5 fetch 2 ,mem_mouse_logo_led_on_timer 
-00be 207a0000 rtn blank 
-00bf 6848cbe3 fetcht 1 ,mem_mouse_logo_led_gpio 
-00c0 20406069 call gpio_out_active 
-00c1 da604be5 arg mem_mouse_logo_led_on_timer ,regc 
-00c2 da4000c4 arg p_mouse_logo_led_on_timeout ,regb 
-00c3 20203191 branch timer_single_step_2b 
+00bc 6fe0cbe3 fetch 1 ,mem_mouse_logo_led_gpio 
+00bd c17f8000 rtneq gpio_disable 
+00be 6fe14be5 fetch 2 ,mem_mouse_logo_led_on_timer 
+00bf 207a0000 rtn blank 
+00c0 6848cbe3 fetcht 1 ,mem_mouse_logo_led_gpio 
+00c1 20406069 call gpio_out_active 
+00c2 da604be5 arg mem_mouse_logo_led_on_timer ,regc 
+00c3 da4000c5 arg p_mouse_logo_led_on_timeout ,regb 
+00c4 20203191 branch timer_single_step_2b 
 
 p_mouse_logo_led_on_timeout:
-00c4 58000000 setarg 0 
-00c5 67e14be5 store 2 ,mem_mouse_logo_led_on_timer 
-00c6 6848cbe3 fetcht 1 ,mem_mouse_logo_led_gpio 
-00c7 20206065 branch gpio_out_inactive 
+00c5 58000000 setarg 0 
+00c6 67e14be5 store 2 ,mem_mouse_logo_led_on_timer 
+00c7 6848cbe3 fetcht 1 ,mem_mouse_logo_led_gpio 
+00c8 20206065 branch gpio_out_inactive 
 
 p_mouse_dpi_led_blink_delay_timer:
-00c8 da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
-00c9 da4000cb arg p_mouse_dpi_led_blink_init ,regb 
-00ca 2020318a branch timer_single_step 
+00c9 da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
+00ca da4000cc arg p_mouse_dpi_led_blink_init ,regb 
+00cb 2020318a branch timer_single_step 
 
 p_mouse_dpi_led_blink_init:
-00cb 6fe0c927 fetch 1 ,mem_config_sensor_type 
-00cc c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
-00cd c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
-00ce 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-00cf 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
-00d0 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
-00d1 67e14930 store 2 ,mem_mouse_on_time 
-00d2 67e14932 store 2 ,mem_mouse_off_time 
-00d3 da200000 arg 0 ,rega 
-00d4 6848c992 fetcht 1 ,mem_mouse_dpi 
-00d5 18408402 increase 2 ,temp 
-00d6 18467c03 sub temp ,3 ,null 
-00d7 204100da call p_mouse_dpi_led_blink_init_level_4 ,positive 
-00d8 244100de ncall p_mouse_dpi_led_blink_count_clean ,positive 
-00d9 202048ff branch mouse_dpi_led_blink_init_end 
+00cc 6fe0c927 fetch 1 ,mem_config_sensor_type 
+00cd c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
+00ce c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
+00cf 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+00d0 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
+00d1 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
+00d2 67e14930 store 2 ,mem_mouse_on_time 
+00d3 67e14932 store 2 ,mem_mouse_off_time 
+00d4 da200000 arg 0 ,rega 
+00d5 6848c992 fetcht 1 ,mem_mouse_dpi 
+00d6 18408402 increase 2 ,temp 
+00d7 18467c03 sub temp ,3 ,null 
+00d8 204100db call p_mouse_dpi_led_blink_init_level_4 ,positive 
+00d9 244100df ncall p_mouse_dpi_led_blink_count_clean ,positive 
+00da 202048ff branch mouse_dpi_led_blink_init_end 
 
 p_mouse_dpi_led_blink_init_level_4:
-00da 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00db c40e0000 rtnbit0 mouse_enable_dpi_level_4 
-00dc 18408401 increase 1 ,temp 
-00dd 20600000 rtn 
+00db 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00dc c40e0000 rtnbit0 mouse_enable_dpi_level_4 
+00dd 18408401 increase 1 ,temp 
+00de 20600000 rtn 
 
 p_mouse_dpi_led_blink_count_clean:
-00de 184085fd increase -3 ,temp 
-00df 20600000 rtn 
+00df 184085fd increase -3 ,temp 
+00e0 20600000 rtn 
 
 p_mouse_init_sunt:
-00e0 20403f65 call mouse_sensor_spi_init 
-00e1 20758000 rtn wake 
+00e1 20403f65 call mouse_sensor_spi_init 
+00e2 20758000 rtn wake 
 
 p_mouse_init_sensor_wakeup:
-00e2 20404236 call mouse_sensor_poweron 
+00e3 20404236 call mouse_sensor_poweron 
 
 p_mouse_init_sensor:
-00e3 204041b5 call mouse_read_sensor_id 
-00e4 c01800ea beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
-00e5 c018c217 beq p3065_id1 ,mouse_init_p3065 
-00e6 c02c4220 beq pka8g2_id1 ,mouse_ka8g2_id2_judge 
-00e7 204041b2 call mouse_twspi_reset 
-00e8 20001af4 nop 6900 
-00e9 202000e3 branch p_mouse_init_sensor 
+00e4 204041b5 call mouse_read_sensor_id 
+00e5 c01800eb beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
+00e6 c018c217 beq p3065_id1 ,mouse_init_p3065 
+00e7 c02c4220 beq pka8g2_id1 ,mouse_ka8g2_id2_judge 
+00e8 204041b2 call mouse_twspi_reset 
+00e9 20001af4 nop 6900 
+00ea 202000e4 branch p_mouse_init_sensor 
 
 p_mouse_init_p32xx_id2_judge:
-00ea 6fe0c9c2 fetch 1 ,mem_sensor_id2 
-00eb c02d00f3 beq p_mx8650 ,p_mouse_mx8650_init_param 
-00ec c06c41cb beq p8009_id2 ,mouse_8009_init_param 
-00ed c068c1da beq p3205_tj3t_id2 ,mouse_3205_3t_init_param 
-00ee c06941e3 beq p3204_tj3l_id2 ,mouse_3204_3l_init_param 
-00ef c00141ea beq p3212_id2 ,mouse_3212_init_param 
-00f0 c02a41ed beq pka8_id2 ,mouse_ka8_init_param_check 
-00f1 c0284214 beq p6520a_id2 ,mouse_p6520_init_param 
-00f2 202000e3 branch p_mouse_init_sensor 
+00eb 6fe0c9c2 fetch 1 ,mem_sensor_id2 
+00ec c02d00f4 beq p_mx8650 ,p_mouse_mx8650_init_param 
+00ed c06c41cb beq p8009_id2 ,mouse_8009_init_param 
+00ee c068c1da beq p3205_tj3t_id2 ,mouse_3205_3t_init_param 
+00ef c06941e3 beq p3204_tj3l_id2 ,mouse_3204_3l_init_param 
+00f0 c00141ea beq p3212_id2 ,mouse_3212_init_param 
+00f1 c02a41ed beq pka8_id2 ,mouse_ka8_init_param_check 
+00f2 c0284214 beq p6520a_id2 ,mouse_p6520_init_param 
+00f3 202000e4 branch p_mouse_init_sensor 
 
 p_mouse_mx8650_init_param:
-00f3 70492705 jam mx8650 ,mem_config_sensor_type 
-00f4 20404232 call mouse_sensor_reset 
-00f5 20407d12 call delay_10ms 
-00f6 da604be7 arg mem_sensor_8650_init_new ,regc 
-00f7 2040422b call mouse_sensor_wr_seq 
-00f8 2020408e branch mouse_dpi_config 
+00f4 70492705 jam mx8650 ,mem_config_sensor_type 
+00f5 20404232 call mouse_sensor_reset 
+00f6 20407d12 call delay_10ms 
+00f7 da604be7 arg mem_sensor_8650_init_new ,regc 
+00f8 2040422b call mouse_sensor_wr_seq 
+00f9 2020408e branch mouse_dpi_config 
 
 p_g24_transmit_dispatch:
-00f9 20402631 call g24_txdata_prep 
-00fa 243426a1 nbranch g24_nodata_transmit ,user 
+00fa 20402631 call g24_txdata_prep 
+00fb 24340101 nbranch p_g24_nodata_transmit ,user 
 
 p_g24_transmit_start:
-00fb 20400114 call p_g24_transmit_process 
-00fc 204026ee call power_ctrl_start 
-00fd 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-00fe 243a262c nbranch g24_short_sleep ,blank 
-00ff 20202628 branch g24_transmit_start_next 
+00fc 20400115 call p_g24_transmit_process 
+00fd 204026ee call power_ctrl_start 
+00fe 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+00ff 243a262c nbranch g24_short_sleep ,blank 
+0100 20202628 branch g24_transmit_start_next 
 
 p_g24_nodata_transmit:
-0100 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
-0101 205a0106 call p_g24_send_abort_packet ,blank 
-0102 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
-0103 c1008000 rtneq g24_tx_timer_int_enable 
-0104 2040269f call g24_search_receiver 
-0105 202026b5 branch g24_long_sleep 
+0101 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
+0102 205a0107 call p_g24_send_abort_packet ,blank 
+0103 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
+0104 c1008000 rtneq g24_tx_timer_int_enable 
+0105 2040269f call g24_search_receiver 
+0106 202026b5 branch g24_long_sleep 
 
 p_g24_send_abort_packet:
-0106 70483601 jam type_ms ,mem_24g_data_type 
-0107 7048a701 jam 1 ,mem_24g_abort_pac 
-0108 20402642 call g24_transmit_rf_ctrl_clear 
-0109 67e0c7c6 store 1 ,mem_24g_txbuf 
-010a 58000000 setarg 0 
-010b 67e3c7c7 store 7 ,mem_24g_txbuf + 1 
-010c 6fe248a9 fetch 4 ,mem_24g_device_addr 
-010d 67e247ce store 4 ,mem_24g_txbuf + 8 
-010e 7048350c jam 12 ,mem_24g_datalen 
-010f 6fe0c836 fetch 1 ,mem_24g_data_type 
-0110 79207e03 set1 bit_abort ,pdata 
-0111 67e0c836 store 1 ,mem_24g_data_type 
-0112 20402291 call g24_transmit_prep 
-0113 202000fb branch p_g24_transmit_start 
+0107 70483601 jam type_ms ,mem_24g_data_type 
+0108 7048a701 jam 1 ,mem_24g_abort_pac 
+0109 20402642 call g24_transmit_rf_ctrl_clear 
+010a 67e0c7c6 store 1 ,mem_24g_txbuf 
+010b 58000000 setarg 0 
+010c 67e3c7c7 store 7 ,mem_24g_txbuf + 1 
+010d 6fe248a9 fetch 4 ,mem_24g_device_addr 
+010e 67e247ce store 4 ,mem_24g_txbuf + 8 
+010f 7048350c jam 12 ,mem_24g_datalen 
+0110 6fe0c836 fetch 1 ,mem_24g_data_type 
+0111 79207e03 set1 bit_abort ,pdata 
+0112 67e0c836 store 1 ,mem_24g_data_type 
+0113 20402291 call g24_transmit_prep 
+0114 202000fc branch p_g24_transmit_start 
 
 p_g24_transmit_process:
-0114 7048a600 jam 0 ,mem_24g_retry 
+0115 7048a600 jam 0 ,mem_24g_retry 
 
 p_g24_transmit_loop:
-0115 6961015f fetchr timeup ,2 ,mem_param_rx_setup 
-0116 34730200 until clkn_rt ,meet 
-0117 2040265b call g24_transmit_receive_ack 
-0118 6fe0c82c fetch 1 ,mem_24g_no_ack 
-0119 c000a651 beq no_ack_24g ,g24_transmit_no_ack 
-011a 242c0123 nbranch p_g24_retransmit ,sync 
-011b 24378123 nbranch p_g24_retransmit ,user3 
-011c 20402672 call g24_ackpayload_parse 
-011d 2040011f call p_mouse_wakeup_24g 
-011e 20202651 branch g24_transmit_no_ack 
+0116 6961015f fetchr timeup ,2 ,mem_param_rx_setup 
+0117 34730200 until clkn_rt ,meet 
+0118 2040265b call g24_transmit_receive_ack 
+0119 6fe0c82c fetch 1 ,mem_24g_no_ack 
+011a c000a651 beq no_ack_24g ,g24_transmit_no_ack 
+011b 242c0124 nbranch p_g24_retransmit ,sync 
+011c 24378124 nbranch p_g24_retransmit ,user3 
+011d 20402672 call g24_ackpayload_parse 
+011e 20400120 call p_mouse_wakeup_24g 
+011f 20202651 branch g24_transmit_no_ack 
 
 p_mouse_wakeup_24g:
-011f 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-0120 245a00e2 ncall p_mouse_init_sensor_wakeup ,blank 
-0121 704be100 jam 0 ,mem_sensor_shutdown_flag 
-0122 20600000 rtn 
+0120 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+0121 245a00e3 ncall p_mouse_init_sensor_wakeup ,blank 
+0122 704be100 jam 0 ,mem_sensor_shutdown_flag 
+0123 20600000 rtn 
 
 p_g24_retransmit:
-0123 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
-0124 247a0000 nrtn blank 
-0125 6fe148a3 fetch 2 ,mem_24g_txfail_cnt 
-0126 1fe0fe01 increase 1 ,pdata 
-0127 67e148a3 store 2 ,mem_24g_txfail_cnt 
-0128 6fe0c8a4 fetch 1 ,mem_24g_txfail_cnt + 1 
-0129 c2822679 bbit1 4 ,g24_tx_attempt_fail 
-012a 2040267e call g24_transmit_hop_process 
-012b 20200115 branch p_g24_transmit_loop 
+0124 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
+0125 247a0000 nrtn blank 
+0126 6fe148a3 fetch 2 ,mem_24g_txfail_cnt 
+0127 1fe0fe01 increase 1 ,pdata 
+0128 67e148a3 store 2 ,mem_24g_txfail_cnt 
+0129 6fe0c8a4 fetch 1 ,mem_24g_txfail_cnt + 1 
+012a c2822679 bbit1 4 ,g24_tx_attempt_fail 
+012b 2040267e call g24_transmit_hop_process 
+012c 20200116 branch p_g24_transmit_loop 
 
 p_mouse_check_key_gpio:
-012c 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-012d 245a4121 ncall mouse_check_key_gpio_once ,blank 
-012e da200000 arg 0 ,rega 
-012f 20400137 call p_mouse_check_lkey_gpio 
-0130 2040013c call p_mouse_check_rkey_gpio 
-0131 20400141 call p_mouse_check_mkey_gpio 
-0132 20400146 call p_mouse_check_bkkey_gpio 
-0133 20400153 call p_mouse_check_fwkey_gpio 
-0134 2040416a call mouse_check_customerkey_gpio 
-0135 1a227e00 copy rega ,pdata 
-0136 20600000 rtn 
+012d 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+012e 245a4121 ncall mouse_check_key_gpio_once ,blank 
+012f da200000 arg 0 ,rega 
+0130 20400138 call p_mouse_check_lkey_gpio 
+0131 2040013d call p_mouse_check_rkey_gpio 
+0132 20400142 call p_mouse_check_mkey_gpio 
+0133 20400147 call p_mouse_check_bkkey_gpio 
+0134 20400154 call p_mouse_check_fwkey_gpio 
+0135 2040416a call mouse_check_customerkey_gpio 
+0136 1a227e00 copy rega ,pdata 
+0137 20600000 rtn 
 
 p_mouse_check_lkey_gpio:
-0137 6fe0c918 fetch 1 ,mem_lbutton_gpio 
-0138 20400160 call p_mouse_gpio_config_output_high 
-0139 20404124 call mouse_check_lkey_gpio 
-013a 6848c918 fetcht 1 ,mem_lbutton_gpio 
-013b 20203f56 branch mouse_gpio_config_input_pu 
+0138 6fe0c918 fetch 1 ,mem_lbutton_gpio 
+0139 20400161 call p_mouse_gpio_config_output_high 
+013a 20404124 call mouse_check_lkey_gpio 
+013b 6848c918 fetcht 1 ,mem_lbutton_gpio 
+013c 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_rkey_gpio:
-013c 6fe0c919 fetch 1 ,mem_rbutton_gpio 
-013d 20400160 call p_mouse_gpio_config_output_high 
-013e 2040412a call mouse_check_rkey_gpio 
-013f 6848c919 fetcht 1 ,mem_rbutton_gpio 
-0140 20203f56 branch mouse_gpio_config_input_pu 
+013d 6fe0c919 fetch 1 ,mem_rbutton_gpio 
+013e 20400161 call p_mouse_gpio_config_output_high 
+013f 2040412a call mouse_check_rkey_gpio 
+0140 6848c919 fetcht 1 ,mem_rbutton_gpio 
+0141 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_mkey_gpio:
-0141 6fe0c91a fetch 1 ,mem_mbutton_gpio 
-0142 20400160 call p_mouse_gpio_config_output_high 
-0143 20404130 call mouse_check_mkey_gpio 
-0144 6848c91a fetcht 1 ,mem_mbutton_gpio 
-0145 20203f56 branch mouse_gpio_config_input_pu 
+0142 6fe0c91a fetch 1 ,mem_mbutton_gpio 
+0143 20400161 call p_mouse_gpio_config_output_high 
+0144 20404130 call mouse_check_mkey_gpio 
+0145 6848c91a fetcht 1 ,mem_mbutton_gpio 
+0146 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_bkkey_gpio:
-0146 6fe0c90d fetch 1 ,mem_bk_button_gpio 
-0147 c17f8000 rtneq gpio_disable 
-0148 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
-0149 6fe0cb91 fetch 1 ,mem_mouse_bkkey_press_status 
-014a 1fe22600 copy pdata ,regc 
-014b 6848c90d fetcht 1 ,mem_bk_button_gpio 
-014c 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-014d c07f814f beq gpio_disable ,p_mouse_3io6key_bk_check 
-014e 2020413e branch mouse_check_bkkey_gpio_next 
+0147 6fe0c90d fetch 1 ,mem_bk_button_gpio 
+0148 c17f8000 rtneq gpio_disable 
+0149 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
+014a 6fe0cb91 fetch 1 ,mem_mouse_bkkey_press_status 
+014b 1fe22600 copy pdata ,regc 
+014c 6848c90d fetcht 1 ,mem_bk_button_gpio 
+014d 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+014e c07f8150 beq gpio_disable ,p_mouse_3io6key_bk_check 
+014f 2020413e branch mouse_check_bkkey_gpio_next 
 
 p_mouse_3io6key_bk_check:
-014f 6fe0c90d fetch 1 ,mem_bk_button_gpio 
-0150 20400162 call p_mouse_gpio_config_output_low 
-0151 6848c90d fetcht 1 ,mem_bk_button_gpio 
-0152 2020414b branch mouse_3io6key_bk_check 
+0150 6fe0c90d fetch 1 ,mem_bk_button_gpio 
+0151 20400163 call p_mouse_gpio_config_output_low 
+0152 6848c90d fetcht 1 ,mem_bk_button_gpio 
+0153 2020414b branch mouse_3io6key_bk_check 
 
 p_mouse_check_fwkey_gpio:
-0153 6fe0c90e fetch 1 ,mem_fw_button_gpio 
-0154 c17f8000 rtneq gpio_disable 
-0155 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
-0156 6fe0cb92 fetch 1 ,mem_mouse_fwkey_press_status 
-0157 1fe22600 copy pdata ,regc 
-0158 6848c90e fetcht 1 ,mem_fw_button_gpio 
-0159 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-015a c07f815c beq gpio_disable ,p_mouse_3io6key_fw_check 
-015b 20204157 branch mouse_check_fwkey_gpio_next 
+0154 6fe0c90e fetch 1 ,mem_fw_button_gpio 
+0155 c17f8000 rtneq gpio_disable 
+0156 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
+0157 6fe0cb92 fetch 1 ,mem_mouse_fwkey_press_status 
+0158 1fe22600 copy pdata ,regc 
+0159 6848c90e fetcht 1 ,mem_fw_button_gpio 
+015a 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+015b c07f815d beq gpio_disable ,p_mouse_3io6key_fw_check 
+015c 20204157 branch mouse_check_fwkey_gpio_next 
 
 p_mouse_3io6key_fw_check:
-015c 6fe0c90e fetch 1 ,mem_fw_button_gpio 
-015d 20400162 call p_mouse_gpio_config_output_low 
-015e 6848c90e fetcht 1 ,mem_fw_button_gpio 
-015f 20204164 branch mouse_3io6key_fw_check 
+015d 6fe0c90e fetch 1 ,mem_fw_button_gpio 
+015e 20400163 call p_mouse_gpio_config_output_low 
+015f 6848c90e fetcht 1 ,mem_fw_button_gpio 
+0160 20204164 branch mouse_3io6key_fw_check 
 
 p_mouse_gpio_config_output_high:
-0160 d840003f arg gpcfg_output_high ,temp 
-0161 20206093 branch gpio_config_function_int 
+0161 d840003f arg gpcfg_output_high ,temp 
+0162 20206093 branch gpio_config_function_int 
 
 p_mouse_gpio_config_output_low:
-0162 d840003e arg gpcfg_output_low ,temp 
-0163 20206093 branch gpio_config_function_int 
+0163 d840003e arg gpcfg_output_low ,temp 
+0164 20206093 branch gpio_config_function_int 
+
+p_mouse_idle:
+0165 20404990 call mouse_low_voltage_led_no_enter_lpm 
+0166 20407936 call ui_check_paring_button 
+0167 20400169 call p_mouse_dpi_check 
+0168 2020464f branch mouse_idle + 4 
+
+p_mouse_dpi_check:
+0169 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+016a c2974036 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
+016b 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
+016c c17f8000 rtneq gpio_disable 
+016d da200000 arg 0 ,rega 
+016e 704b9605 jam mouse_dpi_key ,mem_mouse_key_temp 
+016f 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+0170 20400172 call p_mouse_dpi_key_check 
+0171 2020402f branch mouse_dpi_check_next 
+
+p_mouse_dpi_key_check:
+0172 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0173 c2964048 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
+0174 6fe0cb93 fetch 1 ,mem_mouse_dpikey_press_status 
+0175 1fe22600 copy pdata ,regc 
+0176 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+0177 c07f817b beq gpio_disable ,p_mouse_3io6key_dpi_check 
+0178 6fe0cb9a fetch 1 ,mem_mouse_ghost_flag 
+0179 243a4045 nbranch mouse_dpi_check_end ,blank 
+017a 2020404a branch mouse_dpi_key_connect_matrix 
+
+p_mouse_3io6key_dpi_check:
+017b 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
+017c 20400163 call p_mouse_gpio_config_output_low 
+017d 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+017e 20204195 branch mouse_3io6key_check 
               org 0x800
 
 start:
@@ -19440,6 +19475,8 @@
 402c 704b9605 jam mouse_dpi_key ,mem_mouse_key_temp 
 402d 6848c90f fetcht 1 ,mem_dpi_button_gpio 
 402e 20404039 call mouse_dpi_key_check 
+
+mouse_dpi_check_next:
 402f 67e0cb93 store 1 ,mem_mouse_dpikey_press_status 
 4030 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
 4031 c07fc042 beq gpio_disable ,mouse_3io6key_dpi_check_end 
Index: program/app_mouse.prog
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/FD-E701_Only2.4G_16M/program/app_mouse.prog	(revision 500)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/FD-E701_Only2.4G_16M/program/app_mouse.prog	(working copy)
@@ -1522,6 +1522,7 @@
 	jam MOUSE_DPI_KEY,mem_mouse_key_temp
 	fetcht 1,mem_dpi_button_gpio
 	call mouse_dpi_key_check
+mouse_dpi_check_next:
 	store 1,mem_mouse_dpikey_press_status
 	fetch 1,mem_matrix_public_gpio
 	beq GPIO_DISABLE,mouse_3io6key_dpi_check_end
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/FD-E701_Only2.4G_16M/program/patch.prog	(revision 511)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/FD-E701_Only2.4G_16M/program/patch.prog	(working copy)
@@ -13,6 +13,7 @@
 	beq patch1a_3,p_mouse_init_sunt
 	beq patch1a_6,p_mouse_priority_bb_event
 	beq patch1b_1,p_mouse_bb_event_timer
+	beq patch1b_6,p_mouse_idle
 	branch loop
 
 pf_patch_ext:
@@ -383,7 +384,7 @@
 
 p_g24_transmit_dispatch:
 	call g24_txdata_prep
-	nbranch g24_nodata_transmit,user
+	nbranch p_g24_nodata_transmit,user
 p_g24_transmit_start:
 	call p_g24_transmit_process
 	call power_ctrl_start
@@ -527,4 +528,38 @@
 
 //////////////////////////////modify key end///////////////////////////////////////////////
 
+p_mouse_idle:
+	call mouse_low_voltage_led_no_enter_lpm
+	call ui_check_paring_button
+	call p_mouse_dpi_check
+	branch mouse_idle+4
+p_mouse_dpi_check:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_DPI_KEY_CONNECT_ADC,mouse_dpi_check_connect_adc
+	fetch 1,mem_dpi_button_gpio
+	rtneq GPIO_DISABLE
+	arg 0,rega
+	jam MOUSE_DPI_KEY,mem_mouse_key_temp
+	fetcht 1,mem_dpi_button_gpio
+	call p_mouse_dpi_key_check
+	branch mouse_dpi_check_next
+	
+p_mouse_dpi_key_check:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_DPI_KEY_CONNECT_GND,mouse_dpi_key_connect_gnd
+	fetch 1,mem_mouse_dpikey_press_status
+	copy pdata,regc
+	fetch 1,mem_matrix_public_gpio
+	beq GPIO_DISABLE,p_mouse_3io6key_dpi_check
+	fetch 1,mem_mouse_ghost_flag
+	nbranch mouse_dpi_check_end,blank
+	branch mouse_dpi_key_connect_matrix	
+
+p_mouse_3io6key_dpi_check:
+	fetch 1,mem_dpi_button_gpio
+	call p_mouse_gpio_config_output_low
+	fetcht 1,mem_dpi_button_gpio
+	branch mouse_3io6key_check
+
+
 	
