Index: format/app_mouse.format
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/MingAo_Only2.4G/format/app_mouse.format	(revision 439)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/MingAo_Only2.4G/format/app_mouse.format	(working copy)
@@ -324,6 +324,10 @@
 1 mem_sensor_shutdown_flag
 
 1 mem_mouse_reuse_2ice_gpio
+
+1 mem_mouse_logo_led_gpio
+1 mem_mouse_logo_led_on_check_count
+2 mem_mouse_logo_led_on_timer
 )
 
 
@@ -605,3 +609,7 @@
 7 MOUSE_DEVICE_NUMBER_FLAG
 )
 
+(
+8 LOW_VOLTAGE_LED_COUNT
+)
+
Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/MingAo_Only2.4G/output/eeprom.dat	(revision 439)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/MingAo_Only2.4G/output/eeprom.dat	(working copy)
@@ -2,52 +2,56 @@
 02
 aa
 55
-46
+e2
 03
 c2
 84
 00
-0c
+0d
 c0
 00
 00
-0e
+0f
 c0
 45
 80
-66
+67
 c0
 4f
 80
-64
+65
 c0
 57
 00
-12
+13
 c0
 61
 80
-23
+24
 c0
 64
 80
-71
+72
 c0
 65
 00
-80
+82
+c0
+67
+00
+a0
 c0
 68
 00
-9e
+b9
 c0
 6b
 00
-96
+98
 c0
 6c
 80
-af
+ca
 20
 20
 13
@@ -55,7 +59,7 @@
 c0
 10
 80
-cf
+f6
 20
 20
 13
@@ -83,15 +87,15 @@
 20
 40
 00
-17
+18
 20
 40
 00
-46
+47
 20
 40
 00
-1f
+20
 20
 20
 3b
@@ -159,7 +163,7 @@
 c0
 00
 00
-2a
+2b
 20
 40
 3d
@@ -195,7 +199,7 @@
 20
 40
 00
-41
+42
 1f
 e1
 7e
@@ -219,7 +223,7 @@
 20
 40
 00
-38
+39
 20
 34
 48
@@ -259,7 +263,7 @@
 c2
 00
 00
-3c
+3d
 20
 60
 00
@@ -307,7 +311,7 @@
 20
 40
 00
-50
+51
 68
 48
 c9
@@ -319,7 +323,7 @@
 20
 40
 00
-60
+61
 20
 20
 3b
@@ -475,7 +479,7 @@
 c0
 7f
 80
-7a
+7b
 68
 48
 c9
@@ -513,6 +517,10 @@
 60
 93
 20
+40
+00
+da
+20
 20
 3e
 36
@@ -611,7 +619,7 @@
 c0
 1e
 00
-99
+9b
 20
 20
 43
@@ -636,6 +644,106 @@
 20
 48
 4e
+78
+54
+7c
+00
+58
+00
+00
+00
+67
+e3
+48
+d1
+20
+40
+42
+40
+20
+40
+3f
+7e
+20
+40
+3f
+83
+20
+40
+40
+dc
+6f
+e0
+c8
+d0
+1f
+e1
+7e
+1f
+67
+e0
+c8
+d0
+24
+34
+00
+ae
+20
+40
+47
+1a
+20
+40
+00
+b1
+20
+20
+45
+44
+20
+40
+47
+28
+70
+4b
+e4
+00
+20
+60
+00
+00
+6f
+e0
+cb
+e4
+1f
+e0
+fe
+01
+67
+e0
+cb
+e4
+1f
+e6
+7c
+08
+20
+61
+00
+00
+58
+00
+02
+58
+67
+e1
+4b
+e5
+20
+60
+00
+00
 20
 40
 40
@@ -643,7 +751,7 @@
 20
 40
 00
-a1
+bc
 20
 20
 40
@@ -695,7 +803,7 @@
 20
 3a
 00
-ba
+e1
 67
 e0
 cb
@@ -731,11 +839,59 @@
 20
 40
 00
-b7
+de
+20
+40
+00
+d3
 20
 20
 44
 bd
+6f
+e1
+4b
+e5
+20
+7a
+00
+00
+68
+48
+cb
+e3
+20
+40
+60
+69
+da
+60
+4b
+e5
+da
+40
+00
+da
+20
+20
+31
+91
+58
+00
+00
+00
+67
+e1
+4b
+e5
+68
+48
+cb
+e3
+20
+20
+60
+65
 da
 60
 4b
