Index: format/app_mouse.format
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/TW-GY05_Only2.4G/format/app_mouse.format	(revision 606)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/TW-GY05_Only2.4G/format/app_mouse.format	(working copy)
@@ -326,7 +326,7 @@
 1 mem_firebutton_gpio
 1 mem_fire_key_status
 4 mem_fire_key_delay
-
+1 mem_power_on_flag
 1 mem_rgb_led_off_enable
 1 mem_rgb_led_on_enable
 1 mem_rgb_led_off_enable_timer
@@ -451,6 +451,8 @@
 //byte 8
 0x38 MOUSE_ENABLE_SMOOTHER
 0x39 MOUSE_ENABLE_XY_OFFSET
+0x3a MOUSE_ENABLE_24G_AUTO_PAIR_NERVER_BEEN_PAIRED
+0x3b MOUSE_ENABLE_LE_BATTERY_SERVICE_CANCEL
 
 //mouse dpi level
 0x00 MOUSE_DPI_LEVEL1
Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/TW-GY05_Only2.4G/output/eeprom.dat	(revision 606)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/TW-GY05_Only2.4G/output/eeprom.dat	(working copy)
@@ -2,8 +2,8 @@
 02
 aa
 55
-1a
-07
+9e
+06
 c2
 84
 00
@@ -11,55 +11,55 @@
 c0
 00
 00
-12
+13
 c0
 45
 80
-6d
+4c
 c0
 4f
 80
-6b
+4a
 c0
 57
 00
-16
+17
 c0
 61
 80
-2a
+9b
+c0
+63
+80
+57
 c0
 64
 80
-78
+5b
 c0
 65
 00
-87
+6a
 c0
 67
 00
-ac
-c0
-67
-81
-43
+aa
 c0
 68
 01
-15
+13
 c0
 68
 80
-da
+d8
 c0
 6b
 00
-9d
+80
 c0
 6c
 81
-52
+30
 20
 20
 13
@@ -67,11 +67,15 @@
 c0
 10
 81
-c4
+a5
+c0
+43
+81
+9e
 c0
 6e
 81
-ba
+97
 20
 20
 13
@@ -99,15 +103,15 @@
 20
 40
 00
-1e
+1f
 20
 40
 00
-4d
+2b
 20
 40
 00
-26
+27
 20
 40
 41
@@ -172,146 +176,6 @@
 20
 5c
 af
-6f
-e4
-4b
-ab
-c2
-97
-c8
-0a
-6f
-e0
-c9
-38
-c0
-00
-00
-31
-20
-40
-3d
-65
-24
-34
-42
-eb
-20
-20
-3d
-59
-6f
-e4
-4b
-ab
-c3
-08
-c8
-03
-6f
-e4
-4b
-ab
-c2
-98
-48
-0c
-c3
-18
-c8
-0c
-20
-40
-00
-48
-1f
-e1
-7e
-07
-68
-48
-cb
-cb
-98
-46
-7c
-00
-20
-22
-c8
-27
-20
-20
-48
-0c
-20
-40
-00
-3f
-20
-34
-48
-12
-20
-20
-48
-06
-df
-20
-00
-02
-d8
-c0
-49
-93
-20
-40
-7e
-54
-58
-00
-ff
-ff
-e8
-41
-00
-06
-98
-46
-7c
-00
-24
-42
-fe
-56
-c2
-00
-00
-43
-20
-60
-00
-00
-20
-40
-41
-21
-20
-40
-41
-15
-d8
-40
-00
-00
-60
-49
-cb
-8e
-20
-60
-00
-00
 20
 75
 80
@@ -322,6 +186,10 @@
 07
 20
 40
+23
+0e
+20
+40
 22
 ff
 20
@@ -335,7 +203,7 @@
 20
 40
 00
-57
+36
 68
 48
 c9
@@ -347,7 +215,7 @@
 20
 40
 00
-67
+46
 20
 20
 3b
@@ -383,7 +251,7 @@
 6f
 e0
 cb
-f4
+f5
 d8
 40
 00
@@ -427,7 +295,7 @@
 68
 48
 cb
-f4
+f5
 20
 20
 60
@@ -484,6 +352,22 @@
 20
 12
 5d
+58
+00
+00
+06
+20
+40
+5b
+0d
+c2
+81
+be
+23
+20
+20
+3e
+21
 20
 40
 42
@@ -503,7 +387,7 @@
 c0
 7f
 80
-81
+64
 68
 48
 c9
@@ -523,7 +407,7 @@
 68
 48
 cb
-f4
+f5
 20
 40
 3f
@@ -639,11 +523,11 @@
 c0
 1e
 00
-a1
+84
 c0
 1d
 00
-a6
+8a
 20
 20
 43
@@ -662,36 +546,144 @@
 93
 20
 40
+25
+7e
+20
+40
 48
 c6
 20
 20
-48
-4e
-6f
-e0
+48
+4e
+6f
+e0
+c8
+a5
+24
+3a
+00
+98
+6f
+e0
+c8
+8b
+c0
+01
+00
+8f
+20
+20
+48
+37
+6f
+e4
+4b
+ab
+c2
+97
+c8
+11
+c2
+98
+48
+11
+c3
+1d
+48
+06
+6f
+e2
+49
+93
+68
+4a
+49
+74
+98
+46
+7c
+00
+20
+22
 c8
-a5
-24
-3a
-00
-a9
+27
 20
 20
 48
-35
+06
 79
 3f
 80
 26
 70
 4b
-f2
+f3
 00
 20
 20
 01
-76
+53
+6f
+e4
+4b
+ab
+c2
+97
+c8
+0a
+6f
+e0
+c9
+38
+c0
+00
+00
+a0
+20
+20
+3d
+57
+6f
+e4
+4b
+ab
+c3
+08
+c8
+03
+20
+40
+3d
+65
+20
+34
+48
+06
+6f
+e4
+4b
+ab
+c2
+98
+48
+0c
+c3
+18
+c8
+0c
+20
+40
+41
+10
+1a
+21
+7e
+07
+20
+20
+47
+ff
 78
 54
 7c
@@ -723,7 +715,7 @@
 20
 40
 00
-d6
+d4
 6f
 e0
 c8
@@ -739,7 +731,7 @@
 24
 34
 00
-bb
+b9
 20
 40
 47
@@ -747,7 +739,7 @@
 20
 40
 00
-c6
+c4
 20
 20
 45
@@ -759,7 +751,7 @@
 6f
 e1
 4b
-ee
+ef
 1f
 e0
 fe
@@ -767,7 +759,7 @@
 67
 e1
 4b
-ee
+ef
 d8
 40
 02
@@ -787,10 +779,10 @@
 67
 e1
 4b
-ee
+ef
 70
 4b
-e9
+ea
 00
 20
 60
@@ -799,7 +791,7 @@
 6f
 e1
 4b
-f0
+f1
 1f
 e0
 fe
@@ -807,7 +799,7 @@
 67
 e1
 4b
-f0
+f1
 d8
 40
 02
@@ -827,26 +819,26 @@
 67
 e1
 4b
-f0
+f1
 6f
 e0
 cb
-e9
+ea
 c1
 00
 80
 00
 70
 4b
-e9
+ea
 01
 70
 4b
-e8
+e9
 00
 70
 4b
-eb
+ec
 0b
 58
 00
@@ -855,7 +847,7 @@
 67
 e1
 4b
-ec
+ed
 20
 60
 00
@@ -867,7 +859,7 @@
 20
 40
 00
-e4
+e2
 1a
 22
 7e
@@ -899,7 +891,7 @@
 20
 40
 00
-e1
+df
 20
 20
 41
@@ -907,7 +899,7 @@
 6f
 e0
 cb
-f3
+f4
 24
 7a
 00
@@ -943,7 +935,7 @@
 20
 20
 80
-f0
+ee
 6f
 e0
 cb
@@ -951,7 +943,7 @@
 24
 3a
 00
-ee
+ec
 20
 60
 00
@@ -959,15 +951,15 @@
 c0
 02
 01
-0a
+08
 20
 20
 00
-f0
+ee
 20
 40
 01
-0d
+0b
 6f
 e2
 4b
@@ -1003,19 +995,19 @@
 c0
 00
 00
-fe
+fc
 c0
 00
-81
-01
+80
+ff
 c0
 01
 01
-04
+02
 c0
 01
 81
-07
+05
 20
 60
 00
@@ -1095,7 +1087,7 @@
 24
 41
 01
-12
+10
 20
 60
 00
@@ -1119,7 +1111,7 @@
 20
 40
 01
-24
+22
 6f
 e0
 c9
@@ -1127,7 +1119,7 @@
 c0
 01
 81
-1f
+1d
 c0
 05
 c0
@@ -1219,7 +1211,7 @@
 20
 3a
 01
-a5
+82
 67
 e0
 cb
@@ -1228,134 +1220,6 @@
 60
 00
 00
-da
-60
-4b
-f5
-da
-40
-01
-35
-20
-20
-31
-8a
-6f
-e0
-cb
-f6
-c1
-7f
-80
-00
-70
-4b
-f5
-02
-68
-48
-cb
-f6
-20
-40
-60
-50
-68
-48
-cb
-f6
-20
-40
-60
-59
-24
-20
-c0
-59
-20
-20
-01
-3e
-6f
-e0
-c9
-dd
-c1
-00
-80
-00
-70
-49
-dd
-01
-70
-4b
-f7
-01
-20
-20
-40
-69
-20
-40
-40
-72
-20
-74
-00
-00
-6f
-e0
-cb
-f7
-24
-3a
-01
-4d
-6f
-e0
-c9
-92
-c1
-01
-00
-00
-1f
-e0
-fe
-01
-67
-e0
-c9
-92
-20
-40
-40
-95
-20
-20
-45
-ee
-70
-4b
-f7
-00
-6f
-e0
-c9
-92
-c1
-00
-00
-00
-1f
-e0
-ff
-ff
-20
-20
-01
-4a
 20
 40
 3e
@@ -1383,19 +1247,19 @@
 20
 40
 01
-a2
+7f
 20
 40
 01
-6c
+49
 20
 40
 01
-7d
+5a
 20
 40
 01
-8c
+69
 20
 40
 40
@@ -1453,17 +1317,13 @@
 45
 47
 20
-40
-01
-9a
-20
 20
 01
-32
+77
 6f
 e0
 cb
-e8
+e9
 20
 7a
 00
@@ -1471,11 +1331,11 @@
 da
 60
 4b
-ea
+eb
 da
 40
 01
-71
+4e
 20
 20
 31
@@ -1483,18 +1343,18 @@
 20
 40
 01
-86
+63
 6f
 e0
 cb
-f2
+f3
 24
 7a
 00
 00
 70
 4b
-f2
+f3
 00
 20
 20
@@ -1502,15 +1362,15 @@
 e1
 70
 4b
-ea
+eb
 1e
 70
 4b
-e8
+e9
 01
 70
 4b
-f3
+f4
 01
 68
 48
@@ -1531,7 +1391,7 @@
 6f
 e0
 cb
-e8
+e9
 24
 7a
 00
@@ -1539,7 +1399,7 @@
 6f
 e0
 cb
-eb
+ec
 20
 7a
 00
@@ -1547,7 +1407,7 @@
 c0
 00
 81
-85
+62
 1f
 e0
 ff
@@ -1555,18 +1415,18 @@
 67
 e0
 cb
-eb
+ec
 20
 20
 01
-78
+55
 70
 4b
-eb
+ec
 00
 70
 4b
-f3
+f4
 00
 68
 48
@@ -1591,7 +1451,7 @@
 6f
 e0
 cb
-e9
+ea
 24
 7a
 00
@@ -1599,7 +1459,7 @@
 6f
 e0
 cb
-e8
+e9
 24
 7a
 00
@@ -1607,7 +1467,7 @@
 6f
 e1
 4b
-ec
+ed
 1f
 e0
 fe
@@ -1615,7 +1475,7 @@
 67
 e1
 4b
-ec
+ed
 d8
 40
 02
@@ -1627,23 +1487,23 @@
 20
 42
 81
-97
+74
 20
 60
 00
 00
 70
 4b
-f2
+f3
 01
 20
 40
 00
-d3
+d1
 20
 20
 01
-76
+53
 6f
 e0
 c9
@@ -1659,7 +1519,7 @@
 da
 40
 01
-9f
+7c
 20
 20
 31
@@ -1671,7 +1531,7 @@
 c0
 00
 00
-a9
+98
 20
 20
 43
@@ -1683,7 +1543,7 @@
 da
 40
 01
-a5
+82
 20
 20
 31
@@ -1739,11 +1599,11 @@
 20
 41
 01
-b4
+91
 24
 41
 01
-b8
+95
 20
 20
 48
@@ -1779,19 +1639,19 @@
 24
 5a
 01
-bd
+9a
 20
 20
 21
 d2
 70
 4b
-e9
+ea
 01
 20
 40
 01
-c1
+a2
 79
 20
 00
@@ -1800,13 +1660,29 @@
 60
 00
 00
+6f
+e0
+cb
+e8
+24
+5a
+78
+61
 70
 4b
 e8
 00
+20
+20
+78
+51
 70
 4b
-eb
+e9
+00
+70
+4b
+ec
 0b
 20
 60
@@ -1820,8 +1696,8 @@
 20
 5c
 b6
-25
-89
+b0
+2b
 aa
 55
 40
@@ -1852,8 +1728,8 @@
 40
 00
 00
-08
-c6
+88
+46
 43
 02
 00
@@ -1876,7 +1752,7 @@
 00
 00
 00
-00
+80
 00
 00
 00
@@ -1970,8 +1846,8 @@
 00
 00
 00
-03
-03
+02
+07
 aa
 55
 0c
@@ -2033,7 +1909,7 @@
 55
 01
 00
-f4
+f5
 4b
 03
 aa
@@ -2047,14 +1923,14 @@
 55
 01
 00
-f6
+f7
 4b
 08
 aa
 55
 01
 00
-f5
+f6
 4b
 02
 aa
@@ -2163,7 +2039,7 @@
 0a
 60
 06
-0a
+05
 00
 64
 00
@@ -2269,6 +2145,13 @@
 55
 01
 00
+e8
+4b
+01
+aa
+55
+01
+00
 77
 41
 20
@@ -3007,10 +2890,10 @@
 aa
 aa
 55
-7d
-60
-1a
-6f
+32
+63
+72
+21
 ff
 ff
 ff
@@ -8188,5 +8071,122 @@
 ff
 ff
 ff
-77
-06
+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
+ab
+23
Index: output/memmap.format
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/TW-GY05_Only2.4G/output/memmap.format	(revision 606)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/TW-GY05_Only2.4G/output/memmap.format	(working copy)
@@ -2206,19 +2206,20 @@
 0x4be2 mem_firebutton_gpio
 0x4be3 mem_fire_key_status
 0x4be4 mem_fire_key_delay
-0x4be8 mem_rgb_led_off_enable
-0x4be9 mem_rgb_led_on_enable
-0x4bea mem_rgb_led_off_enable_timer
-0x4beb mem_rgb_led_on_enable_timer
-0x4bec mem_rgb_led_on_timer
-0x4bee mem_rgb_led_off_check_count
-0x4bf0 mem_rgb_led_on_check_count
-0x4bf2 mem_rgb_led_on_continue_1min_timeout_flag
-0x4bf3 mem_mbutton_function_disable
-0x4bf4 mem_mouse_reuse_2ice_gpio
-0x4bf5 mem_dpi_check_timer
-0x4bf6 mem_mouse_dpi_decrease_gpio
-0x4bf7 mem_mouse_dpi_decrease_key_flag
+0x4be8 mem_power_on_flag
+0x4be9 mem_rgb_led_off_enable
+0x4bea mem_rgb_led_on_enable
+0x4beb mem_rgb_led_off_enable_timer
+0x4bec mem_rgb_led_on_enable_timer
+0x4bed mem_rgb_led_on_timer
+0x4bef mem_rgb_led_off_check_count
+0x4bf1 mem_rgb_led_on_check_count
+0x4bf3 mem_rgb_led_on_continue_1min_timeout_flag
+0x4bf4 mem_mbutton_function_disable
+0x4bf5 mem_mouse_reuse_2ice_gpio
+0x4bf6 mem_dpi_check_timer
+0x4bf7 mem_mouse_dpi_decrease_gpio
+0x4bf8 mem_mouse_dpi_decrease_key_flag
 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/TW-GY05_Only2.4G/output/program.lis	(revision 606)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/TW-GY05_Only2.4G/output/program.lis	(working copy)
@@ -1,607 +1,558 @@
               include "bt_format "
               org 0x0000
 0000 c284000f bbit1 8 ,pf_patch_ext 
-0001 c0000012 beq patch00_0 ,p_soft_reset 
-0002 c045806d beq patch11_3 ,p_initialize_radio_cont 
-0003 c04f806b beq patch13_7 ,p_init_param 
-0004 c0570016 beq patch15_6 ,p_app_init 
-0005 c061802a beq patch18_3 ,p_mouse_start_work 
-0006 c0648078 beq patch19_1 ,p_mouse_setgpio_hibernate 
-0007 c0650087 beq patch19_2 ,p_mouse_lpm_before_common 
-0008 c06700ac beq patch19_6 ,p_mouse_motion 
-0009 c0678143 beq patch19_7 ,p_mouse_dpi_process 
-000a c0680115 beq patch1a_0 ,p_mouse_seting_dpi 
-000b c06880da beq patch1a_1 ,p_mouse_check_key_gpio 
-000c c06b009d beq patch1a_6 ,p_mouse_priority_bb_event 
-000d c06c8152 beq patch1b_1 ,p_mouse_bb_event_timer 
+0001 c0000013 beq patch00_0 ,p_soft_reset 
+0002 c045804c beq patch11_3 ,p_initialize_radio_cont 
+0003 c04f804a beq patch13_7 ,p_init_param 
+0004 c0570017 beq patch15_6 ,p_app_init 
+0005 c061809b beq patch18_3 ,p_mouse_start_work 
+0006 c0638057 beq patch18_7 ,p_mouse_app_enter_hibernate 
+0007 c064805b beq patch19_1 ,p_mouse_setgpio_hibernate 
+0008 c065006a beq patch19_2 ,p_mouse_lpm_before_common 
+0009 c06700aa beq patch19_6 ,p_mouse_motion 
+000a c0680113 beq patch1a_0 ,p_mouse_seting_dpi 
+000b c06880d8 beq patch1a_1 ,p_mouse_check_key_gpio 
+000c c06b0080 beq patch1a_6 ,p_mouse_priority_bb_event 
+000d c06c8130 beq patch1b_1 ,p_mouse_bb_event_timer 
 000e 2020137c branch loop 
 
 pf_patch_ext:
-000f c01081c4 beq patch24_1 ,p_spid_init 
-0010 c06e81ba beq patch3b_5 ,p_g24_dispatch 
-0011 2020137c branch loop 
+000f c01081a5 beq patch24_1 ,p_spid_init 
+0010 c043819e beq patch30_7 ,p_ui_timer_check 
+0011 c06e8197 beq patch3b_5 ,p_g24_dispatch 
+0012 2020137c branch loop 
 
 p_soft_reset:
-0012 20800000 clear_stack 
-0013 204030f3 call app_param_init 
-0014 20403bfd call mouse_xtal_init 
-0015 20200804 branch soft_reset + 3 
+0013 20800000 clear_stack 
+0014 204030f3 call app_param_init 
+0015 20403bfd call mouse_xtal_init 
+0016 20200804 branch soft_reset + 3 
 
 p_app_init:
 
 p_mouse_init:
-0016 20406df3 call enable_authrom 
-0017 2040001e call p_mouse_wheel_set_wakeup 
-0018 2040004d call p_mouse_setting_config 
-0019 20400026 call p_lpm_write_ice_disable 
-001a 204041a7 call mouse_init_sunt 
-001b 20758000 rtn wake 
-001c 2040408e call mouse_dpi_config 
-001d 20203bc5 branch mouse_init + 4 
+0017 20406df3 call enable_authrom 
+0018 2040001f call p_mouse_wheel_set_wakeup 
+0019 2040002b call p_mouse_setting_config 
+001a 20400027 call p_lpm_write_ice_disable 
+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:
-001e 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-001f 207a0000 rtn blank 
-0020 6fe0c913 fetch 1 ,mem_whee_a_data_gpio 
-0021 d8400040 arg gpcfg_pullup ,temp 
-0022 20406093 call gpio_config_function_int 
-0023 6fe0c914 fetch 1 ,mem_whee_b_data_gpio 
-0024 d8400040 arg gpcfg_pullup ,temp 
-0025 20206093 branch gpio_config_function_int 
+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 
 
 p_lpm_write_ice_disable:
-0026 6ff10120 fetch 2 ,core_ucode_flag 
-0027 793ffe0e set0 lpmreg_ice_mode_bit ,pdata 
-0028 67f2004c store 4 ,core_lpm_reg 
-0029 20205caf branch lpm_write2_ctrl_option 
-
-p_mouse_start_work:
-002a 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-002b c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
-002c 6fe0c938 fetch 1 ,mem_device_flag 
-002d c0000031 beq mode_24g_device ,p_mouse_24g_start_mode 
-002e 20403d65 call mouse_wakeup_from_power_check 
-002f 243442eb nbranch mouse_buletooth_fast_conn_init ,user 
-0030 20203d59 branch mouse_start_reconnect_device 
-
-p_mouse_24g_start_mode:
-0031 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0032 c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
-0033 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0034 c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
-0035 c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
-0036 20400048 call p_mouse_key_check_once 
-0037 1fe17e07 and pdata ,0x07 ,pdata 
-0038 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
-0039 98467c00 isub temp ,null 
-003a 2022c827 branch mouse_24g_start_pair_mode ,zero 
-003b 2020480c branch mouse_24g_reconn_general_dongle 
-
-p_mouse_24g_reconn_dongle_start:
-003c 2040003f call p_g24_factory_check 
-003d 20344812 branch mouse_24g_start_auto_pair_next ,user 
-003e 20204806 branch mouse_24g_reconn_dongle_start 
-
-p_g24_factory_check:
-003f df200002 arg 2 ,loopcnt 
-0040 d8c04993 arg mem_mouse_24g_addr ,contr 
-
-p_pdata_0xff_check:
-0041 20407e54 call enable_user 
-0042 5800ffff setarg 0xffff 
-
-p_pdata_0xff_check_loop:
-0043 e8410006 ifetcht 2 ,contr 
-0044 98467c00 isub temp ,null 
-0045 2442fe56 ncall disable_user ,zero 
-0046 c2000043 loop p_pdata_0xff_check_loop 
-0047 20600000 rtn 
-
-p_mouse_key_check_once:
-0048 20404121 call mouse_check_key_gpio_once 
-0049 20404115 call mouse_check_key_gpio 
-004a d8400000 arg 0 ,temp 
-004b 6049cb8e storet 3 ,mem_mouse_lkey_press_status 
-004c 20600000 rtn 
+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 
 
 p_mouse_setting_config:
-004d 20758000 rtn wake 
-004e 20402607 call g24_transmit_init 
-004f 204022ff call g24_chmap_param_init 
-0050 20403f1e call mouse_gpio_init 
-0051 20403d13 call mouse_param_init 
-0052 20400057 call p_mouse_sensor_set_angle 
-0053 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
-0054 20406050 call gpio_config_input 
-0055 20400067 call p_ice_gpio_set_float 
-0056 20203bf5 branch mouse_setting_config_next 
+002b 20758000 rtn wake 
+002c 20402607 call g24_transmit_init 
+002d 2040230e call g24_chamap_param_update 
+002e 204022ff call g24_chmap_param_init 
+002f 20403f1e call mouse_gpio_init 
+0030 20403d13 call mouse_param_init 
+0031 20400036 call p_mouse_sensor_set_angle 
+0032 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
+0033 20406050 call gpio_config_input 
+0034 20400046 call p_ice_gpio_set_float 
+0035 20203bf5 branch mouse_setting_config_next 
 
 p_mouse_sensor_set_angle:
-0057 6fe0c924 fetch 1 ,mem_sensor_angle_default 
-0058 67e0c928 store 1 ,mem_config_sensor_angle 
-0059 6fe0c917 fetch 1 ,mem_select_sensor_angle_gpio 
-005a c17f8000 rtneq gpio_disable 
-005b 6fe0c917 fetch 1 ,mem_select_sensor_angle_gpio 
-005c d840003e arg gpcfg_output_low ,temp 
-005d 20406093 call gpio_config_function_int 
-005e 6fe0cbf4 fetch 1 ,mem_mouse_reuse_2ice_gpio 
-005f d840003e arg gpcfg_output_low ,temp 
-0060 20406093 call gpio_config_function_int 
-0061 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
-0062 20403f56 call mouse_gpio_config_input_pu 
-0063 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
-0064 20406059 call gpio_get_bit 
-0065 2440c2aa ncall mouse_sensor_switch_angle ,true 
-0066 20203f54 branch mouse_gpio_config_input_pd 
+0036 6fe0c924 fetch 1 ,mem_sensor_angle_default 
+0037 67e0c928 store 1 ,mem_config_sensor_angle 
+0038 6fe0c917 fetch 1 ,mem_select_sensor_angle_gpio 
+0039 c17f8000 rtneq gpio_disable 
+003a 6fe0c917 fetch 1 ,mem_select_sensor_angle_gpio 
+003b d840003e arg gpcfg_output_low ,temp 
+003c 20406093 call gpio_config_function_int 
+003d 6fe0cbf5 fetch 1 ,mem_mouse_reuse_2ice_gpio 
+003e d840003e arg gpcfg_output_low ,temp 
+003f 20406093 call gpio_config_function_int 
+0040 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
+0041 20403f56 call mouse_gpio_config_input_pu 
+0042 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
+0043 20406059 call gpio_get_bit 
+0044 2440c2aa ncall mouse_sensor_switch_angle ,true 
+0045 20203f54 branch mouse_gpio_config_input_pd 
 
 p_ice_gpio_set_float:
-0067 6848c917 fetcht 1 ,mem_select_sensor_angle_gpio 
-0068 2040607f call gpio_set_high_impedance 
-0069 6848cbf4 fetcht 1 ,mem_mouse_reuse_2ice_gpio 
-006a 2020607f branch gpio_set_high_impedance 
+0046 6848c917 fetcht 1 ,mem_select_sensor_angle_gpio 
+0047 2040607f call gpio_set_high_impedance 
+0048 6848cbf5 fetcht 1 ,mem_mouse_reuse_2ice_gpio 
+0049 2020607f branch gpio_set_high_impedance 
 
 p_init_param:
-006b 70008000 jam 0 ,mem_lmo_tid2 
-006c 202013b7 branch init_param_next + 1 
+004a 70008000 jam 0 ,mem_lmo_tid2 
+004b 202013b7 branch init_param_next + 1 
 
 p_initialize_radio_cont:
-006d 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
-006e 2040126a call initialize_syn_afc_cfg1 
-006f 20401271 call initialize_rf_ldo_cfg1 
-0070 20401277 call initialize_rc_cal 
-0071 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
-0072 708a0305 jam 5 ,core_clkpll_cfg0 
-0073 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
-0074 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
-0075 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
-0076 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
-0077 2020125d branch initialize_radio_cont + 8 
+004c 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
+004d 2040126a call initialize_syn_afc_cfg1 
+004e 20401271 call initialize_rf_ldo_cfg1 
+004f 20401277 call initialize_rc_cal 
+0050 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
+0051 708a0305 jam 5 ,core_clkpll_cfg0 
+0052 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
+0053 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
+0054 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
+0055 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
+0056 2020125d branch initialize_radio_cont + 8 
+
+p_mouse_app_enter_hibernate:
+0057 58000006 setarg pan_reg_config 
+0058 20405b0d call twspi_read 
+0059 c281be23 bbit1 3 ,mouse_app_enter_hibernate + 3 
+005a 20203e21 branch mouse_app_enter_hibernate + 1 
 
 p_mouse_setgpio_hibernate:
-0078 204042e9 call mouse_set_sdio_high 
-0079 20407fdc call clear_wake 
-007a 20404015 call mouse_before_hibernate_wheel_gpio_set 
-007b 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-007c c07f8081 beq gpio_disable ,p_mouse_setgpio_hibernate_skip_public_gpio 
-007d 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-007e 20406069 call gpio_out_active 
-007f 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-0080 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:
-0081 6848cbf4 fetcht 1 ,mem_mouse_reuse_2ice_gpio 
-0082 20403f56 call mouse_gpio_config_input_pu 
-0083 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
-0084 d840003f arg gpcfg_output_high ,temp 
-0085 20406093 call gpio_config_function_int 
-0086 20203e36 branch mouse_setgpio_hibernate + 3 
+0064 6848cbf5 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 20203e36 branch mouse_setgpio_hibernate + 3 
 
 p_mouse_lpm_before_common:
-0087 20403f88 call mouse_wheel_check 
-0088 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
-0089 d840003f arg gpcfg_output_high ,temp 
-008a 20406093 call gpio_config_function_int 
-008b 6fe080a1 fetch 1 ,mem_gpio_wakeup_low + 2 
-008c 793ffe03 set0 3 ,pdata 
-008d 67e080a1 store 1 ,mem_gpio_wakeup_low + 2 
-008e 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
-008f 20406042 call gpio_clr_wake 
-0090 20405b04 call twspi_disable 
-0091 6848c918 fetcht 1 ,mem_lbutton_gpio 
-0092 20406036 call gpio_set_wake 
-0093 6848c919 fetcht 1 ,mem_rbutton_gpio 
-0094 20406036 call gpio_set_wake 
-0095 6848c91a fetcht 1 ,mem_mbutton_gpio 
-0096 20406036 call gpio_set_wake 
-0097 6848c90d fetcht 1 ,mem_bk_button_gpio 
-0098 20406036 call gpio_set_wake 
-0099 6848c90e fetcht 1 ,mem_fw_button_gpio 
-009a 20406036 call gpio_set_wake 
-009b 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-009c 20206036 branch gpio_set_wake 
+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 
 
 p_mouse_priority_bb_event:
-009d 1a627e00 copy regc ,pdata 
-009e c01e00a1 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-009f c01d00a6 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-00a0 20204336 branch mouse_priority_bb_event + 2 
+0080 1a627e00 copy regc ,pdata 
+0081 c01e0084 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+0082 c01d008a beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+0083 20204336 branch mouse_priority_bb_event + 2 
 
 p_mouse_24g_attempt_success:
-00a1 6fe2483c fetch 4 ,mem_24g_addr 
-00a2 67e24891 store 4 ,mem_24g_receiver_addr 
-00a3 67e24993 store 4 ,mem_mouse_24g_addr 
-00a4 204048c6 call mouse_device_poweron_timer_init 
-00a5 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 2040257e call g24_ch_syncword_crc8_init 
+0088 204048c6 call mouse_device_poweron_timer_init 
+0089 2020484e branch mouse_24g_attempt_success 
 
 p_mouse_24g_attempt_fail:
-00a6 6fe0c8a5 fetch 1 ,mem_24g_attempt_fail_flag 
-00a7 243a00a9 nbranch p_mouse_24g_enter_hibernate ,blank 
-00a8 20204835 branch mouse_24g_attempt_fail_next 
+008a 6fe0c8a5 fetch 1 ,mem_24g_attempt_fail_flag 
+008b 243a0098 nbranch p_mouse_24g_enter_hibernate ,blank 
+008c 6fe0c88b fetch 1 ,mem_24g_reconn_type 
+008d c001008f beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
+008e 20204837 branch mouse_24g_attempt_fail + 4 
+
+p_mouse_24g_fast_conn_attempt_fail:
+008f 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0090 c297c811 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_start_auto_pair 
+0091 c2984811 bbit1 mouse_enable_auto_24g_paring ,mouse_24g_start_auto_pair 
+0092 c31d4806 bbit0 mouse_enable_24g_auto_pair_nerver_been_paired ,mouse_24g_reconn_dongle_start 
+0093 6fe24993 fetch 4 ,mem_mouse_24g_addr 
+0094 684a4974 fetcht 4 ,mem_mouse_compare_addr_ff 
+0095 98467c00 isub temp ,null 
+0096 2022c827 branch mouse_24g_start_pair_mode ,zero 
+0097 20204806 branch mouse_24g_reconn_dongle_start 
 
 p_mouse_24g_enter_hibernate:
-00a9 793f8026 set0 mark_24g ,mark 
-00aa 704bf200 jam 0 ,mem_rgb_led_on_continue_1min_timeout_flag 
-00ab 20200176 branch p_mouse_rgb_led_off_time_init 
+0098 793f8026 set0 mark_24g ,mark 
+0099 704bf300 jam 0 ,mem_rgb_led_on_continue_1min_timeout_flag 
+009a 20200153 branch p_mouse_rgb_led_off_time_init 
+
+p_mouse_start_work:
+009b 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+009c c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
+009d 6fe0c938 fetch 1 ,mem_device_flag 
+009e c00000a0 beq mode_24g_device ,p_mouse_24g_start_mode 
+009f 20203d57 branch mouse_start_work + 5 
+
+p_mouse_24g_start_mode:
+00a0 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00a1 c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
+00a2 20403d65 call mouse_wakeup_from_power_check 
+00a3 20344806 branch mouse_24g_reconn_dongle_start ,user 
+00a4 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00a5 c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
+00a6 c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
+00a7 20404110 call mouse_key_check_once 
+00a8 1a217e07 and rega ,0x07 ,pdata 
+00a9 202047ff branch mouse_24g_start_mode + 9 
 
 p_mouse_motion:
-00ac 78547c00 disable user 
-00ad 58000000 setarg 0 
-00ae 67e348d1 store 6 ,mem_mouse_x 
-00af 20404240 call mouse_check_sensor_data 
-00b0 2040408e call mouse_dpi_config 
-00b1 20403f7e call mouse_zwheel 
-00b2 20403f83 call mouse_t_zwheel 
-00b3 204000d6 call p_mouse_key 
-00b4 6fe0c8d0 fetch 1 ,mem_mouse_key 
-00b5 1fe17e1f and_into 0x1f ,pdata 
-00b6 67e0c8d0 store 1 ,mem_mouse_key 
-00b7 243400bb nbranch p_mouse_motion_nodata ,user 
-00b8 2040471a call mouse_drawing_optima 
-00b9 204000c6 call p_mouse_rgb_led_on_check 
-00ba 20204544 branch mouse_no_data_timer_init 
+00aa 78547c00 disable user 
+00ab 58000000 setarg 0 
+00ac 67e348d1 store 6 ,mem_mouse_x 
+00ad 20404240 call mouse_check_sensor_data 
+00ae 2040408e call mouse_dpi_config 
+00af 20403f7e call mouse_zwheel 
+00b0 20403f83 call mouse_t_zwheel 
+00b1 204000d4 call p_mouse_key 
+00b2 6fe0c8d0 fetch 1 ,mem_mouse_key 
+00b3 1fe17e1f and_into 0x1f ,pdata 
+00b4 67e0c8d0 store 1 ,mem_mouse_key 
+00b5 243400b9 nbranch p_mouse_motion_nodata ,user 
+00b6 2040471a call mouse_drawing_optima 
+00b7 204000c4 call p_mouse_rgb_led_on_check 
+00b8 20204544 branch mouse_no_data_timer_init 
 
 p_mouse_motion_nodata:
-00bb 20404728 call mouse_drawing_optima_init 
-00bc 6fe14bee fetch 2 ,mem_rgb_led_off_check_count 
-00bd 1fe0fe01 increase 1 ,pdata 
-00be 67e14bee store 2 ,mem_rgb_led_off_check_count 
-00bf d8400258 arg 0x0258 ,temp 
-00c0 98467c00 isub temp ,null 
-00c1 24628000 nrtn zero 
-00c2 58000000 setarg 0 
-00c3 67e14bee store 2 ,mem_rgb_led_off_check_count 
-00c4 704be900 jam off ,mem_rgb_led_on_enable 
-00c5 20600000 rtn 
+00b9 20404728 call mouse_drawing_optima_init 
+00ba 6fe14bef fetch 2 ,mem_rgb_led_off_check_count 
+00bb 1fe0fe01 increase 1 ,pdata 
+00bc 67e14bef store 2 ,mem_rgb_led_off_check_count 
+00bd d8400258 arg 0x0258 ,temp 
+00be 98467c00 isub temp ,null 
+00bf 24628000 nrtn zero 
+00c0 58000000 setarg 0 
+00c1 67e14bef store 2 ,mem_rgb_led_off_check_count 
+00c2 704bea00 jam off ,mem_rgb_led_on_enable 
+00c3 20600000 rtn 
 
 p_mouse_rgb_led_on_check:
-00c6 6fe14bf0 fetch 2 ,mem_rgb_led_on_check_count 
-00c7 1fe0fe01 increase 1 ,pdata 
-00c8 67e14bf0 store 2 ,mem_rgb_led_on_check_count 
-00c9 d8400258 arg 0x0258 ,temp 
-00ca 98467c00 isub temp ,null 
-00cb 24628000 nrtn zero 
-00cc 58000000 setarg 0 
-00cd 67e14bf0 store 2 ,mem_rgb_led_on_check_count 
-00ce 6fe0cbe9 fetch 1 ,mem_rgb_led_on_enable 
-00cf c1008000 rtneq on 
-00d0 704be901 jam on ,mem_rgb_led_on_enable 
-00d1 704be800 jam off ,mem_rgb_led_off_enable 
-00d2 704beb0b jam 11 ,mem_rgb_led_on_enable_timer 
+00c4 6fe14bf1 fetch 2 ,mem_rgb_led_on_check_count 
+00c5 1fe0fe01 increase 1 ,pdata 
+00c6 67e14bf1 store 2 ,mem_rgb_led_on_check_count 
+00c7 d8400258 arg 0x0258 ,temp 
+00c8 98467c00 isub temp ,null 
+00c9 24628000 nrtn zero 
+00ca 58000000 setarg 0 
+00cb 67e14bf1 store 2 ,mem_rgb_led_on_check_count 
+00cc 6fe0cbea fetch 1 ,mem_rgb_led_on_enable 
+00cd c1008000 rtneq on 
+00ce 704bea01 jam on ,mem_rgb_led_on_enable 
+00cf 704be900 jam off ,mem_rgb_led_off_enable 
+00d0 704bec0b jam 11 ,mem_rgb_led_on_enable_timer 
 
 p_mouse_rgb_led_on_timer_init:
-00d3 58000000 setarg 0 
-00d4 67e14bec store 2 ,mem_rgb_led_on_timer 
-00d5 20600000 rtn 
+00d1 58000000 setarg 0 
+00d2 67e14bed store 2 ,mem_rgb_led_on_timer 
+00d3 20600000 rtn 
 
 p_mouse_key:
-00d6 20404115 call mouse_check_key_gpio 
-00d7 204000e4 call p_mouse_check_firekey_gpio 
-00d8 1a227e00 copy rega ,pdata 
-00d9 202040dd branch mouse_key + 1 
+00d4 20404115 call mouse_check_key_gpio 
+00d5 204000e2 call p_mouse_check_firekey_gpio 
+00d6 1a227e00 copy rega ,pdata 
+00d7 202040dd branch mouse_key + 1 
 
 p_mouse_check_key_gpio:
-00da 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-00db 245a4121 ncall mouse_check_key_gpio_once ,blank 
-00dc da200000 arg 0 ,rega 
-00dd 20404124 call mouse_check_lkey_gpio 
-00de 2040412a call mouse_check_rkey_gpio 
-00df 204000e1 call p_mouse_check_mkey_gpio 
-00e0 2020411c branch mouse_check_key_gpio_next 
+00d8 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+00d9 245a4121 ncall mouse_check_key_gpio_once ,blank 
+00da da200000 arg 0 ,rega 
+00db 20404124 call mouse_check_lkey_gpio 
+00dc 2040412a call mouse_check_rkey_gpio 
+00dd 204000df call p_mouse_check_mkey_gpio 
+00de 2020411c branch mouse_check_key_gpio_next 
 
 p_mouse_check_mkey_gpio:
-00e1 6fe0cbf3 fetch 1 ,mem_mbutton_function_disable 
-00e2 247a0000 nrtn blank 
-00e3 20204130 branch mouse_check_mkey_gpio 
+00df 6fe0cbf4 fetch 1 ,mem_mbutton_function_disable 
+00e0 247a0000 nrtn blank 
+00e1 20204130 branch mouse_check_mkey_gpio 
 
 p_mouse_check_firekey_gpio:
-00e4 1a227e00 copy rega ,pdata 
-00e5 c3800000 rtnbit1 0 
+00e2 1a227e00 copy rega ,pdata 
+00e3 c3800000 rtnbit1 0 
+00e4 6848cbe2 fetcht 1 ,mem_firebutton_gpio 
+00e5 20406050 call gpio_config_input 
 00e6 6848cbe2 fetcht 1 ,mem_firebutton_gpio 
-00e7 20406050 call gpio_config_input 
-00e8 6848cbe2 fetcht 1 ,mem_firebutton_gpio 
-00e9 20406059 call gpio_get_bit 
-00ea 202080f0 branch p_fire_key_press ,true 
-00eb 6fe0cbe3 fetch 1 ,mem_fire_key_status 
-00ec 243a00ee nbranch p_fire_key_process ,blank 
-00ed 20600000 rtn 
+00e7 20406059 call gpio_get_bit 
+00e8 202080ee branch p_fire_key_press ,true 
+00e9 6fe0cbe3 fetch 1 ,mem_fire_key_status 
+00ea 243a00ec nbranch p_fire_key_process ,blank 
+00eb 20600000 rtn 
 
 p_fire_key_process:
-00ee c002010a beq 4 ,p_fire_key_process_end 
-00ef 202000f0 branch p_fire_key_press 
+00ec c0020108 beq 4 ,p_fire_key_process_end 
+00ed 202000ee branch p_fire_key_press 
 
 p_fire_key_press:
-00f0 2040010d call p_firekey_clkn_bt_timer_check 
-00f1 6fe24be4 fetch 4 ,mem_fire_key_delay 
-00f2 d8400080 arg 0x80 ,temp 
-00f3 98408400 iadd temp ,temp 
-00f4 1c427e00 copy clkn_bt ,pdata 
-00f5 98467c00 isub temp ,null 
-00f6 24610000 nrtn positive 
-00f7 67e24be4 store 4 ,mem_fire_key_delay 
-00f8 6fe0cbe3 fetch 1 ,mem_fire_key_status 
-00f9 c00000fe beq 0 ,p_fire_key_process_start 
-00fa c0008101 beq 1 ,p_fire_key_process_release1 
-00fb c0010104 beq 2 ,p_fire_key_process_start2 
-00fc c0018107 beq 3 ,p_fire_key_process_release2 
-00fd 20600000 rtn 
+00ee 2040010b call p_firekey_clkn_bt_timer_check 
+00ef 6fe24be4 fetch 4 ,mem_fire_key_delay 
+00f0 d8400080 arg 0x80 ,temp 
+00f1 98408400 iadd temp ,temp 
+00f2 1c427e00 copy clkn_bt ,pdata 
+00f3 98467c00 isub temp ,null 
+00f4 24610000 nrtn positive 
+00f5 67e24be4 store 4 ,mem_fire_key_delay 
+00f6 6fe0cbe3 fetch 1 ,mem_fire_key_status 
+00f7 c00000fc beq 0 ,p_fire_key_process_start 
+00f8 c00080ff beq 1 ,p_fire_key_process_release1 
+00f9 c0010102 beq 2 ,p_fire_key_process_start2 
+00fa c0018105 beq 3 ,p_fire_key_process_release2 
+00fb 20600000 rtn 
 
 p_fire_key_process_start:
-00fe 704be301 jam 1 ,mem_fire_key_status 
-00ff 79202200 set1 0 ,rega 
-0100 20600000 rtn 
+00fc 704be301 jam 1 ,mem_fire_key_status 
+00fd 79202200 set1 0 ,rega 
+00fe 20600000 rtn 
 
 p_fire_key_process_release1:
-0101 704be302 jam 2 ,mem_fire_key_status 
-0102 793fa200 set0 0 ,rega 
-0103 20600000 rtn 
+00ff 704be302 jam 2 ,mem_fire_key_status 
+0100 793fa200 set0 0 ,rega 
+0101 20600000 rtn 
 
 p_fire_key_process_start2:
-0104 704be303 jam 3 ,mem_fire_key_status 
-0105 79202200 set1 0 ,rega 
-0106 20600000 rtn 
+0102 704be303 jam 3 ,mem_fire_key_status 
+0103 79202200 set1 0 ,rega 
+0104 20600000 rtn 
 
 p_fire_key_process_release2:
-0107 704be304 jam 4 ,mem_fire_key_status 
-0108 793fa200 set0 0 ,rega 
-0109 20600000 rtn 
+0105 704be304 jam 4 ,mem_fire_key_status 
+0106 793fa200 set0 0 ,rega 
+0107 20600000 rtn 
 
 p_fire_key_process_end:
-010a 704be300 jam 0 ,mem_fire_key_status 
-010b 793fa200 set0 0 ,rega 
-010c 20600000 rtn 
+0108 704be300 jam 0 ,mem_fire_key_status 
+0109 793fa200 set0 0 ,rega 
+010a 20600000 rtn 
 
 p_firekey_clkn_bt_timer_check:
-010d 684a4be4 fetcht 4 ,mem_fire_key_delay 
-010e 1c427e00 copy clkn_bt ,pdata 
-010f 98467c00 isub temp ,null 
-0110 24410112 ncall p_firekey_clkn_bt_timer_timeout ,positive 
-0111 20600000 rtn 
+010b 684a4be4 fetcht 4 ,mem_fire_key_delay 
+010c 1c427e00 copy clkn_bt ,pdata 
+010d 98467c00 isub temp ,null 
+010e 24410110 ncall p_firekey_clkn_bt_timer_timeout ,positive 
+010f 20600000 rtn 
 
 p_firekey_clkn_bt_timer_timeout:
-0112 58000000 setarg 0 
-0113 67e24be4 store 4 ,mem_fire_key_delay 
-0114 20600000 rtn 
+0110 58000000 setarg 0 
+0111 67e24be4 store 4 ,mem_fire_key_delay 
+0112 20600000 rtn 
 
 p_mouse_seting_dpi:
-0115 2040408f call mouse_setting_dpi_4_level 
-0116 20400124 call p_mouse_dpi_led_blink_delay 
+0113 2040408f call mouse_setting_dpi_4_level 
+0114 20400122 call p_mouse_dpi_led_blink_delay 
 
 p_mouse_seting_sensor_type:
-0117 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0118 c001811f beq p3212 ,p_mouse_seting_3212_dpi 
-0119 c005c0cf beq ka8g2 ,mouse_seting_ka8g2_dpi 
-011a 6fe0c992 fetch 1 ,mem_mouse_dpi 
-011b c00040a4 beq mouse_dpi_level1 ,mouse_set_cpi2 
-011c c000c0a2 beq mouse_dpi_level2 ,mouse_set_cpi0 
-011d c00140a0 beq mouse_dpi_level3 ,mouse_set_cpi1 
-011e 202040a2 branch mouse_set_cpi0 
+0115 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0116 c001811d beq p3212 ,p_mouse_seting_3212_dpi 
+0117 c005c0cf beq ka8g2 ,mouse_seting_ka8g2_dpi 
+0118 6fe0c992 fetch 1 ,mem_mouse_dpi 
+0119 c00040a4 beq mouse_dpi_level1 ,mouse_set_cpi2 
+011a c000c0a2 beq mouse_dpi_level2 ,mouse_set_cpi0 
+011b c00140a0 beq mouse_dpi_level3 ,mouse_set_cpi1 
+011c 202040a2 branch mouse_set_cpi0 
 
 p_mouse_seting_3212_dpi:
-011f 6fe0c992 fetch 1 ,mem_mouse_dpi 
-0120 c00040c6 beq mouse_dpi_level1 ,mouse_set_p3212_cpi3 
-0121 c000c0c0 beq mouse_dpi_level2 ,mouse_set_p3212_cpi1 
-0122 c00140c4 beq mouse_dpi_level3 ,mouse_set_p3212_cpi2 
-0123 202040c0 branch mouse_set_p3212_cpi1 
+011d 6fe0c992 fetch 1 ,mem_mouse_dpi 
+011e c00040c6 beq mouse_dpi_level1 ,mouse_set_p3212_cpi3 
+011f c000c0c0 beq mouse_dpi_level2 ,mouse_set_p3212_cpi1 
+0120 c00140c4 beq mouse_dpi_level3 ,mouse_set_p3212_cpi2 
+0121 202040c0 branch mouse_set_p3212_cpi1 
 
 p_mouse_dpi_led_blink_delay:
-0124 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-0125 c17f8000 rtneq gpio_disable 
-0126 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
+0122 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+0123 c17f8000 rtneq gpio_disable 
+0124 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
+0125 247a0000 nrtn blank 
+0126 6fe14883 fetch 2 ,mem_24g_pair_timeout 
 0127 247a0000 nrtn blank 
-0128 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+0128 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
 0129 247a0000 nrtn blank 
-012a 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+012a 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
 012b 247a0000 nrtn blank 
-012c 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
-012d 247a0000 nrtn blank 
-012e 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
-012f 203a01a5 branch p_mouse_dpi_led_blink_init ,blank 
-0130 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
-0131 20600000 rtn 
-
-p_mouse_dpi_decrease_check_timer:
-0132 da604bf5 arg mem_dpi_check_timer ,regc 
-0133 da400135 arg p_mouse_dpi_check_timeout ,regb 
-0134 2020318a branch timer_single_step 
-
-p_mouse_dpi_check_timeout:
-
-p_mouse_dpi_decrease_check:
-0135 6fe0cbf6 fetch 1 ,mem_mouse_dpi_decrease_gpio 
-0136 c17f8000 rtneq gpio_disable 
-0137 704bf502 jam 2 ,mem_dpi_check_timer 
-0138 6848cbf6 fetcht 1 ,mem_mouse_dpi_decrease_gpio 
-0139 20406050 call gpio_config_input 
-013a 6848cbf6 fetcht 1 ,mem_mouse_dpi_decrease_gpio 
-013b 20406059 call gpio_get_bit 
-013c 2420c059 nbranch mouse_dpi_up ,true 
-013d 2020013e branch p_mouse_dpi_decrease_key_down 
-
-p_mouse_dpi_decrease_key_down:
-013e 6fe0c9dd fetch 1 ,mem_mouse_dpi_button_state 
-013f c1008000 rtneq dpi_button_state_down 
-0140 7049dd01 jam dpi_button_state_down ,mem_mouse_dpi_button_state 
-0141 704bf701 jam 1 ,mem_mouse_dpi_decrease_key_flag 
-0142 20204069 branch mouse_dpi_process 
-
-p_mouse_dpi_process:
-0143 20404072 call mouse_dpi_ghost_check 
-0144 20740000 rtn user 
-0145 6fe0cbf7 fetch 1 ,mem_mouse_dpi_decrease_key_flag 
-0146 243a014d nbranch p_mouse_dpi_decrease_process ,blank 
-0147 6fe0c992 fetch 1 ,mem_mouse_dpi 
-0148 c1010000 rtneq mouse_dpi_level3 
-0149 1fe0fe01 increase 1 ,pdata 
-
-p_mouse_dpi_store:
-014a 67e0c992 store 1 ,mem_mouse_dpi 
-014b 20404095 call mouse_seting_dpi 
-014c 202045ee branch mouse_store_device_info_delay 
-
-p_mouse_dpi_decrease_process:
-014d 704bf700 jam 0 ,mem_mouse_dpi_decrease_key_flag 
-014e 6fe0c992 fetch 1 ,mem_mouse_dpi 
-014f c1000000 rtneq mouse_dpi_level1 
-0150 1fe0ffff increase -1 ,pdata 
-0151 2020014a branch p_mouse_dpi_store 
+012c 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
+012d 203a0182 branch p_mouse_dpi_led_blink_init ,blank 
+012e 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
+012f 20600000 rtn 
 
 p_mouse_bb_event_timer:
-0152 20403e9b call mouse_adc_read 
-0153 20404956 call mouse_low_voltage_led_timer 
-0154 2040232b call g24_pair_timeout_timer 
-0155 20402556 call g24_reconn_timeout_timer 
-0156 204047cd call mouse_24g_long_sleep_param_update_timer 
-0157 204048be call mouse_device_poweron_timer 
-0158 204001a2 call p_mouse_dpi_led_blink_delay_timer 
-0159 2040016c call p_mouse_rgb_led_off_enable_timer 
-015a 2040017d call p_mouse_rgb_led_on_enable_timer 
-015b 2040018c call p_mouse_rgb_led_on_timer 
-015c 2040407c call mouse_dpi_key_check_long_press 
-015d 204044cc call mouse_bt_discovery_check 
-015e 204044dc call mouse_commbination_key_process 
-015f 204044ff call mouse_check_discovery_timeout_timer 
-0160 20404504 call mouse_check_direct_timeout_timer 
-0161 20404512 call mouse_le_enable_att_list_timer 
-0162 2040451f call mouse_le_battery_updata_timer 
-0163 20404515 call mouse_le_send_smp_security_request_timer 
-0164 2040452a call mouse_check_hid_handshake_timer 
-0165 2040452d call mouse_bt_check_sniff_req_timeout_timer 
-0166 20404532 call mouse_check_reconnect_delay_long_sleep 
-0167 20404535 call mouse_current_mult_update_timer 
-0168 20404022 call mouse_wheel_trigger_timer 
-0169 20404547 call mouse_store_information_delay_timer 
-016a 2040019a call p_mouse_check_no_data_timeout_timer 
-016b 20200132 branch p_mouse_dpi_decrease_check_timer 
+0130 20403e9b call mouse_adc_read 
+0131 20404956 call mouse_low_voltage_led_timer 
+0132 2040232b call g24_pair_timeout_timer 
+0133 20402556 call g24_reconn_timeout_timer 
+0134 204047cd call mouse_24g_long_sleep_param_update_timer 
+0135 204048be call mouse_device_poweron_timer 
+0136 2040017f call p_mouse_dpi_led_blink_delay_timer 
+0137 20400149 call p_mouse_rgb_led_off_enable_timer 
+0138 2040015a call p_mouse_rgb_led_on_enable_timer 
+0139 20400169 call p_mouse_rgb_led_on_timer 
+013a 2040407c call mouse_dpi_key_check_long_press 
+013b 204044cc call mouse_bt_discovery_check 
+013c 204044dc call mouse_commbination_key_process 
+013d 204044ff call mouse_check_discovery_timeout_timer 
+013e 20404504 call mouse_check_direct_timeout_timer 
+013f 20404512 call mouse_le_enable_att_list_timer 
+0140 2040451f call mouse_le_battery_updata_timer 
+0141 20404515 call mouse_le_send_smp_security_request_timer 
+0142 2040452a call mouse_check_hid_handshake_timer 
+0143 2040452d call mouse_bt_check_sniff_req_timeout_timer 
+0144 20404532 call mouse_check_reconnect_delay_long_sleep 
+0145 20404535 call mouse_current_mult_update_timer 
+0146 20404022 call mouse_wheel_trigger_timer 
+0147 20404547 call mouse_store_information_delay_timer 
+0148 20200177 branch p_mouse_check_no_data_timeout_timer 
 
 p_mouse_rgb_led_off_enable_timer:
-016c 6fe0cbe8 fetch 1 ,mem_rgb_led_off_enable 
-016d 207a0000 rtn blank 
-016e da604bea arg mem_rgb_led_off_enable_timer ,regc 
-016f da400171 arg p_mouse_rgb_led_off_timeout ,regb 
-0170 2020318a branch timer_single_step 
+0149 6fe0cbe9 fetch 1 ,mem_rgb_led_off_enable 
+014a 207a0000 rtn blank 
+014b da604beb arg mem_rgb_led_off_enable_timer ,regc 
+014c da40014e arg p_mouse_rgb_led_off_timeout ,regb 
+014d 2020318a branch timer_single_step 
 
 p_mouse_rgb_led_off_timeout:
-0171 20400186 call p_mouse_mbutton_function_enable 
-0172 6fe0cbf2 fetch 1 ,mem_rgb_led_on_continue_1min_timeout_flag 
-0173 247a0000 nrtn blank 
-0174 704bf200 jam 0 ,mem_rgb_led_on_continue_1min_timeout_flag 
-0175 202047e1 branch mouse_24g_hibernate_set 
+014e 20400163 call p_mouse_mbutton_function_enable 
+014f 6fe0cbf3 fetch 1 ,mem_rgb_led_on_continue_1min_timeout_flag 
+0150 247a0000 nrtn blank 
+0151 704bf300 jam 0 ,mem_rgb_led_on_continue_1min_timeout_flag 
+0152 202047e1 branch mouse_24g_hibernate_set 
 
 p_mouse_rgb_led_off_time_init:
-0176 704bea1e jam 0x1e ,mem_rgb_led_off_enable_timer 
-0177 704be801 jam on ,mem_rgb_led_off_enable 
+0153 704beb1e jam 0x1e ,mem_rgb_led_off_enable_timer 
+0154 704be901 jam on ,mem_rgb_led_off_enable 
 
 p_mouse_mbutton_function_disable:
-0178 704bf301 jam on ,mem_mbutton_function_disable 
-0179 6848c91a fetcht 1 ,mem_mbutton_gpio 
-017a 20406069 call gpio_config_output 
-017b 6848c91a fetcht 1 ,mem_mbutton_gpio 
-017c 20206069 branch gpio_out_active 
+0155 704bf401 jam on ,mem_mbutton_function_disable 
+0156 6848c91a fetcht 1 ,mem_mbutton_gpio 
+0157 20406069 call gpio_config_output 
+0158 6848c91a fetcht 1 ,mem_mbutton_gpio 
+0159 20206069 branch gpio_out_active 
 
 p_mouse_rgb_led_on_enable_timer:
-017d 6fe0cbe8 fetch 1 ,mem_rgb_led_off_enable 
-017e 247a0000 nrtn blank 
-017f 6fe0cbeb fetch 1 ,mem_rgb_led_on_enable_timer 
-0180 207a0000 rtn blank 
-0181 c0008185 beq 1 ,p_mouse_rgb_led_enable_timeout 
-0182 1fe0ffff increase -1 ,pdata 
-0183 67e0cbeb store 1 ,mem_rgb_led_on_enable_timer 
-0184 20200178 branch p_mouse_mbutton_function_disable 
+015a 6fe0cbe9 fetch 1 ,mem_rgb_led_off_enable 
+015b 247a0000 nrtn blank 
+015c 6fe0cbec fetch 1 ,mem_rgb_led_on_enable_timer 
+015d 207a0000 rtn blank 
+015e c0008162 beq 1 ,p_mouse_rgb_led_enable_timeout 
+015f 1fe0ffff increase -1 ,pdata 
+0160 67e0cbec store 1 ,mem_rgb_led_on_enable_timer 
+0161 20200155 branch p_mouse_mbutton_function_disable 
 
 p_mouse_rgb_led_enable_timeout:
-0185 704beb00 jam 0 ,mem_rgb_led_on_enable_timer 
+0162 704bec00 jam 0 ,mem_rgb_led_on_enable_timer 
 
 p_mouse_mbutton_function_enable:
-0186 704bf300 jam off ,mem_mbutton_function_disable 
-0187 6848c91a fetcht 1 ,mem_mbutton_gpio 
-0188 20406065 call gpio_out_inactive 
-0189 20002ee0 nop 12000 
-018a 6848c91a fetcht 1 ,mem_mbutton_gpio 
-018b 20203f56 branch mouse_gpio_config_input_pu 
+0163 704bf400 jam off ,mem_mbutton_function_disable 
+0164 6848c91a fetcht 1 ,mem_mbutton_gpio 
+0165 20406065 call gpio_out_inactive 
+0166 20002ee0 nop 12000 
+0167 6848c91a fetcht 1 ,mem_mbutton_gpio 
+0168 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_rgb_led_on_timer:
-018c 6fe0cbe9 fetch 1 ,mem_rgb_led_on_enable 
-018d 247a0000 nrtn blank 
-018e 6fe0cbe8 fetch 1 ,mem_rgb_led_off_enable 
-018f 247a0000 nrtn blank 
+0169 6fe0cbea fetch 1 ,mem_rgb_led_on_enable 
+016a 247a0000 nrtn blank 
+016b 6fe0cbe9 fetch 1 ,mem_rgb_led_off_enable 
+016c 247a0000 nrtn blank 
 
 p_mouse_rgb_led_on:
-0190 6fe14bec fetch 2 ,mem_rgb_led_on_timer 
-0191 1fe0fe01 increase 1 ,pdata 
-0192 67e14bec store 2 ,mem_rgb_led_on_timer 
-0193 d8400258 arg 0x0258 ,temp 
-0194 98467c00 isub temp ,null 
-0195 20428197 call p_mouse_rgb_led_on_continue_1min ,zero 
-0196 20600000 rtn 
+016d 6fe14bed fetch 2 ,mem_rgb_led_on_timer 
+016e 1fe0fe01 increase 1 ,pdata 
+016f 67e14bed store 2 ,mem_rgb_led_on_timer 
+0170 d8400258 arg 0x0258 ,temp 
+0171 98467c00 isub temp ,null 
+0172 20428174 call p_mouse_rgb_led_on_continue_1min ,zero 
+0173 20600000 rtn 
 
 p_mouse_rgb_led_on_continue_1min:
-0197 704bf201 jam 1 ,mem_rgb_led_on_continue_1min_timeout_flag 
-0198 204000d3 call p_mouse_rgb_led_on_timer_init 
-0199 20200176 branch p_mouse_rgb_led_off_time_init 
+0174 704bf301 jam 1 ,mem_rgb_led_on_continue_1min_timeout_flag 
+0175 204000d1 call p_mouse_rgb_led_on_timer_init 
+0176 20200153 branch p_mouse_rgb_led_off_time_init 
 
 p_mouse_check_no_data_timeout_timer:
-019a 6fe0c92a fetch 1 ,mem_usb_addr 
-019b c3838000 rtnbit1 7 
-019c da604ab2 arg mem_mouse_no_data_timer ,regc 
-019d da40019f arg p_mouse_check_no_data_timeout ,regb 
-019e 20203191 branch timer_single_step_2b 
+0177 6fe0c92a fetch 1 ,mem_usb_addr 
+0178 c3838000 rtnbit1 7 
+0179 da604ab2 arg mem_mouse_no_data_timer ,regc 
+017a da40017c arg p_mouse_check_no_data_timeout ,regb 
+017b 20203191 branch timer_single_step_2b 
 
 p_mouse_check_no_data_timeout:
-019f 6fe0c938 fetch 1 ,mem_device_flag 
-01a0 c00000a9 beq mode_24g_device ,p_mouse_24g_enter_hibernate 
-01a1 2020431b branch mouse_disconnect 
+017c 6fe0c938 fetch 1 ,mem_device_flag 
+017d c0000098 beq mode_24g_device ,p_mouse_24g_enter_hibernate 
+017e 2020431b branch mouse_disconnect 
 
 p_mouse_dpi_led_blink_delay_timer:
-01a2 da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
-01a3 da4001a5 arg p_mouse_dpi_led_blink_init ,regb 
-01a4 2020318a branch timer_single_step 
+017f da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
+0180 da400182 arg p_mouse_dpi_led_blink_init ,regb 
+0181 2020318a branch timer_single_step 
 
 p_mouse_dpi_led_blink_init:
-01a5 6fe0c927 fetch 1 ,mem_config_sensor_type 
-01a6 c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
-01a7 c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
-01a8 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-01a9 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
-01aa 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
-01ab 67e14930 store 2 ,mem_mouse_on_time 
-01ac 67e14932 store 2 ,mem_mouse_off_time 
-01ad da200000 arg 0 ,rega 
-01ae 6848c992 fetcht 1 ,mem_mouse_dpi 
-01af 18408402 increase 2 ,temp 
-01b0 18467c03 sub temp ,3 ,null 
-01b1 204101b4 call p_mouse_dpi_led_blink_init_level_4 ,positive 
-01b2 244101b8 ncall p_mouse_dpi_led_blink_count_clean ,positive 
-01b3 202048ff branch mouse_dpi_led_blink_init_end 
+0182 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0183 c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
+0184 c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
+0185 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+0186 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
+0187 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
+0188 67e14930 store 2 ,mem_mouse_on_time 
+0189 67e14932 store 2 ,mem_mouse_off_time 
+018a da200000 arg 0 ,rega 
+018b 6848c992 fetcht 1 ,mem_mouse_dpi 
+018c 18408402 increase 2 ,temp 
+018d 18467c03 sub temp ,3 ,null 
+018e 20410191 call p_mouse_dpi_led_blink_init_level_4 ,positive 
+018f 24410195 ncall p_mouse_dpi_led_blink_count_clean ,positive 
+0190 202048ff branch mouse_dpi_led_blink_init_end 
 
 p_mouse_dpi_led_blink_init_level_4:
-01b4 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-01b5 c40e0000 rtnbit0 mouse_enable_dpi_level_4 
-01b6 18408401 increase 1 ,temp 
-01b7 20600000 rtn 
+0191 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0192 c40e0000 rtnbit0 mouse_enable_dpi_level_4 
+0193 18408401 increase 1 ,temp 
+0194 20600000 rtn 
 
 p_mouse_dpi_led_blink_count_clean:
-01b8 184085fd increase -3 ,temp 
-01b9 20600000 rtn 
+0195 184085fd increase -3 ,temp 
+0196 20600000 rtn 
 
 p_g24_dispatch:
-01ba 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-01bb 245a01bd ncall p_mouse_enable_g24_mark ,blank 
-01bc 202021d2 branch g24_dispatch + 1 
+0197 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+0198 245a019a ncall p_mouse_enable_g24_mark ,blank 
+0199 202021d2 branch g24_dispatch + 1 
 
 p_mouse_enable_g24_mark:
-01bd 704be901 jam on ,mem_rgb_led_on_enable 
-01be 204001c1 call p_mouse_rgb_led_on_enable_timer_init 
-01bf 79200026 set1 mark_24g ,mark 
-01c0 20600000 rtn 
+019a 704bea01 jam on ,mem_rgb_led_on_enable 
+019b 204001a2 call p_mouse_rgb_led_on_enable_timer_init 
+019c 79200026 set1 mark_24g ,mark 
+019d 20600000 rtn 
+
+p_ui_timer_check:
+019e 6fe0cbe8 fetch 1 ,mem_power_on_flag 
+019f 245a7861 ncall ui_timer_init ,blank 
+01a0 704be800 jam 0 ,mem_power_on_flag 
+01a1 20207851 branch ui_timer_check + 1 
 
 p_mouse_rgb_led_on_enable_timer_init:
-01c1 704be800 jam off ,mem_rgb_led_off_enable 
-01c2 704beb0b jam 11 ,mem_rgb_led_on_enable_timer 
-01c3 20600000 rtn 
+01a2 704be900 jam off ,mem_rgb_led_off_enable 
+01a3 704bec0b jam 11 ,mem_rgb_led_on_enable_timer 
+01a4 20600000 rtn 
 
 p_spid_init:
-01c4 70448477 jam 0x77 ,mem_spi_init_clk 
-01c5 20205cb6 branch spid_init_common 
+01a5 70448477 jam 0x77 ,mem_spi_init_clk 
+01a6 20205cb6 branch spid_init_common 
               org 0x800
 
 start:
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/TW-GY05_Only2.4G/program/patch.prog	(revision 606)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/TW-GY05_Only2.4G/program/patch.prog	(working copy)
@@ -5,10 +5,11 @@
 	beq patch13_7,p_init_param
 	beq patch15_6,p_app_init
 	beq patch18_3,p_mouse_start_work
+	beq patch18_7,p_mouse_app_enter_hibernate
 	beq patch19_1,p_mouse_setgpio_hibernate
 	beq patch19_2,p_mouse_lpm_before_common
 	beq patch19_6,p_mouse_motion
