Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/TW-CM622_Only2.4G/output/eeprom.dat	(revision 1608)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/TW-CM622_Only2.4G/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-46
+3e
 07
 c2
 84
@@ -15,11 +15,11 @@
 c0
 45
 80
-47
+45
 c0
 4f
 80
-45
+43
 c0
 57
 00
@@ -27,39 +27,39 @@
 c0
 61
 80
-ca
+c8
 c0
 63
 80
-61
+5f
 c0
 64
 80
-65
+63
 c0
 65
 00
-74
+72
 c0
 67
 00
-d9
+d7
 c0
 68
 01
-3f
+3d
 c0
 68
 81
-07
+05
 c0
 6b
 00
-a9
+a7
 c0
 6c
 81
-5c
+5a
 20
 20
 13
@@ -67,19 +67,19 @@
 c0
 43
 81
-c8
+c6
 c0
 6e
 81
-c1
+bf
 c0
 75
 00
-52
+50
 c0
 71
 00
-c8
+c6
 20
 20
 13
@@ -111,7 +111,7 @@
 20
 40
 00
-2b
+29
 20
 40
 41
@@ -130,14 +130,6 @@
 c5
 6f
 e0
-cb
-e1
-20
-7a
-00
-00
-6f
-e0
 c9
 13
 d8
@@ -339,7 +331,7 @@
 24
 34
 00
-9b
+99
 20
 40
 26
@@ -355,7 +347,7 @@
 24
 3a
 00
-5c
+5a
 6f
 e4
 48
@@ -427,7 +419,7 @@
 c0
 7f
 80
-6e
+6c
 68
 48
 c9
@@ -623,7 +615,7 @@
 20
 20
 00
-a1
+9f
 6f
 e0
 c8
@@ -647,7 +639,7 @@
 20
 20
 00
-a1
+9f
 20
 40
 26
@@ -687,15 +679,15 @@
 c0
 1e
 00
-b0
+ae
 c0
 1c
 80
-ae
+ac
 c0
 1d
 00
-b7
+b5
 20
 20
 43
@@ -743,7 +735,7 @@
 24
 3a
 00
-c5
+c3
 6f
 e0
 c8
@@ -751,7 +743,7 @@
 c0
 01
 00
-bc
+ba
 20
 20
 48
@@ -803,7 +795,7 @@
 20
 20
 01
-7f
+7d
 70
 48
 8b
@@ -827,7 +819,7 @@
 c0
 00
 00
-cf
+cd
 20
 20
 3d
@@ -903,7 +895,7 @@
 20
 40
 01
-03
+01
 6f
 e0
 c8
@@ -919,7 +911,7 @@
 24
 34
 00
-e8
+e6
 20
 40
 47
@@ -927,7 +919,7 @@
 20
 40
 00
-f3
+f1
 20
 20
 45
@@ -991,7 +983,7 @@
 d8
 40
 00
-c8
+05
 98
 46
 7c
@@ -1047,7 +1039,7 @@
 20
 40
 01
-0e
+0c
 1a
 22
 7e
@@ -1111,7 +1103,7 @@
 20
 20
 81
-1a
+18
 6f
 e0
 cb
@@ -1119,7 +1111,7 @@
 24
 3a
 01
-18
+16
 20
 60
 00
@@ -1127,15 +1119,15 @@
 c0
 02
 01
-34
+32
 20
 20
 01
-1a
+18
 20
 40
 01
-37
+35
 6f
 e2
 4b
@@ -1171,19 +1163,19 @@
 c0
 00
 01
-28
+26
 c0
 00
 81
-2b
+29
 c0
 01
 01
-2e
+2c
 c0
 01
 81
-31
+2f
 20
 60
 00
@@ -1263,7 +1255,7 @@
 24
 41
 01
-3c
+3a
 20
 60
 00
@@ -1287,7 +1279,7 @@
 20
 40
 01
-4e
+4c
 6f
 e0
 c9
@@ -1295,7 +1287,7 @@
 c0
 01
 81
-49
+47
 c0
 05
 c0
@@ -1387,7 +1379,7 @@
 20
 3a
 01
-ac
+aa
 67
 e0
 cb
@@ -1423,19 +1415,19 @@
 20
 40
 01
-a9
+a7
 20
 40
 01
-75
+73
 20
 40
 01
-85
+83
 20
 40
 01
-93
+91
 20
 40
 40
@@ -1495,7 +1487,7 @@
 20
 20
 01
-a1
+9f
 6f
 e0
 cb
@@ -1511,7 +1503,7 @@
 da
 40
 01
-7a
+78
 20
 20
 31
@@ -1519,7 +1511,7 @@
 20
 40
 01
-8e
+8c
 6f
 e0
 cb
@@ -1579,7 +1571,7 @@
 c0
 00
 81
-8d
+8b
 1f
 e0
 ff
@@ -1591,7 +1583,7 @@
 20
 20
 01
-81
+7f
 70
 4b
 ec
@@ -1655,7 +1647,7 @@
 20
 42
 81
-9e
+9c
 20
 60
 00
@@ -1666,12 +1658,12 @@
 01
 20
 40
-01
 00
+fe
 20
 20
 01
-7f
+7d
 6f
 e0
 c9
@@ -1687,7 +1679,7 @@
 da
 40
 01
-a6
+a4
 20
 20
 31
@@ -1699,7 +1691,7 @@
 c0
 00
 00
-c5
+c3
 20
 20
 43
@@ -1711,7 +1703,7 @@
 da
 40
 01
-ac
+aa
 20
 20
 31
@@ -1767,11 +1759,11 @@
 20
 41
 01
-bb
+b9
 24
 41
 01
-bf
+bd
 20
 20
 48
@@ -1807,7 +1799,7 @@
 24
 5a
 01
-c4
+c2
 20
 20
 21
@@ -1819,7 +1811,7 @@
 20
 40
 01
-cc
+ca
 79
 20
 00
@@ -1864,8 +1856,8 @@
 20
 5c
 b6
-0a
-fe
+55
+51
 aa
 55
 40
@@ -3067,8 +3059,8 @@
 55
 4c
 6b
-66
-92
+50
+54
 ff
 ff
 ff
@@ -8188,5 +8180,13 @@
 ff
 ff
 ff
-07
-1f
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+dc
+6b
Index: output/program.lis
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/TW-CM622_Only2.4G/output/program.lis	(revision 1608)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/TW-CM622_Only2.4G/output/program.lis	(working copy)
@@ -2,25 +2,25 @@
               org 0x0000
 0000 c284000f bbit1 8 ,pf_patch_ext 
 0001 c0000014 beq patch00_0 ,p_soft_reset 
-0002 c0458047 beq patch11_3 ,p_initialize_radio_cont 
-0003 c04f8045 beq patch13_7 ,p_init_param 
+0002 c0458045 beq patch11_3 ,p_initialize_radio_cont 
+0003 c04f8043 beq patch13_7 ,p_init_param 
 0004 c0570018 beq patch15_6 ,p_app_init 
-0005 c06180ca beq patch18_3 ,p_mouse_start_work 
-0006 c0638061 beq patch18_7 ,p_mouse_app_enter_hibernate 
-0007 c0648065 beq patch19_1 ,p_mouse_setgpio_hibernate 
-0008 c0650074 beq patch19_2 ,p_mouse_lpm_before_common 
-0009 c06700d9 beq patch19_6 ,p_mouse_motion 
-000a c068013f beq patch1a_0 ,p_mouse_seting_dpi 
-000b c0688107 beq patch1a_1 ,p_mouse_check_key_gpio 
-000c c06b00a9 beq patch1a_6 ,p_mouse_priority_bb_event 
-000d c06c815c beq patch1b_1 ,p_mouse_bb_event_timer 
+0005 c06180c8 beq patch18_3 ,p_mouse_start_work 
+0006 c063805f beq patch18_7 ,p_mouse_app_enter_hibernate 
+0007 c0648063 beq patch19_1 ,p_mouse_setgpio_hibernate 
+0008 c0650072 beq patch19_2 ,p_mouse_lpm_before_common 
+0009 c06700d7 beq patch19_6 ,p_mouse_motion 
+000a c068013d beq patch1a_0 ,p_mouse_seting_dpi 
+000b c0688105 beq patch1a_1 ,p_mouse_check_key_gpio 
+000c c06b00a7 beq patch1a_6 ,p_mouse_priority_bb_event 
+000d c06c815a beq patch1b_1 ,p_mouse_bb_event_timer 
 000e 2020137c branch loop 
 
 pf_patch_ext:
-000f c04381c8 beq patch30_7 ,p_ui_timer_check 
-0010 c06e81c1 beq patch3b_5 ,p_g24_dispatch 
-0011 c0750052 beq patch3d_2 ,p_g24_transmit_no_interrupt 
-0012 c07100c8 beq patch3c_2 ,p_g24_pair_dispatch 
+000f c04381c6 beq patch30_7 ,p_ui_timer_check 
+0010 c06e81bf beq patch3b_5 ,p_g24_dispatch 
+0011 c0750050 beq patch3d_2 ,p_g24_transmit_no_interrupt 
+0012 c07100c6 beq patch3c_2 ,p_g24_pair_dispatch 
 0013 2020137c branch loop 
 
 p_soft_reset:
@@ -34,583 +34,581 @@
 p_mouse_init:
 0018 20406df3 call enable_authrom 
 0019 2040001f call p_mouse_wheel_set_wakeup 
-001a 2040002b call p_mouse_setting_config 
+001a 20400029 call p_mouse_setting_config 
 001b 204041a7 call mouse_init_sunt 
 001c 20758000 rtn wake 
 001d 2040408e call mouse_dpi_config 
 001e 20203bc5 branch mouse_init + 4 
 
 p_mouse_wheel_set_wakeup:
-001f 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-0020 207a0000 rtn blank 
-0021 6fe0c913 fetch 1 ,mem_whee_a_data_gpio 
-0022 d8400040 arg gpcfg_pullup ,temp 
-0023 20406093 call gpio_config_function_int 
-0024 6fe0c914 fetch 1 ,mem_whee_b_data_gpio 
-0025 d8400040 arg gpcfg_pullup ,temp 
-0026 20206093 branch gpio_config_function_int 
+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_lpm_write_ice_disable:
-0027 6ff10120 fetch 2 ,core_ucode_flag 
-0028 793ffe0e set0 lpmreg_ice_mode_bit ,pdata 
-0029 67f2004c store 4 ,core_lpm_reg 
-002a 20205caf branch lpm_write2_ctrl_option 
+0025 6ff10120 fetch 2 ,core_ucode_flag 
+0026 793ffe0e set0 lpmreg_ice_mode_bit ,pdata 
+0027 67f2004c store 4 ,core_lpm_reg 
+0028 20205caf branch lpm_write2_ctrl_option 
 
 p_mouse_setting_config:
-002b 20758000 rtn wake 
-002c 20402607 call g24_transmit_init 
-002d 204022ff call g24_chmap_param_init 
-002e 20403f1e call mouse_gpio_init 
-002f 20403d13 call mouse_param_init 
-0030 20203bf5 branch mouse_setting_config_next 
+0029 20758000 rtn wake 
+002a 20402607 call g24_transmit_init 
+002b 204022ff call g24_chmap_param_init 
+002c 20403f1e call mouse_gpio_init 
+002d 20403d13 call mouse_param_init 
+002e 20203bf5 branch mouse_setting_config_next 
 
 p_mouse_sensor_set_angle:
-0031 6fe0c924 fetch 1 ,mem_sensor_angle_default 
-0032 67e0c928 store 1 ,mem_config_sensor_angle 
+002f 6fe0c924 fetch 1 ,mem_sensor_angle_default 
+0030 67e0c928 store 1 ,mem_config_sensor_angle 
+0031 6fe0c917 fetch 1 ,mem_select_sensor_angle_gpio 
+0032 c17f8000 rtneq gpio_disable 
 0033 6fe0c917 fetch 1 ,mem_select_sensor_angle_gpio 
-0034 c17f8000 rtneq gpio_disable 
-0035 6fe0c917 fetch 1 ,mem_select_sensor_angle_gpio 
-0036 d840003e arg gpcfg_output_low ,temp 
-0037 20406093 call gpio_config_function_int 
-0038 6fe0cbf5 fetch 1 ,mem_mouse_reuse_2ice_gpio 
-0039 d840003e arg gpcfg_output_low ,temp 
-003a 20406093 call gpio_config_function_int 
+0034 d840003e arg gpcfg_output_low ,temp 
+0035 20406093 call gpio_config_function_int 
+0036 6fe0cbf5 fetch 1 ,mem_mouse_reuse_2ice_gpio 
+0037 d840003e arg gpcfg_output_low ,temp 
+0038 20406093 call gpio_config_function_int 
+0039 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
+003a 20403f56 call mouse_gpio_config_input_pu 
 003b 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
-003c 20403f56 call mouse_gpio_config_input_pu 
-003d 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
-003e 20406059 call gpio_get_bit 
-003f 2440c2aa ncall mouse_sensor_switch_angle ,true 
-0040 20203f54 branch mouse_gpio_config_input_pd 
+003c 20406059 call gpio_get_bit 
+003d 2440c2aa ncall mouse_sensor_switch_angle ,true 
+003e 20203f54 branch mouse_gpio_config_input_pd 
 
 p_ice_gpio_set_float:
-0041 6848c917 fetcht 1 ,mem_select_sensor_angle_gpio 
-0042 2040607f call gpio_set_high_impedance 
-0043 6848cbf5 fetcht 1 ,mem_mouse_reuse_2ice_gpio 
-0044 2020607f branch gpio_set_high_impedance 
+003f 6848c917 fetcht 1 ,mem_select_sensor_angle_gpio 
+0040 2040607f call gpio_set_high_impedance 
+0041 6848cbf5 fetcht 1 ,mem_mouse_reuse_2ice_gpio 
+0042 2020607f branch gpio_set_high_impedance 
 
 p_init_param:
-0045 70008000 jam 0 ,mem_lmo_tid2 
-0046 202013b7 branch init_param_next + 1 
+0043 70008000 jam 0 ,mem_lmo_tid2 
+0044 202013b7 branch init_param_next + 1 
 
 p_initialize_radio_cont:
-0047 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
-0048 2040126a call initialize_syn_afc_cfg1 
-0049 20401271 call initialize_rf_ldo_cfg1 
-004a 20401277 call initialize_rc_cal 
-004b 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
-004c 708a0305 jam 5 ,core_clkpll_cfg0 
-004d 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
-004e 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
-004f 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
-0050 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
-0051 2020125d branch initialize_radio_cont + 8 
+0045 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
+0046 2040126a call initialize_syn_afc_cfg1 
+0047 20401271 call initialize_rf_ldo_cfg1 
+0048 20401277 call initialize_rc_cal 
+0049 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
+004a 708a0305 jam 5 ,core_clkpll_cfg0 
+004b 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
+004c 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
+004d 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
+004e 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
+004f 2020125d branch initialize_radio_cont + 8 
 
 p_g24_transmit_no_interrupt:
-0052 20402631 call g24_txdata_prep 
-0053 2434009b nbranch p_g24_nodata_transmit ,user 
+0050 20402631 call g24_txdata_prep 
+0051 24340099 nbranch p_g24_nodata_transmit ,user 
 
 p_g24_transmit_start:
-0054 20402646 call g24_transmit_process 
-0055 204026ee call power_ctrl_start 
-0056 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-0057 243a005c nbranch p_g24_short_sleep ,blank 
-0058 6fe448b0 fetch 8 ,mem_24g_long_sleep_set 
-0059 67e4485c store 8 ,mem_24g_enter_hibernate 
-005a 6fe148c2 fetch 2 ,mem_24g_long_sleep_param_update_timer_init 
-005b 67e148c4 store 2 ,mem_24g_long_sleep_param_update_timer 
+0052 20402646 call g24_transmit_process 
+0053 204026ee call power_ctrl_start 
+0054 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+0055 243a005a nbranch p_g24_short_sleep ,blank 
+0056 6fe448b0 fetch 8 ,mem_24g_long_sleep_set 
+0057 67e4485c store 8 ,mem_24g_enter_hibernate 
+0058 6fe148c2 fetch 2 ,mem_24g_long_sleep_param_update_timer_init 
+0059 67e148c4 store 2 ,mem_24g_long_sleep_param_update_timer 
 
 p_g24_short_sleep:
-005c 204026bb call g24_lpm_wait 
-005d 24740000 nrtn user 
-005e 20407fdc call clear_wake 
-005f 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
-0060 202026b8 branch g24_long_sleep2 
+005a 204026bb call g24_lpm_wait 
+005b 24740000 nrtn user 
+005c 20407fdc call clear_wake 
+005d 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
+005e 202026b8 branch g24_long_sleep2 
 
 p_mouse_app_enter_hibernate:
-0061 58000006 setarg pan_reg_config 
-0062 20405b0d call twspi_read 
-0063 c281be23 bbit1 3 ,mouse_app_enter_hibernate + 3 
-0064 20203e21 branch mouse_app_enter_hibernate + 1 
+005f 58000006 setarg pan_reg_config 
+0060 20405b0d call twspi_read 
+0061 c281be23 bbit1 3 ,mouse_app_enter_hibernate + 3 
+0062 20203e21 branch mouse_app_enter_hibernate + 1 
 
 p_mouse_setgpio_hibernate:
-0065 204042e9 call mouse_set_sdio_high 
-0066 20407fdc call clear_wake 
-0067 20404015 call mouse_before_hibernate_wheel_gpio_set 
-0068 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-0069 c07f806e beq gpio_disable ,p_mouse_setgpio_hibernate_skip_public_gpio 
+0063 204042e9 call mouse_set_sdio_high 
+0064 20407fdc call clear_wake 
+0065 20404015 call mouse_before_hibernate_wheel_gpio_set 
+0066 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+0067 c07f806c beq gpio_disable ,p_mouse_setgpio_hibernate_skip_public_gpio 
+0068 6848c910 fetcht 1 ,mem_matrix_public_gpio 
+0069 20406069 call gpio_out_active 
 006a 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-006b 20406069 call gpio_out_active 
-006c 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-006d 20406042 call gpio_clr_wake 
+006b 20406042 call gpio_clr_wake 
 
 p_mouse_setgpio_hibernate_skip_public_gpio:
-006e 6848cbf5 fetcht 1 ,mem_mouse_reuse_2ice_gpio 
-006f 20403f56 call mouse_gpio_config_input_pu 
-0070 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
-0071 d840003f arg gpcfg_output_high ,temp 
-0072 20406093 call gpio_config_function_int 
-0073 20203e36 branch mouse_setgpio_hibernate + 3 
+006c 6848cbf5 fetcht 1 ,mem_mouse_reuse_2ice_gpio 
+006d 20403f56 call mouse_gpio_config_input_pu 
+006e 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
+006f d840003f arg gpcfg_output_high ,temp 
+0070 20406093 call gpio_config_function_int 
+0071 20203e36 branch mouse_setgpio_hibernate + 3 
 
 p_mouse_lpm_before_common:
-0074 20403f88 call mouse_wheel_check 
-0075 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
-0076 d840003f arg gpcfg_output_high ,temp 
-0077 20406093 call gpio_config_function_int 
-0078 6fe080a1 fetch 1 ,mem_gpio_wakeup_low + 2 
-0079 793ffe03 set0 3 ,pdata 
-007a 67e080a1 store 1 ,mem_gpio_wakeup_low + 2 
-007b 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
-007c 20406042 call gpio_clr_wake 
-007d 20405b04 call twspi_disable 
-007e 6848c918 fetcht 1 ,mem_lbutton_gpio 
+0072 20403f88 call mouse_wheel_check 
+0073 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
+0074 d840003f arg gpcfg_output_high ,temp 
+0075 20406093 call gpio_config_function_int 
+0076 6fe080a1 fetch 1 ,mem_gpio_wakeup_low + 2 
+0077 793ffe03 set0 3 ,pdata 
+0078 67e080a1 store 1 ,mem_gpio_wakeup_low + 2 
+0079 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
+007a 20406042 call gpio_clr_wake 
+007b 20405b04 call twspi_disable 
+007c 6848c918 fetcht 1 ,mem_lbutton_gpio 
+007d 20406036 call gpio_set_wake 
+007e 6848c919 fetcht 1 ,mem_rbutton_gpio 
 007f 20406036 call gpio_set_wake 
-0080 6848c919 fetcht 1 ,mem_rbutton_gpio 
+0080 6848c91a fetcht 1 ,mem_mbutton_gpio 
 0081 20406036 call gpio_set_wake 
-0082 6848c91a fetcht 1 ,mem_mbutton_gpio 
+0082 6848c90d fetcht 1 ,mem_bk_button_gpio 
 0083 20406036 call gpio_set_wake 
-0084 6848c90d fetcht 1 ,mem_bk_button_gpio 
+0084 6848c90e fetcht 1 ,mem_fw_button_gpio 
 0085 20406036 call gpio_set_wake 
-0086 6848c90e fetcht 1 ,mem_fw_button_gpio 
+0086 6848c90f fetcht 1 ,mem_dpi_button_gpio 
 0087 20406036 call gpio_set_wake 
-0088 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-0089 20406036 call gpio_set_wake 
 
 p_mouse_wheel_clr_wakeup:
-008a 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
+0088 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
+0089 20406042 call gpio_clr_wake 
+008a 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
 008b 20406042 call gpio_clr_wake 
-008c 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
-008d 20406042 call gpio_clr_wake 
-008e 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
-008f 20403f54 call mouse_gpio_config_input_pd 
-0090 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
-0091 20203f54 branch mouse_gpio_config_input_pd 
+008c 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
+008d 20403f54 call mouse_gpio_config_input_pd 
+008e 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
+008f 20203f54 branch mouse_gpio_config_input_pd 
 
 p_mouse_24g_hibernate_set:
-0092 7048a500 jam 0 ,mem_24g_attempt_fail_flag 
-0093 20402652 call g24_transmit_next_packet 
-0094 5fffffff setarg -1 
-0095 67e2485c store 4 ,mem_24g_enter_hibernate 
-0096 58000000 setarg 0 
-0097 67e3c8d0 store 7 ,mem_mouse_key 
-0098 704be101 jam 1 ,mem_sensor_shutdown_flag 
-0099 2040423c call mouse_sensor_powerdown 
-009a 202000a1 branch p_g24_long_sleep 
+0090 7048a500 jam 0 ,mem_24g_attempt_fail_flag 
+0091 20402652 call g24_transmit_next_packet 
+0092 5fffffff setarg -1 
+0093 67e2485c store 4 ,mem_24g_enter_hibernate 
+0094 58000000 setarg 0 
+0095 67e3c8d0 store 7 ,mem_mouse_key 
+0096 704be101 jam 1 ,mem_sensor_shutdown_flag 
+0097 2040423c call mouse_sensor_powerdown 
+0098 2020009f branch p_g24_long_sleep 
 
 p_g24_nodata_transmit:
-009b 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
-009c 205a26a7 call g24_send_abort_packet ,blank 
-009d 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
-009e c1008000 rtneq g24_tx_timer_int_enable 
-009f 2040269f call g24_search_receiver 
-00a0 202000a1 branch p_g24_long_sleep 
+0099 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
+009a 205a26a7 call g24_send_abort_packet ,blank 
+009b 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
+009c c1008000 rtneq g24_tx_timer_int_enable 
+009d 2040269f call g24_search_receiver 
+009e 2020009f branch p_g24_long_sleep 
 
 p_g24_long_sleep:
-00a1 204026bb call g24_lpm_wait 
-00a2 24740000 nrtn user 
-00a3 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-00a4 245a3e33 ncall mouse_setgpio_hibernate ,blank 
-00a5 6fe2485c fetch 4 ,mem_24g_enter_hibernate 
-00a6 20407daa call clk2lpo 
-00a7 604a4160 storet 4 ,mem_sleep_counter 
-00a8 20201497 branch lpm_sleep 
+009f 204026bb call g24_lpm_wait 
+00a0 24740000 nrtn user 
+00a1 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+00a2 245a3e33 ncall mouse_setgpio_hibernate ,blank 
+00a3 6fe2485c fetch 4 ,mem_24g_enter_hibernate 
+00a4 20407daa call clk2lpo 
+00a5 604a4160 storet 4 ,mem_sleep_counter 
+00a6 20201497 branch lpm_sleep 
 
 p_mouse_priority_bb_event:
-00a9 1a627e00 copy regc ,pdata 
-00aa c01e00b0 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-00ab c01c80ae beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
-00ac c01d00b7 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-00ad 20204336 branch mouse_priority_bb_event + 2 
+00a7 1a627e00 copy regc ,pdata 
+00a8 c01e00ae beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+00a9 c01c80ac beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
+00aa c01d00b5 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+00ab 20204336 branch mouse_priority_bb_event + 2 
 
 p_mouse_24g_pairing_complete:
-00ae 20404544 call mouse_no_data_timer_init 
-00af 20204857 branch mouse_24g_pairing_complete 
+00ac 20404544 call mouse_no_data_timer_init 
+00ad 20204857 branch mouse_24g_pairing_complete 
 
 p_mouse_24g_attempt_success:
-00b0 6fe2483c fetch 4 ,mem_24g_addr 
-00b1 67e24891 store 4 ,mem_24g_receiver_addr 
-00b2 67e24993 store 4 ,mem_mouse_24g_addr 
-00b3 2040257e call g24_ch_syncword_crc8_init 
-00b4 204048c6 call mouse_device_poweron_timer_init 
-00b5 20404544 call mouse_no_data_timer_init 
-00b6 2020484e branch mouse_24g_attempt_success 
+00ae 6fe2483c fetch 4 ,mem_24g_addr 
+00af 67e24891 store 4 ,mem_24g_receiver_addr 
+00b0 67e24993 store 4 ,mem_mouse_24g_addr 
+00b1 2040257e call g24_ch_syncword_crc8_init 
+00b2 204048c6 call mouse_device_poweron_timer_init 
+00b3 20404544 call mouse_no_data_timer_init 
+00b4 2020484e branch mouse_24g_attempt_success 
 
 p_mouse_24g_attempt_fail:
-00b7 6fe0c8a5 fetch 1 ,mem_24g_attempt_fail_flag 
-00b8 243a00c5 nbranch p_mouse_24g_enter_hibernate ,blank 
-00b9 6fe0c88b fetch 1 ,mem_24g_reconn_type 
-00ba c00100bc beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
-00bb 20204837 branch mouse_24g_attempt_fail + 4 
+00b5 6fe0c8a5 fetch 1 ,mem_24g_attempt_fail_flag 
+00b6 243a00c3 nbranch p_mouse_24g_enter_hibernate ,blank 
+00b7 6fe0c88b fetch 1 ,mem_24g_reconn_type 
+00b8 c00100ba beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
+00b9 20204837 branch mouse_24g_attempt_fail + 4 
 
 p_mouse_24g_fast_conn_attempt_fail:
-00bc 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00bd c297c811 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_start_auto_pair 
-00be c2984811 bbit1 mouse_enable_auto_24g_paring ,mouse_24g_start_auto_pair 
-00bf c31d4806 bbit0 mouse_enable_24g_auto_pair_nerver_been_paired ,mouse_24g_reconn_dongle_start 
-00c0 6fe24993 fetch 4 ,mem_mouse_24g_addr 
-00c1 684a4974 fetcht 4 ,mem_mouse_compare_addr_ff 
-00c2 98467c00 isub temp ,null 
-00c3 2022c827 branch mouse_24g_start_pair_mode ,zero 
-00c4 20204806 branch mouse_24g_reconn_dongle_start 
+00ba 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00bb c297c811 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_start_auto_pair 
+00bc c2984811 bbit1 mouse_enable_auto_24g_paring ,mouse_24g_start_auto_pair 
+00bd c31d4806 bbit0 mouse_enable_24g_auto_pair_nerver_been_paired ,mouse_24g_reconn_dongle_start 
+00be 6fe24993 fetch 4 ,mem_mouse_24g_addr 
+00bf 684a4974 fetcht 4 ,mem_mouse_compare_addr_ff 
+00c0 98467c00 isub temp ,null 
+00c1 2022c827 branch mouse_24g_start_pair_mode ,zero 
+00c2 20204806 branch mouse_24g_reconn_dongle_start 
 
 p_mouse_24g_enter_hibernate:
-00c5 793f8026 set0 mark_24g ,mark 
-00c6 704bf300 jam 0 ,mem_rgb_led_on_continue_1min_timeout_flag 
-00c7 2020017f branch p_mouse_rgb_led_off_time_init 
+00c3 793f8026 set0 mark_24g ,mark 
+00c4 704bf300 jam 0 ,mem_rgb_led_on_continue_1min_timeout_flag 
+00c5 2020017d branch p_mouse_rgb_led_off_time_init 
 
 p_g24_pair_dispatch:
-00c8 70488b00 jam default_24g_device ,mem_24g_reconn_type 
-00c9 20202341 branch g24_pair_dispatch + 1 
+00c6 70488b00 jam default_24g_device ,mem_24g_reconn_type 
+00c7 20202341 branch g24_pair_dispatch + 1 
 
 p_mouse_start_work:
-00ca 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00cb c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
-00cc 6fe0c938 fetch 1 ,mem_device_flag 
-00cd c00000cf beq mode_24g_device ,p_mouse_24g_start_mode 
-00ce 20203d57 branch mouse_start_work + 5 
+00c8 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00c9 c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
+00ca 6fe0c938 fetch 1 ,mem_device_flag 
+00cb c00000cd beq mode_24g_device ,p_mouse_24g_start_mode 
+00cc 20203d57 branch mouse_start_work + 5 
 
 p_mouse_24g_start_mode:
-00cf 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00d0 c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
-00d1 20403d65 call mouse_wakeup_from_power_check 
-00d2 20344806 branch mouse_24g_reconn_dongle_start ,user 
-00d3 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00d4 c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
-00d5 c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
-00d6 20404110 call mouse_key_check_once 
-00d7 1a217e07 and rega ,0x07 ,pdata 
-00d8 202047ff branch mouse_24g_start_mode + 9 
+00cd 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00ce c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
+00cf 20403d65 call mouse_wakeup_from_power_check 
+00d0 20344806 branch mouse_24g_reconn_dongle_start ,user 
+00d1 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00d2 c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
+00d3 c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
+00d4 20404110 call mouse_key_check_once 
+00d5 1a217e07 and rega ,0x07 ,pdata 
+00d6 202047ff branch mouse_24g_start_mode + 9 
 
 p_mouse_motion:
-00d9 78547c00 disable user 
-00da 58000000 setarg 0 
-00db 67e348d1 store 6 ,mem_mouse_x 
-00dc 20404240 call mouse_check_sensor_data 
-00dd 2040408e call mouse_dpi_config 
-00de 20403f7e call mouse_zwheel 
-00df 20403f83 call mouse_t_zwheel 
-00e0 20400103 call p_mouse_key 
-00e1 6fe0c8d0 fetch 1 ,mem_mouse_key 
-00e2 1fe17e1f and_into 0x1f ,pdata 
-00e3 67e0c8d0 store 1 ,mem_mouse_key 
-00e4 243400e8 nbranch p_mouse_motion_nodata ,user 
-00e5 2040471a call mouse_drawing_optima 
-00e6 204000f3 call p_mouse_rgb_led_on_check 
-00e7 20204544 branch mouse_no_data_timer_init 
+00d7 78547c00 disable user 
+00d8 58000000 setarg 0 
+00d9 67e348d1 store 6 ,mem_mouse_x 
+00da 20404240 call mouse_check_sensor_data 
+00db 2040408e call mouse_dpi_config 
+00dc 20403f7e call mouse_zwheel 
+00dd 20403f83 call mouse_t_zwheel 
+00de 20400101 call p_mouse_key 
+00df 6fe0c8d0 fetch 1 ,mem_mouse_key 
+00e0 1fe17e1f and_into 0x1f ,pdata 
+00e1 67e0c8d0 store 1 ,mem_mouse_key 
+00e2 243400e6 nbranch p_mouse_motion_nodata ,user 
+00e3 2040471a call mouse_drawing_optima 
+00e4 204000f1 call p_mouse_rgb_led_on_check 
+00e5 20204544 branch mouse_no_data_timer_init 
 
 p_mouse_motion_nodata:
-00e8 20404728 call mouse_drawing_optima_init 
-00e9 6fe14bef fetch 2 ,mem_rgb_led_off_check_count 
-00ea 1fe0fe01 increase 1 ,pdata 
-00eb 67e14bef store 2 ,mem_rgb_led_off_check_count 
-00ec d8400258 arg 0x0258 ,temp 
-00ed 98467c00 isub temp ,null 
-00ee 24628000 nrtn zero 
-00ef 58000000 setarg 0 
-00f0 67e14bef store 2 ,mem_rgb_led_off_check_count 
-00f1 704bea00 jam off ,mem_rgb_led_on_enable 
-00f2 20600000 rtn 
+00e6 20404728 call mouse_drawing_optima_init 
+00e7 6fe14bef fetch 2 ,mem_rgb_led_off_check_count 
+00e8 1fe0fe01 increase 1 ,pdata 
+00e9 67e14bef store 2 ,mem_rgb_led_off_check_count 
+00ea d8400258 arg 0x0258 ,temp 
+00eb 98467c00 isub temp ,null 
+00ec 24628000 nrtn zero 
+00ed 58000000 setarg 0 
+00ee 67e14bef store 2 ,mem_rgb_led_off_check_count 
+00ef 704bea00 jam off ,mem_rgb_led_on_enable 
+00f0 20600000 rtn 
 
 p_mouse_rgb_led_on_check:
-00f3 6fe14bf1 fetch 2 ,mem_rgb_led_on_check_count 
-00f4 1fe0fe01 increase 1 ,pdata 
-00f5 67e14bf1 store 2 ,mem_rgb_led_on_check_count 
-00f6 d84000c8 arg 0x00C8 ,temp 
-00f7 98467c00 isub temp ,null 
-00f8 24628000 nrtn zero 
-00f9 58000000 setarg 0 
-00fa 67e14bf1 store 2 ,mem_rgb_led_on_check_count 
-00fb 6fe0cbea fetch 1 ,mem_rgb_led_on_enable 
-00fc c1008000 rtneq on 
-00fd 704bea01 jam on ,mem_rgb_led_on_enable 
-00fe 704be900 jam off ,mem_rgb_led_off_enable 
-00ff 704bec0b jam 11 ,mem_rgb_led_on_enable_timer 
+00f1 6fe14bf1 fetch 2 ,mem_rgb_led_on_check_count 
+00f2 1fe0fe01 increase 1 ,pdata 
+00f3 67e14bf1 store 2 ,mem_rgb_led_on_check_count 
+00f4 d8400005 arg 0x0005 ,temp 
+00f5 98467c00 isub temp ,null 
+00f6 24628000 nrtn zero 
+00f7 58000000 setarg 0 
+00f8 67e14bf1 store 2 ,mem_rgb_led_on_check_count 
+00f9 6fe0cbea fetch 1 ,mem_rgb_led_on_enable 
+00fa c1008000 rtneq on 
+00fb 704bea01 jam on ,mem_rgb_led_on_enable 
+00fc 704be900 jam off ,mem_rgb_led_off_enable 
+00fd 704bec0b jam 11 ,mem_rgb_led_on_enable_timer 
 
 p_mouse_rgb_led_on_timer_init:
-0100 58000000 setarg 0 
-0101 67e14bed store 2 ,mem_rgb_led_on_timer 
-0102 20600000 rtn 
+00fe 58000000 setarg 0 
+00ff 67e14bed store 2 ,mem_rgb_led_on_timer 
+0100 20600000 rtn 
 
 p_mouse_key:
-0103 20404115 call mouse_check_key_gpio 
-0104 2040010e call p_mouse_check_firekey_gpio 
-0105 1a227e00 copy rega ,pdata 
-0106 202040dd branch mouse_key + 1 
+0101 20404115 call mouse_check_key_gpio 
+0102 2040010c call p_mouse_check_firekey_gpio 
+0103 1a227e00 copy rega ,pdata 
+0104 202040dd branch mouse_key + 1 
 
 p_mouse_check_key_gpio:
-0107 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-0108 245a4121 ncall mouse_check_key_gpio_once ,blank 
-0109 da200000 arg 0 ,rega 
-010a 20404124 call mouse_check_lkey_gpio 
-010b 2040412a call mouse_check_rkey_gpio 
-010c 20404130 call mouse_check_mkey_gpio 
-010d 2020411c branch mouse_check_key_gpio_next 
+0105 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+0106 245a4121 ncall mouse_check_key_gpio_once ,blank 
+0107 da200000 arg 0 ,rega 
+0108 20404124 call mouse_check_lkey_gpio 
+0109 2040412a call mouse_check_rkey_gpio 
+010a 20404130 call mouse_check_mkey_gpio 
+010b 2020411c branch mouse_check_key_gpio_next 
 
 p_mouse_check_firekey_gpio:
-010e 1a227e00 copy rega ,pdata 
-010f c3800000 rtnbit1 0 
+010c 1a227e00 copy rega ,pdata 
+010d c3800000 rtnbit1 0 
+010e 6848cbe2 fetcht 1 ,mem_firebutton_gpio 
+010f 20406050 call gpio_config_input 
 0110 6848cbe2 fetcht 1 ,mem_firebutton_gpio 
-0111 20406050 call gpio_config_input 
-0112 6848cbe2 fetcht 1 ,mem_firebutton_gpio 
-0113 20406059 call gpio_get_bit 
-0114 2020811a branch p_fire_key_press ,true 
-0115 6fe0cbe3 fetch 1 ,mem_fire_key_status 
-0116 243a0118 nbranch p_fire_key_process ,blank 
-0117 20600000 rtn 
+0111 20406059 call gpio_get_bit 
+0112 20208118 branch p_fire_key_press ,true 
+0113 6fe0cbe3 fetch 1 ,mem_fire_key_status 
+0114 243a0116 nbranch p_fire_key_process ,blank 
+0115 20600000 rtn 
 
 p_fire_key_process:
-0118 c0020134 beq 4 ,p_fire_key_process_end 
-0119 2020011a branch p_fire_key_press 
+0116 c0020132 beq 4 ,p_fire_key_process_end 
+0117 20200118 branch p_fire_key_press 
 
 p_fire_key_press:
-011a 20400137 call p_firekey_clkn_bt_timer_check 
-011b 6fe24be4 fetch 4 ,mem_fire_key_delay 
-011c d8400080 arg 0x80 ,temp 
-011d 98408400 iadd temp ,temp 
-011e 1c427e00 copy clkn_bt ,pdata 
-011f 98467c00 isub temp ,null 
-0120 24610000 nrtn positive 
-0121 67e24be4 store 4 ,mem_fire_key_delay 
-0122 6fe0cbe3 fetch 1 ,mem_fire_key_status 
-0123 c0000128 beq 0 ,p_fire_key_process_start 
-0124 c000812b beq 1 ,p_fire_key_process_release1 
-0125 c001012e beq 2 ,p_fire_key_process_start2 
-0126 c0018131 beq 3 ,p_fire_key_process_release2 
-0127 20600000 rtn 
+0118 20400135 call p_firekey_clkn_bt_timer_check 
+0119 6fe24be4 fetch 4 ,mem_fire_key_delay 
+011a d8400080 arg 0x80 ,temp 
+011b 98408400 iadd temp ,temp 
+011c 1c427e00 copy clkn_bt ,pdata 
+011d 98467c00 isub temp ,null 
+011e 24610000 nrtn positive 
+011f 67e24be4 store 4 ,mem_fire_key_delay 
+0120 6fe0cbe3 fetch 1 ,mem_fire_key_status 
+0121 c0000126 beq 0 ,p_fire_key_process_start 
+0122 c0008129 beq 1 ,p_fire_key_process_release1 
+0123 c001012c beq 2 ,p_fire_key_process_start2 
+0124 c001812f beq 3 ,p_fire_key_process_release2 
+0125 20600000 rtn 
 
 p_fire_key_process_start:
-0128 704be301 jam 1 ,mem_fire_key_status 
-0129 79202200 set1 0 ,rega 
-012a 20600000 rtn 
+0126 704be301 jam 1 ,mem_fire_key_status 
+0127 79202200 set1 0 ,rega 
+0128 20600000 rtn 
 
 p_fire_key_process_release1:
-012b 704be302 jam 2 ,mem_fire_key_status 
-012c 793fa200 set0 0 ,rega 
-012d 20600000 rtn 
+0129 704be302 jam 2 ,mem_fire_key_status 
+012a 793fa200 set0 0 ,rega 
+012b 20600000 rtn 
 
 p_fire_key_process_start2:
-012e 704be303 jam 3 ,mem_fire_key_status 
-012f 79202200 set1 0 ,rega 
-0130 20600000 rtn 
+012c 704be303 jam 3 ,mem_fire_key_status 
+012d 79202200 set1 0 ,rega 
+012e 20600000 rtn 
 
 p_fire_key_process_release2:
-0131 704be304 jam 4 ,mem_fire_key_status 
-0132 793fa200 set0 0 ,rega 
-0133 20600000 rtn 
+012f 704be304 jam 4 ,mem_fire_key_status 
+0130 793fa200 set0 0 ,rega 
+0131 20600000 rtn 
 
 p_fire_key_process_end:
-0134 704be300 jam 0 ,mem_fire_key_status 
-0135 793fa200 set0 0 ,rega 
-0136 20600000 rtn 
+0132 704be300 jam 0 ,mem_fire_key_status 
+0133 793fa200 set0 0 ,rega 
+0134 20600000 rtn 
 
 p_firekey_clkn_bt_timer_check:
-0137 684a4be4 fetcht 4 ,mem_fire_key_delay 
-0138 1c427e00 copy clkn_bt ,pdata 
-0139 98467c00 isub temp ,null 
-013a 2441013c ncall p_firekey_clkn_bt_timer_timeout ,positive 
-013b 20600000 rtn 
+0135 684a4be4 fetcht 4 ,mem_fire_key_delay 
+0136 1c427e00 copy clkn_bt ,pdata 
+0137 98467c00 isub temp ,null 
+0138 2441013a ncall p_firekey_clkn_bt_timer_timeout ,positive 
+0139 20600000 rtn 
 
 p_firekey_clkn_bt_timer_timeout:
-013c 58000000 setarg 0 
-013d 67e24be4 store 4 ,mem_fire_key_delay 
-013e 20600000 rtn 
+013a 58000000 setarg 0 
+013b 67e24be4 store 4 ,mem_fire_key_delay 
+013c 20600000 rtn 
 
 p_mouse_seting_dpi:
-013f 2040408f call mouse_setting_dpi_4_level 
-0140 2040014e call p_mouse_dpi_led_blink_delay 
+013d 2040408f call mouse_setting_dpi_4_level 
+013e 2040014c call p_mouse_dpi_led_blink_delay 
 
 p_mouse_seting_sensor_type:
-0141 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0142 c0018149 beq p3212 ,p_mouse_seting_3212_dpi 
-0143 c005c0cf beq ka8g2 ,mouse_seting_ka8g2_dpi 
-0144 6fe0c992 fetch 1 ,mem_mouse_dpi 
-0145 c00040a4 beq mouse_dpi_level1 ,mouse_set_cpi2 
-0146 c000c0a2 beq mouse_dpi_level2 ,mouse_set_cpi0 
-0147 c00140a0 beq mouse_dpi_level3 ,mouse_set_cpi1 
-0148 202040a2 branch mouse_set_cpi0 
+013f 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0140 c0018147 beq p3212 ,p_mouse_seting_3212_dpi 
+0141 c005c0cf beq ka8g2 ,mouse_seting_ka8g2_dpi 
+0142 6fe0c992 fetch 1 ,mem_mouse_dpi 
+0143 c00040a4 beq mouse_dpi_level1 ,mouse_set_cpi2 
+0144 c000c0a2 beq mouse_dpi_level2 ,mouse_set_cpi0 
+0145 c00140a0 beq mouse_dpi_level3 ,mouse_set_cpi1 
+0146 202040a2 branch mouse_set_cpi0 
 
 p_mouse_seting_3212_dpi:
-0149 6fe0c992 fetch 1 ,mem_mouse_dpi 
-014a c00040c6 beq mouse_dpi_level1 ,mouse_set_p3212_cpi3 
-014b c000c0c0 beq mouse_dpi_level2 ,mouse_set_p3212_cpi1 
-014c c00140c4 beq mouse_dpi_level3 ,mouse_set_p3212_cpi2 
-014d 202040c0 branch mouse_set_p3212_cpi1 
+0147 6fe0c992 fetch 1 ,mem_mouse_dpi 
+0148 c00040c6 beq mouse_dpi_level1 ,mouse_set_p3212_cpi3 
+0149 c000c0c0 beq mouse_dpi_level2 ,mouse_set_p3212_cpi1 
+014a c00140c4 beq mouse_dpi_level3 ,mouse_set_p3212_cpi2 
+014b 202040c0 branch mouse_set_p3212_cpi1 
 
 p_mouse_dpi_led_blink_delay:
-014e 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-014f c17f8000 rtneq gpio_disable 
-0150 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
+014c 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+014d c17f8000 rtneq gpio_disable 
+014e 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
+014f 247a0000 nrtn blank 
+0150 6fe14883 fetch 2 ,mem_24g_pair_timeout 
 0151 247a0000 nrtn blank 
-0152 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+0152 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
 0153 247a0000 nrtn blank 
-0154 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+0154 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
 0155 247a0000 nrtn blank 
-0156 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
-0157 247a0000 nrtn blank 
-0158 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
-0159 203a01ac branch p_mouse_dpi_led_blink_init ,blank 
-015a 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
-015b 20600000 rtn 
+0156 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
+0157 203a01aa branch p_mouse_dpi_led_blink_init ,blank 
+0158 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
+0159 20600000 rtn 
 
 p_mouse_bb_event_timer:
-015c 20403e9b call mouse_adc_read 
-015d 20404956 call mouse_low_voltage_led_timer 
-015e 2040232b call g24_pair_timeout_timer 
-015f 20402556 call g24_reconn_timeout_timer 
-0160 204047cd call mouse_24g_long_sleep_param_update_timer 
-0161 204048be call mouse_device_poweron_timer 
-0162 204001a9 call p_mouse_dpi_led_blink_delay_timer 
-0163 20400175 call p_mouse_rgb_led_off_enable_timer 
-0164 20400185 call p_mouse_rgb_led_on_enable_timer 
-0165 20400193 call p_mouse_rgb_led_on_timer 
-0166 2040407c call mouse_dpi_key_check_long_press 
-0167 204044cc call mouse_bt_discovery_check 
-0168 204044dc call mouse_commbination_key_process 
-0169 204044ff call mouse_check_discovery_timeout_timer 
-016a 20404504 call mouse_check_direct_timeout_timer 
-016b 20404512 call mouse_le_enable_att_list_timer 
-016c 2040451f call mouse_le_battery_updata_timer 
-016d 20404515 call mouse_le_send_smp_security_request_timer 
-016e 2040452a call mouse_check_hid_handshake_timer 
-016f 2040452d call mouse_bt_check_sniff_req_timeout_timer 
-0170 20404532 call mouse_check_reconnect_delay_long_sleep 
-0171 20404535 call mouse_current_mult_update_timer 
-0172 20404022 call mouse_wheel_trigger_timer 
-0173 20404547 call mouse_store_information_delay_timer 
-0174 202001a1 branch p_mouse_check_no_data_timeout_timer 
+015a 20403e9b call mouse_adc_read 
+015b 20404956 call mouse_low_voltage_led_timer 
+015c 2040232b call g24_pair_timeout_timer 
+015d 20402556 call g24_reconn_timeout_timer 
+015e 204047cd call mouse_24g_long_sleep_param_update_timer 
+015f 204048be call mouse_device_poweron_timer 
+0160 204001a7 call p_mouse_dpi_led_blink_delay_timer 
+0161 20400173 call p_mouse_rgb_led_off_enable_timer 
+0162 20400183 call p_mouse_rgb_led_on_enable_timer 
+0163 20400191 call p_mouse_rgb_led_on_timer 
+0164 2040407c call mouse_dpi_key_check_long_press 
+0165 204044cc call mouse_bt_discovery_check 
+0166 204044dc call mouse_commbination_key_process 
+0167 204044ff call mouse_check_discovery_timeout_timer 
+0168 20404504 call mouse_check_direct_timeout_timer 
+0169 20404512 call mouse_le_enable_att_list_timer 
+016a 2040451f call mouse_le_battery_updata_timer 
+016b 20404515 call mouse_le_send_smp_security_request_timer 
+016c 2040452a call mouse_check_hid_handshake_timer 
+016d 2040452d call mouse_bt_check_sniff_req_timeout_timer 
+016e 20404532 call mouse_check_reconnect_delay_long_sleep 
+016f 20404535 call mouse_current_mult_update_timer 
+0170 20404022 call mouse_wheel_trigger_timer 
+0171 20404547 call mouse_store_information_delay_timer 
+0172 2020019f branch p_mouse_check_no_data_timeout_timer 
 
 p_mouse_rgb_led_off_enable_timer:
-0175 6fe0cbe9 fetch 1 ,mem_rgb_led_off_enable 
-0176 207a0000 rtn blank 
-0177 da604beb arg mem_rgb_led_off_enable_timer ,regc 
-0178 da40017a arg p_mouse_rgb_led_off_timeout ,regb 
-0179 2020318a branch timer_single_step 
+0173 6fe0cbe9 fetch 1 ,mem_rgb_led_off_enable 
+0174 207a0000 rtn blank 
+0175 da604beb arg mem_rgb_led_off_enable_timer ,regc 
+0176 da400178 arg p_mouse_rgb_led_off_timeout ,regb 
+0177 2020318a branch timer_single_step 
 
 p_mouse_rgb_led_off_timeout:
-017a 2040018e call p_mouse_mbutton_function_enable 
-017b 6fe0cbf3 fetch 1 ,mem_rgb_led_on_continue_1min_timeout_flag 
-017c 247a0000 nrtn blank 
-017d 704bf300 jam 0 ,mem_rgb_led_on_continue_1min_timeout_flag 
-017e 202047e1 branch mouse_24g_hibernate_set 
+0178 2040018c call p_mouse_mbutton_function_enable 
+0179 6fe0cbf3 fetch 1 ,mem_rgb_led_on_continue_1min_timeout_flag 
+017a 247a0000 nrtn blank 
+017b 704bf300 jam 0 ,mem_rgb_led_on_continue_1min_timeout_flag 
+017c 202047e1 branch mouse_24g_hibernate_set 
 
 p_mouse_rgb_led_off_time_init:
-017f 704beb1e jam 0x1e ,mem_rgb_led_off_enable_timer 
-0180 704be901 jam on ,mem_rgb_led_off_enable 
+017d 704beb1e jam 0x1e ,mem_rgb_led_off_enable_timer 
+017e 704be901 jam on ,mem_rgb_led_off_enable 
 
 p_mouse_mbutton_function_disable:
+017f 6848cbf9 fetcht 1 ,mem_mouse_rgb_ctrl_gpio 
+0180 20406069 call gpio_config_output 
 0181 6848cbf9 fetcht 1 ,mem_mouse_rgb_ctrl_gpio 
-0182 20406069 call gpio_config_output 
-0183 6848cbf9 fetcht 1 ,mem_mouse_rgb_ctrl_gpio 
-0184 20206069 branch gpio_out_active 
+0182 20206069 branch gpio_out_active 
 
 p_mouse_rgb_led_on_enable_timer:
-0185 6fe0cbe9 fetch 1 ,mem_rgb_led_off_enable 
-0186 247a0000 nrtn blank 
-0187 6fe0cbec fetch 1 ,mem_rgb_led_on_enable_timer 
-0188 207a0000 rtn blank 
-0189 c000818d beq 1 ,p_mouse_rgb_led_enable_timeout 
-018a 1fe0ffff increase -1 ,pdata 
-018b 67e0cbec store 1 ,mem_rgb_led_on_enable_timer 
-018c 20200181 branch p_mouse_mbutton_function_disable 
+0183 6fe0cbe9 fetch 1 ,mem_rgb_led_off_enable 
+0184 247a0000 nrtn blank 
+0185 6fe0cbec fetch 1 ,mem_rgb_led_on_enable_timer 
+0186 207a0000 rtn blank 
+0187 c000818b beq 1 ,p_mouse_rgb_led_enable_timeout 
+0188 1fe0ffff increase -1 ,pdata 
+0189 67e0cbec store 1 ,mem_rgb_led_on_enable_timer 
+018a 2020017f branch p_mouse_mbutton_function_disable 
 
 p_mouse_rgb_led_enable_timeout:
-018d 704bec00 jam 0 ,mem_rgb_led_on_enable_timer 
+018b 704bec00 jam 0 ,mem_rgb_led_on_enable_timer 
 
 p_mouse_mbutton_function_enable:
-018e 6848cbf9 fetcht 1 ,mem_mouse_rgb_ctrl_gpio 
-018f 20406065 call gpio_out_inactive 
-0190 20002ee0 nop 12000 
-0191 6848cbf9 fetcht 1 ,mem_mouse_rgb_ctrl_gpio 
-0192 20203f56 branch mouse_gpio_config_input_pu 
+018c 6848cbf9 fetcht 1 ,mem_mouse_rgb_ctrl_gpio 
+018d 20406065 call gpio_out_inactive 
+018e 20002ee0 nop 12000 
+018f 6848cbf9 fetcht 1 ,mem_mouse_rgb_ctrl_gpio 
+0190 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_rgb_led_on_timer:
-0193 6fe0cbea fetch 1 ,mem_rgb_led_on_enable 
+0191 6fe0cbea fetch 1 ,mem_rgb_led_on_enable 
+0192 247a0000 nrtn blank 
+0193 6fe0cbe9 fetch 1 ,mem_rgb_led_off_enable 
 0194 247a0000 nrtn blank 
-0195 6fe0cbe9 fetch 1 ,mem_rgb_led_off_enable 
-0196 247a0000 nrtn blank 
 
 p_mouse_rgb_led_on:
-0197 6fe14bed fetch 2 ,mem_rgb_led_on_timer 
-0198 1fe0fe01 increase 1 ,pdata 
-0199 67e14bed store 2 ,mem_rgb_led_on_timer 
-019a d8400258 arg 0x0258 ,temp 
-019b 98467c00 isub temp ,null 
-019c 2042819e call p_mouse_rgb_led_on_continue_1min ,zero 
-019d 20600000 rtn 
+0195 6fe14bed fetch 2 ,mem_rgb_led_on_timer 
+0196 1fe0fe01 increase 1 ,pdata 
+0197 67e14bed store 2 ,mem_rgb_led_on_timer 
+0198 d8400258 arg 0x0258 ,temp 
+0199 98467c00 isub temp ,null 
+019a 2042819c call p_mouse_rgb_led_on_continue_1min ,zero 
+019b 20600000 rtn 
 
 p_mouse_rgb_led_on_continue_1min:
-019e 704bf301 jam 1 ,mem_rgb_led_on_continue_1min_timeout_flag 
-019f 20400100 call p_mouse_rgb_led_on_timer_init 
-01a0 2020017f branch p_mouse_rgb_led_off_time_init 
+019c 704bf301 jam 1 ,mem_rgb_led_on_continue_1min_timeout_flag 
+019d 204000fe call p_mouse_rgb_led_on_timer_init 
+019e 2020017d branch p_mouse_rgb_led_off_time_init 
 
 p_mouse_check_no_data_timeout_timer:
-01a1 6fe0c92a fetch 1 ,mem_usb_addr 
-01a2 c3838000 rtnbit1 7 
-01a3 da604ab2 arg mem_mouse_no_data_timer ,regc 
-01a4 da4001a6 arg p_mouse_check_no_data_timeout ,regb 
-01a5 20203191 branch timer_single_step_2b 
+019f 6fe0c92a fetch 1 ,mem_usb_addr 
+01a0 c3838000 rtnbit1 7 
+01a1 da604ab2 arg mem_mouse_no_data_timer ,regc 
+01a2 da4001a4 arg p_mouse_check_no_data_timeout ,regb 
+01a3 20203191 branch timer_single_step_2b 
 
 p_mouse_check_no_data_timeout:
-01a6 6fe0c938 fetch 1 ,mem_device_flag 
-01a7 c00000c5 beq mode_24g_device ,p_mouse_24g_enter_hibernate 
-01a8 2020431b branch mouse_disconnect 
+01a4 6fe0c938 fetch 1 ,mem_device_flag 
+01a5 c00000c3 beq mode_24g_device ,p_mouse_24g_enter_hibernate 
+01a6 2020431b branch mouse_disconnect 
 
 p_mouse_dpi_led_blink_delay_timer:
-01a9 da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
-01aa da4001ac arg p_mouse_dpi_led_blink_init ,regb 
-01ab 2020318a branch timer_single_step 
+01a7 da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
+01a8 da4001aa arg p_mouse_dpi_led_blink_init ,regb 
+01a9 2020318a branch timer_single_step 
 
 p_mouse_dpi_led_blink_init:
-01ac 6fe0c927 fetch 1 ,mem_config_sensor_type 
-01ad c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
-01ae c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
-01af 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-01b0 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
-01b1 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
-01b2 67e14930 store 2 ,mem_mouse_on_time 
-01b3 67e14932 store 2 ,mem_mouse_off_time 
-01b4 da200000 arg 0 ,rega 
-01b5 6848c992 fetcht 1 ,mem_mouse_dpi 
-01b6 18408402 increase 2 ,temp 
-01b7 18467c03 sub temp ,3 ,null 
-01b8 204101bb call p_mouse_dpi_led_blink_init_level_4 ,positive 
-01b9 244101bf ncall p_mouse_dpi_led_blink_count_clean ,positive 
-01ba 202048ff branch mouse_dpi_led_blink_init_end 
+01aa 6fe0c927 fetch 1 ,mem_config_sensor_type 
+01ab c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
+01ac c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
+01ad 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+01ae 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
+01af 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
+01b0 67e14930 store 2 ,mem_mouse_on_time 
+01b1 67e14932 store 2 ,mem_mouse_off_time 
+01b2 da200000 arg 0 ,rega 
+01b3 6848c992 fetcht 1 ,mem_mouse_dpi 
+01b4 18408402 increase 2 ,temp 
+01b5 18467c03 sub temp ,3 ,null 
+01b6 204101b9 call p_mouse_dpi_led_blink_init_level_4 ,positive 
+01b7 244101bd ncall p_mouse_dpi_led_blink_count_clean ,positive 
+01b8 202048ff branch mouse_dpi_led_blink_init_end 
 
 p_mouse_dpi_led_blink_init_level_4:
-01bb 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-01bc c40e0000 rtnbit0 mouse_enable_dpi_level_4 
-01bd 18408401 increase 1 ,temp 
-01be 20600000 rtn 
+01b9 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+01ba c40e0000 rtnbit0 mouse_enable_dpi_level_4 
+01bb 18408401 increase 1 ,temp 
+01bc 20600000 rtn 
 
 p_mouse_dpi_led_blink_count_clean:
-01bf 184085fd increase -3 ,temp 
-01c0 20600000 rtn 
+01bd 184085fd increase -3 ,temp 
+01be 20600000 rtn 
 
 p_g24_dispatch:
-01c1 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-01c2 245a01c4 ncall p_mouse_enable_g24_mark ,blank 
-01c3 202021d2 branch g24_dispatch + 1 
+01bf 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+01c0 245a01c2 ncall p_mouse_enable_g24_mark ,blank 
+01c1 202021d2 branch g24_dispatch + 1 
 
 p_mouse_enable_g24_mark:
-01c4 704bea01 jam on ,mem_rgb_led_on_enable 
-01c5 204001cc call p_mouse_rgb_led_on_enable_timer_init 
-01c6 79200026 set1 mark_24g ,mark 
-01c7 20600000 rtn 
+01c2 704bea01 jam on ,mem_rgb_led_on_enable 
+01c3 204001ca call p_mouse_rgb_led_on_enable_timer_init 
+01c4 79200026 set1 mark_24g ,mark 
+01c5 20600000 rtn 
 
 p_ui_timer_check:
-01c8 6fe0cbe8 fetch 1 ,mem_power_on_flag 
-01c9 245a7861 ncall ui_timer_init ,blank 
-01ca 704be800 jam 0 ,mem_power_on_flag 
-01cb 20207851 branch ui_timer_check + 1 
+01c6 6fe0cbe8 fetch 1 ,mem_power_on_flag 
+01c7 245a7861 ncall ui_timer_init ,blank 
+01c8 704be800 jam 0 ,mem_power_on_flag 
+01c9 20207851 branch ui_timer_check + 1 
 
 p_mouse_rgb_led_on_enable_timer_init:
-01cc 704be900 jam off ,mem_rgb_led_off_enable 
-01cd 704bec0b jam 11 ,mem_rgb_led_on_enable_timer 
-01ce 20600000 rtn 
+01ca 704be900 jam off ,mem_rgb_led_off_enable 
+01cb 704bec0b jam 11 ,mem_rgb_led_on_enable_timer 
+01cc 20600000 rtn 
 
 p_spid_init:
-01cf 70448477 jam 0x77 ,mem_spi_init_clk 
-01d0 20205cb6 branch spid_init_common 
+01cd 70448477 jam 0x77 ,mem_spi_init_clk 
+01ce 20205cb6 branch spid_init_common 
               org 0x800
 
 start:
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/TW-CM622_Only2.4G/program/patch.prog	(revision 1608)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/TW-CM622_Only2.4G/program/patch.prog	(working copy)
@@ -43,8 +43,8 @@
 	branch mouse_init+4
 
 p_mouse_wheel_set_wakeup:
-	fetch 1,mem_sensor_shutdown_flag
-	rtn blank
+//	fetch 1,mem_sensor_shutdown_flag
+//	rtn blank
 	fetch 1,mem_whee_a_data_gpio
 	arg gpcfg_pullup,temp
  	call gpio_config_function_int
@@ -335,7 +335,7 @@
 	fetch 2,mem_rgb_led_on_check_count
 	increase 1,pdata
 	store 2,mem_rgb_led_on_check_count
-	arg 0x00C8,temp
+	arg 0x0005,temp
 	isub temp,null
 	nrtn zero
 	setarg 0