@@ -743,7 +899,7 @@
 da
 40
 00
-ba
+e1
 20
 20
 31
@@ -799,11 +955,11 @@
 20
 41
 00
-c9
+f0
 24
 41
 00
-cd
+f4
 20
 20
 48
@@ -840,8 +996,8 @@
 20
 5c
 b6
-fa
-bc
+e4
+4e
 aa
 55
 40
@@ -873,7 +1029,7 @@
 00
 00
 08
-06
+46
 41
 02
 00
@@ -1051,11 +1207,12 @@
 ff
 aa
 55
-01
+02
 00
 e2
 4b
 03
+0a
 aa
 55
 12
@@ -2002,165 +2159,8 @@
 e8
 41
 01
-ff
-b3
-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
-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
+f7
+05
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-48
-aa
+ba
+2a
Index: output/memmap.format
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/MingAo_Only2.4G/output/memmap.format	(revision 439)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/MingAo_Only2.4G/output/memmap.format	(working copy)
@@ -2204,6 +2204,9 @@
 0x4bde mem_mouse_set_high_impedance_bit_set
 0x4be1 mem_sensor_shutdown_flag
 0x4be2 mem_mouse_reuse_2ice_gpio
+0x4be3 mem_mouse_logo_led_gpio
+0x4be4 mem_mouse_logo_led_on_check_count
+0x4be5 mem_mouse_logo_led_on_timer
 0x48d0 mem_remote_car_hard_soft_switch
 0x48d1 mem_remote_car_queue_each_size
 0x48d2 mem_remote_car_queue_length
Index: output/program.lis
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/MingAo_Only2.4G/output/program.lis	(revision 439)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/MingAo_Only2.4G/output/program.lis	(working copy)
@@ -1,276 +1,327 @@
               include "bt_format "
               org 0x0000
-0000 c284000c bbit1 8 ,pf_patch_ext 
-0001 c000000e beq patch00_0 ,p_soft_reset 
-0002 c0458066 beq patch11_3 ,p_initialize_radio_cont 
-0003 c04f8064 beq patch13_7 ,p_init_param 
-0004 c0570012 beq patch15_6 ,p_app_init 
-0005 c0618023 beq patch18_3 ,p_mouse_start_work 
-0006 c0648071 beq patch19_1 ,p_mouse_setgpio_hibernate 
-0007 c0650080 beq patch19_2 ,p_mouse_lpm_before_common 
-0008 c068009e beq patch1a_0 ,p_mouse_seting_dpi 
-0009 c06b0096 beq patch1a_6 ,p_mouse_priority_bb_event 
-000a c06c80af beq patch1b_1 ,p_mouse_bb_event_timer 
-000b 2020137c branch loop 
+0000 c284000d bbit1 8 ,pf_patch_ext 
+0001 c000000f beq patch00_0 ,p_soft_reset 
+0002 c0458067 beq patch11_3 ,p_initialize_radio_cont 
+0003 c04f8065 beq patch13_7 ,p_init_param 
+0004 c0570013 beq patch15_6 ,p_app_init 
+0005 c0618024 beq patch18_3 ,p_mouse_start_work 
+0006 c0648072 beq patch19_1 ,p_mouse_setgpio_hibernate 
+0007 c0650082 beq patch19_2 ,p_mouse_lpm_before_common 
+0008 c06700a0 beq patch19_6 ,p_mouse_motion 
+0009 c06800b9 beq patch1a_0 ,p_mouse_seting_dpi 
+000a c06b0098 beq patch1a_6 ,p_mouse_priority_bb_event 
+000b c06c80ca beq patch1b_1 ,p_mouse_bb_event_timer 
+000c 2020137c branch loop 
 
 pf_patch_ext:
-000c c01080cf beq patch24_1 ,p_spid_init 
-000d 2020137c branch loop 
+000d c01080f6 beq patch24_1 ,p_spid_init 
+000e 2020137c branch loop 
 
 p_soft_reset:
-000e 20800000 clear_stack 
-000f 204030f3 call app_param_init 
-0010 20403bfd call mouse_xtal_init 
-0011 20200804 branch soft_reset + 3 
+000f 20800000 clear_stack 
+0010 204030f3 call app_param_init 
+0011 20403bfd call mouse_xtal_init 
+0012 20200804 branch soft_reset + 3 
 
 p_app_init:
 
 p_mouse_init:
-0012 20406df3 call enable_authrom 
-0013 20400017 call p_mouse_wheel_set_wakeup 
-0014 20400046 call p_mouse_setting_config 
-0015 2040001f call p_lpm_write_ice_disable 
-0016 20203bc2 branch mouse_init + 1 
+0013 20406df3 call enable_authrom 
+0014 20400018 call p_mouse_wheel_set_wakeup 
+0015 20400047 call p_mouse_setting_config 
+0016 20400020 call p_lpm_write_ice_disable 
+0017 20203bc2 branch mouse_init + 1 
 
 p_mouse_wheel_set_wakeup:
-0017 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-0018 207a0000 rtn blank 
-0019 6fe0c913 fetch 1 ,mem_whee_a_data_gpio 
-001a d8400040 arg gpcfg_pullup ,temp 
-001b 20406093 call gpio_config_function_int 
-001c 6fe0c914 fetch 1 ,mem_whee_b_data_gpio 
-001d d8400040 arg gpcfg_pullup ,temp 
-001e 20206093 branch gpio_config_function_int 
+0018 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+0019 207a0000 rtn blank 
+001a 6fe0c913 fetch 1 ,mem_whee_a_data_gpio 
+001b d8400040 arg gpcfg_pullup ,temp 
+001c 20406093 call gpio_config_function_int 
+001d 6fe0c914 fetch 1 ,mem_whee_b_data_gpio 
+001e d8400040 arg gpcfg_pullup ,temp 
+001f 20206093 branch gpio_config_function_int 
 
 p_lpm_write_ice_disable:
-001f 6ff10120 fetch 2 ,core_ucode_flag 
-0020 793ffe0e set0 lpmreg_ice_mode_bit ,pdata 
-0021 67f2004c store 4 ,core_lpm_reg 
-0022 20205caf branch lpm_write2_ctrl_option 
+0020 6ff10120 fetch 2 ,core_ucode_flag 
+0021 793ffe0e set0 lpmreg_ice_mode_bit ,pdata 
+0022 67f2004c store 4 ,core_lpm_reg 
+0023 20205caf branch lpm_write2_ctrl_option 
 
 p_mouse_start_work:
-0023 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0024 c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
-0025 6fe0c938 fetch 1 ,mem_device_flag 
-0026 c000002a beq mode_24g_device ,p_mouse_24g_start_mode 
-0027 20403d65 call mouse_wakeup_from_power_check 
-0028 243442eb nbranch mouse_buletooth_fast_conn_init ,user 
-0029 20203d59 branch mouse_start_reconnect_device 
+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 
 
 p_mouse_24g_start_mode:
-002a 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-002b c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
-002c 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-002d c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
-002e c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
-002f 20400041 call p_mouse_key_check_once 
-0030 1fe17e07 and pdata ,0x07 ,pdata 
-0031 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
-0032 98467c00 isub temp ,null 
-0033 2022c827 branch mouse_24g_start_pair_mode ,zero 
-0034 2020480c branch mouse_24g_reconn_general_dongle 
+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 
 
 p_mouse_24g_reconn_dongle_start:
-0035 20400038 call p_g24_factory_check 
-0036 20344812 branch mouse_24g_start_auto_pair_next ,user 
-0037 20204806 branch 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 
 
 p_g24_factory_check:
-0038 df200002 arg 2 ,loopcnt 
-0039 d8c04993 arg mem_mouse_24g_addr ,contr 
+0039 df200002 arg 2 ,loopcnt 
+003a d8c04993 arg mem_mouse_24g_addr ,contr 
 
 p_pdata_0xff_check:
-003a 20407e54 call enable_user 
-003b 5800ffff setarg 0xffff 
+003b 20407e54 call enable_user 
+003c 5800ffff setarg 0xffff 
 
 p_pdata_0xff_check_loop:
-003c e8410006 ifetcht 2 ,contr 
-003d 98467c00 isub temp ,null 
-003e 2442fe56 ncall disable_user ,zero 
-003f c200003c loop p_pdata_0xff_check_loop 
-0040 20600000 rtn 
+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 
 
 p_mouse_key_check_once:
-0041 20404121 call mouse_check_key_gpio_once 
-0042 20404115 call mouse_check_key_gpio 
-0043 d8400000 arg 0 ,temp 
-0044 6049cb8e storet 3 ,mem_mouse_lkey_press_status 
-0045 20600000 rtn 
+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 
 
 p_mouse_setting_config:
-0046 20758000 rtn wake 
-0047 20402607 call g24_transmit_init 
-0048 204022ff call g24_chmap_param_init 
-0049 20403f1e call mouse_gpio_init 
-004a 20403d13 call mouse_param_init 
-004b 20400050 call p_mouse_sensor_set_angle 
-004c 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
-004d 20406050 call gpio_config_input 
-004e 20400060 call p_ice_gpio_set_float 
-004f 20203bf5 branch mouse_setting_config_next 
+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 20400051 call p_mouse_sensor_set_angle 
+004d 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
+004e 20406050 call gpio_config_input 
+004f 20400061 call p_ice_gpio_set_float 
+0050 20203bf5 branch mouse_setting_config_next 
 
 p_mouse_sensor_set_angle:
-0050 6fe0c924 fetch 1 ,mem_sensor_angle_default 
-0051 67e0c928 store 1 ,mem_config_sensor_angle 
-0052 6fe0c917 fetch 1 ,mem_select_sensor_angle_gpio 
-0053 c17f8000 rtneq gpio_disable 
-0054 6fe0c917 fetch 1 ,mem_select_sensor_angle_gpio 
-0055 d840003e arg gpcfg_output_low ,temp 
-0056 20406093 call gpio_config_function_int 
-0057 6fe0cbe2 fetch 1 ,mem_mouse_reuse_2ice_gpio 
-0058 d840003e arg gpcfg_output_low ,temp 
-0059 20406093 call gpio_config_function_int 
-005a 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
-005b 20403f56 call mouse_gpio_config_input_pu 
-005c 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
-005d 20406059 call gpio_get_bit 
-005e 2440c2aa ncall mouse_sensor_switch_angle ,true 
-005f 20203f54 branch mouse_gpio_config_input_pd 
+0051 6fe0c924 fetch 1 ,mem_sensor_angle_default 
+0052 67e0c928 store 1 ,mem_config_sensor_angle 
+0053 6fe0c917 fetch 1 ,mem_select_sensor_angle_gpio 
+0054 c17f8000 rtneq gpio_disable 
+0055 6fe0c917 fetch 1 ,mem_select_sensor_angle_gpio 
+0056 d840003e arg gpcfg_output_low ,temp 
+0057 20406093 call gpio_config_function_int 
+0058 6fe0cbe2 fetch 1 ,mem_mouse_reuse_2ice_gpio 
+0059 d840003e arg gpcfg_output_low ,temp 
+005a 20406093 call gpio_config_function_int 
+005b 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
+005c 20403f56 call mouse_gpio_config_input_pu 
+005d 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
+005e 20406059 call gpio_get_bit 
+005f 2440c2aa ncall mouse_sensor_switch_angle ,true 
+0060 20203f54 branch mouse_gpio_config_input_pd 
 
 p_ice_gpio_set_float:
-0060 6848c917 fetcht 1 ,mem_select_sensor_angle_gpio 
-0061 2040607f call gpio_set_high_impedance 
-0062 6848cbe2 fetcht 1 ,mem_mouse_reuse_2ice_gpio 
-0063 2020607f branch gpio_set_high_impedance 
+0061 6848c917 fetcht 1 ,mem_select_sensor_angle_gpio 
+0062 2040607f call gpio_set_high_impedance 
+0063 6848cbe2 fetcht 1 ,mem_mouse_reuse_2ice_gpio 
+0064 2020607f branch gpio_set_high_impedance 
 
 p_init_param:
-0064 70008000 jam 0 ,mem_lmo_tid2 
-0065 202013b7 branch init_param_next + 1 
+0065 70008000 jam 0 ,mem_lmo_tid2 
+0066 202013b7 branch init_param_next + 1 
 
 p_initialize_radio_cont:
-0066 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
-0067 2040126a call initialize_syn_afc_cfg1 
-0068 20401271 call initialize_rf_ldo_cfg1 
-0069 20401277 call initialize_rc_cal 
-006a 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
-006b 708a0305 jam 5 ,core_clkpll_cfg0 
-006c 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
-006d 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
-006e 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
-006f 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
-0070 2020125d branch initialize_radio_cont + 8 
+0067 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
+0068 2040126a call initialize_syn_afc_cfg1 
+0069 20401271 call initialize_rf_ldo_cfg1 
+006a 20401277 call initialize_rc_cal 
+006b 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
+006c 708a0305 jam 5 ,core_clkpll_cfg0 
+006d 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
+006e 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
+006f 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
+0070 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
+0071 2020125d branch initialize_radio_cont + 8 
 
 p_mouse_setgpio_hibernate:
-0071 204042e9 call mouse_set_sdio_high 
-0072 20407fdc call clear_wake 
-0073 20404015 call mouse_before_hibernate_wheel_gpio_set 
-0074 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-0075 c07f807a beq gpio_disable ,p_mouse_setgpio_hibernate_skip_public_gpio 
-0076 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-0077 20406069 call gpio_out_active 
-0078 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-0079 20406042 call gpio_clr_wake 
+0072 204042e9 call mouse_set_sdio_high 
+0073 20407fdc call clear_wake 
+0074 20404015 call mouse_before_hibernate_wheel_gpio_set 
+0075 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+0076 c07f807b beq gpio_disable ,p_mouse_setgpio_hibernate_skip_public_gpio 
+0077 6848c910 fetcht 1 ,mem_matrix_public_gpio 
+0078 20406069 call gpio_out_active 
+0079 6848c910 fetcht 1 ,mem_matrix_public_gpio 
+007a 20406042 call gpio_clr_wake 
 
 p_mouse_setgpio_hibernate_skip_public_gpio:
-007a 6848cbe2 fetcht 1 ,mem_mouse_reuse_2ice_gpio 
-007b 20403f56 call mouse_gpio_config_input_pu 
-007c 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
-007d d840003f arg gpcfg_output_high ,temp 
-007e 20406093 call gpio_config_function_int 
-007f 20203e36 branch mouse_setgpio_hibernate + 3 
+007b 6848cbe2 fetcht 1 ,mem_mouse_reuse_2ice_gpio 
+007c 20403f56 call mouse_gpio_config_input_pu 
+007d 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
+007e d840003f arg gpcfg_output_high ,temp 
+007f 20406093 call gpio_config_function_int 
+0080 204000da call p_mouse_logo_led_on_timeout 
+0081 20203e36 branch mouse_setgpio_hibernate + 3 
 
 p_mouse_lpm_before_common:
-0080 20403f88 call mouse_wheel_check 
-0081 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
-0082 d840003f arg gpcfg_output_high ,temp 
-0083 20406093 call gpio_config_function_int 
-0084 6fe080a1 fetch 1 ,mem_gpio_wakeup_low + 2 
-0085 793ffe03 set0 3 ,pdata 
-0086 67e080a1 store 1 ,mem_gpio_wakeup_low + 2 
-0087 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
-0088 20406042 call gpio_clr_wake 
-0089 20405b04 call twspi_disable 
-008a 6848c918 fetcht 1 ,mem_lbutton_gpio 
-008b 20406036 call gpio_set_wake 
-008c 6848c919 fetcht 1 ,mem_rbutton_gpio 
+0082 20403f88 call mouse_wheel_check 
+0083 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
+0084 d840003f arg gpcfg_output_high ,temp 
+0085 20406093 call gpio_config_function_int 
+0086 6fe080a1 fetch 1 ,mem_gpio_wakeup_low + 2 
+0087 793ffe03 set0 3 ,pdata 
+0088 67e080a1 store 1 ,mem_gpio_wakeup_low + 2 
+0089 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
+008a 20406042 call gpio_clr_wake 
+008b 20405b04 call twspi_disable 
+008c 6848c918 fetcht 1 ,mem_lbutton_gpio 
 008d 20406036 call gpio_set_wake 
-008e 6848c91a fetcht 1 ,mem_mbutton_gpio 
+008e 6848c919 fetcht 1 ,mem_rbutton_gpio 
 008f 20406036 call gpio_set_wake 
-0090 6848c90d fetcht 1 ,mem_bk_button_gpio 
+0090 6848c91a fetcht 1 ,mem_mbutton_gpio 
 0091 20406036 call gpio_set_wake 
-0092 6848c90e fetcht 1 ,mem_fw_button_gpio 
+0092 6848c90d fetcht 1 ,mem_bk_button_gpio 
 0093 20406036 call gpio_set_wake 
-0094 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-0095 20206036 branch gpio_set_wake 
+0094 6848c90e fetcht 1 ,mem_fw_button_gpio 
+0095 20406036 call gpio_set_wake 
+0096 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+0097 20206036 branch gpio_set_wake 
 
 p_mouse_priority_bb_event:
-0096 1a627e00 copy regc ,pdata 
-0097 c01e0099 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-0098 20204336 branch mouse_priority_bb_event + 2 
+0098 1a627e00 copy regc ,pdata 
+0099 c01e009b beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+009a 20204336 branch mouse_priority_bb_event + 2 
 
 p_mouse_24g_attempt_success:
-0099 6fe2483c fetch 4 ,mem_24g_addr 
-009a 67e24891 store 4 ,mem_24g_receiver_addr 
-009b 67e24993 store 4 ,mem_mouse_24g_addr 
-009c 204048c6 call mouse_device_poweron_timer_init 
-009d 2020484e branch mouse_24g_attempt_success 
+009b 6fe2483c fetch 4 ,mem_24g_addr 
+009c 67e24891 store 4 ,mem_24g_receiver_addr 
+009d 67e24993 store 4 ,mem_mouse_24g_addr 
+009e 204048c6 call mouse_device_poweron_timer_init 
+009f 2020484e branch mouse_24g_attempt_success 
+
+p_mouse_motion:
+00a0 78547c00 disable user 
+00a1 58000000 setarg 0 
+00a2 67e348d1 store 6 ,mem_mouse_x 
+00a3 20404240 call mouse_check_sensor_data 
+00a4 20403f7e call mouse_zwheel 
+00a5 20403f83 call mouse_t_zwheel 
+00a6 204040dc call mouse_key 
+00a7 6fe0c8d0 fetch 1 ,mem_mouse_key 
+00a8 1fe17e1f and_into 0x1f ,pdata 
+00a9 67e0c8d0 store 1 ,mem_mouse_key 
+00aa 243400ae nbranch p_mouse_motion_nodata ,user 
+00ab 2040471a call mouse_drawing_optima 
+00ac 204000b1 call p_mouse_logo_led_on_check 
+00ad 20204544 branch mouse_no_data_timer_init 
+
+p_mouse_motion_nodata:
+00ae 20404728 call mouse_drawing_optima_init 
+00af 704be400 jam 0 ,mem_mouse_logo_led_on_check_count 
+00b0 20600000 rtn 
+
+p_mouse_logo_led_on_check:
+00b1 6fe0cbe4 fetch 1 ,mem_mouse_logo_led_on_check_count 
+00b2 1fe0fe01 increase 1 ,pdata 
+00b3 67e0cbe4 store 1 ,mem_mouse_logo_led_on_check_count 
+00b4 1fe67c08 sub pdata ,low_voltage_led_count ,null 
+00b5 20610000 rtn positive 
+
+p_mouse_logo_led_on:
+00b6 58000258 setarg 0x0258 
+00b7 67e14be5 store 2 ,mem_mouse_logo_led_on_timer 
+00b8 20600000 rtn 
 
 p_mouse_seting_dpi:
-009e 2040408f call mouse_setting_dpi_4_level 
-009f 204000a1 call p_mouse_dpi_led_blink_delay 
-00a0 20204098 branch mouse_seting_sensor_type 
+00b9 2040408f call mouse_setting_dpi_4_level 
+00ba 204000bc call p_mouse_dpi_led_blink_delay 
+00bb 20204098 branch mouse_seting_sensor_type 
 
 p_mouse_dpi_led_blink_delay:
-00a1 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-00a2 c17f8000 rtneq gpio_disable 
-00a3 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
-00a4 247a0000 nrtn blank 
-00a5 6fe14883 fetch 2 ,mem_24g_pair_timeout 
-00a6 247a0000 nrtn blank 
-00a7 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
-00a8 247a0000 nrtn blank 
-00a9 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
-00aa 247a0000 nrtn blank 
-00ab 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
-00ac 203a00ba branch p_mouse_dpi_led_blink_init ,blank 
-00ad 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
-00ae 20600000 rtn 
+00bc 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+00bd c17f8000 rtneq gpio_disable 
+00be 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
+00bf 247a0000 nrtn blank 
+00c0 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+00c1 247a0000 nrtn blank 
+00c2 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+00c3 247a0000 nrtn blank 
+00c4 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
+00c5 247a0000 nrtn blank 
+00c6 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
+00c7 203a00e1 branch p_mouse_dpi_led_blink_init ,blank 
+00c8 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
+00c9 20600000 rtn 
 
 p_mouse_bb_event_timer:
-00af 20403e9b call mouse_adc_read 
-00b0 20404956 call mouse_low_voltage_led_timer 
-00b1 2040232b call g24_pair_timeout_timer 
-00b2 20402556 call g24_reconn_timeout_timer 
-00b3 204047cd call mouse_24g_long_sleep_param_update_timer 
-00b4 204048be call mouse_device_poweron_timer 
-00b5 204000b7 call p_mouse_dpi_led_blink_delay_timer 
-00b6 202044bd branch mouse_bb_event_timer + 8 
+00ca 20403e9b call mouse_adc_read 
+00cb 20404956 call mouse_low_voltage_led_timer 
+00cc 2040232b call g24_pair_timeout_timer 
+00cd 20402556 call g24_reconn_timeout_timer 
+00ce 204047cd call mouse_24g_long_sleep_param_update_timer 
+00cf 204048be call mouse_device_poweron_timer 
+00d0 204000de call p_mouse_dpi_led_blink_delay_timer 
+00d1 204000d3 call p_mouse_logo_led_on_timer 
+00d2 202044bd branch mouse_bb_event_timer + 8 
+
+p_mouse_logo_led_on_timer:
+00d3 6fe14be5 fetch 2 ,mem_mouse_logo_led_on_timer 
+00d4 207a0000 rtn blank 
+00d5 6848cbe3 fetcht 1 ,mem_mouse_logo_led_gpio 
+00d6 20406069 call gpio_out_active 
+00d7 da604be5 arg mem_mouse_logo_led_on_timer ,regc 
+00d8 da4000da arg p_mouse_logo_led_on_timeout ,regb 
+00d9 20203191 branch timer_single_step_2b 
+
+p_mouse_logo_led_on_timeout:
+00da 58000000 setarg 0 
+00db 67e14be5 store 2 ,mem_mouse_logo_led_on_timer 
+00dc 6848cbe3 fetcht 1 ,mem_mouse_logo_led_gpio 
+00dd 20206065 branch gpio_out_inactive 
 
 p_mouse_dpi_led_blink_delay_timer:
-00b7 da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
-00b8 da4000ba arg p_mouse_dpi_led_blink_init ,regb 
-00b9 2020318a branch timer_single_step 
+00de da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
+00df da4000e1 arg p_mouse_dpi_led_blink_init ,regb 
+00e0 2020318a branch timer_single_step 
 
 p_mouse_dpi_led_blink_init:
-00ba 6fe0c927 fetch 1 ,mem_config_sensor_type 
-00bb c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
-00bc c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
-00bd 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-00be 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
-00bf 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
-00c0 67e14930 store 2 ,mem_mouse_on_time 
-00c1 67e14932 store 2 ,mem_mouse_off_time 
-00c2 da200000 arg 0 ,rega 
-00c3 6848c992 fetcht 1 ,mem_mouse_dpi 
-00c4 18408402 increase 2 ,temp 
-00c5 18467c03 sub temp ,3 ,null 
-00c6 204100c9 call p_mouse_dpi_led_blink_init_level_4 ,positive 
-00c7 244100cd ncall p_mouse_dpi_led_blink_count_clean ,positive 
-00c8 202048ff branch mouse_dpi_led_blink_init_end 
+00e1 6fe0c927 fetch 1 ,mem_config_sensor_type 
+00e2 c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
+00e3 c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
+00e4 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+00e5 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
+00e6 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
+00e7 67e14930 store 2 ,mem_mouse_on_time 
+00e8 67e14932 store 2 ,mem_mouse_off_time 
+00e9 da200000 arg 0 ,rega 
+00ea 6848c992 fetcht 1 ,mem_mouse_dpi 
+00eb 18408402 increase 2 ,temp 
+00ec 18467c03 sub temp ,3 ,null 
+00ed 204100f0 call p_mouse_dpi_led_blink_init_level_4 ,positive 
+00ee 244100f4 ncall p_mouse_dpi_led_blink_count_clean ,positive 
+00ef 202048ff branch mouse_dpi_led_blink_init_end 
 
 p_mouse_dpi_led_blink_init_level_4:
-00c9 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00ca c40e0000 rtnbit0 mouse_enable_dpi_level_4 
-00cb 18408401 increase 1 ,temp 
-00cc 20600000 rtn 
+00f0 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00f1 c40e0000 rtnbit0 mouse_enable_dpi_level_4 
+00f2 18408401 increase 1 ,temp 
+00f3 20600000 rtn 
 
 p_mouse_dpi_led_blink_count_clean:
-00cd 184085fd increase -3 ,temp 
-00ce 20600000 rtn 
+00f4 184085fd increase -3 ,temp 
+00f5 20600000 rtn 
 
 p_spid_init:
-00cf 70448476 jam 0x76 ,mem_spi_init_clk 
-00d0 20205cb6 branch spid_init_common 
+00f6 70448476 jam 0x76 ,mem_spi_init_clk 
+00f7 20205cb6 branch spid_init_common 
               org 0x800
 
 start:
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/MingAo_Only2.4G/program/patch.prog	(revision 439)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/MingAo_Only2.4G/program/patch.prog	(working copy)
@@ -7,6 +7,7 @@
 	beq patch18_3,p_mouse_start_work
 	beq patch19_1,p_mouse_setgpio_hibernate
 	beq patch19_2,p_mouse_lpm_before_common
+	beq patch19_6,p_mouse_motion
 	beq patch1a_0,p_mouse_seting_dpi
 	beq patch1a_6,p_mouse_priority_bb_event
 	beq patch1b_1,p_mouse_bb_event_timer
@@ -170,6 +171,7 @@
 	fetch 1,mem_mouse_sensor_sdio_gpio
 	arg gpcfg_output_high,temp
 	call gpio_config_function_int
+	call p_mouse_logo_led_on_timeout
 	branch mouse_setgpio_hibernate+3
 	
 p_mouse_lpm_before_common:
@@ -218,6 +220,38 @@
 	call mouse_device_poweron_timer_init
 	branch mouse_24g_attempt_success
 
+p_mouse_motion:
+	disable user
+	setarg 0
+	store 6,mem_mouse_x
+	call mouse_check_sensor_data
+	call mouse_zwheel
+	call mouse_t_zwheel
+	call mouse_key
+	fetch 1,mem_mouse_key
+	and_into 0x1f,pdata
+	store 1,mem_mouse_key
+	nbranch p_mouse_motion_nodata,user
+	call mouse_drawing_optima
+	call p_mouse_logo_led_on_check
+	branch mouse_no_data_timer_init
+
+p_mouse_motion_nodata:	
+	call mouse_drawing_optima_init
+	jam 0,mem_mouse_logo_led_on_check_count
+	rtn
+
+p_mouse_logo_led_on_check:
+	fetch 1,mem_mouse_logo_led_on_check_count
+	increase 1,pdata
+	store 1,mem_mouse_logo_led_on_check_count
+	sub pdata,LOW_VOLTAGE_LED_COUNT,null
+	rtn positive
+p_mouse_logo_led_on:	
+	setarg 0x0258
+	store 2,mem_mouse_logo_led_on_timer
+	rtn
+
 ///////////////////dpi led adjust////////////////////////////////////////////////////////////////////
 p_mouse_seting_dpi:
 	call mouse_setting_dpi_4_level
@@ -250,7 +284,22 @@
 	//led
 	call mouse_device_poweron_timer
 	call p_mouse_dpi_led_blink_delay_timer
+	call p_mouse_logo_led_on_timer
 	branch mouse_bb_event_timer+8
+
+p_mouse_logo_led_on_timer:
+	fetch 2,mem_mouse_logo_led_on_timer
+	rtn blank
+	fetcht 1,mem_mouse_logo_led_gpio
+	call gpio_out_active
+	arg mem_mouse_logo_led_on_timer,regc
+	arg p_mouse_logo_led_on_timeout,regb
+	branch timer_single_step_2B
+p_mouse_logo_led_on_timeout:
+	setarg 0
+	store 2,mem_mouse_logo_led_on_timer
+	fetcht 1,mem_mouse_logo_led_gpio
+	branch gpio_out_inactive
 		
 p_mouse_dpi_led_blink_delay_timer:
 	arg mem_mouse_dpi_led_delay_count,regc
Index: sched/mouse.dat
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/MingAo_Only2.4G/sched/mouse.dat	(revision 439)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/MingAo_Only2.4G/sched/mouse.dat	(working copy)
@@ -151,6 +151,7 @@
 
 mem_usb_offline_check_gpio:ff
 mem_mouse_reuse_2ice_gpio:03
+mem_mouse_logo_led_gpio:0a
 
 
 mem_customer_key_press:
