Index: format/app_mouse.format
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/FliePen_Project/FlipPen_Only2.4G/format/app_mouse.format	(revision 553)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/FliePen_Project/FlipPen_Only2.4G/format/app_mouse.format	(working copy)
@@ -383,8 +383,6 @@
 
 1 mem_mouse_led_state
 1 mem_mouse_led_gpio
-1 mem_multi_led_gpio
-1 mem_power_check_state_led_gpio
 1 mem_power_charge_in_check_gpio
 1 mem_mouse_multi_led_type
 1 mem_mouse_led_blink_timer_init
@@ -394,7 +392,7 @@
 1 mem_mouse_charge_in_state
 1 mem_power_charge_in_full_check_gpio
 1 mem_24g_not_connect
-1 mem_24g_not_connect_led_count
+2 mem_24g_led_count
 )
 
 
@@ -691,3 +689,7 @@
 1 MULTI_LED_BLINK
 )
 
+(
+5 MULTI_LED_GPIO
+6 MULTI_LED_LOW_POWER_GPIO
+)
Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/FliePen_Project/FlipPen_Only2.4G/output/eeprom.dat	(revision 553)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/FliePen_Project/FlipPen_Only2.4G/output/eeprom.dat	(working copy)
@@ -3,7 +3,7 @@
 aa
 55
 02
-0c
+0d
 c2
 84
 00
@@ -19,59 +19,59 @@
 c0
 45
 00
-83
+97
 c0
 45
 80
-d8
+f1
 c0
 4f
 80
-d6
+ef
 c0
 57
 00
-89
+9d
 c0
 61
 80
-ab
+c3
 c0
 63
 80
-c6
+de
 c0
 64
 80
-e3
+fc
 c0
 65
-00
-e8
+01
+01
 c0
 67
 01
-0c
+25
 c0
 68
 82
-5e
+92
 c0
 69
-81
-cd
+82
+01
 c0
 6a
-01
-ce
+02
+02
 c0
 6b
-00
-f4
+01
+0d
 c0
 6c
 81
-13
+40
 c0
 6f
 46
@@ -83,19 +83,19 @@
 c0
 19
 80
-62
+76
 c0
 1a
 00
-68
+7c
 c0
 43
 80
-3c
+50
 c0
 75
-01
-cf
+02
+03
 20
 20
 13
@@ -167,7 +167,7 @@
 6f
 e0
 cc
-b7
+b5
 24
 5a
 00
@@ -179,15 +179,11 @@
 20
 40
 01
-0c
+25
 78
 54
 7c
 00
-20
-60
-00
-00
 6f
 e0
 cc
@@ -196,54 +192,138 @@
 3a
 00
 32
-70
-4c
-b8
+58
 00
+00
+00
+67
+e1
+4c
+b6
 20
 20
 01
-8d
+bb
 6f
-e0
-cc
-b8
+e1
+4c
+b6
 1f
 e0
 fe
 01
 67
-e0
-cc
-b8
-1f
-e6
+e1
+4c
+b6
+d8
+40
+00
+14
+98
+46
 7c
-02
-20
+00
+24
 21
 01
-84
-1f
-e6
+ad
+d8
+40
+00
+28
+98
+46
 7c
-04
-20
+00
+24
 21
 01
-8d
+bb
+d8
+40
+00
+3c
+98
+46
+7c
+00
+24
+21
+01
+ad
+d8
+40
+00
+50
+98
+46
+7c
+00
+24
+21
+01
+bb
+d8
+40
+00
+64
+98
+46
+7c
+00
+24
+21
+01
+ad
+d8
+40
+00
+78
+98
+46
+7c
+00
+24
+21
+01
+bb
+d8
+40
+00
+8c
+98
+46
+7c
+00
+24
+21
+01
+ad
+d8
+40
+00
+a0
+98
+46
+7c
+00
+24
+61
+00
+00
 1f
 e0
 ff
 ff
 67
-e0
-cc
-b8
+e1
+4c
+b6
 20
 20
 01
-84
+bb
 da
 20
 00
@@ -287,7 +367,7 @@
 24
 21
 00
-4f
+63
 1a
 20
 a2
@@ -299,7 +379,7 @@
 24
 3a
 00
-42
+56
 da
 20
 00
@@ -307,7 +387,7 @@
 20
 40
 00
-55
+69
 1c
 42
 7e
@@ -395,7 +475,7 @@
 20
 20
 00
-56
+6a
 da
 20
 09
@@ -535,7 +615,7 @@
 24
 3a
 00
-86
+9a
 20
 20
 12
@@ -559,11 +639,11 @@
 6f
 e0
 cc
-b7
+b5
 20
 3a
 00
-8d
+a1
 78
 55
 fc
@@ -571,7 +651,7 @@
 20
 40
 00
-92
+a6
 20
 75
 80
@@ -583,7 +663,7 @@
 20
 40
 00
-a8
+c0
 20
 20
 3b
@@ -603,7 +683,7 @@
 20
 40
 00
-97
+ab
 20
 20
 3b
@@ -616,10 +696,26 @@
 40
 60
 69
+d8
+40
+00
+06
+20
+40
+60
+69
+d8
+40
+00
+05
+20
+40
+60
+69
 68
 48
 cc
-b6
+b4
 20
 40
 3f
@@ -627,7 +723,7 @@
 68
 48
 cc
-af
+ad
 20
 40
 3f
@@ -678,8 +774,8 @@
 56
 58
 00
-01
-fb
+02
+2f
 67
 e1
 48
@@ -703,7 +799,7 @@
 c0
 00
 00
-b2
+ca
 20
 40
 3d
@@ -739,7 +835,7 @@
 20
 40
 00
-cb
+e3
 1f
 e1
 7e
@@ -791,7 +887,7 @@
 c2
 00
 00
-c1
+d9
 20
 60
 00
@@ -803,14 +899,14 @@
 c0
 00
 00
-c9
+e1
 20
 20
 3e
 21
 70
 4c
-b7
+b5
 01
 20
 20
@@ -819,7 +915,7 @@
 6f
 e1
 cb
-ea
+e7
 67
 e1
 c9
@@ -839,6 +935,10 @@
 20
 40
 41
+30
+20
+40
+41
 1f
 d8
 40
@@ -986,16 +1086,16 @@
 00
 c0
 1e
-00
-f9
+01
+12
 c0
 1c
 81
-00
+19
 c0
 1d
 01
-03
+1c
 20
 20
 43
@@ -1006,7 +1106,7 @@
 01
 70
 4c
-b7
+b5
 00
 6f
 e2
@@ -1034,7 +1134,7 @@
 01
 70
 4c
-b7
+b5
 00
 20
 20
@@ -1051,7 +1151,7 @@
 24
 3a
 00
-c9
+e1
 6f
 e0
 c8
@@ -1059,7 +1159,7 @@
 c0
 01
 81
-09
+22
 20
 20
 48
@@ -1067,7 +1167,7 @@
 20
 40
 00
-bd
+d5
 20
 34
 48
@@ -1084,6 +1184,10 @@
 40
 40
 dc
+20
+40
+01
+2d
 6f
 e0
 c8
@@ -1104,30 +1208,106 @@
 20
 45
 44
+6f
+e0
+c8
+83
+24
+7a
+00
+00
+6f
+e0
+cc
+b5
+24
+7a
+00
+00
+6f
+e0
+cc
+a2
+24
+3a
+01
+34
 20
+20
+00
+2f
+6f
+e1
+4c
+b6
+1f
+e0
+fe
+01
+67
+e1
+4c
+b6
+d8
 40
+00
+19
+98
+46
+7c
+00
+24
+21
 01
-23
+ad
+d8
+40
+00
+32
+98
+46
+7c
+00
+24
+61
+00
+00
+1f
+e0
+ff
+ff
+67
+e1
+4c
+b6
+20
+20
+01
+bb
 20
 40
 01
-3b
+51
+20
+40
+01
+6e
 6f
 e0
 cc
-b5
+b3
 24
 3a
 01
-13
+40
 20
 40
 01
-59
+8c
 20
 40
 01
-94
+c0
 20
 40
 23
@@ -1147,31 +1327,35 @@
 20
 40
 01
-9e
+d4
 20
 40
 01
-b1
+e7
 20
 40
 02
-ac
+ea
 20
 40
 01
-c3
+f9
 20
 40
 01
-6e
+99
+20
+40
+01
+ca
 20
 20
 44
-bd
+c0
 68
 48
 cc
-af
+ad
 20
 40
 3f
@@ -1179,7 +1363,7 @@
 68
 48
 cc
-af
+ad
 20
 40
 60
@@ -1187,27 +1371,27 @@
 24
 20
 81
-30
+5e
 6f
 e0
 cc
-b5
+b3
 20
 7a
 00
 00
 70
 4c
-b5
+b3
 00
 20
 40
 01
-68
+97
 68
 48
 cc
-b6
+b4
 20
 40
 3f
@@ -1215,7 +1399,7 @@
 68
 48
 cc
-af
+ad
 20
 20
 3f
@@ -1223,7 +1407,7 @@
 68
 48
 cc
-b6
+b4
 20
 40
 3f
@@ -1231,7 +1415,7 @@
 68
 48
 cc
-b6
+b4
 20
 40
 60
@@ -1239,31 +1423,51 @@
 24
 20
 81
-28
+6b
 20
 40
 01
-2c
+5a
+20
+40
+01
+bb
+20
+40
+01
+95
+20
+40
+01
+ad
 6f
 e0
 cc
-b5
+b3
 24
 7a
 00
 00
 70
 4c
-b5
+b3
 01
 20
+60
+00
+00
+20
 40
 01
-62
+bb
+20
+40
+01
+97
 20
 20
 01
-84
+ad
 6f
 e4
 4b
@@ -1287,11 +1491,11 @@
 20
 40
 01
-4b
+7e
 20
 40
 00
-68
+7c
 20
 40
 61
@@ -1419,55 +1623,23 @@
 c3
 02
 01
-68
-6f
-e0
-cc
-ae
-67
-e0
-cc
+97
+70
+4c
 ac
-68
-48
-cc
-ad
-20
-40
-60
-69
-68
-48
-cc
-ad
-20
+06
 20
 60
-69
-6f
-e0
-cc
-ad
-67
-e0
-cc
+00
+00
+70
+4c
 ac
-68
-48
-cc
-ae
-20
-40
-60
-69
-68
-48
-cc
-ae
-20
+05
 20
 60
-69
+00
+00
 6f
 e0
 c8
@@ -1479,39 +1651,31 @@
 6f
 e0
 cc
-b7
+b5
 24
-3a
+7a
+00
 00
-2e
 6f
 e0
 cc
-b0
+ae
 c0
 00
 81
-77
-6f
-e0
-cc
-a2
-24
-3a
-01
-84
-20
+a0
 20
-01
-8d
+60
+00
+00
 da
 60
 4c
-b2
+b0
 da
 40
 01
-7a
+a3
 20
 20
 31
@@ -1519,19 +1683,19 @@
 6f
 e0
 cc
-b1
+af
 67
 e0
 cc
-b2
+b0
 6f
 e0
 cc
-b3
+b1
 20
 3a
 01
-8b
+b9
 1f
 e0
 ff
@@ -1539,7 +1703,7 @@
 67
 e0
 cc
-b3
+b1
 6f
 e0
 cc
@@ -1547,11 +1711,11 @@
 c0
 00
 81
-8d
+bb
 c0
 00
 01
-84
+ad
 20
 60
 00
@@ -1568,10 +1732,18 @@
 00
 80
 00
-68
-48
+6f
+e0
 cc
 ac
+c0
+02
+81
+b6
+d8
+40
+00
+06
 20
 40
 60
@@ -1584,13 +1756,25 @@
 20
 60
 65
+d8
+40
+00
+05
+20
+40
+60
+69
+20
+20
+01
+b4
 70
 4c
-b0
+ae
 00
 70
 4c
-b2
+b0
 00
 6f
 e0
@@ -1609,14 +1793,6 @@
 cc
 ac
 20
-40
-60
-69
-68
-48
-cc
-ac
-20
 20
 60
 69
@@ -1643,7 +1819,7 @@
 20
 3a
 01
-8d
+bb
 1f
 e1
 7e
@@ -1651,16 +1827,56 @@
 c0
 01
 81
-84
+ad
 c0
 00
 81
-8d
+bb
 20
 60
 00
 00
 6f
+e4
+4b
+ab
+c4
+19
+00
+00
+68
+48
+cb
+cb
+60
+48
+cb
+9d
+20
+40
+00
+e3
+1f
+e1
+7e
+07
+68
+48
+cb
+9d
+98
+46
+7c
+00
+20
+22
+c4
+f1
+20
+20
+44
+eb
+6f
 e0
 cc
 a2
@@ -1671,7 +1887,7 @@
 20
 3a
 01
-ab
+e1
 c1
 02
 80
@@ -1695,7 +1911,7 @@
 da
 40
 01
-a8
+de
 20
 20
 31
@@ -1711,7 +1927,7 @@
 20
 20
 01
-af
+e5
 6f
 e0
 cc
@@ -1743,7 +1959,7 @@
 c0
 83
 01
-c0
+f6
 da
 60
 4c
@@ -1751,7 +1967,7 @@
 da
 40
 01
-b6
+ec
 20
 20
 31
@@ -1767,26 +1983,26 @@
 c0
 81
 81
-ba
+f0
 58
 00
 00
 00
 70
 4c
-b0
+ae
 01
 70
 4c
-b2
+b0
 02
 70
 4c
-b1
+af
 02
 70
 4c
-b3
+b1
 04
 67
 e0
@@ -1808,14 +2024,6 @@
 60
 00
 00
-6f
-e0
-cc
-a8
-20
-7a
-00
-00
 da
 60
 4c
@@ -1823,7 +2031,7 @@
 da
 40
 01
-c8
+fc
 20
 20
 31
@@ -1862,12 +2070,12 @@
 31
 24
 34
-01
-d3
+02
+07
 20
 40
-01
-e7
+02
+1b
 20
 20
 26
@@ -1878,8 +2086,8 @@
 a7
 20
 5a
-01
-d9
+02
+0d
 6f
 e0
 c8
@@ -1950,8 +2158,8 @@
 91
 20
 20
-01
-d1
+02
+05
 70
 48
 a6
@@ -1978,12 +2186,12 @@
 51
 24
 2c
-01
-f2
+02
+26
 24
 37
-81
-f2
+82
+26
 20
 40
 26
@@ -2030,8 +2238,8 @@
 7e
 20
 20
-01
-e8
+02
+1c
 c6
 93
 00
@@ -2051,7 +2259,7 @@
 24
 3a
 02
-01
+35
 20
 60
 00
@@ -2071,7 +2279,7 @@
 24
 3a
 02
-0e
+42
 6f
 e0
 cc
@@ -2079,7 +2287,7 @@
 24
 3a
 02
-15
+49
 68
 48
 cc
@@ -2091,7 +2299,7 @@
 20
 20
 82
-24
+58
 28
 4f
 fe
@@ -2099,7 +2307,7 @@
 20
 20
 82
-28
+5c
 da
 40
 4b
@@ -2115,23 +2323,23 @@
 c2
 80
 02
-17
+4b
 c2
 80
 82
-2d
+61
 c2
 81
 02
-4d
+81
 c2
 81
 82
-5a
+8e
 c2
 82
 02
-5c
+90
 20
 60
 00
@@ -2151,7 +2359,7 @@
 c2
 83
 82
-22
+56
 6f
 e0
 cc
@@ -2163,11 +2371,11 @@
 c0
 01
 02
-20
+54
 c0
 00
 82
-1e
+52
 20
 60
 00
@@ -2219,7 +2427,7 @@
 c0
 00
 02
-0c
+40
 79
 3f
 84
@@ -2231,7 +2439,7 @@
 20
 20
 02
-0c
+40
 6f
 e0
 cb
@@ -2239,7 +2447,7 @@
 c2
 83
 82
-38
+6c
 6f
 e0
 cc
@@ -2247,11 +2455,11 @@
 c0
 00
 82
-34
+68
 c0
 01
 02
-36
+6a
 da
 40
 4b
@@ -2283,7 +2491,7 @@
 c0
 00
 82
-3d
+71
 da
 40
 4c
@@ -2311,15 +2519,15 @@
 c0
 00
 82
-47
+7b
 c0
 01
 02
-49
+7d
 c0
 01
 82
-4b
+7f
 da
 40
 4c
@@ -2367,7 +2575,7 @@
 c2
 83
 82
-54
+88
 6f
 e0
 cc
@@ -2375,11 +2583,11 @@
 c0
 00
 82
-56
+8a
 c0
 01
 02
-58
+8c
 da
 40
 4b
@@ -2439,23 +2647,23 @@
 20
 40
 02
-9c
+d9
 20
 40
 02
-b4
+f2
 20
 40
 02
-bf
+fe
 20
 40
-02
-c8
+03
+08
 20
 40
-02
-d1
+03
+11
 1a
 22
 7e
@@ -2504,6 +2712,10 @@
 41
 7e
 3f
+1f
+e2
+24
+00
 68
 48
 cb
@@ -2513,17 +2725,29 @@
 0e
 00
 c0
-1c
-02
-83
-c0
 00
 02
-91
+ce
 c0
 1f
 82
-77
+af
+1a
+41
+7e
+07
+24
+7a
+00
+00
+1a
+41
+7e
+38
+24
+3a
+02
+bb
 20
 60
 00
@@ -2547,7 +2771,7 @@
 20
 20
 82
-7d
+b5
 20
 60
 00
@@ -2596,6 +2820,26 @@
 e0
 cc
 a8
+c0
+00
+02
+c4
+6f
+e0
+cc
+a9
+1f
+e6
+7c
+03
+24
+61
+00
+00
+6f
+e0
+cc
+a8
 1f
 e0
 fe
@@ -2605,9 +2849,9 @@
 cc
 a8
 c0
-01
-02
-8d
+80
+82
+ca
 70
 4c
 a9
@@ -2615,7 +2859,7 @@
 20
 20
 02
-91
+ce
 70
 4c
 aa
@@ -2639,7 +2883,7 @@
 c0
 00
 82
-8f
+cc
 68
 48
 cc
@@ -2691,9 +2935,13 @@
 20
 40
 02
-6c
-67
-e0
+a0
+1a
+42
+7e
+00
+67
+e0
 cc
 97
 1a
@@ -2703,15 +2951,15 @@
 c2
 80
 02
-a5
+e3
 20
 40
-02
-f0
+03
+30
 20
 20
 02
-bc
+fb
 2a
 2f
 fe
@@ -2719,11 +2967,11 @@
 20
 20
 82
-a8
+e6
 20
 20
-02
-ec
+03
+2c
 6f
 e0
 cc
@@ -2738,8 +2986,8 @@
 08
 20
 20
-02
-ec
+03
+2c
 6f
 e0
 cb
@@ -2787,7 +3035,11 @@
 20
 40
 02
-6c
+a0
+1a
+42
+7e
+00
 67
 e0
 cc
@@ -2798,12 +3050,12 @@
 00
 c2
 80
-82
-ec
+83
+2c
 20
 40
-02
-f0
+03
+30
 6f
 e0
 cb
@@ -2831,7 +3083,11 @@
 20
 40
 02
-6c
+a0
+1a
+42
+7e
+00
 67
 e0
 cc
@@ -2842,16 +3098,16 @@
 00
 c2
 81
-02
-ec
+03
+2c
 20
 40
-02
-f0
+03
+30
 20
 20
 02
-bc
+fb
 70
 4b
 96
@@ -2866,8 +3122,8 @@
 9a
 20
 40
-02
-da
+03
+1a
 67
 e0
 cc
@@ -2878,16 +3134,16 @@
 00
 c2
 81
-82
-ec
+83
+2c
 20
 40
-02
-f8
+03
+38
 20
 20
 02
-bc
+fb
 70
 4b
 96
@@ -2902,8 +3158,8 @@
 9b
 20
 40
-02
-da
+03
+1a
 67
 e0
 cc
@@ -2914,16 +3170,16 @@
 00
 c2
 82
-02
-ec
+03
+2c
 20
 40
-02
-f8
+03
+38
 20
 20
 02
-bc
+fb
 1f
 e3
 fe
@@ -2954,12 +3210,12 @@
 00
 c0
 03
-82
-e4
+83
+24
 c0
 00
-02
-e8
+03
+28
 20
 60
 00
@@ -3011,7 +3267,7 @@
 20
 20
 02
-bc
+fb
 6f
 e0
 cb
@@ -3076,8 +3332,8 @@
 20
 41
 93
-62
-e0
+6e
+8f
 aa
 55
 40
@@ -3226,7 +3482,7 @@
 00
 02
 00
-02
+06
 00
 aa
 55
@@ -3236,8 +3492,8 @@
 48
 b0
 04
-0a
-00
+70
+17
 64
 08
 aa
@@ -3270,12 +3526,11 @@
 05
 aa
 55
-02
+01
 00
-ad
+ac
 4c
 05
-06
 aa
 55
 06
@@ -3350,14 +3605,14 @@
 55
 01
 00
-af
+ad
 4c
 0c
 aa
 55
 01
 00
-b6
+b4
 4c
 03
 aa
@@ -3572,7 +3827,7 @@
 55
 01
 00
-b7
+b5
 4c
 01
 aa
@@ -3671,7 +3926,7 @@
 ca
 4b
 07
-03
+05
 aa
 55
 01
@@ -4044,515 +4299,260 @@
 00
 30
 00
-aa
-55
-02
-00
-d1
-43
-2d
-00
-aa
-55
-01
-00
-f0
-4a
-96
-aa
-55
-01
-00
-86
-44
-ff
-aa
-55
-01
-00
-90
-47
-ff
-aa
-55
-01
-00
-8f
-47
-1e
-aa
-55
-02
-00
-8d
-44
-2d
-49
-aa
-55
-01
-00
-8c
-44
-01
-aa
-55
-01
-00
-65
-48
-84
-aa
-55
-01
-00
-64
-48
-84
-aa
-55
-01
-00
-36
-48
-01
-aa
-55
-01
-00
-a8
-48
-06
-aa
-55
-02
-00
-38
-48
-c0
-12
-aa
-55
-03
-00
-54
-48
-19
-19
-1c
-aa
-55
-10
-00
-40
-48
-00
-13
-2c
-42
-06
-15
-36
-48
-0f
-1a
-3a
-4c
-11
-23
-31
-4d
-aa
-55
-01
-00
-5b
-48
-00
-aa
-55
-05
-00
-77
-48
-20
-15
-10
-05
-4e
-aa
-55
-05
-00
-8c
-48
-01
-0f
-0f
-0f
-0f
-aa
-55
-06
-00
-ad
-48
-0c
-f8
-00
-00
-77
-01
-aa
-55
-03
-00
-5c
-48
-00
-48
-60
-aa
-55
-01
-00
-7d
-48
-07
-aa
-55
-02
-00
-99
-48
-b5
-4a
-aa
-55
-01
-00
-ca
-48
-32
-aa
-55
-02
-00
-c2
-48
-14
-00
-aa
-55
-02
-00
-c0
-48
-50
-00
-aa
-55
-03
-00
-b8
-48
-00
-a6
-0e
-aa
-55
-03
-00
-b8
-49
-00
-50
-00
-aa
-55
-02
-00
-79
-44
-80
-1f
-aa
-55
-01
-00
-83
-44
-80
-aa
-55
-01
-00
-e8
-41
-01
-55
-aa
-aa
-55
-99
-35
-c5
-9c
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+aa
+55
+02
+00
+d1
+43
+2d
+00
+aa
+55
+01
+00
+f0
+4a
+96
+aa
+55
+01
+00
+86
+44
 ff
+aa
+55
+01
+00
+90
+47
 ff
+aa
+55
+01
+00
+8f
+47
+1e
+aa
+55
+02
+00
+8d
+44
+2d
+49
+aa
+55
+01
+00
+8c
+44
+01
+aa
+55
+01
+00
+65
+48
+84
+aa
+55
+01
+00
+64
+48
+84
+aa
+55
+01
+00
+36
+48
+01
+aa
+55
+01
+00
+a8
+48
+06
+aa
+55
+02
+00
+38
+48
+c0
+12
+aa
+55
+03
+00
+54
+48
+19
+19
+1c
+aa
+55
+10
+00
+40
+48
+00
+13
+2c
+42
+06
+15
+36
+48
+0f
+1a
+3a
+4c
+11
+23
+31
+4d
+aa
+55
+01
+00
+5b
+48
+00
+aa
+55
+05
+00
+77
+48
+20
+15
+10
+05
+4e
+aa
+55
+05
+00
+8c
+48
+01
+0f
+0f
+0f
+0f
+aa
+55
+06
+00
+ad
+48
+0c
+f8
+00
+00
+77
+01
+aa
+55
+03
+00
+5c
+48
+00
+48
+60
+aa
+55
+01
+00
+7d
+48
+07
+aa
+55
+02
+00
+99
+48
+b5
+4a
+aa
+55
+01
+00
+ca
+48
+32
+aa
+55
+02
+00
+c2
+48
+14
+00
+aa
+55
+02
+00
+c0
+48
+50
+00
+aa
+55
+03
+00
+b8
+48
+00
+a6
+0e
+aa
+55
+03
+00
+b8
+49
+00
+50
+00
+aa
+55
+02
+00
+79
+44
+80
+1f
+aa
+55
+01
+00
+83
+44
+80
+aa
+55
+01
+00
+e8
+41
+01
+55
+aa
+aa
+55
+0e
+36
+09
+e2
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-ad
-49
+69
+39
Index: output/memmap.format
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/FliePen_Project/FlipPen_Only2.4G/output/memmap.format	(revision 553)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/FliePen_Project/FlipPen_Only2.4G/output/memmap.format	(working copy)
@@ -2254,18 +2254,16 @@
 0x4caa mem_key0_short_press_flag
 0x4cab mem_mouse_led_state
 0x4cac mem_mouse_led_gpio
-0x4cad mem_multi_led_gpio
-0x4cae mem_power_check_state_led_gpio
-0x4caf mem_power_charge_in_check_gpio
-0x4cb0 mem_mouse_multi_led_type
-0x4cb1 mem_mouse_led_blink_timer_init
-0x4cb2 mem_mouse_led_blink_timer
-0x4cb3 mem_mouse_led_blink_count
-0x4cb4 mem_mouse_led_blink_count_limited
-0x4cb5 mem_mouse_charge_in_state
-0x4cb6 mem_power_charge_in_full_check_gpio
-0x4cb7 mem_24g_not_connect
-0x4cb8 mem_24g_not_connect_led_count
+0x4cad mem_power_charge_in_check_gpio
+0x4cae mem_mouse_multi_led_type
+0x4caf mem_mouse_led_blink_timer_init
+0x4cb0 mem_mouse_led_blink_timer
+0x4cb1 mem_mouse_led_blink_count
+0x4cb2 mem_mouse_led_blink_count_limited
+0x4cb3 mem_mouse_charge_in_state
+0x4cb4 mem_power_charge_in_full_check_gpio
+0x4cb5 mem_24g_not_connect
+0x4cb6 mem_24g_led_count
 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/FliePen_Project/FlipPen_Only2.4G/output/program.lis	(revision 553)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/FliePen_Project/FlipPen_Only2.4G/output/program.lis	(working copy)
@@ -3,28 +3,28 @@
 0000 c2840013 bbit1 8 ,pf_patch_ext 
 0001 c0000018 beq patch00_0 ,p_soft_reset 
 0002 c001801c beq patch00_3 ,p_main_loop 
-0003 c0450083 beq patch11_2 ,p_txon_next 
-0004 c04580d8 beq patch11_3 ,p_initialize_radio_cont 
-0005 c04f80d6 beq patch13_7 ,p_init_param 
-0006 c0570089 beq patch15_6 ,p_app_init 
-0007 c06180ab beq patch18_3 ,p_mouse_start_work 
-0008 c06380c6 beq patch18_7 ,p_mouse_app_enter_hibernate 
-0009 c06480e3 beq patch19_1 ,p_mouse_setgpio_hibernate 
-000a c06500e8 beq patch19_2 ,p_mouse_lpm_before_common 
-000b c067010c beq patch19_6 ,p_mouse_motion 
-000c c068825e beq patch1a_1 ,p_mouse_check_key_gpio 
-000d c06981cd beq patch1a_3 ,p_mouse_init_sunt 
-000e c06a01ce beq patch1a_4 ,p_mouse_sensor_poweron 
-000f c06b00f4 beq patch1a_6 ,p_mouse_priority_bb_event 
-0010 c06c8113 beq patch1b_1 ,p_mouse_bb_event_timer 
+0003 c0450097 beq patch11_2 ,p_txon_next 
+0004 c04580f1 beq patch11_3 ,p_initialize_radio_cont 
+0005 c04f80ef beq patch13_7 ,p_init_param 
+0006 c057009d beq patch15_6 ,p_app_init 
+0007 c06180c3 beq patch18_3 ,p_mouse_start_work 
+0008 c06380de beq patch18_7 ,p_mouse_app_enter_hibernate 
+0009 c06480fc beq patch19_1 ,p_mouse_setgpio_hibernate 
+000a c0650101 beq patch19_2 ,p_mouse_lpm_before_common 
+000b c0670125 beq patch19_6 ,p_mouse_motion 
+000c c0688292 beq patch1a_1 ,p_mouse_check_key_gpio 
+000d c0698201 beq patch1a_3 ,p_mouse_init_sunt 
+000e c06a0202 beq patch1a_4 ,p_mouse_sensor_poweron 
+000f c06b010d beq patch1a_6 ,p_mouse_priority_bb_event 
+0010 c06c8140 beq patch1b_1 ,p_mouse_bb_event_timer 
 0011 c06f464d beq patch1b_6 ,mouse_idle + 2 
 0012 2020137c branch loop 
 
 pf_patch_ext:
-0013 c0198062 beq patch26_3 ,p_adc_init_data 
-0014 c01a0068 beq patch26_4 ,p_enable_adc 
-0015 c043803c beq patch30_7 ,p_ui_timer_check 
-0016 c07501cf beq patch3d_2 ,p_g24_transmit_no_interrupt 
+0013 c0198076 beq patch26_3 ,p_adc_init_data 
+0014 c01a007c beq patch26_4 ,p_enable_adc 
+0015 c0438050 beq patch30_7 ,p_ui_timer_check 
+0016 c0750203 beq patch3d_2 ,p_g24_transmit_no_interrupt 
 0017 2020137c branch loop 
 
 p_soft_reset:
@@ -46,986 +46,1062 @@
 0025 20400823 call connection_dispatch + 1 
 0026 204021d3 call g24_dispatch + 2 
 0027 204014dd call lpm_dispatch 
-0028 6fe0ccb7 fetch 1 ,mem_24g_not_connect 
+0028 6fe0ccb5 fetch 1 ,mem_24g_not_connect 
 0029 245a002b ncall p_mouse_no_connect ,blank 
 002a 20200813 branch main_loop 
 
 p_mouse_no_connect:
-002b 2040010c call p_mouse_motion 
+002b 20400125 call p_mouse_motion 
 002c 78547c00 disable user 
-002d 20600000 rtn 
 
 p_mouse_led_no_connect_on_timer:
-002e 6fe0cca2 fetch 1 ,mem_customer_key_press_status 
-002f 243a0032 nbranch p_mouse_led_no_connect_on ,blank 
-0030 704cb800 jam 0 ,mem_24g_not_connect_led_count 
-0031 2020018d branch p_mouse_led_off 
+002d 6fe0cca2 fetch 1 ,mem_customer_key_press_status 
+002e 243a0032 nbranch p_mouse_led_no_connect_on ,blank 
+002f 58000000 setarg 0 
+0030 67e14cb6 store 2 ,mem_24g_led_count 
+0031 202001bb branch p_mouse_led_off 
 
 p_mouse_led_no_connect_on:
-0032 6fe0ccb8 fetch 1 ,mem_24g_not_connect_led_count 
+0032 6fe14cb6 fetch 2 ,mem_24g_led_count 
 0033 1fe0fe01 increase 1 ,pdata 
-0034 67e0ccb8 store 1 ,mem_24g_not_connect_led_count 
-0035 1fe67c02 sub pdata ,2 ,null 
-0036 20210184 branch p_mouse_led_on ,positive 
-0037 1fe67c04 sub pdata ,4 ,null 
-0038 2021018d branch p_mouse_led_off ,positive 
-0039 1fe0ffff increase -1 ,pdata 
-003a 67e0ccb8 store 1 ,mem_24g_not_connect_led_count 
-003b 20200184 branch p_mouse_led_on 
+0034 67e14cb6 store 2 ,mem_24g_led_count 
+0035 d8400014 arg 0x0014 ,temp 
+0036 98467c00 isub temp ,null 
+0037 242101ad nbranch p_mouse_led_on ,positive 
+0038 d8400028 arg 0x0028 ,temp 
+0039 98467c00 isub temp ,null 
+003a 242101bb nbranch p_mouse_led_off ,positive 
+003b d840003c arg 0x003c ,temp 
+003c 98467c00 isub temp ,null 
+003d 242101ad nbranch p_mouse_led_on ,positive 
+003e d8400050 arg 0x0050 ,temp 
+003f 98467c00 isub temp ,null 
+0040 242101bb nbranch p_mouse_led_off ,positive 
+0041 d8400064 arg 0x0064 ,temp 
+0042 98467c00 isub temp ,null 
+0043 242101ad nbranch p_mouse_led_on ,positive 
+0044 d8400078 arg 0x0078 ,temp 
+0045 98467c00 isub temp ,null 
+0046 242101bb nbranch p_mouse_led_off ,positive 
+0047 d840008c arg 0x008c ,temp 
+0048 98467c00 isub temp ,null 
+0049 242101ad nbranch p_mouse_led_on ,positive 
+004a d84000a0 arg 0x00a0 ,temp 
+004b 98467c00 isub temp ,null 
+004c 24610000 nrtn positive 
+004d 1fe0ffff increase -1 ,pdata 
+004e 67e14cb6 store 2 ,mem_24g_led_count 
+004f 202001bb branch p_mouse_led_off 
 
 p_ui_timer_check:
-003c da200000 arg 0 ,rega 
-003d 684a4784 fetcht 4 ,mem_ui_timer_last_btclk 
-003e 1c422400 copy clkn_bt ,regb 
-003f 1a427e00 copy regb ,pdata 
-0040 98467c00 isub temp ,null 
-0041 2441784c ncall ui_timer_timeout ,positive 
+0050 da200000 arg 0 ,rega 
+0051 684a4784 fetcht 4 ,mem_ui_timer_last_btclk 
+0052 1c422400 copy clkn_bt ,regb 
+0053 1a427e00 copy regb ,pdata 
+0054 98467c00 isub temp ,null 
+0055 2441784c ncall ui_timer_timeout ,positive 
 
 p_ui_timer_check_loop:
-0042 1a427e00 copy regb ,pdata 
-0043 184084a0 increase 160 ,temp 
-0044 184084a0 increase 160 ,temp 
-0045 98467c00 isub temp ,null 
-0046 2421004f nbranch p_ui_timer_check_end ,positive 
-0047 1a20a201 increase 1 ,rega 
-0048 1a217e0f and rega ,0x0f ,pdata 
-0049 243a0042 nbranch p_ui_timer_check_loop ,blank 
-004a da200000 arg 0 ,rega 
-004b 20400055 call p_ui_timer_check_send_evt 
+0056 1a427e00 copy regb ,pdata 
+0057 184084a0 increase 160 ,temp 
+0058 184084a0 increase 160 ,temp 
+0059 98467c00 isub temp ,null 
+005a 24210063 nbranch p_ui_timer_check_end ,positive 
+005b 1a20a201 increase 1 ,rega 
+005c 1a217e0f and rega ,0x0f ,pdata 
+005d 243a0056 nbranch p_ui_timer_check_loop ,blank 
+005e da200000 arg 0 ,rega 
+005f 20400069 call p_ui_timer_check_send_evt 
 
 p_ui_timer_init:
-004c 1c427e00 copy clkn_bt ,pdata 
-004d 67e24784 store 4 ,mem_ui_timer_last_btclk 
-004e 20600000 rtn 
+0060 1c427e00 copy clkn_bt ,pdata 
+0061 67e24784 store 4 ,mem_ui_timer_last_btclk 
+0062 20600000 rtn 
 
 p_ui_timer_check_end:
-004f 1a227e00 copy rega ,pdata 
-0050 207a0000 rtn blank 
-0051 18408560 increase -160 ,temp 
-0052 18408560 increase -160 ,temp 
-0053 793f841c set0 28 ,temp 
-0054 604a4784 storet 4 ,mem_ui_timer_last_btclk 
+0063 1a227e00 copy rega ,pdata 
+0064 207a0000 rtn blank 
+0065 18408560 increase -160 ,temp 
+0066 18408560 increase -160 ,temp 
+0067 793f841c set0 28 ,temp 
+0068 604a4784 storet 4 ,mem_ui_timer_last_btclk 
 
 p_ui_timer_check_send_evt:
 
 p_app_evt_timer:
-0055 67e0830d store 1 ,mem_app_evt_timer_count 
+0069 67e0830d store 1 ,mem_app_evt_timer_count 
 
 p_app_evt_100ms_loop:
-0056 6fe0830d fetch 1 ,mem_app_evt_timer_count 
-0057 207a0000 rtn blank 
-0058 1fe0ffff increase -1 ,pdata 
-0059 67e0830d store 1 ,mem_app_evt_timer_count 
-005a 204077c5 call ui_button_polling 
-005b 204031e3 call app_lpm_wake_auto_lock_timer 
-005c 204031a4 call app_unsniff_delay_timer 
-005d 204031aa call app_discovery_timer 
-005e 20405cdc call flash_write_spi_sm_timer 
-005f 6fe1446f fetch 2 ,mem_cb_event_timer 
-0060 20407e05 call callback_func 
-0061 20200056 branch p_app_evt_100ms_loop 
+006a 6fe0830d fetch 1 ,mem_app_evt_timer_count 
+006b 207a0000 rtn blank 
+006c 1fe0ffff increase -1 ,pdata 
+006d 67e0830d store 1 ,mem_app_evt_timer_count 
+006e 204077c5 call ui_button_polling 
+006f 204031e3 call app_lpm_wake_auto_lock_timer 
+0070 204031a4 call app_unsniff_delay_timer 
+0071 204031aa call app_discovery_timer 
+0072 20405cdc call flash_write_spi_sm_timer 
+0073 6fe1446f fetch 2 ,mem_cb_event_timer 
+0074 20407e05 call callback_func 
+0075 2020006a branch p_app_evt_100ms_loop 
 
 p_adc_init_data:
-0062 da20099e arg mem_temp_block2 ,rega 
-0063 d840000c arg 12 ,temp 
-0064 58000030 setarg efuse_offset_adc_param 
-0065 20405e63 call efuse_read_data 
-0066 204060d5 call adc_init_wait_count 
-0067 202060c0 branch adc_init_cal_data 
+0076 da20099e arg mem_temp_block2 ,rega 
+0077 d840000c arg 12 ,temp 
+0078 58000030 setarg efuse_offset_adc_param 
+0079 20405e63 call efuse_read_data 
+007a 204060d5 call adc_init_wait_count 
+007b 202060c0 branch adc_init_cal_data 
 
 p_enable_adc:
-0068 6a508a12 fetchr regb ,1 ,core_rf_ldo_cfg6 
-0069 708a123d jam 0x3d ,core_rf_ldo_cfg6 
-006a 708a11aa jam 0xaa ,core_rf_ldo_cfg5 
-006b 708a0a0c jam 0x0c ,core_rf_ldo_en0 
-006c 6ff08a09 fetch 1 ,core_clkpll_cfg6 
-006d 79207e07 set1 7 ,pdata 
-006e 67f08a09 store 1 ,core_clkpll_cfg6 
-006f 708a0b04 jam 0x04 ,core_rf_ldo_en1 
-0070 2000003c nop 60 
-0071 708a1600 jam 0 ,core_syn_en 
-0072 708a1706 jam 6 ,core_rx_en0 
-0073 2040611a call read_adc_mode 
-0074 67f08a97 store 1 ,core_gpadc_ctrl 
-0075 7080dc03 jam 0x03 ,core_sum_ctrl 
-0076 2000003c nop 60 
-0077 6ff08053 fetch 1 ,core_sum_en 
-0078 79207e07 set1 7 ,pdata 
-0079 67f08053 store 1 ,core_sum_en 
-007a 200003e8 nop 1000 
-007b 6ff10150 fetch 2 ,core_adc_sum 
-007c 67e144a2 store 2 ,mem_adc_current_value 
-007d 6ff08053 fetch 1 ,core_sum_en 
-007e 793ffe07 set0 7 ,pdata 
-007f 67f08053 store 1 ,core_sum_en 
-0080 708a9700 jam 0 ,core_gpadc_ctrl 
-0081 62508a12 storer regb ,1 ,core_rf_ldo_cfg6 
-0082 20600000 rtn 
+007c 6a508a12 fetchr regb ,1 ,core_rf_ldo_cfg6 
+007d 708a123d jam 0x3d ,core_rf_ldo_cfg6 
+007e 708a11aa jam 0xaa ,core_rf_ldo_cfg5 
+007f 708a0a0c jam 0x0c ,core_rf_ldo_en0 
+0080 6ff08a09 fetch 1 ,core_clkpll_cfg6 
+0081 79207e07 set1 7 ,pdata 
+0082 67f08a09 store 1 ,core_clkpll_cfg6 
+0083 708a0b04 jam 0x04 ,core_rf_ldo_en1 
+0084 2000003c nop 60 
+0085 708a1600 jam 0 ,core_syn_en 
+0086 708a1706 jam 6 ,core_rx_en0 
+0087 2040611a call read_adc_mode 
+0088 67f08a97 store 1 ,core_gpadc_ctrl 
+0089 7080dc03 jam 0x03 ,core_sum_ctrl 
+008a 2000003c nop 60 
+008b 6ff08053 fetch 1 ,core_sum_en 
+008c 79207e07 set1 7 ,pdata 
+008d 67f08053 store 1 ,core_sum_en 
+008e 200003e8 nop 1000 
+008f 6ff10150 fetch 2 ,core_adc_sum 
+0090 67e144a2 store 2 ,mem_adc_current_value 
+0091 6ff08053 fetch 1 ,core_sum_en 
+0092 793ffe07 set0 7 ,pdata 
+0093 67f08053 store 1 ,core_sum_en 
+0094 708a9700 jam 0 ,core_gpadc_ctrl 
+0095 62508a12 storer regb ,1 ,core_rf_ldo_cfg6 
+0096 20600000 rtn 
 
 p_txon_next:
-0083 6fe0cc9d fetch 1 ,mem_24g_attempt_success_flag 
-0084 243a0086 nbranch p_tx_power_increase ,blank 
-0085 2020121e branch txon_next 
+0097 6fe0cc9d fetch 1 ,mem_24g_attempt_success_flag 
+0098 243a009a nbranch p_tx_power_increase ,blank 
+0099 2020121e branch txon_next 
 
 p_tx_power_increase:
 
 p_set_tx_power_13db:
-0086 708a39fd jam 0xfd ,core_tx_pwr_ctrl0 
-0087 708a3a0f jam 0x0f ,core_tx_pwr_ctrl1 
-0088 2020122f branch set_rf_ldo_cfg89_2 
+009a 708a39fd jam 0xfd ,core_tx_pwr_ctrl0 
+009b 708a3a0f jam 0x0f ,core_tx_pwr_ctrl1 
+009c 2020122f branch set_rf_ldo_cfg89_2 
 
 p_app_init:
 
 p_mouse_init:
-0089 20406df3 call enable_authrom 
-008a 6fe0ccb7 fetch 1 ,mem_24g_not_connect 
-008b 203a008d branch p_mouse_init_next ,blank 
-008c 7855fc00 disable wake 
+009d 20406df3 call enable_authrom 
+009e 6fe0ccb5 fetch 1 ,mem_24g_not_connect 
+009f 203a00a1 branch p_mouse_init_next ,blank 
+00a0 7855fc00 disable wake 
 
 p_mouse_init_next:
-008d 20400092 call p_mouse_setting_config 
-008e 20758000 rtn wake 
-008f 20403d8a call mouse_usb_check_enable 
-0090 204000a8 call p_mouse_cb_fuction 
-0091 20203bc9 branch mouse_init + 8 
+00a1 204000a6 call p_mouse_setting_config 
+00a2 20758000 rtn wake 
+00a3 20403d8a call mouse_usb_check_enable 
+00a4 204000c0 call p_mouse_cb_fuction 
+00a5 20203bc9 branch mouse_init + 8 
 
 p_mouse_setting_config:
-0092 20758000 rtn wake 
-0093 20402607 call g24_transmit_init 
-0094 204022ff call g24_chmap_param_init 
-0095 20400097 call p_mouse_gpio_init 
-0096 20203bf4 branch mouse_setting_config + 4 
+00a6 20758000 rtn wake 
+00a7 20402607 call g24_transmit_init 
+00a8 204022ff call g24_chmap_param_init 
+00a9 204000ab call p_mouse_gpio_init 
+00aa 20203bf4 branch mouse_setting_config + 4 
 
 p_mouse_gpio_init:
-0097 6848c4c1 fetcht 1 ,mem_eeprom_wp_gpio 
-0098 20406069 call gpio_config_output 
-0099 6848ccb6 fetcht 1 ,mem_power_charge_in_full_check_gpio 
-009a 20403f56 call mouse_gpio_config_input_pu 
-009b 6848ccaf fetcht 1 ,mem_power_charge_in_check_gpio 
-009c 20403f56 call mouse_gpio_config_input_pu 
-009d 204079b4 call usb_offline_check_init 
-009e 6848cbe7 fetcht 1 ,mem_flippen_key0_gpio 
-009f 20403f56 call mouse_gpio_config_input_pu 
-00a0 6848cbe8 fetcht 1 ,mem_flippen_key1_gpio 
-00a1 20403f56 call mouse_gpio_config_input_pu 
-00a2 6848cbe9 fetcht 1 ,mem_flippen_key2_gpio 
-00a3 20403f56 call mouse_gpio_config_input_pu 
-00a4 6848cbea fetcht 1 ,mem_flippen_key3_gpio 
-00a5 20403f56 call mouse_gpio_config_input_pu 
-00a6 6848cbeb fetcht 1 ,mem_flippen_key4_gpio 
-00a7 20203f56 branch mouse_gpio_config_input_pu 
+00ab 6848c4c1 fetcht 1 ,mem_eeprom_wp_gpio 
+00ac 20406069 call gpio_config_output 
+00ad d8400006 arg multi_led_low_power_gpio ,temp 
+00ae 20406069 call gpio_config_output 
+00af d8400005 arg multi_led_gpio ,temp 
+00b0 20406069 call gpio_config_output 
+00b1 6848ccb4 fetcht 1 ,mem_power_charge_in_full_check_gpio 
+00b2 20403f56 call mouse_gpio_config_input_pu 
+00b3 6848ccad fetcht 1 ,mem_power_charge_in_check_gpio 
+00b4 20403f56 call mouse_gpio_config_input_pu 
+00b5 204079b4 call usb_offline_check_init 
+00b6 6848cbe7 fetcht 1 ,mem_flippen_key0_gpio 
+00b7 20403f56 call mouse_gpio_config_input_pu 
+00b8 6848cbe8 fetcht 1 ,mem_flippen_key1_gpio 
+00b9 20403f56 call mouse_gpio_config_input_pu 
+00ba 6848cbe9 fetcht 1 ,mem_flippen_key2_gpio 
+00bb 20403f56 call mouse_gpio_config_input_pu 
+00bc 6848cbea fetcht 1 ,mem_flippen_key3_gpio 
+00bd 20403f56 call mouse_gpio_config_input_pu 
+00be 6848cbeb fetcht 1 ,mem_flippen_key4_gpio 
+00bf 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_cb_fuction:
-00a8 580001fb setarg p_mouse_24g_package_data 
-00a9 67e1489b store 2 ,mem_cb_24g_transmit_data 
-00aa 20203bd1 branch mouse_cb_fuction + 2 
+00c0 5800022f setarg p_mouse_24g_package_data 
+00c1 67e1489b store 2 ,mem_cb_24g_transmit_data 
+00c2 20203bd1 branch mouse_cb_fuction + 2 
 
 p_mouse_start_work:
-00ab 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00ac c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
-00ad 6fe0c938 fetch 1 ,mem_device_flag 
-00ae c00000b2 beq mode_24g_device ,p_mouse_24g_start_mode 
-00af 20403d65 call mouse_wakeup_from_power_check 
-00b0 243442eb nbranch mouse_buletooth_fast_conn_init ,user 
-00b1 20203d59 branch mouse_start_reconnect_device 
+00c3 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00c4 c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
+00c5 6fe0c938 fetch 1 ,mem_device_flag 
+00c6 c00000ca beq mode_24g_device ,p_mouse_24g_start_mode 
+00c7 20403d65 call mouse_wakeup_from_power_check 
+00c8 243442eb nbranch mouse_buletooth_fast_conn_init ,user 
+00c9 20203d59 branch mouse_start_reconnect_device 
 
 p_mouse_24g_start_mode:
-00b2 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00b3 c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
-00b4 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00b5 c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
-00b6 c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
-00b7 204000cb call p_mouse_key_check_once 
-00b8 1fe17e07 and pdata ,0x07 ,pdata 
-00b9 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
-00ba 98467c00 isub temp ,null 
-00bb 2022c827 branch mouse_24g_start_pair_mode ,zero 
-00bc 2020480c branch mouse_24g_reconn_general_dongle 
+00ca 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00cb c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
+00cc 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00cd c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
+00ce c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
+00cf 204000e3 call p_mouse_key_check_once 
+00d0 1fe17e07 and pdata ,0x07 ,pdata 
+00d1 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
+00d2 98467c00 isub temp ,null 
+00d3 2022c827 branch mouse_24g_start_pair_mode ,zero 
+00d4 2020480c branch mouse_24g_reconn_general_dongle 
 
 p_g24_factory_check:
-00bd df200002 arg 2 ,loopcnt 
-00be d8c04993 arg mem_mouse_24g_addr ,contr 
+00d5 df200002 arg 2 ,loopcnt 
+00d6 d8c04993 arg mem_mouse_24g_addr ,contr 
 
 p_pdata_0xff_check:
-00bf 20407e54 call enable_user 
-00c0 5800ffff setarg 0xffff 
+00d7 20407e54 call enable_user 
+00d8 5800ffff setarg 0xffff 
 
 p_pdata_0xff_check_loop:
-00c1 e8410006 ifetcht 2 ,contr 
-00c2 98467c00 isub temp ,null 
-00c3 2442fe56 ncall disable_user ,zero 
-00c4 c20000c1 loop p_pdata_0xff_check_loop 
-00c5 20600000 rtn 
+00d9 e8410006 ifetcht 2 ,contr 
+00da 98467c00 isub temp ,null 
+00db 2442fe56 ncall disable_user ,zero 
+00dc c20000d9 loop p_pdata_0xff_check_loop 
+00dd 20600000 rtn 
 
 p_mouse_app_enter_hibernate:
-00c6 6fe0c938 fetch 1 ,mem_device_flag 
-00c7 c00000c9 beq mode_24g_device ,p_mouse_24g_hibernate_set 
-00c8 20203e21 branch mouse_app_enter_hibernate + 1 
+00de 6fe0c938 fetch 1 ,mem_device_flag 
+00df c00000e1 beq mode_24g_device ,p_mouse_24g_hibernate_set 
+00e0 20203e21 branch mouse_app_enter_hibernate + 1 
 
 p_mouse_24g_hibernate_set:
-00c9 704cb701 jam 1 ,mem_24g_not_connect 
-00ca 20204544 branch mouse_no_data_timer_init 
+00e1 704cb501 jam 1 ,mem_24g_not_connect 
+00e2 20204544 branch mouse_no_data_timer_init 
 
 p_mouse_key_check_once:
-00cb 6fe1cbea fetch 3 ,mem_flippen_key3_gpio 
-00cc 67e1c918 store 3 ,mem_lbutton_gpio 
-00cd 20404121 call mouse_check_key_gpio_once 
-00ce 20404124 call mouse_check_lkey_gpio 
-00cf 2040412a call mouse_check_rkey_gpio 
-00d0 2040411f call mouse_check_key_gpio_output 
-00d1 d8400000 arg 0 ,temp 
-00d2 6049cb8e storet 3 ,mem_mouse_lkey_press_status 
-00d3 d85fffff arg 0xffffff ,temp 
-00d4 6049c918 storet 3 ,mem_lbutton_gpio 
-00d5 20600000 rtn 
+00e3 6fe1cbe7 fetch 3 ,mem_flippen_key0_gpio 
+00e4 67e1c918 store 3 ,mem_lbutton_gpio 
+00e5 20404121 call mouse_check_key_gpio_once 
+00e6 20404124 call mouse_check_lkey_gpio 
+00e7 2040412a call mouse_check_rkey_gpio 
+00e8 20404130 call mouse_check_mkey_gpio 
+00e9 2040411f call mouse_check_key_gpio_output 
+00ea d8400000 arg 0 ,temp 
+00eb 6049cb8e storet 3 ,mem_mouse_lkey_press_status 
+00ec d85fffff arg 0xffffff ,temp 
+00ed 6049c918 storet 3 ,mem_lbutton_gpio 
+00ee 20600000 rtn 
 
 p_init_param:
-00d6 70008000 jam 0 ,mem_lmo_tid2 
-00d7 202013b7 branch init_param_next + 1 
+00ef 70008000 jam 0 ,mem_lmo_tid2 
+00f0 202013b7 branch init_param_next + 1 
 
 p_initialize_radio_cont:
-00d8 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
-00d9 2040126a call initialize_syn_afc_cfg1 
-00da 20401271 call initialize_rf_ldo_cfg1 
-00db 20401277 call initialize_rc_cal 
-00dc 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
-00dd 708a0305 jam 5 ,core_clkpll_cfg0 
-00de 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
-00df 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
-00e0 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
-00e1 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
-00e2 2020125d branch initialize_radio_cont + 8 
+00f1 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
+00f2 2040126a call initialize_syn_afc_cfg1 
+00f3 20401271 call initialize_rf_ldo_cfg1 
+00f4 20401277 call initialize_rc_cal 
+00f5 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
+00f6 708a0305 jam 5 ,core_clkpll_cfg0 
+00f7 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
+00f8 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
+00f9 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
+00fa 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
+00fb 2020125d branch initialize_radio_cont + 8 
 
 p_mouse_setgpio_hibernate:
-00e3 204042e9 call mouse_set_sdio_high 
-00e4 20407fdc call clear_wake 
-00e5 6848cbe2 fetcht 1 ,mem_mouse_reuse_2ice_gpio 
-00e6 20403f56 call mouse_gpio_config_input_pu 
-00e7 20203e36 branch mouse_setgpio_hibernate + 3 
+00fc 204042e9 call mouse_set_sdio_high 
+00fd 20407fdc call clear_wake 
+00fe 6848cbe2 fetcht 1 ,mem_mouse_reuse_2ice_gpio 
+00ff 20403f56 call mouse_gpio_config_input_pu 
+0100 20203e36 branch mouse_setgpio_hibernate + 3 
 
 p_mouse_lpm_before_common:
-00e8 6848cbe7 fetcht 1 ,mem_flippen_key0_gpio 
-00e9 20406036 call gpio_set_wake 
-00ea 6848cbe8 fetcht 1 ,mem_flippen_key1_gpio 
-00eb 20406036 call gpio_set_wake 
-00ec 6848cbe9 fetcht 1 ,mem_flippen_key2_gpio 
-00ed 20406036 call gpio_set_wake 
-00ee 6848cbea fetcht 1 ,mem_flippen_key3_gpio 
-00ef 20406036 call gpio_set_wake 
-00f0 6848cbeb fetcht 1 ,mem_flippen_key4_gpio 
-00f1 20406036 call gpio_set_wake 
-00f2 d8400004 arg 0x04 ,temp 
-00f3 20203f54 branch mouse_gpio_config_input_pd 
+0101 6848cbe7 fetcht 1 ,mem_flippen_key0_gpio 
+0102 20406036 call gpio_set_wake 
+0103 6848cbe8 fetcht 1 ,mem_flippen_key1_gpio 
+0104 20406036 call gpio_set_wake 
+0105 6848cbe9 fetcht 1 ,mem_flippen_key2_gpio 
+0106 20406036 call gpio_set_wake 
+0107 6848cbea fetcht 1 ,mem_flippen_key3_gpio 
+0108 20406036 call gpio_set_wake 
+0109 6848cbeb fetcht 1 ,mem_flippen_key4_gpio 
+010a 20406036 call gpio_set_wake 
+010b d8400004 arg 0x04 ,temp 
+010c 20203f54 branch mouse_gpio_config_input_pd 
 
 p_mouse_priority_bb_event:
-00f4 1a627e00 copy regc ,pdata 
-00f5 c01e00f9 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-00f6 c01c8100 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
-00f7 c01d0103 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-00f8 20204336 branch mouse_priority_bb_event + 2 
+010d 1a627e00 copy regc ,pdata 
+010e c01e0112 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+010f c01c8119 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
+0110 c01d011c beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+0111 20204336 branch mouse_priority_bb_event + 2 
 
 p_mouse_24g_attempt_success:
-00f9 704c9d01 jam 1 ,mem_24g_attempt_success_flag 
-00fa 704cb700 jam 0 ,mem_24g_not_connect 
-00fb 6fe2483c fetch 4 ,mem_24g_addr 
-00fc 67e24891 store 4 ,mem_24g_receiver_addr 
-00fd 67e24993 store 4 ,mem_mouse_24g_addr 
-00fe 204048c6 call mouse_device_poweron_timer_init 
-00ff 2020484e branch mouse_24g_attempt_success 
+0112 704c9d01 jam 1 ,mem_24g_attempt_success_flag 
+0113 704cb500 jam 0 ,mem_24g_not_connect 
+0114 6fe2483c fetch 4 ,mem_24g_addr 
+0115 67e24891 store 4 ,mem_24g_receiver_addr 
+0116 67e24993 store 4 ,mem_mouse_24g_addr 
+0117 204048c6 call mouse_device_poweron_timer_init 
+0118 2020484e branch mouse_24g_attempt_success 
 
 p_mouse_24g_pairing_complete:
-0100 704c9d01 jam 1 ,mem_24g_attempt_success_flag 
-0101 704cb700 jam 0 ,mem_24g_not_connect 
-0102 20204857 branch mouse_24g_pairing_complete 
+0119 704c9d01 jam 1 ,mem_24g_attempt_success_flag 
+011a 704cb500 jam 0 ,mem_24g_not_connect 
+011b 20204857 branch mouse_24g_pairing_complete 
 
 p_mouse_24g_attempt_fail:
-0103 704c9d00 jam 0 ,mem_24g_attempt_success_flag 
-0104 6fe0c8a5 fetch 1 ,mem_24g_attempt_fail_flag 
-0105 243a00c9 nbranch p_mouse_24g_hibernate_set ,blank 
-0106 6fe0c88b fetch 1 ,mem_24g_reconn_type 
-0107 c0018109 beq receiver_and_3_0_addr ,p_mouse_reconn_dongle_attempt_fail 
-0108 20204836 branch mouse_24g_attempt_fail_next + 1 
+011c 704c9d00 jam 0 ,mem_24g_attempt_success_flag 
+011d 6fe0c8a5 fetch 1 ,mem_24g_attempt_fail_flag 
+011e 243a00e1 nbranch p_mouse_24g_hibernate_set ,blank 
+011f 6fe0c88b fetch 1 ,mem_24g_reconn_type 
+0120 c0018122 beq receiver_and_3_0_addr ,p_mouse_reconn_dongle_attempt_fail 
+0121 20204836 branch mouse_24g_attempt_fail_next + 1 
 
 p_mouse_reconn_dongle_attempt_fail:
-0109 204000bd call p_g24_factory_check 
-010a 20344812 branch mouse_24g_start_auto_pair + 1 ,user 
-010b 20204849 branch mouse_reconn_dongle_attempt_fail 
+0122 204000d5 call p_g24_factory_check 
+0123 20344812 branch mouse_24g_start_auto_pair + 1 ,user 
+0124 20204849 branch mouse_reconn_dongle_attempt_fail 
 
 p_mouse_motion:
-010c 78547c00 disable user 
-010d 204040dc call mouse_key 
-010e 6fe0c8d0 fetch 1 ,mem_mouse_key 
-010f 1fe17e1f and_into 0x1f ,pdata 
-0110 67e0c8d0 store 1 ,mem_mouse_key 
-0111 24740000 nrtn user 
-0112 20204544 branch mouse_no_data_timer_init 
+0125 78547c00 disable user 
+0126 204040dc call mouse_key 
+0127 2040012d call p_mouse_led_key_press_on_check 
+0128 6fe0c8d0 fetch 1 ,mem_mouse_key 
+0129 1fe17e1f and_into 0x1f ,pdata 
+012a 67e0c8d0 store 1 ,mem_mouse_key 
+012b 24740000 nrtn user 
+012c 20204544 branch mouse_no_data_timer_init 
+
+p_mouse_led_key_press_on_check:
+012d 6fe0c883 fetch 1 ,mem_24g_pair_timeout 
+012e 247a0000 nrtn blank 
+012f 6fe0ccb5 fetch 1 ,mem_24g_not_connect 
+0130 247a0000 nrtn blank 
+0131 6fe0cca2 fetch 1 ,mem_customer_key_press_status 
+0132 243a0134 nbranch p_mouse_led_key_press_on ,blank 
+0133 2020002f branch p_mouse_led_no_connect_on_timer + 2 
+
+p_mouse_led_key_press_on:
+0134 6fe14cb6 fetch 2 ,mem_24g_led_count 
+0135 1fe0fe01 increase 1 ,pdata 
+0136 67e14cb6 store 2 ,mem_24g_led_count 
+0137 d8400019 arg 0x0019 ,temp 
+0138 98467c00 isub temp ,null 
+0139 242101ad nbranch p_mouse_led_on ,positive 
+013a d8400032 arg 0x0032 ,temp 
+013b 98467c00 isub temp ,null 
+013c 24610000 nrtn positive 
+013d 1fe0ffff increase -1 ,pdata 
+013e 67e14cb6 store 2 ,mem_24g_led_count 
+013f 202001bb branch p_mouse_led_off 
 
 p_mouse_bb_event_timer:
-0113 20400123 call p_mouse_power_charge_in_check 
-0114 2040013b call p_mouse_adc_read 
-0115 6fe0ccb5 fetch 1 ,mem_mouse_charge_in_state 
-0116 243a0113 nbranch p_mouse_bb_event_timer ,blank 
-0117 20400159 call p_mouse_low_voltage_led_timer 
-0118 20400194 call p_mouse_24g_led_blink 
-0119 2040232b call g24_pair_timeout_timer 
-011a 20402556 call g24_reconn_timeout_timer 
-011b 204047cd call mouse_24g_long_sleep_param_update_timer 
-011c 204048be call mouse_device_poweron_timer 
-011d 2040019e call p_mouse_long_key_press_timer 
-011e 204001b1 call p_mouse_key_mode_check_timer 
-011f 204002ac call p_mouse_customer_key0_long_press_timer 
-0120 204001c3 call p_mouse_two_clink_check_timer 
-0121 2040016e call p_mouse_led_type_timer 
-0122 202044bd branch mouse_bb_event_timer + 8 
+0140 20400151 call p_mouse_power_charge_in_check 
+0141 2040016e call p_mouse_adc_read 
+0142 6fe0ccb3 fetch 1 ,mem_mouse_charge_in_state 
+0143 243a0140 nbranch p_mouse_bb_event_timer ,blank 
+0144 2040018c call p_mouse_low_voltage_led_timer 
+0145 204001c0 call p_mouse_24g_led_blink 
+0146 2040232b call g24_pair_timeout_timer 
+0147 20402556 call g24_reconn_timeout_timer 
+0148 204047cd call mouse_24g_long_sleep_param_update_timer 
+0149 204048be call mouse_device_poweron_timer 
+014a 204001d4 call p_mouse_long_key_press_timer 
+014b 204001e7 call p_mouse_key_mode_check_timer 
+014c 204002ea call p_mouse_customer_key0_long_press_timer 
+014d 204001f9 call p_mouse_two_clink_check_timer 
+014e 20400199 call p_mouse_led_type_timer 
+014f 204001ca call p_mouse_24g_commbination_key_process 
+0150 202044c0 branch mouse_bb_event_timer + 11 
 
 p_mouse_power_charge_in_check:
-0123 6848ccaf fetcht 1 ,mem_power_charge_in_check_gpio 
-0124 20403f54 call mouse_gpio_config_input_pd 
-0125 6848ccaf fetcht 1 ,mem_power_charge_in_check_gpio 
-0126 20406059 call gpio_get_bit 
-0127 24208130 nbranch p_mouse_power_charge_in ,true 
-
-p_mouse_power_charge_in_full:
+0151 6848ccad fetcht 1 ,mem_power_charge_in_check_gpio 
+0152 20403f54 call mouse_gpio_config_input_pd 
+0153 6848ccad fetcht 1 ,mem_power_charge_in_check_gpio 
+0154 20406059 call gpio_get_bit 
+0155 2420815e nbranch p_mouse_power_charge_in ,true 
 
 p_mouse_power_no_charge_in:
-0128 6fe0ccb5 fetch 1 ,mem_mouse_charge_in_state 
-0129 207a0000 rtn blank 
-012a 704cb500 jam 0 ,mem_mouse_charge_in_state 
-012b 20400168 call p_mouse_voltage_led_state_off 
+0156 6fe0ccb3 fetch 1 ,mem_mouse_charge_in_state 
+0157 207a0000 rtn blank 
+0158 704cb300 jam 0 ,mem_mouse_charge_in_state 
+0159 20400197 call p_mouse_voltage_led_state_off 
 
 p_mouse_power_charge_in_gpio_config_input_pu:
-012c 6848ccb6 fetcht 1 ,mem_power_charge_in_full_check_gpio 
-012d 20403f56 call mouse_gpio_config_input_pu 
-012e 6848ccaf fetcht 1 ,mem_power_charge_in_check_gpio 
-012f 20203f56 branch mouse_gpio_config_input_pu 
+015a 6848ccb4 fetcht 1 ,mem_power_charge_in_full_check_gpio 
+015b 20403f56 call mouse_gpio_config_input_pu 
+015c 6848ccad fetcht 1 ,mem_power_charge_in_check_gpio 
+015d 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_power_charge_in:
-0130 6848ccb6 fetcht 1 ,mem_power_charge_in_full_check_gpio 
-0131 20403f54 call mouse_gpio_config_input_pd 
-0132 6848ccb6 fetcht 1 ,mem_power_charge_in_full_check_gpio 
-0133 20406059 call gpio_get_bit 
-0134 24208128 nbranch p_mouse_power_charge_in_full ,true 
-0135 2040012c call p_mouse_power_charge_in_gpio_config_input_pu 
-0136 6fe0ccb5 fetch 1 ,mem_mouse_charge_in_state 
-0137 247a0000 nrtn blank 
-0138 704cb501 jam 1 ,mem_mouse_charge_in_state 
-0139 20400162 call p_mouse_voltage_led_state_on 
-013a 20200184 branch p_mouse_led_on 
+015e 6848ccb4 fetcht 1 ,mem_power_charge_in_full_check_gpio 
+015f 20403f54 call mouse_gpio_config_input_pd 
+0160 6848ccb4 fetcht 1 ,mem_power_charge_in_full_check_gpio 
+0161 20406059 call gpio_get_bit 
+0162 2420816b nbranch p_mouse_power_charge_in_full ,true 
+0163 2040015a call p_mouse_power_charge_in_gpio_config_input_pu 
+0164 204001bb call p_mouse_led_off 
+0165 20400195 call p_mouse_voltage_led_state_on 
+0166 204001ad call p_mouse_led_on 
+0167 6fe0ccb3 fetch 1 ,mem_mouse_charge_in_state 
+0168 247a0000 nrtn blank 
+0169 704cb301 jam 1 ,mem_mouse_charge_in_state 
+016a 20600000 rtn 
+
+p_mouse_power_charge_in_full:
+016b 204001bb call p_mouse_led_off 
+016c 20400197 call p_mouse_voltage_led_state_off 
+016d 202001ad branch p_mouse_led_on 
 
 p_mouse_adc_read:
-013b 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-013c c40a0000 rtnbit0 mouse_enable_adc 
-013d 20403e95 call mouse_adc_read_interval 
-013e 24610000 nrtn positive 
-013f 7048f600 jam 0 ,mem_adc_read_timer 
-0140 2040014b call p_adc_gpio_set_impedance 
-0141 20400068 call p_enable_adc 
-0142 20406125 call vdd_calculate_by_mode 
-0143 67e148e9 store 2 ,mem_mouse_vdd_now_vol 
-0144 da2048e3 arg mem_mouse_vdd_calculate_set ,rega 
-0145 20403ed8 call mouse_adc_bat_percent_lowpower_out 
-0146 6fe0c4a4 fetch 1 ,mem_adc_power_flag 
-0147 c280bf1c bbit1 1 ,mouse_power_down 
-0148 c3003ed0 bbit0 0 ,mouse_adc_no_low_voltage 
-0149 7048fa01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
-014a 20203ece branch mouse_adc_low_voltage 
+016e 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+016f c40a0000 rtnbit0 mouse_enable_adc 
+0170 20403e95 call mouse_adc_read_interval 
+0171 24610000 nrtn positive 
+0172 7048f600 jam 0 ,mem_adc_read_timer 
+0173 2040017e call p_adc_gpio_set_impedance 
+0174 2040007c call p_enable_adc 
+0175 20406125 call vdd_calculate_by_mode 
+0176 67e148e9 store 2 ,mem_mouse_vdd_now_vol 
+0177 da2048e3 arg mem_mouse_vdd_calculate_set ,rega 
+0178 20403ed8 call mouse_adc_bat_percent_lowpower_out 
+0179 6fe0c4a4 fetch 1 ,mem_adc_power_flag 
+017a c280bf1c bbit1 1 ,mouse_power_down 
+017b c3003ed0 bbit0 0 ,mouse_adc_no_low_voltage 
+017c 7048fa01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
+017d 20203ece branch mouse_adc_low_voltage 
 
 p_adc_gpio_set_impedance:
-014b d8400004 arg 4 ,temp 
-014c 2020607f branch gpio_set_high_impedance 
+017e d8400004 arg 4 ,temp 
+017f 2020607f branch gpio_set_high_impedance 
 
 p_mouse_adc_bat_percent_lowpower_out:
-014d efe40011 ifetch 8 ,rega 
-014e 67e4095c store 8 ,mem_pdatatemp 
-014f 2040616e call adc_clear_no_power_flag 
-0150 20406166 call adc_clear_low_power_flag 
-0151 6fe10962 fetch 2 ,mem_pdatatemp + 6 
-0152 6849095e fetcht 2 ,mem_pdatatemp + 2 
-0153 98467c00 isub temp ,null 
-0154 2421616a nbranch adc_set_no_power_flag ,positive 
-0155 68490960 fetcht 2 ,mem_pdatatemp + 4 
-0156 98467c00 isub temp ,null 
-0157 24216162 nbranch adc_set_low_power_flag ,positive 
-0158 20600000 rtn 
+0180 efe40011 ifetch 8 ,rega 
+0181 67e4095c store 8 ,mem_pdatatemp 
+0182 2040616e call adc_clear_no_power_flag 
+0183 20406166 call adc_clear_low_power_flag 
+0184 6fe10962 fetch 2 ,mem_pdatatemp + 6 
+0185 6849095e fetcht 2 ,mem_pdatatemp + 2 
+0186 98467c00 isub temp ,null 
+0187 2421616a nbranch adc_set_no_power_flag ,positive 
+0188 68490960 fetcht 2 ,mem_pdatatemp + 4 
+0189 98467c00 isub temp ,null 
+018a 24216162 nbranch adc_set_low_power_flag ,positive 
+018b 20600000 rtn 
 
 p_mouse_low_voltage_led_timer:
-0159 6fe14883 fetch 2 ,mem_24g_pair_timeout 
-015a 247a0000 nrtn blank 
-015b 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
-015c 247a0000 nrtn blank 
-015d 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
-015e 247a0000 nrtn blank 
-015f 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0160 c4108000 rtnbit0 mouse_enable_low_voltage_led 
-0161 c3020168 bbit0 mouse_low_voltage_flag ,p_mouse_voltage_led_state_off 
+018c 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+018d 247a0000 nrtn blank 
+018e 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+018f 247a0000 nrtn blank 
+0190 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
+0191 247a0000 nrtn blank 
+0192 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0193 c4108000 rtnbit0 mouse_enable_low_voltage_led 
+0194 c3020197 bbit0 mouse_low_voltage_flag ,p_mouse_voltage_led_state_off 
 
 p_mouse_voltage_led_state_on:
-0162 6fe0ccae fetch 1 ,mem_power_check_state_led_gpio 
-0163 67e0ccac store 1 ,mem_mouse_led_gpio 
-0164 6848ccad fetcht 1 ,mem_multi_led_gpio 
-0165 20406069 call gpio_config_output 
-0166 6848ccad fetcht 1 ,mem_multi_led_gpio 
-0167 20206069 branch gpio_out_active 
+0195 704cac06 jam multi_led_low_power_gpio ,mem_mouse_led_gpio 
+0196 20600000 rtn 
 
 p_mouse_voltage_led_state_off:
-0168 6fe0ccad fetch 1 ,mem_multi_led_gpio 
-0169 67e0ccac store 1 ,mem_mouse_led_gpio 
-016a 6848ccae fetcht 1 ,mem_power_check_state_led_gpio 
-016b 20406069 call gpio_config_output 
-016c 6848ccae fetcht 1 ,mem_power_check_state_led_gpio 
-016d 20206069 branch gpio_out_active 
+0197 704cac05 jam multi_led_gpio ,mem_mouse_led_gpio 
+0198 20600000 rtn 
 
 p_mouse_led_type_timer:
-016e 6fe0c883 fetch 1 ,mem_24g_pair_timeout 
-016f 247a0000 nrtn blank 
-0170 6fe0ccb7 fetch 1 ,mem_24g_not_connect 
-0171 243a002e nbranch p_mouse_led_no_connect_on_timer ,blank 
-0172 6fe0ccb0 fetch 1 ,mem_mouse_multi_led_type 
-0173 c0008177 beq multi_led_blink ,p_mouse_led_type_blink_timer 
-0174 6fe0cca2 fetch 1 ,mem_customer_key_press_status 
-0175 243a0184 nbranch p_mouse_led_on ,blank 
-0176 2020018d branch p_mouse_led_off 
+0199 6fe0c883 fetch 1 ,mem_24g_pair_timeout 
+019a 247a0000 nrtn blank 
+019b 6fe0ccb5 fetch 1 ,mem_24g_not_connect 
+019c 247a0000 nrtn blank 
+019d 6fe0ccae fetch 1 ,mem_mouse_multi_led_type 
+019e c00081a0 beq multi_led_blink ,p_mouse_led_type_blink_timer 
+019f 20600000 rtn 
 
 p_mouse_led_type_blink_timer:
-0177 da604cb2 arg mem_mouse_led_blink_timer ,regc 
-0178 da40017a arg p_mouse_led_type_blink_timeout ,regb 
-0179 2020318a branch timer_single_step 
+01a0 da604cb0 arg mem_mouse_led_blink_timer ,regc 
+01a1 da4001a3 arg p_mouse_led_type_blink_timeout ,regb 
+01a2 2020318a branch timer_single_step 
 
 p_mouse_led_type_blink_timeout:
-017a 6fe0ccb1 fetch 1 ,mem_mouse_led_blink_timer_init 
-017b 67e0ccb2 store 1 ,mem_mouse_led_blink_timer 
-017c 6fe0ccb3 fetch 1 ,mem_mouse_led_blink_count 
-017d 203a018b branch p_mouse_led_blink_over_off ,blank 
-017e 1fe0ffff increase -1 ,pdata 
-017f 67e0ccb3 store 1 ,mem_mouse_led_blink_count 
+01a3 6fe0ccaf fetch 1 ,mem_mouse_led_blink_timer_init 
+01a4 67e0ccb0 store 1 ,mem_mouse_led_blink_timer 
+01a5 6fe0ccb1 fetch 1 ,mem_mouse_led_blink_count 
+01a6 203a01b9 branch p_mouse_led_blink_over_off ,blank 
+01a7 1fe0ffff increase -1 ,pdata 
+01a8 67e0ccb1 store 1 ,mem_mouse_led_blink_count 
 
 p_mouse_led_blink_count_no_limited:
-0180 6fe0ccab fetch 1 ,mem_mouse_led_state 
-0181 c000818d beq on ,p_mouse_led_off 
-0182 c0000184 beq off ,p_mouse_led_on 
-0183 20600000 rtn 
+01a9 6fe0ccab fetch 1 ,mem_mouse_led_state 
+01aa c00081bb beq on ,p_mouse_led_off 
+01ab c00001ad beq off ,p_mouse_led_on 
+01ac 20600000 rtn 
 
 p_mouse_led_on:
-0184 6fe0ccab fetch 1 ,mem_mouse_led_state 
-0185 704cab01 jam on ,mem_mouse_led_state 
-0186 c1008000 rtneq on 
-0187 6848ccac fetcht 1 ,mem_mouse_led_gpio 
-0188 20406069 call gpio_config_output 
-0189 6848ccac fetcht 1 ,mem_mouse_led_gpio 
-018a 20206065 branch gpio_out_inactive 
+01ad 6fe0ccab fetch 1 ,mem_mouse_led_state 
+01ae 704cab01 jam on ,mem_mouse_led_state 
+01af c1008000 rtneq on 
+01b0 6fe0ccac fetch 1 ,mem_mouse_led_gpio 
+01b1 c00281b6 beq multi_led_gpio ,p_mouse_multi_led_on 
+01b2 d8400006 arg multi_led_low_power_gpio ,temp 
+01b3 20406069 call gpio_out_active 
+
+p_mouse_led_on_next:
+01b4 6848ccac fetcht 1 ,mem_mouse_led_gpio 
+01b5 20206065 branch gpio_out_inactive 
+
+p_mouse_multi_led_on:
+01b6 d8400005 arg multi_led_gpio ,temp 
+01b7 20406069 call gpio_out_active 
+01b8 202001b4 branch p_mouse_led_on_next 
 
 p_mouse_led_blink_over_off:
-018b 704cb000 jam multi_led_on ,mem_mouse_multi_led_type 
-018c 704cb200 jam 0 ,mem_mouse_led_blink_timer 
+01b9 704cae00 jam multi_led_on ,mem_mouse_multi_led_type 
+01ba 704cb000 jam 0 ,mem_mouse_led_blink_timer 
 
 p_mouse_led_off:
-018d 6fe0ccab fetch 1 ,mem_mouse_led_state 
-018e 704cab00 jam off ,mem_mouse_led_state 
-018f c1000000 rtneq off 
-0190 6848ccac fetcht 1 ,mem_mouse_led_gpio 
-0191 20406069 call gpio_config_output 
-0192 6848ccac fetcht 1 ,mem_mouse_led_gpio 
-0193 20206069 branch gpio_out_active 
+01bb 6fe0ccab fetch 1 ,mem_mouse_led_state 
+01bc 704cab00 jam off ,mem_mouse_led_state 
+01bd c1000000 rtneq off 
+01be 6848ccac fetcht 1 ,mem_mouse_led_gpio 
+01bf 20206069 branch gpio_out_active 
 
 p_mouse_24g_led_blink:
-0194 6fe0c938 fetch 1 ,mem_device_flag 
-0195 c1800000 rtnne mode_24g_device 
-0196 6fe0c883 fetch 1 ,mem_24g_pair_timeout 
-0197 207a0000 rtn blank 
-0198 1fe0ffff increase -1 ,pdata 
-0199 203a018d branch p_mouse_led_off ,blank 
-019a 1fe17e03 and pdata ,0x03 ,pdata 
-019b c0018184 beq 0x03 ,p_mouse_led_on 
-019c c000818d beq 0x01 ,p_mouse_led_off 
-019d 20600000 rtn 
+01c0 6fe0c938 fetch 1 ,mem_device_flag 
+01c1 c1800000 rtnne mode_24g_device 
+01c2 6fe0c883 fetch 1 ,mem_24g_pair_timeout 
+01c3 207a0000 rtn blank 
+01c4 1fe0ffff increase -1 ,pdata 
+01c5 203a01bb branch p_mouse_led_off ,blank 
+01c6 1fe17e03 and pdata ,0x03 ,pdata 
+01c7 c00181ad beq 0x03 ,p_mouse_led_on 
+01c8 c00081bb beq 0x01 ,p_mouse_led_off 
+01c9 20600000 rtn 
+
+p_mouse_24g_commbination_key_process:
+01ca 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+01cb c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
+01cc 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
+01cd 6048cb9d storet 1 ,mem_mouse_commbination_key 
+01ce 204000e3 call p_mouse_key_check_once 
+01cf 1fe17e07 and pdata ,0x07 ,pdata 
+01d0 6848cb9d fetcht 1 ,mem_mouse_commbination_key 
+01d1 98467c00 isub temp ,null 
+01d2 2022c4f1 branch mouse_commbination_key_down ,zero 
+01d3 202044eb branch mouse_commbination_key_up 
 
 p_mouse_long_key_press_timer:
-019e 6fe0cca2 fetch 1 ,mem_customer_key_press_status 
-019f 1fe17e07 and pdata ,0x07 ,pdata 
-01a0 203a01ab branch p_mouse_long_key_press_init ,blank 
-01a1 c1028000 rtneq mouse_lm_button 
-01a2 c1030000 rtneq mouse_rm_button 
-01a3 c1018000 rtneq mouse_lr_button 
-01a4 c1038000 rtneq mouse_lmr_button 
-01a5 da604c9f arg mem_long_key_press_timeout ,regc 
-01a6 da4001a8 arg p_mouse_long_key_press_timeout ,regb 
-01a7 2020318a branch timer_single_step 
+01d4 6fe0cca2 fetch 1 ,mem_customer_key_press_status 
+01d5 1fe17e07 and pdata ,0x07 ,pdata 
+01d6 203a01e1 branch p_mouse_long_key_press_init ,blank 
+01d7 c1028000 rtneq mouse_lm_button 
+01d8 c1030000 rtneq mouse_rm_button 
+01d9 c1018000 rtneq mouse_lr_button 
+01da c1038000 rtneq mouse_lmr_button 
+01db da604c9f arg mem_long_key_press_timeout ,regc 
+01dc da4001de arg p_mouse_long_key_press_timeout ,regb 
+01dd 2020318a branch timer_single_step 
 
 p_mouse_long_key_press_timeout:
-01a8 6fe0cb8b fetch 1 ,mem_customer_key 
-01a9 79207e07 set1 7 ,pdata 
-01aa 202001af branch p_mouse_long_key_press_init_next 
+01de 6fe0cb8b fetch 1 ,mem_customer_key 
+01df 79207e07 set1 7 ,pdata 
+01e0 202001e5 branch p_mouse_long_key_press_init_next 
 
 p_mouse_long_key_press_init:
-01ab 6fe0cc9e fetch 1 ,mem_long_key_press_timeout_init 
-01ac 67e0cc9f store 1 ,mem_long_key_press_timeout 
-01ad 6fe0cb8b fetch 1 ,mem_customer_key 
-01ae 793ffe07 set0 7 ,pdata 
+01e1 6fe0cc9e fetch 1 ,mem_long_key_press_timeout_init 
+01e2 67e0cc9f store 1 ,mem_long_key_press_timeout 
+01e3 6fe0cb8b fetch 1 ,mem_customer_key 
+01e4 793ffe07 set0 7 ,pdata 
 
 p_mouse_long_key_press_init_next:
-01af 67e0cb8b store 1 ,mem_customer_key 
-01b0 20600000 rtn 
+01e5 67e0cb8b store 1 ,mem_customer_key 
+01e6 20600000 rtn 
 
 p_mouse_key_mode_check_timer:
-01b1 6fe0cca2 fetch 1 ,mem_customer_key_press_status 
-01b2 c08301c0 bne mouse_rm_button ,p_mouse_key_mode_check_timer_init 
-01b3 da604ca1 arg mem_long_key_press_mode_check_timeout ,regc 
-01b4 da4001b6 arg p_mouse_key_mode_check_timeout ,regb 
-01b5 2020318a branch timer_single_step 
+01e7 6fe0cca2 fetch 1 ,mem_customer_key_press_status 
+01e8 c08301f6 bne mouse_rm_button ,p_mouse_key_mode_check_timer_init 
+01e9 da604ca1 arg mem_long_key_press_mode_check_timeout ,regc 
+01ea da4001ec arg p_mouse_key_mode_check_timeout ,regb 
+01eb 2020318a branch timer_single_step 
 
 p_mouse_key_mode_check_timeout:
-01b6 6fe0cca4 fetch 1 ,mem_customer_key_mode_status 
-01b7 1fe0fe01 increase 1 ,pdata 
-01b8 c08181ba bne 3 ,p_mouse_key_mode_check_timeout + 4 
-01b9 58000000 setarg 0 
-01ba 704cb001 jam multi_led_blink ,mem_mouse_multi_led_type 
-01bb 704cb202 jam 0x02 ,mem_mouse_led_blink_timer 
-01bc 704cb102 jam 0x02 ,mem_mouse_led_blink_timer_init 
-01bd 704cb304 jam 0x04 ,mem_mouse_led_blink_count 
-01be 67e0cca4 store 1 ,mem_customer_key_mode_status 
-01bf 20600000 rtn 
+01ec 6fe0cca4 fetch 1 ,mem_customer_key_mode_status 
+01ed 1fe0fe01 increase 1 ,pdata 
+01ee c08181f0 bne 3 ,p_mouse_key_mode_check_timeout + 4 
+01ef 58000000 setarg 0 
+01f0 704cae01 jam multi_led_blink ,mem_mouse_multi_led_type 
+01f1 704cb002 jam 0x02 ,mem_mouse_led_blink_timer 
+01f2 704caf02 jam 0x02 ,mem_mouse_led_blink_timer_init 
+01f3 704cb104 jam 0x04 ,mem_mouse_led_blink_count 
+01f4 67e0cca4 store 1 ,mem_customer_key_mode_status 
+01f5 20600000 rtn 
 
 p_mouse_key_mode_check_timer_init:
-01c0 6fe0cca0 fetch 1 ,mem_long_key_press_mode_check_timeout_init 
-01c1 67e0cca1 store 1 ,mem_long_key_press_mode_check_timeout 
-01c2 20600000 rtn 
+01f6 6fe0cca0 fetch 1 ,mem_long_key_press_mode_check_timeout_init 
+01f7 67e0cca1 store 1 ,mem_long_key_press_mode_check_timeout 
+01f8 20600000 rtn 
 
 p_mouse_two_clink_check_timer:
-01c3 6fe0cca8 fetch 1 ,mem_key0_short_press_count 
-01c4 207a0000 rtn blank 
-01c5 da604ca9 arg mem_key0_short_press_timer ,regc 
-01c6 da4001c8 arg p_mouse_two_clink_check_timeout ,regb 
-01c7 2020318a branch timer_single_step 
+01f9 da604ca9 arg mem_key0_short_press_timer ,regc 
+01fa da4001fc arg p_mouse_two_clink_check_timeout ,regb 
+01fb 2020318a branch timer_single_step 
 
 p_mouse_two_clink_check_timeout:
-01c8 6fe0cca8 fetch 1 ,mem_key0_short_press_count 
-01c9 704ca800 jam 0 ,mem_key0_short_press_count 
-01ca c1808000 rtnne 1 
+01fc 6fe0cca8 fetch 1 ,mem_key0_short_press_count 
+01fd 704ca800 jam 0 ,mem_key0_short_press_count 
+01fe c1808000 rtnne 1 
 
 p_mouse_one_clink:
-01cb 704caa01 jam 1 ,mem_key0_short_press_flag 
-01cc 20600000 rtn 
+01ff 704caa01 jam 1 ,mem_key0_short_press_flag 
+0200 20600000 rtn 
 
 p_mouse_init_sunt:
-01cd 20600000 rtn 
+0201 20600000 rtn 
 
 p_mouse_sensor_poweron:
-01ce 20600000 rtn 
+0202 20600000 rtn 
 
 p_g24_transmit_no_interrupt:
-01cf 20402631 call g24_txdata_prep 
-01d0 243401d3 nbranch p_g24_nodata_transmit ,user 
+0203 20402631 call g24_txdata_prep 
+0204 24340207 nbranch p_g24_nodata_transmit ,user 
 
 p_g24_transmit_start:
-01d1 204001e7 call p_g24_transmit_process 
-01d2 20202625 branch g24_transmit_start + 1 
+0205 2040021b call p_g24_transmit_process 
+0206 20202625 branch g24_transmit_start + 1 
 
 p_g24_nodata_transmit:
-01d3 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
-01d4 205a01d9 call p_g24_send_abort_packet ,blank 
-01d5 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
-01d6 c1008000 rtneq g24_tx_timer_int_enable 
-01d7 2040269f call g24_search_receiver 
-01d8 202026b5 branch g24_long_sleep 
+0207 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
+0208 205a020d call p_g24_send_abort_packet ,blank 
+0209 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
+020a c1008000 rtneq g24_tx_timer_int_enable 
+020b 2040269f call g24_search_receiver 
+020c 202026b5 branch g24_long_sleep 
 
 p_g24_send_abort_packet:
-01d9 70483601 jam type_ms ,mem_24g_data_type 
-01da 7048a701 jam 1 ,mem_24g_abort_pac 
-01db 20402642 call g24_transmit_rf_ctrl_clear 
-01dc 67e0c7c6 store 1 ,mem_24g_txbuf 
-01dd 58000000 setarg 0 
-01de 67e3c7c7 store 7 ,mem_24g_txbuf + 1 
-01df 6fe248a9 fetch 4 ,mem_24g_device_addr 
-01e0 67e247ce store 4 ,mem_24g_txbuf + 8 
-01e1 7048350c jam 12 ,mem_24g_datalen 
-01e2 6fe0c836 fetch 1 ,mem_24g_data_type 
-01e3 79207e03 set1 bit_abort ,pdata 
-01e4 67e0c836 store 1 ,mem_24g_data_type 
-01e5 20402291 call g24_transmit_prep 
-01e6 202001d1 branch p_g24_transmit_start 
+020d 70483601 jam type_ms ,mem_24g_data_type 
+020e 7048a701 jam 1 ,mem_24g_abort_pac 
+020f 20402642 call g24_transmit_rf_ctrl_clear 
+0210 67e0c7c6 store 1 ,mem_24g_txbuf 
+0211 58000000 setarg 0 
+0212 67e3c7c7 store 7 ,mem_24g_txbuf + 1 
+0213 6fe248a9 fetch 4 ,mem_24g_device_addr 
+0214 67e247ce store 4 ,mem_24g_txbuf + 8 
+0215 7048350c jam 12 ,mem_24g_datalen 
+0216 6fe0c836 fetch 1 ,mem_24g_data_type 
+0217 79207e03 set1 bit_abort ,pdata 
+0218 67e0c836 store 1 ,mem_24g_data_type 
+0219 20402291 call g24_transmit_prep 
+021a 20200205 branch p_g24_transmit_start 
 
 p_g24_transmit_process:
-01e7 7048a600 jam 0 ,mem_24g_retry 
+021b 7048a600 jam 0 ,mem_24g_retry 
 
 p_g24_transmit_loop:
-01e8 6961015f fetchr timeup ,2 ,mem_param_rx_setup 
-01e9 34730200 until clkn_rt ,meet 
-01ea 2040265b call g24_transmit_receive_ack 
-01eb 6fe0c82c fetch 1 ,mem_24g_no_ack 
-01ec c000a651 beq no_ack_24g ,g24_transmit_no_ack 
-01ed 242c01f2 nbranch p_g24_retransmit ,sync 
-01ee 243781f2 nbranch p_g24_retransmit ,user3 
-01ef 20402672 call g24_ackpayload_parse 
-01f0 704be100 jam 0 ,mem_sensor_shutdown_flag 
-01f1 20202651 branch g24_transmit_no_ack 
+021c 6961015f fetchr timeup ,2 ,mem_param_rx_setup 
+021d 34730200 until clkn_rt ,meet 
+021e 2040265b call g24_transmit_receive_ack 
+021f 6fe0c82c fetch 1 ,mem_24g_no_ack 
+0220 c000a651 beq no_ack_24g ,g24_transmit_no_ack 
+0221 242c0226 nbranch p_g24_retransmit ,sync 
+0222 24378226 nbranch p_g24_retransmit ,user3 
+0223 20402672 call g24_ackpayload_parse 
+0224 704be100 jam 0 ,mem_sensor_shutdown_flag 
+0225 20202651 branch g24_transmit_no_ack 
 
 p_g24_retransmit:
-01f2 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
-01f3 247a0000 nrtn blank 
-01f4 6fe148a3 fetch 2 ,mem_24g_txfail_cnt 
-01f5 1fe0fe01 increase 1 ,pdata 
-01f6 67e148a3 store 2 ,mem_24g_txfail_cnt 
-01f7 6fe0c8a3 fetch 1 ,mem_24g_txfail_cnt 
-01f8 c2822679 bbit1 4 ,g24_tx_attempt_fail 
-01f9 2040267e call g24_transmit_hop_process 
-01fa 202001e8 branch p_g24_transmit_loop 
+0226 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
+0227 247a0000 nrtn blank 
+0228 6fe148a3 fetch 2 ,mem_24g_txfail_cnt 
+0229 1fe0fe01 increase 1 ,pdata 
+022a 67e148a3 store 2 ,mem_24g_txfail_cnt 
+022b 6fe0c8a3 fetch 1 ,mem_24g_txfail_cnt 
+022c c2822679 bbit1 4 ,g24_tx_attempt_fail 
+022d 2040267e call g24_transmit_hop_process 
+022e 2020021c branch p_g24_transmit_loop 
 
 p_mouse_24g_package_data:
-01fb c6930000 rtnmark0 mark_24g 
-01fc 20403f70 call mouse_motion 
-01fd 24740000 nrtn user 
-01fe 6fe0cb8b fetch 1 ,mem_customer_key 
-01ff 243a0201 nbranch p_mouse_24g_keyboard_package_data ,blank 
-0200 20600000 rtn 
+022f c6930000 rtnmark0 mark_24g 
+0230 20403f70 call mouse_motion 
+0231 24740000 nrtn user 
+0232 6fe0cb8b fetch 1 ,mem_customer_key 
+0233 243a0235 nbranch p_mouse_24g_keyboard_package_data ,blank 
+0234 20600000 rtn 
 
 p_mouse_24g_keyboard_package_data:
-0201 70483602 jam type_kb ,mem_24g_data_type 
-0202 da200009 arg 9 ,rega 
-0203 6fe0cb8c fetch 1 ,mem_customer_data_trigger 
-0204 243a020e nbranch p_mouse_customer_key_press_judge ,blank 
-0205 6fe0cc9c fetch 1 ,mem_mouse_media_flag 
-0206 243a0215 nbranch p_mouse_24g_media_key_release ,blank 
-0207 6848cca3 fetcht 1 ,mem_customer_key_press_status_flag 
-0208 284ffe00 isolate1 0 ,temp 
-0209 20208224 branch p_mouse_key0_long_pres_1_data_store ,true 
-020a 284ffe01 isolate1 1 ,temp 
-020b 20208228 branch p_mouse_key1_release_store ,true 
+0235 70483602 jam type_kb ,mem_24g_data_type 
+0236 da200009 arg 9 ,rega 
+0237 6fe0cb8c fetch 1 ,mem_customer_data_trigger 
+0238 243a0242 nbranch p_mouse_customer_key_press_judge ,blank 
+0239 6fe0cc9c fetch 1 ,mem_mouse_media_flag 
+023a 243a0249 nbranch p_mouse_24g_media_key_release ,blank 
+023b 6848cca3 fetcht 1 ,mem_customer_key_press_status_flag 
+023c 284ffe00 isolate1 0 ,temp 
+023d 20208258 branch p_mouse_key0_long_pres_1_data_store ,true 
+023e 284ffe01 isolate1 1 ,temp 
+023f 2020825c branch p_mouse_key1_release_store ,true 
 
 p_mouse_customer_key_release:
-020c da404bd5 arg mem_customer_key_release ,regb 
-020d 20600000 rtn 
+0240 da404bd5 arg mem_customer_key_release ,regb 
+0241 20600000 rtn 
 
 p_mouse_customer_key_press_judge:
-020e 6fe0cb8b fetch 1 ,mem_customer_key 
-020f c2800217 bbit1 0 ,p_mouse_key0_data_store 
-0210 c280822d bbit1 1 ,p_mouse_key1_data_store 
-0211 c281024d bbit1 2 ,p_mouse_key2_data_store 
-0212 c281825a bbit1 3 ,p_mouse_key3_data_store 
-0213 c282025c bbit1 4 ,p_mouse_key4_data_store 
-0214 20600000 rtn 
+0242 6fe0cb8b fetch 1 ,mem_customer_key 
+0243 c280024b bbit1 0 ,p_mouse_key0_data_store 
+0244 c2808261 bbit1 1 ,p_mouse_key1_data_store 
+0245 c2810281 bbit1 2 ,p_mouse_key2_data_store 
+0246 c281828e bbit1 3 ,p_mouse_key3_data_store 
+0247 c2820290 bbit1 4 ,p_mouse_key4_data_store 
+0248 20600000 rtn 
 
 p_mouse_24g_media_key_release:
-0215 da404c8e arg mem_customer_media_key_release ,regb 
-0216 20600000 rtn 
+0249 da404c8e arg mem_customer_media_key_release ,regb 
+024a 20600000 rtn 
 
 p_mouse_key0_data_store:
-0217 6fe0cb8b fetch 1 ,mem_customer_key 
-0218 c2838222 bbit1 7 ,p_mouse_key0_long_pres_0_data_store 
-0219 6fe0ccaa fetch 1 ,mem_key0_short_press_flag 
-021a 704caa00 jam 0 ,mem_key0_short_press_flag 
-021b c0010220 beq 2 ,p_mouse_key0_two_clink_data_store 
-021c c000821e beq 1 ,p_mouse_key0_short_data_store 
-021d 20600000 rtn 
+024b 6fe0cb8b fetch 1 ,mem_customer_key 
+024c c2838256 bbit1 7 ,p_mouse_key0_long_pres_0_data_store 
+024d 6fe0ccaa fetch 1 ,mem_key0_short_press_flag 
+024e 704caa00 jam 0 ,mem_key0_short_press_flag 
+024f c0010254 beq 2 ,p_mouse_key0_two_clink_data_store 
+0250 c0008252 beq 1 ,p_mouse_key0_short_data_store 
+0251 20600000 rtn 
 
 p_mouse_key0_short_data_store:
-021e da404bec arg mem_customer_key0_short_press ,regb 
-021f 20600000 rtn 
+0252 da404bec arg mem_customer_key0_short_press ,regb 
+0253 20600000 rtn 
 
 p_mouse_key0_two_clink_data_store:
-0220 da404c3d arg mem_customer_key0_two_clink_press ,regb 
-0221 20600000 rtn 
+0254 da404c3d arg mem_customer_key0_two_clink_press ,regb 
+0255 20600000 rtn 
 
 p_mouse_key0_long_pres_0_data_store:
-0222 da404c34 arg mem_customer_key0_long_press_0 ,regb 
-0223 20600000 rtn 
+0256 da404c34 arg mem_customer_key0_long_press_0 ,regb 
+0257 20600000 rtn 
 
 p_mouse_key0_long_pres_1_data_store:
-0224 793f8400 set0 0 ,temp 
-0225 6048cca3 storet 1 ,mem_customer_key_press_status_flag 
-0226 da404c46 arg mem_customer_key0_long_press_1 ,regb 
-0227 20600000 rtn 
+0258 793f8400 set0 0 ,temp 
+0259 6048cca3 storet 1 ,mem_customer_key_press_status_flag 
+025a da404c46 arg mem_customer_key0_long_press_1 ,regb 
+025b 20600000 rtn 
 
 p_mouse_key1_release_store:
-0228 6fe0cca7 fetch 1 ,mem_key1_long_press_1_count 
-0229 c000020c beq 0 ,p_mouse_customer_key_release 
-022a 793f8401 set0 1 ,temp 
-022b 6048cca3 storet 1 ,mem_customer_key_press_status_flag 
-022c 2020020c branch p_mouse_customer_key_release 
+025c 6fe0cca7 fetch 1 ,mem_key1_long_press_1_count 
+025d c0000240 beq 0 ,p_mouse_customer_key_release 
+025e 793f8401 set0 1 ,temp 
+025f 6048cca3 storet 1 ,mem_customer_key_press_status_flag 
+0260 20200240 branch p_mouse_customer_key_release 
 
 p_mouse_key1_data_store:
-022d 6fe0cb8b fetch 1 ,mem_customer_key 
-022e c2838238 bbit1 7 ,p_mouse_key1_long_pres_data_store 
-022f 6fe0cca4 fetch 1 ,mem_customer_key_mode_status 
-0230 c0008234 beq 1 ,p_mouse_key1_short_press_mode1_data_store 
-0231 c0010236 beq 2 ,p_mouse_key1_short_press_mode2_data_store 
-0232 da404bf5 arg mem_customer_key1_short_press ,regb 
-0233 20600000 rtn 
+0261 6fe0cb8b fetch 1 ,mem_customer_key 
+0262 c283826c bbit1 7 ,p_mouse_key1_long_pres_data_store 
+0263 6fe0cca4 fetch 1 ,mem_customer_key_mode_status 
+0264 c0008268 beq 1 ,p_mouse_key1_short_press_mode1_data_store 
+0265 c001026a beq 2 ,p_mouse_key1_short_press_mode2_data_store 
+0266 da404bf5 arg mem_customer_key1_short_press ,regb 
+0267 20600000 rtn 
 
 p_mouse_key1_short_press_mode1_data_store:
-0234 da404c07 arg mem_customer_key1_short_press_mode1 ,regb 
-0235 20600000 rtn 
+0268 da404c07 arg mem_customer_key1_short_press_mode1 ,regb 
+0269 20600000 rtn 
 
 p_mouse_key1_short_press_mode2_data_store:
-0236 da404c19 arg mem_customer_key1_short_press_mode2 ,regb 
-0237 20600000 rtn 
+026a da404c19 arg mem_customer_key1_short_press_mode2 ,regb 
+026b 20600000 rtn 
 
 p_mouse_key1_long_pres_data_store:
-0238 6fe0cca6 fetch 1 ,mem_key1_long_press_flag 
-0239 c000823d beq on ,p_mouse_key1_long_press_data_store 
-023a da404c4f arg mem_customer_key1_long_press ,regb 
-023b 704ca601 jam on ,mem_key1_long_press_flag 
-023c 20600000 rtn 
+026c 6fe0cca6 fetch 1 ,mem_key1_long_press_flag 
+026d c0008271 beq on ,p_mouse_key1_long_press_data_store 
+026e da404c4f arg mem_customer_key1_long_press ,regb 
+026f 704ca601 jam on ,mem_key1_long_press_flag 
+0270 20600000 rtn 
 
 p_mouse_key1_long_press_data_store:
-023d 6fe0cca7 fetch 1 ,mem_key1_long_press_1_count 
-023e 1fe0fe01 increase 1 ,pdata 
-023f 67e0cca7 store 1 ,mem_key1_long_press_1_count 
-0240 c0008247 beq 1 ,p_mouse_key1_long_pres_1_1_data_store 
-0241 c0010249 beq 2 ,p_mouse_key1_long_pres_1_2_data_store 
-0242 c001824b beq 3 ,p_mouse_key1_long_pres_1_3_data_store 
-0243 da404c58 arg mem_customer_key1_long_press_1 ,regb 
-0244 704ca700 jam 0 ,mem_key1_long_press_1_count 
-0245 704ca600 jam off ,mem_key1_long_press_flag 
-0246 20600000 rtn 
+0271 6fe0cca7 fetch 1 ,mem_key1_long_press_1_count 
+0272 1fe0fe01 increase 1 ,pdata 
+0273 67e0cca7 store 1 ,mem_key1_long_press_1_count 
+0274 c000827b beq 1 ,p_mouse_key1_long_pres_1_1_data_store 
+0275 c001027d beq 2 ,p_mouse_key1_long_pres_1_2_data_store 
+0276 c001827f beq 3 ,p_mouse_key1_long_pres_1_3_data_store 
+0277 da404c58 arg mem_customer_key1_long_press_1 ,regb 
+0278 704ca700 jam 0 ,mem_key1_long_press_1_count 
+0279 704ca600 jam off ,mem_key1_long_press_flag 
+027a 20600000 rtn 
 
 p_mouse_key1_long_pres_1_1_data_store:
-0247 da404c61 arg mem_customer_key1_long_press_1_1 ,regb 
-0248 20600000 rtn 
+027b da404c61 arg mem_customer_key1_long_press_1_1 ,regb 
+027c 20600000 rtn 
 
 p_mouse_key1_long_pres_1_2_data_store:
-0249 da404c6a arg mem_customer_key1_long_press_1_2 ,regb 
-024a 20600000 rtn 
+027d da404c6a arg mem_customer_key1_long_press_1_2 ,regb 
+027e 20600000 rtn 
 
 p_mouse_key1_long_pres_1_3_data_store:
-024b da404c73 arg mem_customer_key1_long_press_1_3 ,regb 
-024c 20600000 rtn 
+027f da404c73 arg mem_customer_key1_long_press_1_3 ,regb 
+0280 20600000 rtn 
 
 p_mouse_key2_data_store:
-024d 6fe0cb8b fetch 1 ,mem_customer_key 
-024e c2838254 bbit1 7 ,p_mouse_key2_long_pres_data_store 
-024f 6fe0cca4 fetch 1 ,mem_customer_key_mode_status 
-0250 c0008256 beq 1 ,p_mouse_key2_short_press_mode1_data_store 
-0251 c0010258 beq 2 ,p_mouse_key2_short_press_mode2_data_store 
-0252 da404bfe arg mem_customer_key2_short_press ,regb 
-0253 20600000 rtn 
+0281 6fe0cb8b fetch 1 ,mem_customer_key 
+0282 c2838288 bbit1 7 ,p_mouse_key2_long_pres_data_store 
+0283 6fe0cca4 fetch 1 ,mem_customer_key_mode_status 
+0284 c000828a beq 1 ,p_mouse_key2_short_press_mode1_data_store 
+0285 c001028c beq 2 ,p_mouse_key2_short_press_mode2_data_store 
+0286 da404bfe arg mem_customer_key2_short_press ,regb 
+0287 20600000 rtn 
 
 p_mouse_key2_long_pres_data_store:
-0254 da404c2b arg mem_customer_key2_long_press ,regb 
-0255 20600000 rtn 
+0288 da404c2b arg mem_customer_key2_long_press ,regb 
+0289 20600000 rtn 
 
 p_mouse_key2_short_press_mode1_data_store:
-0256 da404c10 arg mem_customer_key2_short_press_mode1 ,regb 
-0257 20600000 rtn 
+028a da404c10 arg mem_customer_key2_short_press_mode1 ,regb 
+028b 20600000 rtn 
 
 p_mouse_key2_short_press_mode2_data_store:
-0258 da404c22 arg mem_customer_key2_short_press_mode2 ,regb 
-0259 20600000 rtn 
+028c da404c22 arg mem_customer_key2_short_press_mode2 ,regb 
+028d 20600000 rtn 
 
 p_mouse_key3_data_store:
-025a da404c7c arg mem_customer_key3_media ,regb 
-025b 20600000 rtn 
+028e da404c7c arg mem_customer_key3_media ,regb 
+028f 20600000 rtn 
 
 p_mouse_key4_data_store:
-025c da404c85 arg mem_customer_key4_media ,regb 
-025d 20600000 rtn 
+0290 da404c85 arg mem_customer_key4_media ,regb 
+0291 20600000 rtn 
 
 p_mouse_check_key_gpio:
-025e 6fe0cb8b fetch 1 ,mem_customer_key 
-025f 1fe22200 copy pdata ,rega 
-0260 2040029c call p_mouse_check_key0_gpio 
-0261 204002b4 call p_mouse_check_key1_gpio 
-0262 204002bf call p_mouse_check_key2_gpio 
-0263 204002c8 call p_mouse_check_key3_gpio 
-0264 204002d1 call p_mouse_check_key4_gpio 
-0265 1a227e00 copy rega ,pdata 
-0266 67e0cb8b store 1 ,mem_customer_key 
-0267 6fe0cca2 fetch 1 ,mem_customer_key_press_status 
-0268 c1000000 rtneq 0 
-0269 6fe448b0 fetch 8 ,mem_24g_long_sleep_set 
-026a 67e4485c store 8 ,mem_24g_enter_hibernate 
-026b 20600000 rtn 
+0292 6fe0cb8b fetch 1 ,mem_customer_key 
+0293 1fe22200 copy pdata ,rega 
+0294 204002d9 call p_mouse_check_key0_gpio 
+0295 204002f2 call p_mouse_check_key1_gpio 
+0296 204002fe call p_mouse_check_key2_gpio 
+0297 20400308 call p_mouse_check_key3_gpio 
+0298 20400311 call p_mouse_check_key4_gpio 
+0299 1a227e00 copy rega ,pdata 
+029a 67e0cb8b store 1 ,mem_customer_key 
+029b 6fe0cca2 fetch 1 ,mem_customer_key_press_status 
+029c c1000000 rtneq 0 
+029d 6fe448b0 fetch 8 ,mem_24g_long_sleep_set 
+029e 67e4485c store 8 ,mem_24g_enter_hibernate 
+029f 20600000 rtn 
 
 p_mouse_check_key_connect_gnd:
-026c 1fe3fe00 lshift pdata ,pdata 
-026d 1fe22400 copy pdata ,regb 
-026e 20406059 call gpio_get_bit 
-026f 7920a400 setflag true ,0 ,regb 
-0270 1a417e3f and regb ,0x3f ,pdata 
-0271 6848cb96 fetcht 1 ,mem_mouse_key_temp 
-0272 18420e00 copy temp ,queue 
-0273 c01c0283 beq 0x38 ,p_mouse_key_short_press 
-0274 c0000291 beq 0x00 ,p_mouse_key_release 
-0275 c01f8277 beq 0x3f ,p_mouse_key_long_press 
-0276 20600000 rtn 
+02a0 1fe3fe00 lshift pdata ,pdata 
+02a1 1fe22400 copy pdata ,regb 
+02a2 20406059 call gpio_get_bit 
+02a3 7920a400 setflag true ,0 ,regb 
+02a4 1a417e3f and regb ,0x3f ,pdata 
+02a5 1fe22400 copy pdata ,regb 
+02a6 6848cb96 fetcht 1 ,mem_mouse_key_temp 
+02a7 18420e00 copy temp ,queue 
+02a8 c00002ce beq 0x00 ,p_mouse_key_release 
+02a9 c01f82af beq 0x3f ,p_mouse_key_long_press 
+02aa 1a417e07 and regb ,0x07 ,pdata 
+02ab 247a0000 nrtn blank 
+02ac 1a417e38 and regb ,0x38 ,pdata 
+02ad 243a02bb nbranch p_mouse_key_short_press ,blank 
+02ae 20600000 rtn 
 
 p_mouse_key_long_press:
-0277 6848cca2 fetcht 1 ,mem_customer_key_press_status 
-0278 f9200400 qset1 temp 
-0279 6048cca2 storet 1 ,mem_customer_key_press_status 
-027a 2a2ffe07 isolate1 7 ,rega 
-027b 2020827d branch p_mouse_key_long_press_next ,true 
-027c 20600000 rtn 
+02af 6848cca2 fetcht 1 ,mem_customer_key_press_status 
+02b0 f9200400 qset1 temp 
+02b1 6048cca2 storet 1 ,mem_customer_key_press_status 
+02b2 2a2ffe07 isolate1 7 ,rega 
+02b3 202082b5 branch p_mouse_key_long_press_next ,true 
+02b4 20600000 rtn 
 
 p_mouse_key_long_press_next:
-027d 6848cca3 fetcht 1 ,mem_customer_key_press_status_flag 
-027e a84fffff qisolate1 temp 
-027f 2020c191 branch mouse_key_release ,true 
-0280 f9200400 qset1 temp 
-0281 6048cca3 storet 1 ,mem_customer_key_press_status_flag 
-0282 20204193 branch mouse_key_press 
+02b5 6848cca3 fetcht 1 ,mem_customer_key_press_status_flag 
+02b6 a84fffff qisolate1 temp 
+02b7 2020c191 branch mouse_key_release ,true 
+02b8 f9200400 qset1 temp 
+02b9 6048cca3 storet 1 ,mem_customer_key_press_status_flag 
+02ba 20204193 branch mouse_key_press 
 
 p_mouse_key_short_press:
-0283 2a2ffe07 isolate1 7 ,rega 
-0284 20608000 rtn true 
-0285 18e27e00 copy queue ,pdata 
-0286 243a4193 nbranch mouse_key_press ,blank 
-0287 6fe0cca8 fetch 1 ,mem_key0_short_press_count 
-0288 1fe0fe01 increase 1 ,pdata 
-0289 67e0cca8 store 1 ,mem_key0_short_press_count 
-028a c001028d beq 2 ,p_mouse_key0_two_clink 
-028b 704ca905 jam 0x05 ,mem_key0_short_press_timer 
-028c 20200291 branch p_mouse_key_release 
+02bb 2a2ffe07 isolate1 7 ,rega 
+02bc 20608000 rtn true 
+02bd 18e27e00 copy queue ,pdata 
+02be 243a4193 nbranch mouse_key_press ,blank 
+02bf 6fe0cca8 fetch 1 ,mem_key0_short_press_count 
+02c0 c00002c4 beq 0 ,p_mouse_key_two_short_press_check 
+02c1 6fe0cca9 fetch 1 ,mem_key0_short_press_timer 
+02c2 1fe67c03 sub pdata ,0x03 ,null 
+02c3 24610000 nrtn positive 
+
+p_mouse_key_two_short_press_check:
+02c4 6fe0cca8 fetch 1 ,mem_key0_short_press_count 
+02c5 1fe0fe01 increase 1 ,pdata 
+02c6 67e0cca8 store 1 ,mem_key0_short_press_count 
+02c7 c08082ca bne 1 ,p_mouse_key0_two_clink 
+02c8 704ca905 jam 0x05 ,mem_key0_short_press_timer 
+02c9 202002ce branch p_mouse_key_release 
 
 p_mouse_key0_two_clink:
-028d 704caa02 jam 2 ,mem_key0_short_press_flag 
-028e 20204193 branch mouse_key_press 
+02ca 704caa02 jam 2 ,mem_key0_short_press_flag 
+02cb 20204193 branch mouse_key_press 
 
 p_mouse_key0_one_clink_press:
-028f 79202200 set1 0 ,rega 
-0290 20600000 rtn 
+02cc 79202200 set1 0 ,rega 
+02cd 20600000 rtn 
 
 p_mouse_key_release:
-0291 6fe0ccaa fetch 1 ,mem_key0_short_press_flag 
-0292 c000828f beq 1 ,p_mouse_key0_one_clink_press 
-0293 6848cca2 fetcht 1 ,mem_customer_key_press_status 
-0294 f93f8400 qset0 temp 
-0295 6048cca2 storet 1 ,mem_customer_key_press_status 
-0296 6848cca3 fetcht 1 ,mem_customer_key_press_status_flag 
-0297 f93f8400 qset0 temp 
-0298 6048cca3 storet 1 ,mem_customer_key_press_status_flag 
-0299 2a2ffe07 isolate1 7 ,rega 
-029a 20608000 rtn true 
-029b 20204191 branch mouse_key_release 
+02ce 6fe0ccaa fetch 1 ,mem_key0_short_press_flag 
+02cf c00082cc beq 1 ,p_mouse_key0_one_clink_press 
+02d0 6848cca2 fetcht 1 ,mem_customer_key_press_status 
+02d1 f93f8400 qset0 temp 
+02d2 6048cca2 storet 1 ,mem_customer_key_press_status 
+02d3 6848cca3 fetcht 1 ,mem_customer_key_press_status_flag 
+02d4 f93f8400 qset0 temp 
+02d5 6048cca3 storet 1 ,mem_customer_key_press_status_flag 
+02d6 2a2ffe07 isolate1 7 ,rega 
+02d7 20608000 rtn true 
+02d8 20204191 branch mouse_key_release 
 
 p_mouse_check_key0_gpio:
-029c 704b9600 jam mouse_l_key ,mem_mouse_key_temp 
-029d 6848cbe7 fetcht 1 ,mem_flippen_key0_gpio 
-029e 6fe0cc97 fetch 1 ,mem_mouse_customer_key0_press_status 
-029f 2040026c call p_mouse_check_key_connect_gnd 
-02a0 67e0cc97 store 1 ,mem_mouse_customer_key0_press_status 
-02a1 1a227e00 copy rega ,pdata 
-02a2 c28002a5 bbit1 mouse_l_key ,p_mouse_customerkey0_press 
-02a3 204002f0 call p_mouse_customerkey_release 
-02a4 202002bc branch p_mouse_customerkey_exit 
+02d9 704b9600 jam mouse_l_key ,mem_mouse_key_temp 
+02da 6848cbe7 fetcht 1 ,mem_flippen_key0_gpio 
+02db 6fe0cc97 fetch 1 ,mem_mouse_customer_key0_press_status 
+02dc 204002a0 call p_mouse_check_key_connect_gnd 
+02dd 1a427e00 copy regb ,pdata 
+02de 67e0cc97 store 1 ,mem_mouse_customer_key0_press_status 
+02df 1a227e00 copy rega ,pdata 
+02e0 c28002e3 bbit1 mouse_l_key ,p_mouse_customerkey0_press 
+02e1 20400330 call p_mouse_customerkey_release 
+02e2 202002fb branch p_mouse_customerkey_exit 
 
 p_mouse_customerkey0_press:
-02a5 2a2ffe07 isolate1 7 ,rega 
-02a6 202082a8 branch p_mouse_customer_key0_long_press_check ,true 
-02a7 202002ec branch p_mouse_customerkey_press 
+02e3 2a2ffe07 isolate1 7 ,rega 
+02e4 202082e6 branch p_mouse_customer_key0_long_press_check ,true 
+02e5 2020032c branch p_mouse_customerkey_press 
 
 p_mouse_customer_key0_long_press_check:
-02a8 6fe0cca5 fetch 1 ,mem_key0_long_press_delay 
-02a9 247a0000 nrtn blank 
-02aa 704ca508 jam 0x08 ,mem_key0_long_press_delay 
-02ab 202002ec branch p_mouse_customerkey_press 
+02e6 6fe0cca5 fetch 1 ,mem_key0_long_press_delay 
+02e7 247a0000 nrtn blank 
+02e8 704ca508 jam 0x08 ,mem_key0_long_press_delay 
+02e9 2020032c branch p_mouse_customerkey_press 
 
 p_mouse_customer_key0_long_press_timer:
-02ac 6fe0cb8b fetch 1 ,mem_customer_key 
-02ad c4038000 rtnbit0 7 
-02ae c4000000 rtnbit0 0 
-02af 6fe0cca5 fetch 1 ,mem_key0_long_press_delay 
-02b0 207a0000 rtn blank 
-02b1 1fe0ffff increase -1 ,pdata 
-02b2 67e0cca5 store 1 ,mem_key0_long_press_delay 
-02b3 20600000 rtn 
+02ea 6fe0cb8b fetch 1 ,mem_customer_key 
+02eb c4038000 rtnbit0 7 
+02ec c4000000 rtnbit0 0 
+02ed 6fe0cca5 fetch 1 ,mem_key0_long_press_delay 
+02ee 207a0000 rtn blank 
+02ef 1fe0ffff increase -1 ,pdata 
+02f0 67e0cca5 store 1 ,mem_key0_long_press_delay 
+02f1 20600000 rtn 
 
 p_mouse_check_key1_gpio:
-02b4 704b9601 jam mouse_r_key ,mem_mouse_key_temp 
-02b5 6848cbe8 fetcht 1 ,mem_flippen_key1_gpio 
-02b6 6fe0cc98 fetch 1 ,mem_mouse_customer_key1_press_status 
-02b7 2040026c call p_mouse_check_key_connect_gnd 
-02b8 67e0cc98 store 1 ,mem_mouse_customer_key1_press_status 
-02b9 1a227e00 copy rega ,pdata 
-02ba c28082ec bbit1 mouse_r_key ,p_mouse_customerkey_press 
-02bb 204002f0 call p_mouse_customerkey_release 
+02f2 704b9601 jam mouse_r_key ,mem_mouse_key_temp 
+02f3 6848cbe8 fetcht 1 ,mem_flippen_key1_gpio 
+02f4 6fe0cc98 fetch 1 ,mem_mouse_customer_key1_press_status 
+02f5 204002a0 call p_mouse_check_key_connect_gnd 
+02f6 1a427e00 copy regb ,pdata 
+02f7 67e0cc98 store 1 ,mem_mouse_customer_key1_press_status 
+02f8 1a227e00 copy rega ,pdata 
+02f9 c280832c bbit1 mouse_r_key ,p_mouse_customerkey_press 
+02fa 20400330 call p_mouse_customerkey_release 
 
 p_mouse_customerkey_exit:
-02bc 6fe0cb8c fetch 1 ,mem_customer_data_trigger 
-02bd 67e0cb8d store 1 ,mem_customer_data_trigger_last 
-02be 20600000 rtn 
+02fb 6fe0cb8c fetch 1 ,mem_customer_data_trigger 
+02fc 67e0cb8d store 1 ,mem_customer_data_trigger_last 
+02fd 20600000 rtn 
 
 p_mouse_check_key2_gpio:
-02bf 704b9602 jam mouse_m_key ,mem_mouse_key_temp 
-02c0 6848cbe9 fetcht 1 ,mem_flippen_key2_gpio 
-02c1 6fe0cc99 fetch 1 ,mem_mouse_customer_key2_press_status 
-02c2 2040026c call p_mouse_check_key_connect_gnd 
-02c3 67e0cc99 store 1 ,mem_mouse_customer_key2_press_status 
-02c4 1a227e00 copy rega ,pdata 
-02c5 c28102ec bbit1 mouse_m_key ,p_mouse_customerkey_press 
-02c6 204002f0 call p_mouse_customerkey_release 
-02c7 202002bc branch p_mouse_customerkey_exit 
+02fe 704b9602 jam mouse_m_key ,mem_mouse_key_temp 
+02ff 6848cbe9 fetcht 1 ,mem_flippen_key2_gpio 
+0300 6fe0cc99 fetch 1 ,mem_mouse_customer_key2_press_status 
+0301 204002a0 call p_mouse_check_key_connect_gnd 
+0302 1a427e00 copy regb ,pdata 
+0303 67e0cc99 store 1 ,mem_mouse_customer_key2_press_status 
+0304 1a227e00 copy rega ,pdata 
+0305 c281032c bbit1 mouse_m_key ,p_mouse_customerkey_press 
+0306 20400330 call p_mouse_customerkey_release 
+0307 202002fb branch p_mouse_customerkey_exit 
 
 p_mouse_check_key3_gpio:
-02c8 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
-02c9 6848cbea fetcht 1 ,mem_flippen_key3_gpio 
-02ca 6fe0cc9a fetch 1 ,mem_mouse_customer_key3_press_status 
-02cb 204002da call p_mouse_check_media_key_connect_gnd 
-02cc 67e0cc9a store 1 ,mem_mouse_customer_key3_press_status 
-02cd 1a227e00 copy rega ,pdata 
-02ce c28182ec bbit1 mouse_bk_key ,p_mouse_customerkey_press 
-02cf 204002f8 call p_mouse_customerkey_media_release 
-02d0 202002bc branch p_mouse_customerkey_exit 
+0308 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
+0309 6848cbea fetcht 1 ,mem_flippen_key3_gpio 
+030a 6fe0cc9a fetch 1 ,mem_mouse_customer_key3_press_status 
+030b 2040031a call p_mouse_check_media_key_connect_gnd 
+030c 67e0cc9a store 1 ,mem_mouse_customer_key3_press_status 
+030d 1a227e00 copy rega ,pdata 
+030e c281832c bbit1 mouse_bk_key ,p_mouse_customerkey_press 
+030f 20400338 call p_mouse_customerkey_media_release 
+0310 202002fb branch p_mouse_customerkey_exit 
 
 p_mouse_check_key4_gpio:
-02d1 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
-02d2 6848cbeb fetcht 1 ,mem_flippen_key4_gpio 
-02d3 6fe0cc9b fetch 1 ,mem_mouse_customer_key4_press_status 
-02d4 204002da call p_mouse_check_media_key_connect_gnd 
-02d5 67e0cc9b store 1 ,mem_mouse_customer_key4_press_status 
-02d6 1a227e00 copy rega ,pdata 
-02d7 c28202ec bbit1 mouse_fw_key ,p_mouse_customerkey_press 
-02d8 204002f8 call p_mouse_customerkey_media_release 
-02d9 202002bc branch p_mouse_customerkey_exit 
+0311 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
+0312 6848cbeb fetcht 1 ,mem_flippen_key4_gpio 
+0313 6fe0cc9b fetch 1 ,mem_mouse_customer_key4_press_status 
+0314 2040031a call p_mouse_check_media_key_connect_gnd 
+0315 67e0cc9b store 1 ,mem_mouse_customer_key4_press_status 
+0316 1a227e00 copy rega ,pdata 
+0317 c282032c bbit1 mouse_fw_key ,p_mouse_customerkey_press 
+0318 20400338 call p_mouse_customerkey_media_release 
+0319 202002fb branch p_mouse_customerkey_exit 
 
 p_mouse_check_media_key_connect_gnd:
-02da 1fe3fe00 lshift pdata ,pdata 
-02db 1fe22400 copy pdata ,regb 
-02dc 20406059 call gpio_get_bit 
-02dd 7920a400 setflag true ,0 ,regb 
-02de 1a417e07 and regb ,0x07 ,pdata 
-02df 6848cb96 fetcht 1 ,mem_mouse_key_temp 
-02e0 18420e00 copy temp ,queue 
-02e1 c00382e4 beq 0x07 ,p_mouse_media_key_press 
-02e2 c00002e8 beq 0x00 ,p_mouse_media_key_release 
-02e3 20600000 rtn 
+031a 1fe3fe00 lshift pdata ,pdata 
+031b 1fe22400 copy pdata ,regb 
+031c 20406059 call gpio_get_bit 
+031d 7920a400 setflag true ,0 ,regb 
+031e 1a417e07 and regb ,0x07 ,pdata 
+031f 6848cb96 fetcht 1 ,mem_mouse_key_temp 
+0320 18420e00 copy temp ,queue 
+0321 c0038324 beq 0x07 ,p_mouse_media_key_press 
+0322 c0000328 beq 0x00 ,p_mouse_media_key_release 
+0323 20600000 rtn 
 
 p_mouse_media_key_press:
-02e4 6848cca2 fetcht 1 ,mem_customer_key_press_status 
-02e5 f9200400 qset1 temp 
-02e6 6048cca2 storet 1 ,mem_customer_key_press_status 
-02e7 20204193 branch mouse_key_press 
+0324 6848cca2 fetcht 1 ,mem_customer_key_press_status 
+0325 f9200400 qset1 temp 
+0326 6048cca2 storet 1 ,mem_customer_key_press_status 
+0327 20204193 branch mouse_key_press 
 
 p_mouse_media_key_release:
-02e8 6848cca2 fetcht 1 ,mem_customer_key_press_status 
-02e9 f93f8400 qset0 temp 
-02ea 6048cca2 storet 1 ,mem_customer_key_press_status 
-02eb 20204191 branch mouse_key_release 
+0328 6848cca2 fetcht 1 ,mem_customer_key_press_status 
+0329 f93f8400 qset0 temp 
+032a 6048cca2 storet 1 ,mem_customer_key_press_status 
+032b 20204191 branch mouse_key_release 
 
 p_mouse_customerkey_press:
-02ec 6fe0cb8c fetch 1 ,mem_customer_data_trigger 
-02ed f9207e00 qset1 pdata 
-02ee 67e0cb8c store 1 ,mem_customer_data_trigger 
-02ef 202002bc branch p_mouse_customerkey_exit 
+032c 6fe0cb8c fetch 1 ,mem_customer_data_trigger 
+032d f9207e00 qset1 pdata 
+032e 67e0cb8c store 1 ,mem_customer_data_trigger 
+032f 202002fb branch p_mouse_customerkey_exit 
 
 p_mouse_customerkey_release:
-02f0 6fe0cb8c fetch 1 ,mem_customer_data_trigger 
-02f1 f93ffe00 qset0 pdata 
-02f2 67e0cb8c store 1 ,mem_customer_data_trigger 
-02f3 6fe0cb8d fetch 1 ,mem_customer_data_trigger_last 
-02f4 afefffff qisolate1 pdata 
-02f5 24608000 nrtn true 
-02f6 704c9c00 jam 0 ,mem_mouse_media_flag 
-02f7 20204193 branch mouse_key_press 
+0330 6fe0cb8c fetch 1 ,mem_customer_data_trigger 
+0331 f93ffe00 qset0 pdata 
+0332 67e0cb8c store 1 ,mem_customer_data_trigger 
+0333 6fe0cb8d fetch 1 ,mem_customer_data_trigger_last 
+0334 afefffff qisolate1 pdata 
+0335 24608000 nrtn true 
+0336 704c9c00 jam 0 ,mem_mouse_media_flag 
+0337 20204193 branch mouse_key_press 
 
 p_mouse_customerkey_media_release:
-02f8 6fe0cb8c fetch 1 ,mem_customer_data_trigger 
-02f9 f93ffe00 qset0 pdata 
-02fa 67e0cb8c store 1 ,mem_customer_data_trigger 
-02fb 6fe0cb8d fetch 1 ,mem_customer_data_trigger_last 
-02fc afefffff qisolate1 pdata 
-02fd 24608000 nrtn true 
-02fe 704c9c01 jam 1 ,mem_mouse_media_flag 
-02ff 20204193 branch mouse_key_press 
+0338 6fe0cb8c fetch 1 ,mem_customer_data_trigger 
+0339 f93ffe00 qset0 pdata 
+033a 67e0cb8c store 1 ,mem_customer_data_trigger 
+033b 6fe0cb8d fetch 1 ,mem_customer_data_trigger_last 
+033c afefffff qisolate1 pdata 
+033d 24608000 nrtn true 
+033e 704c9c01 jam 1 ,mem_mouse_media_flag 
+033f 20204193 branch mouse_key_press 
               org 0x800
 
 start:
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/FliePen_Project/FlipPen_Only2.4G/program/patch.prog	(revision 553)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/FliePen_Project/FlipPen_Only2.4G/program/patch.prog	(working copy)
@@ -60,24 +60,45 @@
 p_mouse_no_connect:
 	call p_mouse_motion
 	disable user
-	rtn
+//	rtn
 p_mouse_led_no_connect_on_timer:
 	fetch 1,mem_customer_key_press_status
 	nbranch p_mouse_led_no_connect_on,blank
-	jam 0,mem_24g_not_connect_led_count
+	setarg 0
+	store 2,mem_24g_led_count
 	branch p_mouse_led_off
 	
 p_mouse_led_no_connect_on:
-	fetch 1,mem_24g_not_connect_led_count
+	fetch 2,mem_24g_led_count
 	increase 1,pdata
-	store 1,mem_24g_not_connect_led_count
-	sub pdata,2,null
-	branch p_mouse_led_on,positive
-	sub pdata,4,null
-	branch p_mouse_led_off,positive
+	store 2,mem_24g_led_count
+	arg 0x0014,temp
+	isub temp,null
+	nbranch p_mouse_led_on,positive
+	arg 0x0028,temp
+	isub temp,null
+	nbranch p_mouse_led_off,positive
+	arg 0x003c,temp
+	isub temp,null
+	nbranch p_mouse_led_on,positive
+	arg 0x0050,temp
+	isub temp,null
+	nbranch p_mouse_led_off,positive
+	arg 0x0064,temp
+	isub temp,null
+	nbranch p_mouse_led_on,positive
+	arg 0x0078,temp
+	isub temp,null
+	nbranch p_mouse_led_off,positive
+	arg 0x008c,temp
+	isub temp,null
+	nbranch p_mouse_led_on,positive
+	arg 0x00a0,temp
+	isub temp,null
+	nrtn positive
 	increase -1,pdata
-	store 1,mem_24g_not_connect_led_count
-	branch p_mouse_led_on
+	store 2,mem_24g_led_count
+	branch p_mouse_led_off
 
 
 
@@ -204,6 +225,10 @@
 p_mouse_gpio_init:
 	fetcht 1,mem_eeprom_wp_gpio
 	call gpio_config_output
+	arg MULTI_LED_LOW_POWER_GPIO,temp
+	call gpio_config_output
+	arg MULTI_LED_GPIO,temp
+	call gpio_config_output
 	fetcht 1,mem_power_charge_in_full_check_gpio
 	call mouse_gpio_config_input_pu
 	fetcht 1,mem_power_charge_in_check_gpio
@@ -271,11 +296,12 @@
 	branch mouse_no_data_timer_init
 
 p_mouse_key_check_once:
-	fetch 3,mem_flippen_key3_gpio
+	fetch 3,mem_flippen_key0_gpio
 	store 3,mem_lbutton_gpio
 	call mouse_check_key_gpio_once
 	call mouse_check_lkey_gpio
 	call mouse_check_rkey_gpio
+	call mouse_check_mkey_gpio
 	call mouse_check_key_gpio_output
 	arg 0,temp
 	storet 3,mem_mouse_lkey_press_status
@@ -358,12 +384,36 @@
 p_mouse_motion:
 	disable user
 	call mouse_key
+	call p_mouse_led_key_press_on_check
 	fetch 1,mem_mouse_key
 	and_into 0x1f,pdata
 	store 1,mem_mouse_key
 	nrtn user
 	branch mouse_no_data_timer_init
 
+p_mouse_led_key_press_on_check:
+	fetch 1,mem_24g_pair_timeout
+	nrtn blank
+	fetch 1,mem_24g_not_connect
+	nrtn blank
+	fetch 1,mem_customer_key_press_status
+	nbranch p_mouse_led_key_press_on,blank
+	branch p_mouse_led_no_connect_on_timer+2
+
+p_mouse_led_key_press_on:
+	fetch 2,mem_24g_led_count
+	increase 1,pdata
+	store 2,mem_24g_led_count
+	arg 0x0019,temp
+	isub temp,null
+	nbranch p_mouse_led_on,positive
+	arg 0x0032,temp
+	isub temp,null
+	nrtn positive
+	increase -1,pdata
+	store 2,mem_24g_led_count
+	branch p_mouse_led_off
+
 p_mouse_bb_event_timer:
 	call p_mouse_power_charge_in_check
 	call p_mouse_adc_read
@@ -382,7 +432,8 @@
 	call p_mouse_customer_key0_long_press_timer
 	call p_mouse_two_clink_check_timer
 	call p_mouse_led_type_timer
-	branch mouse_bb_event_timer+8
+	call p_mouse_24g_commbination_key_process
+	branch mouse_bb_event_timer+11
 	
 p_mouse_power_charge_in_check:
 	fetcht 1,mem_power_charge_in_check_gpio
@@ -390,7 +441,6 @@
 	fetcht 1,mem_power_charge_in_check_gpio
 	call gpio_get_bit
 	nbranch p_mouse_power_charge_in,true
-p_mouse_power_charge_in_full:
 p_mouse_power_no_charge_in:
 	fetch 1,mem_mouse_charge_in_state
 	rtn blank
@@ -408,12 +458,18 @@
 	call gpio_get_bit
 	nbranch p_mouse_power_charge_in_full,true
 	call p_mouse_power_charge_in_gpio_config_input_pu
+	call p_mouse_led_off
+	call p_mouse_voltage_led_state_on
+	call p_mouse_led_on
 	fetch 1,mem_mouse_charge_in_state
 	nrtn blank
 	jam 1,mem_mouse_charge_in_state
-	call p_mouse_voltage_led_state_on
-	branch p_mouse_led_on
+	rtn
 
+p_mouse_power_charge_in_full:
+	call p_mouse_led_off
+	call p_mouse_voltage_led_state_off
+	branch p_mouse_led_on
 p_mouse_adc_read:
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
 	rtnbit0 MOUSE_ENABLE_ADC
@@ -460,31 +516,22 @@
 	rtnbit0 MOUSE_ENABLE_LOW_VOLTAGE_LED
 	bbit0 MOUSE_LOW_VOLTAGE_FLAG,p_mouse_voltage_led_state_off
 p_mouse_voltage_led_state_on:
-	fetch 1,mem_power_check_state_led_gpio
-	store 1,mem_mouse_led_gpio
-	fetcht 1,mem_multi_led_gpio
-	call gpio_config_output
-	fetcht 1,mem_multi_led_gpio
-	branch gpio_out_active
+	jam MULTI_LED_LOW_POWER_GPIO,mem_mouse_led_gpio
+	rtn
 
 p_mouse_voltage_led_state_off:
-	fetch 1,mem_multi_led_gpio
-	store 1,mem_mouse_led_gpio
-	fetcht 1,mem_power_check_state_led_gpio
-	call gpio_config_output
-	fetcht 1,mem_power_check_state_led_gpio
-	branch gpio_out_active
+	jam MULTI_LED_GPIO,mem_mouse_led_gpio
+	rtn
 
 p_mouse_led_type_timer:
 	fetch 1,mem_24g_pair_timeout
 	nrtn blank
 	fetch 1,mem_24g_not_connect
-	nbranch p_mouse_led_no_connect_on_timer,blank
+	nrtn blank
 	fetch 1,mem_mouse_multi_led_type
 	beq MULTI_LED_BLINK,p_mouse_led_type_blink_timer
-	fetch 1,mem_customer_key_press_status
-	nbranch p_mouse_led_on,blank
-	branch p_mouse_led_off
+	rtn
+
 p_mouse_led_type_blink_timer:
 	arg mem_mouse_led_blink_timer,regc
 	arg p_mouse_led_type_blink_timeout,regb
@@ -508,10 +555,21 @@
 	fetch 1,mem_mouse_led_state
 	jam ON,mem_mouse_led_state
 	rtneq ON
-	fetcht 1,mem_mouse_led_gpio
-	call gpio_config_output
+	fetch 1,mem_mouse_led_gpio
+	beq MULTI_LED_GPIO,p_mouse_multi_led_on
+	arg MULTI_LED_LOW_POWER_GPIO,temp
+	call gpio_out_active
+p_mouse_led_on_next:
 	fetcht 1,mem_mouse_led_gpio
 	branch gpio_out_inactive
+p_mouse_multi_led_on:
+	arg MULTI_LED_GPIO,temp
+	call gpio_out_active
+	branch p_mouse_led_on_next
+
+
+
+
 p_mouse_led_blink_over_off:
 	jam MULTI_LED_ON,mem_mouse_multi_led_type
 	jam 0,mem_mouse_led_blink_timer
@@ -520,8 +578,6 @@
 	jam OFF,mem_mouse_led_state
 	rtneq OFF
 	fetcht 1,mem_mouse_led_gpio
-	call gpio_config_output
-	fetcht 1,mem_mouse_led_gpio
 	branch gpio_out_active
 
 p_mouse_24g_led_blink:
@@ -534,8 +590,20 @@
 	and pdata,0x03,pdata
 	beq 0x03,p_mouse_led_on
 	beq 0x01,p_mouse_led_off
-	rtn	
-	
+	rtn
+
+p_mouse_24g_commbination_key_process:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_COMMBINATION_KEY_BY_24G_PAIRING
+	fetcht 1,mem_mouse_commbination_key_24g
+	storet 1,mem_mouse_commbination_key
+	call p_mouse_key_check_once
+	and pdata,0x07,pdata
+	fetcht 1,mem_mouse_commbination_key
+	isub temp,null
+	branch mouse_commbination_key_down,zero
+	branch mouse_commbination_key_up
+
 /////////////////////////////////////////////////////////////////////////////////////////////////
 p_mouse_long_key_press_timer:
 	fetch 1,mem_customer_key_press_status
@@ -582,8 +650,8 @@
 	store 1,mem_long_key_press_mode_check_timeout
 	rtn
 p_mouse_two_clink_check_timer:
-	fetch 1,mem_key0_short_press_count
-	rtn blank
+//	fetch 1,mem_key0_short_press_count
+//	rtn blank
 	arg mem_key0_short_press_timer,regc
 	arg p_mouse_two_clink_check_timeout,regb
 	branch timer_single_step
@@ -821,11 +889,15 @@
 	call gpio_get_bit
 	setflag true,0,regb
 	and regb,0x3f,pdata
+	copy pdata,regb
 	fetcht 1,mem_mouse_key_temp
 	copy temp,queue
-	beq 0x38,p_mouse_key_short_press
 	beq 0x00,p_mouse_key_release
 	beq 0x3f,p_mouse_key_long_press
+	and regb,0x07,pdata
+	nrtn blank
+	and regb,0x38,pdata
+	nbranch p_mouse_key_short_press,blank
 	rtn
 
 p_mouse_key_long_press:
@@ -850,9 +922,15 @@
 	copy queue,pdata
 	nbranch mouse_key_press,blank
 	fetch 1,mem_key0_short_press_count
+	beq 0,p_mouse_key_two_short_press_check
+	fetch 1,mem_key0_short_press_timer
+	sub pdata,0x03,null
+	nrtn positive
+p_mouse_key_two_short_press_check:
+	fetch 1,mem_key0_short_press_count
 	increase 1,pdata
 	store 1,mem_key0_short_press_count
-	beq 2,p_mouse_key0_two_clink
+	bne 1,p_mouse_key0_two_clink
 	jam 0x05,mem_key0_short_press_timer
 	branch p_mouse_key_release
 p_mouse_key0_two_clink:
@@ -880,6 +958,7 @@
 	fetcht 1,mem_flippen_key0_gpio
 	fetch 1,mem_mouse_customer_key0_press_status
 	call p_mouse_check_key_connect_gnd
+	copy regb,pdata
 	store 1,mem_mouse_customer_key0_press_status
 	copy rega,pdata
 	bbit1 MOUSE_L_KEY,p_mouse_customerkey0_press
@@ -911,6 +990,7 @@
 	fetcht 1,mem_flippen_key1_gpio
 	fetch 1,mem_mouse_customer_key1_press_status
 	call p_mouse_check_key_connect_gnd
+	copy regb,pdata
 	store 1,mem_mouse_customer_key1_press_status
 	copy rega,pdata
 	bbit1 MOUSE_R_KEY,p_mouse_customerkey_press
@@ -925,6 +1005,7 @@
 	fetcht 1,mem_flippen_key2_gpio
 	fetch 1,mem_mouse_customer_key2_press_status
 	call p_mouse_check_key_connect_gnd
+	copy regb,pdata
 	store 1,mem_mouse_customer_key2_press_status
 	copy rega,pdata
 	bbit1 MOUSE_M_KEY,p_mouse_customerkey_press
Index: sched/mouse.dat
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/FliePen_Project/FlipPen_Only2.4G/sched/mouse.dat	(revision 553)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/FliePen_Project/FlipPen_Only2.4G/sched/mouse.dat	(working copy)
@@ -85,7 +85,7 @@
 #bit5 MOUSE_ENABLE_COMMBINATION_KEY_BY_BT_DISCOVERY
 #bit6 MOUSE_ENABLE_DPI_KEY_LONG_PRESS_DISCONVERY
 #bit7 MOUSE_ENABLE_PB_BUTTON_LONG_PRESS_DISCONVERY
-02
+06
  
 #mouse flag byte8
 #bit0 MOUSE_ENABLE_SMOOTHER
@@ -93,15 +93,14 @@
 00
 
 mem_mouse_discovery_timeout:b0 04	#2min
-mem_mouse_24g_pair_timeout_init:0a 00  #1min	    24g reconn timer&pair timer
+mem_mouse_24g_pair_timeout_init:70 17  #1min	    24g reconn timer&pair timer
 mem_mouse_direct_timeout:64  #05s
 mem_mouse_24g_reconn_timeout_init:08 #10s
 mem_long_key_press_timeout_init:14
 mem_long_key_press_mode_check_timeout_init:14
 mem_key0_long_press_delay:08
 mem_key0_short_press_timer:05
-mem_multi_led_gpio:05
-mem_power_check_state_led_gpio:06
+mem_mouse_led_gpio:05
 
 mem_mouse_24g_pair_tx_power:94 #-20dBm
 mem_rssi_dis_min_24g_init:85
@@ -222,7 +221,7 @@
 
 #bit0:mouse_key_l    bit1:mouse_key_r  bit2:mouse_key_m
 mem_mouse_commbination_key_bt:07
-mem_mouse_commbination_key_24g:03
+mem_mouse_commbination_key_24g:05
 
 mem_store_information_delay_timer_init:02
 