-	beq patch19_7,p_mouse_dpi_process
+//	beq patch19_7,p_mouse_dpi_process
 	beq patch1a_0,p_mouse_seting_dpi
 	beq patch1a_1,p_mouse_check_key_gpio
 	beq patch1a_6,p_mouse_priority_bb_event
@@ -17,6 +18,7 @@
 
 pf_patch_ext:
 	beq patch24_1,p_spid_init
+	beq patch30_7,p_ui_timer_check	
 	beq patch3b_5,p_g24_dispatch
 	branch loop
 
@@ -53,59 +55,12 @@
 	set0 lpmreg_ice_mode_bit,pdata
 	store 4,core_lpm_reg
 	branch lpm_write2_ctrl_option
-	
-p_mouse_start_work:
-	fetch MOUSE_FLAG_LEN,mem_mouse_flag
-	bbit1 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING, mouse_24g_first_start_auto_pair_mode
-	fetch 1,mem_device_flag
-	beq MODE_24G_DEVICE,p_mouse_24g_start_mode
-	call mouse_wakeup_from_power_check	// wake from hibernate :enble user
-	nbranch mouse_buletooth_fast_conn_init,user
-	branch mouse_start_reconnect_device
 
-p_mouse_24g_start_mode:
-	fetch MOUSE_FLAG_LEN,mem_mouse_flag
-	bbit0 MOUSE_ENABLE_24G,mouse_24g_mode_setup_error
-//	call mouse_wakeup_from_power_check	// wake from hibernate :enble user
-//	branch p_mouse_24g_reconn_dongle_start,user
-	fetch MOUSE_FLAG_LEN,mem_mouse_flag
-	bbit1 MOUSE_ENABLE_AUTO_24G_PARING,mouse_24g_reconn_general_dongle
-	bbit0 MOUSE_ENABLE_24G_POWER_ON_PAIRING,mouse_24g_reconn_general_dongle
-	call p_mouse_key_check_once
-	and pdata,0x07,pdata
-	fetcht 1,mem_mouse_commbination_key_24g
-	isub temp,null
-	branch mouse_24g_start_pair_mode,zero
-	branch mouse_24g_reconn_general_dongle
-
-p_mouse_24g_reconn_dongle_start:
-	call p_g24_factory_check
-	branch mouse_24g_start_auto_pair_next,user
-	branch mouse_24g_reconn_dongle_start
-
-p_g24_factory_check:
-	arg 2,loopcnt
-	arg mem_mouse_24g_addr,contr
-p_pdata_0xff_check:
-	call enable_user
-	setarg 0xffff
-p_pdata_0xff_check_loop:
-	ifetcht 2,contr
-	isub temp,null
-	ncall disable_user,zero
-	loop p_pdata_0xff_check_loop
-	rtn
-
-p_mouse_key_check_once:
-	call mouse_check_key_gpio_once
-	call mouse_check_key_gpio
-	arg 0,temp
-	storet 3,mem_mouse_lkey_press_status
-	rtn
 
 p_mouse_setting_config:
 	rtn wake
 	call g24_transmit_init
+	call g24_chamap_param_update
 	call g24_chmap_param_init
 	call mouse_gpio_init
 	call mouse_param_init
@@ -161,6 +116,13 @@
 	jam 0x90,core_syn_pfd_lkd_cfg
 	branch initialize_radio_cont+8
 
+	
+p_mouse_app_enter_hibernate:	// 1.3mA hibernate after sensroe reset
+	setarg PAN_REG_CONFIG
+	call twspi_read
+	bbit1 3,mouse_app_enter_hibernate+3
+	branch mouse_app_enter_hibernate+1
+
 p_mouse_setgpio_hibernate:
 	call mouse_set_sdio_high
 	call clear_wake
@@ -223,19 +185,53 @@
 	fetch 4,mem_24g_addr
 	store 4,mem_24g_receiver_addr
 	store 4,mem_mouse_24g_addr		// if need store 24g address to eeprom/flash,need get mem_24g_addr
+	call g24_ch_syncword_crc8_init
 	call mouse_device_poweron_timer_init
 	branch mouse_24g_attempt_success
 
 p_mouse_24g_attempt_fail:
 	fetch 1,mem_24g_attempt_fail_flag
 	nbranch p_mouse_24g_enter_hibernate,blank
-	branch mouse_24g_attempt_fail_next
+	fetch 1,mem_24g_reconn_type
+	beq FAST_CONN_AND_3_0_ADDR,p_mouse_24g_fast_conn_attempt_fail
+	branch mouse_24g_attempt_fail+4
+
+p_mouse_24g_fast_conn_attempt_fail:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag 
+	bbit1 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING,mouse_24g_start_auto_pair
+	bbit1 MOUSE_ENABLE_AUTO_24G_PARING,mouse_24g_start_auto_pair
+	bbit0 MOUSE_ENABLE_24G_AUTO_PAIR_NERVER_BEEN_PAIRED,mouse_24g_reconn_dongle_start
+	fetch 4,mem_mouse_24g_addr		// auto pair first time
+	fetcht 4,mem_mouse_compare_addr_ff
+	isub temp,null
+	branch mouse_24g_start_pair_mode,zero
+	branch mouse_24g_reconn_dongle_start
 
 p_mouse_24g_enter_hibernate:
 	set0 mark_24g,mark
 	jam 0,mem_rgb_led_on_continue_1min_timeout_flag
 	branch p_mouse_rgb_led_off_time_init
 	
+
+p_mouse_start_work:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING, mouse_24g_first_start_auto_pair_mode
+	fetch 1,mem_device_flag
+	beq MODE_24G_DEVICE,p_mouse_24g_start_mode
+	branch mouse_start_work+5
+
+p_mouse_24g_start_mode:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_24G,mouse_24g_mode_setup_error
+	call mouse_wakeup_from_power_check	// wake from hibernate :enble user
+	branch mouse_24g_reconn_dongle_start,user
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_AUTO_24G_PARING,mouse_24g_reconn_general_dongle
+	bbit0 MOUSE_ENABLE_24G_POWER_ON_PAIRING,mouse_24g_reconn_general_dongle
+	call mouse_key_check_once		// pdata output:00
+	and rega,0x07,pdata
+	branch mouse_24g_start_mode+9	
+	
 p_mouse_motion:
 	disable user
 	setarg 0
@@ -409,7 +405,7 @@
 	branch p_mouse_dpi_led_blink_init,blank
 	store 1,mem_mouse_dpi_led_delay_count  //delay 1s led blink
 	rtn
-
+/*
 p_mouse_dpi_decrease_check_timer:
 	arg mem_dpi_check_timer,regc
 	arg p_mouse_dpi_check_timeout,regb
@@ -452,7 +448,7 @@
 	rtneq MOUSE_DPI_LEVEL1
 	increase -1,pdata
 	branch p_mouse_dpi_store
-
+*/
 ///////////////////dpi adjust end////////////////////////////////////////////////////////////////////
 
 p_mouse_bb_event_timer:
@@ -485,8 +481,8 @@
 	call mouse_current_mult_update_timer
 	call mouse_wheel_trigger_timer
 	call mouse_store_information_delay_timer
-	call p_mouse_check_no_data_timeout_timer
-	branch p_mouse_dpi_decrease_check_timer
+	branch p_mouse_check_no_data_timeout_timer
+//	branch p_mouse_dpi_decrease_check_timer
 
 /**************************rgb led start************************/
 /*********************
@@ -616,6 +612,11 @@
 	set1 mark_24g,mark
 	rtn
 
+p_ui_timer_check:		// 100ms timer will return 4 or 5 times when power on
+	fetch 1,mem_power_on_flag
+	ncall ui_timer_init,blank
+	jam 0,mem_power_on_flag
+	branch ui_timer_check+1
 p_mouse_rgb_led_on_enable_timer_init:	
 	jam OFF,mem_rgb_led_off_enable	//gpio ouput active 1s enable rgb led
 	jam 11,mem_rgb_led_on_enable_timer
Index: sched/mouse.dat
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/TW-GY05_Only2.4G/sched/mouse.dat	(revision 606)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/TW-GY05_Only2.4G/sched/mouse.dat	(working copy)
@@ -83,7 +83,8 @@
 #mouse flag byte8
 #bit0 MOUSE_ENABLE_SMOOTHER
 #bit1 MOUSE_ENABLE_XY_OFFSET
-
+#bit2 MOUSE_ENABLE_24G_AUTO_PAIR_NERVER_BEEN_PAIRED
+#bit3 MOUSE_ENABLE_LE_BATTERY_SERVICE_CANCEL
 
 
 mem_mouse_flag:
@@ -102,10 +103,10 @@
 00 #poweron
 
 #mode switch+pair/discovery  2byte 
-00 03 #dip(matrix)+2.4 first
+00 02 #dip(matrix)+2.4 first
 
 #updata 1byte
-03
+07
 
 mem_mouse_discovery_timeout:b0 04	#2min
 mem_mouse_24g_pair_timeout_init:58 02  #1min	    24g reconn timer&pair timer
@@ -187,7 +188,7 @@
 mem_mouse_page_to:00 40		# 16384*0.625ms=10s
 mem_mouse_fast_direct_timeout:0a #1s
 mem_mouse_fast_page_to:60 06	# 1600*0.625ms = 1s
-mem_mouse_24g_power_on_fast_conn_timer:0a 00 #1s
+mem_mouse_24g_power_on_fast_conn_timer:05 00 #500ms
 mem_mouse_24g_search_dongle_time_init: 64 00
 mem_mouse_no_data_timeout:70 17 #10min
 
@@ -222,6 +223,7 @@
 mem_mouse_set_high_impedance_bit_set:00 00  00
 mem_sensor_reset_gpio:ff
 
+mem_power_on_flag:01
 
 mem_lpm_mult:20
 mem_lpm_mult_init:20
