Index: doc/YC1030 SDK_UserManual.pdf
===================================================================
--- /branch/keyboard/customer_FW/MingZhe_project/1030_508 _MZ_only_2.4G/doc/YC1030 SDK_UserManual.pdf	(revision 1646)
+++ /branch/keyboard/customer_FW/MingZhe_project/1030_508 _MZ_only_2.4G/doc/YC1030 SDK_UserManual.pdf	(nonexistent)
@@ -1,66 +0,0 @@
-%PDF-1.7
-%
-218 0 obj
-<</Linearized 1 /L 848264 /H [ 1472 224 ] /O 220 /E 130198 /N 12 /T 843757 >>
-endobj
-                                                                                                      
-
-xref
-218 28
-0000000017 00000 n
-0000001696 00000 n
-0000001765 00000 n
-0000002038 00000 n
-0000002238 00000 n
-0000002461 00000 n
-0000005136 00000 n
-0000005350 00000 n
-0000006239 00000 n
-0000006737 00000 n
-0000006823 00000 n
-0000011241 00000 n
-0000011869 00000 n
-0000011955 00000 n
-0000012041 00000 n
-0000013375 00000 n
-0000038871 00000 n
-0000039503 00000 n
-0000062185 00000 n
-0000062880 00000 n
-0000063827 00000 n
-0000087571 00000 n
-0000129673 00000 n
-0000129809 00000 n
-0000129961 00000 n
-0000130011 00000 n
-0000130051 00000 n
-0000001472 00000 n
-trailer
-<</Root 219 0 R/Info 216 0 R/Size 246/Prev 843745/ID[<0DED5D8F16BAFD3B5A336E190498768A><0DED5D8F16BAFD3B5A336E190498768A>]>>
-startxref
-0
-%%EOF
-                                                                                                                                                                                                                                                                                                                                                    
-                                                                                                                                                                                 
-245 0 obj
-<</S 106/Length 144/Filter/FlateDecode>>stream
-xc``c``cf`a`?  `6320Rbg(.$)`l^N-k
-W3d;bDE@pg -	Ċ`
1w;s `cbaccK.`
-(bgď!'   %`
-endstream
-endobj
-219 0 obj
-<</Pages 215 0 R/Type/Catalog/Metadata 217 0 R>>
-endobj
-220 0 obj
-<</Resources <</Pattern <<>>/ColorSpace <</CS1 243 0 R>>/XObject <</Im7 233 0 R/Im9 228 0 R>>/Shading <<>>/ExtGState <</GS0 242 0 R>>/Font <</F6 241 0 R/F8 240 0 R/F5 244 0 R>>>>/MediaBox [0 0 595.276 841.89]/Type/Page/Parent 215 0 R/Contents 236 0 R>>
-endobj
-221 0 obj
-<</ItalicAngle 0/CIDSet 227 0 R/Flags 32/FontFile2 235 0 R/FontBBox [-7 -140 1000 859]/CapHeight 683/Type/FontDescriptor/FontName/ABCDEF+SimSun/Ascent 859/Descent -140/StemV 228>>
-endobj
-222 0 obj
-<</ItalicAngle 0/CIDSet 230 0 R/Flags 262176/FontFile2 238 0 R/FontBBox [-558 -327 2000 1055]/CapHeight 662/Type/FontDescriptor/FontName/ABCDEF+TimesNewRomanPS-BoldMT/Ascent 891/Descent -216/StemV 229>>
-endobj
-223 0 obj
-<</Length 2596/Filter/FlateDecode/N 3>>stream
-xwTSϽ7PkhRH
H.*1	J "6DTpDQ2(C"QDqpId߼y͛~kg}ֺ LX	Xňg` l pBF|،l *? Y"1 P\8=W%Oɘ4M0J"Y2Vs,[|e92<se'9`2&ctI@o|N6 (.sSdl-c(2-y H_/XZ.$&\SM07#1ؙYr fYym";8980m-m(]v^DW~
 emi ]P`/ u}q|^R,g+\Kk)/C_|Rax8t1C^7nfzDp柇u$/ED˦L L[B@ٹЖX!
\ No newline at end of file
Index: doc/download.rar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: doc/download.rar
___________________________________________________________________
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: doc/tools.rar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: doc/tools.rar
___________________________________________________________________
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: format/rom.format
===================================================================
--- /branch/keyboard/customer_FW/MingZhe_project/1030_508 _MZ_only_2.4G/format/rom.format	(revision 1646)
+++ /branch/keyboard/customer_FW/MingZhe_project/1030_508 _MZ_only_2.4G/format/rom.format	(working copy)
@@ -9902,6 +9902,7 @@
 1 mem_keyboard_commbination_long_press_timer_init
 1 mem_keyboard_commbination_long_press_timer
 1 mem_keyboard_commbination_pairing_flag
+1 mem_keybaord_sys_release_flag
 )
 )
 xmemalloc g24_tx_remote(
Index: output/bt_format.meta
===================================================================
--- /branch/keyboard/customer_FW/MingZhe_project/1030_508 _MZ_only_2.4G/output/bt_format.meta	(revision 1646)
+++ /branch/keyboard/customer_FW/MingZhe_project/1030_508 _MZ_only_2.4G/output/bt_format.meta	(working copy)
@@ -2340,6 +2340,7 @@
 0x4feb mem_keyboard_commbination_long_press_timer_init
 0x4fec mem_keyboard_commbination_long_press_timer
 0x4fed mem_keyboard_commbination_pairing_flag
+0x4fee mem_keybaord_sys_release_flag
 0x48d8 mem_remote_car_hard_soft_switch
 0x48d9 mem_remote_car_queue_each_size
 0x48da mem_remote_car_queue_length
Index: output/bt_program23.icode
===================================================================
--- /branch/keyboard/customer_FW/MingZhe_project/1030_508 _MZ_only_2.4G/output/bt_program23.icode	(revision 1646)
+++ /branch/keyboard/customer_FW/MingZhe_project/1030_508 _MZ_only_2.4G/output/bt_program23.icode	(working copy)
@@ -1096,7 +1096,7 @@
  00001095  0x000005c0 call  0x0000445f 
  00001096  0x000005c1 branch  0x00004768 
  00001097  0x000005c4 jam  0x00000002 , 0x00004c0b 
- 00001098  0x000005c5 call  0x000005d1 
+ 00001098  0x000005c5 call  0x000005d9 
  00001099  0x000005c6 jam  0x00000003 , 0x00004be0 
  00001100  0x000005c7 rtn 
  00001101  0x000005ca arg  0x00000006 , 0x00000039 
@@ -1310,7 +1310,7 @@
  00001309  0x000006e2 beq  0x0000007f , 0x00000531 
  00001310  0x000006e4 istore  0x00000001 , 0x00000005 
  00001311  0x000006e5 loop  0x0000051c 
- 00001312  0x000006e8 call  0x000005a6 
+ 00001312  0x000006e8 call  0x000005ae 
  00001313  0x000006ea fetch  0x00000001 , 0x00004c0b 
  00001314  0x000006eb beq  0x00000001 , 0x00007d92 
  00001315  0x000006ec beq  0x00000002 , 0x00000527 
@@ -1355,8 +1355,8 @@
  00001354  0x0000071e beq  0x000000fb , 0x00000589 
  00001355  0x0000071f beq  0x000000fc , 0x0000058c 
  00001356  0x00000720 beq  0x000000fd , 0x0000058f 
- 00001357  0x00000721 beq  0x000000ff , 0x0000059e 
- 00001358  0x00000722 beq  0x000000ae , 0x000005a2 
+ 00001357  0x00000721 beq  0x000000ff , 0x000005a4 
+ 00001358  0x00000722 beq  0x000000ae , 0x000005a9 
  00001359  0x00000723 branch  0x00000520 
  00001360  0x00000726 setarg  0x00000183 
  00001361  0x00000727 store  0x00000002 , 0x00004c02 
@@ -1433,60 +1433,68 @@
  00001432  0x00000787 fetch  0x00000001 , 0x00004c9e 
  00001433  0x00000788 call  0x00000529 , 0x00000034 
  00001434  0x00000789 jam  0x00000000 , 0x00004d74 
- 00001435  0x0000078a setarg  0x00000003 
- 00001436  0x0000078b store  0x00000003 , 0x00004c01 
- 00001437  0x0000078c branch  0x00000520 
- 00001438  0x0000078e jam  0x00000002 , 0x00004c01 
- 00001439  0x0000078f setarg  0x00000002 
- 00001440  0x00000790 store  0x00000001 , 0x00004c02 
- 00001441  0x00000791 branch  0x00000520 
- 00001442  0x00000793 jam  0x00000002 , 0x00004c01 
- 00001443  0x00000794 setarg  0x00000004 
- 00001444  0x00000795 store  0x00000001 , 0x00004c02 
- 00001445  0x00000796 branch  0x00000520 
- 00001446  0x00000798 fetch  0x00000001 , 0x0000493f 
- 00001447  0x00000799 bne  0x00000000 , 0x000005ad 
- 00001448  0x0000079a jam  0x00000000 , 0x00004d58 
- 00001449  0x0000079b fetch  0x00000002 , 0x00004c01 
- 00001450  0x0000079c ncall  0x00000458 , 0x00000034 
- 00001451  0x0000079d fetch  0x00000006 , 0x00004c04 
- 00001452  0x0000079e ncall  0x00000458 , 0x00000034 
- 00001453  0x000007a0 fetch  0x00000001 , 0x00004c01 
- 00001454  0x000007a1 beq  0x00000000 , 0x000005b8 
- 00001455  0x000007a2 beq  0x00000001 , 0x000005b3 
- 00001456  0x000007a3 beq  0x00000003 , 0x000005c1 
- 00001457  0x000007a4 beq  0x00000002 , 0x000005c9 
- 00001458  0x000007a5 rtn 
- 00001459  0x000007ab jam  0x00000001 , 0x00004c0b 
- 00001460  0x000007ac arg  0x00004c01 , 0x00000006 
- 00001461  0x000007ad arg  0x000048d8 , 0x00000005 
- 00001462  0x000007ae arg  0x00000007 , 0x00000039 
- 00001463  0x000007af branch  0x00007ca1 
- 00001464  0x000007b2 jam  0x00000002 , 0x00004c0b 
- 00001465  0x000007b3 call  0x000005d1 
- 00001466  0x000007b4 call  0x0000044d 
- 00001467  0x000007b5 fetch  0x00000001 , 0x00004d5a 
- 00001468  0x000007b6 store  0x00000001 , 0x00004c03 
- 00001469  0x000007b7 arg  0x00004c01 , 0x00000006 
- 00001470  0x000007b8 arg  0x00004bde , 0x00000005 
- 00001471  0x000007b9 arg  0x00000009 , 0x00000039 
- 00001472  0x000007ba branch  0x00007ca1 
- 00001473  0x000007bd jam  0x00000004 , 0x00004c0b 
- 00001474  0x000007be call  0x000005d1 
- 00001475  0x000007bf setarg  0x00000003 
- 00001476  0x000007c0 call  0x00004621 
- 00001477  0x000007c1 arg  0x00004c02 , 0x00000006 
- 00001478  0x000007c2 arg  0x00004bdf , 0x00000005 
- 00001479  0x000007c3 arg  0x00000002 , 0x00000039 
- 00001480  0x000007c4 branch  0x00007ca1 
- 00001481  0x000007c7 jam  0x00000005 , 0x00004c0b 
- 00001482  0x000007c8 call  0x000005d1 
- 00001483  0x000007c9 setarg  0x00000002 
- 00001484  0x000007ca store  0x00000008 , 0x00004bde 
- 00001485  0x000007cb store  0x00000008 , 0x00004be7 
- 00001486  0x000007cc fetch  0x00000001 , 0x00004c02 
- 00001487  0x000007cd store  0x00000001 , 0x00004bdf 
- 00001488  0x000007ce rtn 
- 00001489  0x000007d2 arg  0x00000012 , 0x00000039 
- 00001490  0x000007d3 arg  0x00004bde , 0x00000005 
- 00001491  0x000007d4 branch  0x00007c68 
+ 00001435  0x0000078a fetch  0x00000001 , 0x00004fee 
+ 00001436  0x0000078b nbranch  0x000005a0 , 0x00000034 
+ 00001437  0x0000078c setarg  0x00000003 
+ 00001438  0x0000078d store  0x00000003 , 0x00004c01 
+ 00001439  0x0000078e branch  0x00000520 
+ 00001440  0x00000790 jam  0x00000000 , 0x00004fee 
+ 00001441  0x00000791 setarg  0x00000002 
+ 00001442  0x00000792 store  0x00000002 , 0x00004c01 
+ 00001443  0x00000793 branch  0x00000520 
+ 00001444  0x00000795 jam  0x00000001 , 0x00004fee 
+ 00001445  0x00000796 jam  0x00000002 , 0x00004c01 
+ 00001446  0x00000797 setarg  0x00000002 
+ 00001447  0x00000798 store  0x00000001 , 0x00004c02 
+ 00001448  0x00000799 branch  0x00000520 
+ 00001449  0x0000079b jam  0x00000001 , 0x00004fee 
+ 00001450  0x0000079c jam  0x00000002 , 0x00004c01 
+ 00001451  0x0000079d setarg  0x00000004 
+ 00001452  0x0000079e store  0x00000001 , 0x00004c02 
+ 00001453  0x0000079f branch  0x00000520 
+ 00001454  0x000007a1 fetch  0x00000001 , 0x0000493f 
+ 00001455  0x000007a2 bne  0x00000000 , 0x000005b5 
+ 00001456  0x000007a3 jam  0x00000000 , 0x00004d58 
+ 00001457  0x000007a4 fetch  0x00000002 , 0x00004c01 
+ 00001458  0x000007a5 ncall  0x00000458 , 0x00000034 
+ 00001459  0x000007a6 fetch  0x00000006 , 0x00004c04 
+ 00001460  0x000007a7 ncall  0x00000458 , 0x00000034 
+ 00001461  0x000007a9 fetch  0x00000001 , 0x00004c01 
+ 00001462  0x000007aa beq  0x00000000 , 0x000005c0 
+ 00001463  0x000007ab beq  0x00000001 , 0x000005bb 
+ 00001464  0x000007ac beq  0x00000003 , 0x000005c9 
+ 00001465  0x000007ad beq  0x00000002 , 0x000005d1 
+ 00001466  0x000007ae rtn 
+ 00001467  0x000007b4 jam  0x00000001 , 0x00004c0b 
+ 00001468  0x000007b5 arg  0x00004c01 , 0x00000006 
+ 00001469  0x000007b6 arg  0x000048d8 , 0x00000005 
+ 00001470  0x000007b7 arg  0x00000007 , 0x00000039 
+ 00001471  0x000007b8 branch  0x00007ca1 
+ 00001472  0x000007bb jam  0x00000002 , 0x00004c0b 
+ 00001473  0x000007bc call  0x000005d9 
+ 00001474  0x000007bd call  0x0000044d 
+ 00001475  0x000007be fetch  0x00000001 , 0x00004d5a 
+ 00001476  0x000007bf store  0x00000001 , 0x00004c03 
+ 00001477  0x000007c0 arg  0x00004c01 , 0x00000006 
+ 00001478  0x000007c1 arg  0x00004bde , 0x00000005 
+ 00001479  0x000007c2 arg  0x00000009 , 0x00000039 
+ 00001480  0x000007c3 branch  0x00007ca1 
+ 00001481  0x000007c6 jam  0x00000004 , 0x00004c0b 
+ 00001482  0x000007c7 call  0x000005d9 
+ 00001483  0x000007c8 setarg  0x00000003 
+ 00001484  0x000007c9 call  0x00004621 
+ 00001485  0x000007ca arg  0x00004c02 , 0x00000006 
+ 00001486  0x000007cb arg  0x00004bdf , 0x00000005 
+ 00001487  0x000007cc arg  0x00000002 , 0x00000039 
+ 00001488  0x000007cd branch  0x00007ca1 
+ 00001489  0x000007d0 jam  0x00000005 , 0x00004c0b 
+ 00001490  0x000007d1 call  0x000005d9 
+ 00001491  0x000007d2 setarg  0x00000002 
+ 00001492  0x000007d3 store  0x00000008 , 0x00004bde 
+ 00001493  0x000007d4 store  0x00000008 , 0x00004be7 
+ 00001494  0x000007d5 fetch  0x00000001 , 0x00004c02 
+ 00001495  0x000007d6 store  0x00000001 , 0x00004bdf 
+ 00001496  0x000007d7 rtn 
+ 00001497  0x000007db arg  0x00000012 , 0x00000039 
+ 00001498  0x000007dc arg  0x00004bde , 0x00000005 
+ 00001499  0x000007dd branch  0x00007c68 
Index: output/bt_program23.list
===================================================================
--- /branch/keyboard/customer_FW/MingZhe_project/1030_508 _MZ_only_2.4G/output/bt_program23.list	(revision 1646)
+++ /branch/keyboard/customer_FW/MingZhe_project/1030_508 _MZ_only_2.4G/output/bt_program23.list	(working copy)
@@ -1697,69 +1697,78 @@
 0x598 001927 fetch 1 ,mem_keyboard_all_press_key_count 
 0x599 001928 call p_keyboard_value_release_all_key ,blank 
 0x59a 001929 jam keyboard_consumer_key_standby ,mem_keyboard_consumer_key_status 
-0x59b 001930 setarg 0x03 
-0x59c 001931 store 3 ,mem_keyboard_tx_data 
-0x59d 001932 branch p_keyboard_motion_data_check_next 
-:      001933 p_keyboard_value_system_sleep:
-0x59e 001934 jam hid_reportid_system_ctrl ,mem_keyboard_tx_data 
-0x59f 001935 setarg 0x02 
-0x5a0 001936 store 1 ,mem_keyboard_tx_data + 1 
-0x5a1 001937 branch p_keyboard_motion_data_check_next 
-:      001938 p_keyboard_value_system_wake:
-0x5a2 001939 jam hid_reportid_system_ctrl ,mem_keyboard_tx_data 
-0x5a3 001940 setarg 0x04 
-0x5a4 001941 store 1 ,mem_keyboard_tx_data + 1 
-0x5a5 001942 branch p_keyboard_motion_data_check_next 
-:      001943 p_keyboard_device_data_tpye_check:
-0x5a6 001944 fetch 1 ,mem_device_flag 
-0x5a7 001945 bne mode_24g_device ,p_keyboard_device_data_tpye_check_next 
-0x5a8 001946 jam 0 ,mem_24g_repeat_send_flag 
-0x5a9 001947 fetch 2 ,mem_keyboard_tx_data 
-0x5aa 001948 ncall p_keyboard_set_repeat_send_flag ,blank 
-0x5ab 001949 fetch 6 ,mem_keyboard_tx_data + 3 
-0x5ac 001950 ncall p_keyboard_set_repeat_send_flag ,blank 
-:      001951 p_keyboard_device_data_tpye_check_next:
-0x5ad 001952 fetch 1 ,mem_keyboard_tx_data 
-0x5ae 001953 beq hid_reportid_key_standard ,p_standard_keyboard_data_send 
-0x5af 001954 beq hid_reportid_mouse ,p_mouse_data_send 
-0x5b0 001955 beq hid_reportid_consumer_key ,p_consumer_data_send 
-0x5b1 001956 beq hid_reportid_system_ctrl ,p_system_control_data_send 
-0x5b2 001957 rtn 
-:      001962 p_mouse_data_send:
-0x5b3 001963 jam device_data_tpye_mouse ,mem_keyboard_data_send_flag 
-0x5b4 001964 arg mem_keyboard_tx_data ,contr 
-0x5b5 001965 arg mem_mouse_key ,contw 
-0x5b6 001966 arg 7 ,loopcnt 
-0x5b7 001967 branch memcpy 
-:      001969 p_standard_keyboard_data_send:
-0x5b8 001970 jam device_data_tpye_standard_keyboard ,mem_keyboard_data_send_flag 
-0x5b9 001971 call p_clear_key_data 
-0x5ba 001972 call p_keyboard_24g_led_get_status_check 
-0x5bb 001973 fetch 1 ,mem_keyboard_led_status_get 
-0x5bc 001974 store 1 ,mem_keyboard_tx_data + 2 
-0x5bd 001975 arg mem_keyboard_tx_data ,contr 
-0x5be 001976 arg mem_customer_key_press ,contw 
-0x5bf 001977 arg 9 ,loopcnt 
-0x5c0 001978 branch memcpy 
-:      001980 p_consumer_data_send:
-0x5c1 001981 jam device_data_tpye_consumer ,mem_keyboard_data_send_flag 
-0x5c2 001982 call p_clear_key_data 
-0x5c3 001983 setarg 0x03 
-0x5c4 001984 call mouse_customer_media_key_set 
-0x5c5 001985 arg mem_keyboard_tx_data + 1 ,contr 
-0x5c6 001986 arg mem_customer_key_press + 1 ,contw 
-0x5c7 001987 arg 2 ,loopcnt 
-0x5c8 001988 branch memcpy 
-:      001990 p_system_control_data_send:
-0x5c9 001991 jam device_data_tpye_system_conctol ,mem_keyboard_data_send_flag 
-0x5ca 001992 call p_clear_key_data 
-0x5cb 001993 setarg 0x02 
-0x5cc 001994 store 8 ,mem_customer_key_press 
-0x5cd 001995 store 8 ,mem_customer_key_release 
-0x5ce 001996 fetch 1 ,mem_keyboard_tx_data + 1 
-0x5cf 001997 store 1 ,mem_customer_key_press + 1 
-0x5d0 001998 rtn 
-:      002001 p_clear_key_data:
-0x5d1 002002 arg 18 ,loopcnt 
-0x5d2 002003 arg mem_customer_key_press ,contw 
-0x5d3 002004 branch clear_mem 
+0x59b 001930 fetch 1 ,mem_keybaord_sys_release_flag 
+0x59c 001931 nbranch p_keyboard_value_system_release ,blank 
+0x59d 001932 setarg 0x03 
+0x59e 001933 store 3 ,mem_keyboard_tx_data 
+0x59f 001934 branch p_keyboard_motion_data_check_next 
+:      001935 p_keyboard_value_system_release:
+0x5a0 001936 jam 0 ,mem_keybaord_sys_release_flag 
+0x5a1 001937 setarg 0x0002 
+0x5a2 001938 store 2 ,mem_keyboard_tx_data 
+0x5a3 001939 branch p_keyboard_motion_data_check_next 
+:      001940 p_keyboard_value_system_sleep:
+0x5a4 001941 jam 1 ,mem_keybaord_sys_release_flag 
+0x5a5 001942 jam hid_reportid_system_ctrl ,mem_keyboard_tx_data 
+0x5a6 001943 setarg 0x02 
+0x5a7 001944 store 1 ,mem_keyboard_tx_data + 1 
+0x5a8 001945 branch p_keyboard_motion_data_check_next 
+:      001946 p_keyboard_value_system_wake:
+0x5a9 001947 jam 1 ,mem_keybaord_sys_release_flag 
+0x5aa 001948 jam hid_reportid_system_ctrl ,mem_keyboard_tx_data 
+0x5ab 001949 setarg 0x04 
+0x5ac 001950 store 1 ,mem_keyboard_tx_data + 1 
+0x5ad 001951 branch p_keyboard_motion_data_check_next 
+:      001952 p_keyboard_device_data_tpye_check:
+0x5ae 001953 fetch 1 ,mem_device_flag 
+0x5af 001954 bne mode_24g_device ,p_keyboard_device_data_tpye_check_next 
+0x5b0 001955 jam 0 ,mem_24g_repeat_send_flag 
+0x5b1 001956 fetch 2 ,mem_keyboard_tx_data 
+0x5b2 001957 ncall p_keyboard_set_repeat_send_flag ,blank 
+0x5b3 001958 fetch 6 ,mem_keyboard_tx_data + 3 
+0x5b4 001959 ncall p_keyboard_set_repeat_send_flag ,blank 
+:      001960 p_keyboard_device_data_tpye_check_next:
+0x5b5 001961 fetch 1 ,mem_keyboard_tx_data 
+0x5b6 001962 beq hid_reportid_key_standard ,p_standard_keyboard_data_send 
+0x5b7 001963 beq hid_reportid_mouse ,p_mouse_data_send 
+0x5b8 001964 beq hid_reportid_consumer_key ,p_consumer_data_send 
+0x5b9 001965 beq hid_reportid_system_ctrl ,p_system_control_data_send 
+0x5ba 001966 rtn 
+:      001971 p_mouse_data_send:
+0x5bb 001972 jam device_data_tpye_mouse ,mem_keyboard_data_send_flag 
+0x5bc 001973 arg mem_keyboard_tx_data ,contr 
+0x5bd 001974 arg mem_mouse_key ,contw 
+0x5be 001975 arg 7 ,loopcnt 
+0x5bf 001976 branch memcpy 
+:      001978 p_standard_keyboard_data_send:
+0x5c0 001979 jam device_data_tpye_standard_keyboard ,mem_keyboard_data_send_flag 
+0x5c1 001980 call p_clear_key_data 
+0x5c2 001981 call p_keyboard_24g_led_get_status_check 
+0x5c3 001982 fetch 1 ,mem_keyboard_led_status_get 
+0x5c4 001983 store 1 ,mem_keyboard_tx_data + 2 
+0x5c5 001984 arg mem_keyboard_tx_data ,contr 
+0x5c6 001985 arg mem_customer_key_press ,contw 
+0x5c7 001986 arg 9 ,loopcnt 
+0x5c8 001987 branch memcpy 
+:      001989 p_consumer_data_send:
+0x5c9 001990 jam device_data_tpye_consumer ,mem_keyboard_data_send_flag 
+0x5ca 001991 call p_clear_key_data 
+0x5cb 001992 setarg 0x03 
+0x5cc 001993 call mouse_customer_media_key_set 
+0x5cd 001994 arg mem_keyboard_tx_data + 1 ,contr 
+0x5ce 001995 arg mem_customer_key_press + 1 ,contw 
+0x5cf 001996 arg 2 ,loopcnt 
+0x5d0 001997 branch memcpy 
+:      001999 p_system_control_data_send:
+0x5d1 002000 jam device_data_tpye_system_conctol ,mem_keyboard_data_send_flag 
+0x5d2 002001 call p_clear_key_data 
+0x5d3 002002 setarg 0x02 
+0x5d4 002003 store 8 ,mem_customer_key_press 
+0x5d5 002004 store 8 ,mem_customer_key_release 
+0x5d6 002005 fetch 1 ,mem_keyboard_tx_data + 1 
+0x5d7 002006 store 1 ,mem_customer_key_press + 1 
+0x5d8 002007 rtn 
+:      002010 p_clear_key_data:
+0x5d9 002011 arg 18 ,loopcnt 
+0x5da 002012 arg mem_customer_key_press ,contw 
+0x5db 002013 branch clear_mem 
Index: output/bt_program23.meta
===================================================================
--- /branch/keyboard/customer_FW/MingZhe_project/1030_508 _MZ_only_2.4G/output/bt_program23.meta	(revision 1646)
+++ /branch/keyboard/customer_FW/MingZhe_project/1030_508 _MZ_only_2.4G/output/bt_program23.meta	(working copy)
@@ -1927,15 +1927,24 @@
 	fetch 1,mem_keyboard_all_press_key_count
 	call p_keyboard_value_release_all_key,blank
 	jam KEYBOARD_CONSUMER_KEY_STANDBY,mem_keyboard_consumer_key_status
+	fetch 1,mem_keybaord_sys_release_flag
+	nbranch p_keyboard_value_system_release,blank
 	setarg 0x03
 	store 3,mem_keyboard_tx_data
 	branch p_keyboard_motion_data_check_next
+p_keyboard_value_system_release:
+	jam 0,mem_keybaord_sys_release_flag
+	setarg 0x0002
+	store 2,mem_keyboard_tx_data
+	branch p_keyboard_motion_data_check_next
 p_keyboard_value_system_sleep:
+	jam 1,mem_keybaord_sys_release_flag
 	jam HID_REPORTID_SYSTEM_CTRL,mem_keyboard_tx_data
 	setarg 0x02
 	store 1,mem_keyboard_tx_data+1
-	branch p_keyboard_motion_data_check_next		
+	branch p_keyboard_motion_data_check_next			
 p_keyboard_value_system_wake:
+	jam 1,mem_keybaord_sys_release_flag
 	jam HID_REPORTID_SYSTEM_CTRL,mem_keyboard_tx_data
 	setarg 0x04
 	store 1,mem_keyboard_tx_data+1
Index: output/bt_program23.rom
===================================================================
--- /branch/keyboard/customer_FW/MingZhe_project/1030_508 _MZ_only_2.4G/output/bt_program23.rom	(revision 1646)
+++ /branch/keyboard/customer_FW/MingZhe_project/1030_508 _MZ_only_2.4G/output/bt_program23.rom	(working copy)
@@ -1096,7 +1096,7 @@
 00100000010000000100010001011111
 00100000001000000100011101101000
 01110000010011000000101100000010
-00100000010000000000010111010001
+00100000010000000000010111011001
 01110000010010111110000000000011
 00100000011000000000000000000000
 11011111001000000000000000000110
@@ -1310,7 +1310,7 @@
 11000000001111111000010100110001
 11100111111000001000000000000101
 11000010000000000000010100011100
-00100000010000000000010110100110
+00100000010000000000010110101110
 01101111111000001100110000001011
 11000000000000001111110110010010
 11000000000000010000010100100111
@@ -1355,8 +1355,8 @@
 11000000011111011000010110001001
 11000000011111100000010110001100
 11000000011111101000010110001111
-11000000011111111000010110011110
-11000000010101110000010110100010
+11000000011111111000010110100100
+11000000010101110000010110101001
 00100000001000000000010100100000
 01011000000000000000000110000011
 01100111111000010100110000000010
@@ -1433,29 +1433,37 @@
 01101111111000001100110010011110
 00100000010110100000010100101001
 01110000010011010111010000000000
+01101111111000001100111111101110
+00100100001110100000010110100000
 01011000000000000000000000000011
 01100111111000011100110000000001
 00100000001000000000010100100000
+01110000010011111110111000000000
+01011000000000000000000000000010
+01100111111000010100110000000001
+00100000001000000000010100100000
+01110000010011111110111000000001
 01110000010011000000000100000010
 01011000000000000000000000000010
 01100111111000001100110000000010
 00100000001000000000010100100000
+01110000010011111110111000000001
 01110000010011000000000100000010
 01011000000000000000000000000100
 01100111111000001100110000000010
 00100000001000000000010100100000
 01101111111000001100100100111111
-11000000100000000000010110101101
+11000000100000000000010110110101
 01110000010011010101100000000000
 01101111111000010100110000000001
 00100100010110100000010001011000
 01101111111000110100110000000100
 00100100010110100000010001011000
 01101111111000001100110000000001
-11000000000000000000010110111000
-11000000000000001000010110110011
-11000000000000011000010111000001
-11000000000000010000010111001001
+11000000000000000000010111000000
+11000000000000001000010110111011
+11000000000000011000010111001001
+11000000000000010000010111010001
 00100000011000000000000000000000
 01110000010011000000101100000001
 11011000110000000100110000000001
@@ -1463,7 +1471,7 @@
 11011111001000000000000000000111
 00100000001000000111110010100001
 01110000010011000000101100000010
-00100000010000000000010111010001
+00100000010000000000010111011001
 00100000010000000000010001001101
 01101111111000001100110101011010
 01100111111000001100110000000011
@@ -1472,7 +1480,7 @@
 11011111001000000000000000001001
 00100000001000000111110010100001
 01110000010011000000101100000100
-00100000010000000000010111010001
+00100000010000000000010111011001
 01011000000000000000000000000011
 00100000010000000100011000100001
 11011000110000000100110000000010
@@ -1480,7 +1488,7 @@
 11011111001000000000000000000010
 00100000001000000111110010100001
 01110000010011000000101100000101
-00100000010000000000010111010001
+00100000010000000000010111011001
 01011000000000000000000000000010
 01100111111001000100101111011110
 01100111111001000100101111100111
Index: output/eeprom.dat
===================================================================
--- /branch/keyboard/customer_FW/MingZhe_project/1030_508 _MZ_only_2.4G/output/eeprom.dat	(revision 1646)
+++ /branch/keyboard/customer_FW/MingZhe_project/1030_508 _MZ_only_2.4G/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-52
+72
 17
 c2
 84
@@ -4399,7 +4399,7 @@
 20
 40
 05
-d1
+d9
 70
 4b
 e0
@@ -5255,7 +5255,7 @@
 20
 40
 05
-a6
+ae
 6f
 e0
 cc
@@ -5435,11 +5435,11 @@
 c0
 7f
 85
-9e
+a4
 c0
 57
 05
-a2
+a9
 20
 20
 05
@@ -5744,6 +5744,14 @@
 4d
 74
 00
+6f
+e0
+cf
+ee
+24
+3a
+05
+a0
 58
 00
 00
@@ -5757,6 +5765,26 @@
 05
 20
 70
+4f
+ee
+00
+58
+00
+00
+02
+67
+e1
+4c
+01
+20
+20
+05
+20
+70
+4f
+ee
+01
+70
 4c
 01
 02
@@ -5773,6 +5801,10 @@
 05
 20
 70
+4f
+ee
+01
+70
 4c
 01
 02
@@ -5795,7 +5827,7 @@
 c0
 80
 05
-ad
+b5
 70
 4d
 58
@@ -5823,19 +5855,19 @@
 c0
 00
 05
-b8
+c0
 c0
 00
 85
-b3
+bb
 c0
 01
 85
-c1
+c9
 c0
 01
 05
-c9
+d1
 20
 60
 00
@@ -5867,7 +5899,7 @@
 20
 40
 05
-d1
+d9
 20
 40
 04
@@ -5903,7 +5935,7 @@
 20
 40
 05
-d1
+d9
 58
 00
 00
@@ -5935,7 +5967,7 @@
 20
 40
 05
-d1
+d9
 58
 00
 00
@@ -5972,8 +6004,8 @@
 20
 7c
 68
-5c
-02
+48
+33
 aa
 55
 40
@@ -7280,40 +7312,8 @@
 55
 cd
 7b
-66
-38
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+e2
+7d
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-f1
-c8
+49
+54
Index: output/flash.dat
===================================================================
--- /branch/keyboard/customer_FW/MingZhe_project/1030_508 _MZ_only_2.4G/output/flash.dat	(revision 1646)
+++ /branch/keyboard/customer_FW/MingZhe_project/1030_508 _MZ_only_2.4G/output/flash.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-52
+72
 17
 c2
 84
@@ -4399,7 +4399,7 @@
 20
 40
 05
-d1
+d9
 70
 4b
 e0
@@ -5255,7 +5255,7 @@
 20
 40
 05
-a6
+ae
 6f
 e0
 cc
@@ -5435,11 +5435,11 @@
 c0
 7f
 85
-9e
+a4
 c0
 57
 05
-a2
+a9
 20
 20
 05
@@ -5744,6 +5744,14 @@
 4d
 74
 00
+6f
+e0
+cf
+ee
+24
+3a
+05
+a0
 58
 00
 00
@@ -5757,6 +5765,26 @@
 05
 20
 70
+4f
+ee
+00
+58
+00
+00
+02
+67
+e1
+4c
+01
+20
+20
+05
+20
+70
+4f
+ee
+01
+70
 4c
 01
 02
@@ -5773,6 +5801,10 @@
 05
 20
 70
+4f
+ee
+01
+70
 4c
 01
 02
@@ -5795,7 +5827,7 @@
 c0
 80
 05
-ad
+b5
 70
 4d
 58
@@ -5823,19 +5855,19 @@
 c0
 00
 05
-b8
+c0
 c0
 00
 85
-b3
+bb
 c0
 01
 85
-c1
+c9
 c0
 01
 05
-c9
+d1
 20
 60
 00
@@ -5867,7 +5899,7 @@
 20
 40
 05
-d1
+d9
 20
 40
 04
@@ -5903,7 +5935,7 @@
 20
 40
 05
-d1
+d9
 58
 00
 00
@@ -5935,7 +5967,7 @@
 20
 40
 05
-d1
+d9
 58
 00
 00
@@ -5972,8 +6004,8 @@
 20
 7c
 68
-5c
-02
+48
+33
 aa
 55
 40
@@ -7280,40 +7312,8 @@
 55
 cd
 7b
-66
-38
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+e2
+7d
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-f1
-c8
+49
+54
Index: output/memmap.format
===================================================================
--- /branch/keyboard/customer_FW/MingZhe_project/1030_508 _MZ_only_2.4G/output/memmap.format	(revision 1646)
+++ /branch/keyboard/customer_FW/MingZhe_project/1030_508 _MZ_only_2.4G/output/memmap.format	(working copy)
@@ -2340,6 +2340,7 @@
 0x4feb mem_keyboard_commbination_long_press_timer_init
 0x4fec mem_keyboard_commbination_long_press_timer
 0x4fed mem_keyboard_commbination_pairing_flag
+0x4fee mem_keybaord_sys_release_flag
 0x48d8 mem_remote_car_hard_soft_switch
 0x48d9 mem_remote_car_queue_each_size
 0x48da mem_remote_car_queue_length
Index: output/otp.dat
===================================================================
--- /branch/keyboard/customer_FW/MingZhe_project/1030_508 _MZ_only_2.4G/output/otp.dat	(revision 1646)
+++ /branch/keyboard/customer_FW/MingZhe_project/1030_508 _MZ_only_2.4G/output/otp.dat	(working copy)
@@ -2,7 +2,7 @@
 01
 aa
 55
-52
+72
 17
 c2
 84
@@ -4399,7 +4399,7 @@
 20
 40
 05
-d1
+d9
 70
 4b
 e0
@@ -5255,7 +5255,7 @@
 20
 40
 05
-a6
+ae
 6f
 e0
 cc
@@ -5435,11 +5435,11 @@
 c0
 7f
 85
-9e
+a4
 c0
 57
 05
-a2
+a9
 20
 20
 05
@@ -5744,6 +5744,14 @@
 4d
 74
 00
+6f
+e0
+cf
+ee
+24
+3a
+05
+a0
 58
 00
 00
@@ -5757,6 +5765,26 @@
 05
 20
 70
+4f
+ee
+00
+58
+00
+00
+02
+67
+e1
+4c
+01
+20
+20
+05
+20
+70
+4f
+ee
+01
+70
 4c
 01
 02
@@ -5773,6 +5801,10 @@
 05
 20
 70
+4f
+ee
+01
+70
 4c
 01
 02
@@ -5795,7 +5827,7 @@
 c0
 80
 05
-ad
+b5
 70
 4d
 58
@@ -5823,19 +5855,19 @@
 c0
 00
 05
-b8
+c0
 c0
 00
 85
-b3
+bb
 c0
 01
 85
-c1
+c9
 c0
 01
 05
-c9
+d1
 20
 60
 00
@@ -5867,7 +5899,7 @@
 20
 40
 05
-d1
+d9
 20
 40
 04
@@ -5903,7 +5935,7 @@
 20
 40
 05
-d1
+d9
 58
 00
 00
@@ -5935,7 +5967,7 @@
 20
 40
 05
-d1
+d9
 58
 00
 00
@@ -5972,8 +6004,8 @@
 20
 7c
 68
-5c
-02
+48
+33
 aa
 55
 40
@@ -7280,5 +7312,5 @@
 55
 cd
 7b
-66
-38
+e2
+7d
Index: output/program.lis
===================================================================
--- /branch/keyboard/customer_FW/MingZhe_project/1030_508 _MZ_only_2.4G/output/program.lis	(revision 1646)
+++ /branch/keyboard/customer_FW/MingZhe_project/1030_508 _MZ_only_2.4G/output/program.lis	(working copy)
@@ -1482,7 +1482,7 @@
 
 p_keyboard_24g_get_led:
 0449 704c0b02 jam device_data_tpye_standard_keyboard ,mem_keyboard_data_send_flag 
-044a 204005d1 call p_clear_key_data 
+044a 204005d9 call p_clear_key_data 
 044b 704be003 jam 0x03 ,mem_customer_key_press + 2 
 044c 20600000 rtn 
 
@@ -1776,7 +1776,7 @@
 051f c200051c loop p_keyboard_tx_data_store 
 
 p_keyboard_motion_data_check_next:
-0520 204005a6 call p_keyboard_device_data_tpye_check 
+0520 204005ae call p_keyboard_device_data_tpye_check 
 0521 6fe0cc0b fetch 1 ,mem_keyboard_data_send_flag 
 0522 c000fd92 beq device_data_tpye_mouse ,enable_user 
 0523 c0010527 beq device_data_tpye_standard_keyboard ,p_device_send_keyboard_data 
@@ -1831,8 +1831,8 @@
 054a c07d8589 beq hid_key_ac_home ,p_keyboard_value_ac_home 
 054b c07e058c beq hid_key_ios_android_os_lock ,p_keyboard_value_os_lock 
 054c c07e858f beq hid_key_os_soft_kb ,p_keyboard_value_os_soft_kb 
-054d c07f859e beq hid_key_system_sleep ,p_keyboard_value_system_sleep 
-054e c05705a2 beq hid_key_system_wake ,p_keyboard_value_system_wake 
+054d c07f85a4 beq hid_key_system_sleep ,p_keyboard_value_system_sleep 
+054e c05705a9 beq hid_key_system_wake ,p_keyboard_value_system_wake 
 054f 20200520 branch p_keyboard_motion_data_check_next 
 
 p_keyboard_value_media:
@@ -1959,79 +1959,89 @@
 0598 6fe0cc9e fetch 1 ,mem_keyboard_all_press_key_count 
 0599 205a0529 call p_keyboard_value_release_all_key ,blank 
 059a 704d7400 jam keyboard_consumer_key_standby ,mem_keyboard_consumer_key_status 
-059b 58000003 setarg 0x03 
-059c 67e1cc01 store 3 ,mem_keyboard_tx_data 
-059d 20200520 branch p_keyboard_motion_data_check_next 
+059b 6fe0cfee fetch 1 ,mem_keybaord_sys_release_flag 
+059c 243a05a0 nbranch p_keyboard_value_system_release ,blank 
+059d 58000003 setarg 0x03 
+059e 67e1cc01 store 3 ,mem_keyboard_tx_data 
+059f 20200520 branch p_keyboard_motion_data_check_next 
+
+p_keyboard_value_system_release:
+05a0 704fee00 jam 0 ,mem_keybaord_sys_release_flag 
+05a1 58000002 setarg 0x0002 
+05a2 67e14c01 store 2 ,mem_keyboard_tx_data 
+05a3 20200520 branch p_keyboard_motion_data_check_next 
 
 p_keyboard_value_system_sleep:
-059e 704c0102 jam hid_reportid_system_ctrl ,mem_keyboard_tx_data 
-059f 58000002 setarg 0x02 
-05a0 67e0cc02 store 1 ,mem_keyboard_tx_data + 1 
-05a1 20200520 branch p_keyboard_motion_data_check_next 
+05a4 704fee01 jam 1 ,mem_keybaord_sys_release_flag 
+05a5 704c0102 jam hid_reportid_system_ctrl ,mem_keyboard_tx_data 
+05a6 58000002 setarg 0x02 
+05a7 67e0cc02 store 1 ,mem_keyboard_tx_data + 1 
+05a8 20200520 branch p_keyboard_motion_data_check_next 
 
 p_keyboard_value_system_wake:
-05a2 704c0102 jam hid_reportid_system_ctrl ,mem_keyboard_tx_data 
-05a3 58000004 setarg 0x04 
-05a4 67e0cc02 store 1 ,mem_keyboard_tx_data + 1 
-05a5 20200520 branch p_keyboard_motion_data_check_next 
+05a9 704fee01 jam 1 ,mem_keybaord_sys_release_flag 
+05aa 704c0102 jam hid_reportid_system_ctrl ,mem_keyboard_tx_data 
+05ab 58000004 setarg 0x04 
+05ac 67e0cc02 store 1 ,mem_keyboard_tx_data + 1 
+05ad 20200520 branch p_keyboard_motion_data_check_next 
 
 p_keyboard_device_data_tpye_check:
-05a6 6fe0c93f fetch 1 ,mem_device_flag 
-05a7 c08005ad bne mode_24g_device ,p_keyboard_device_data_tpye_check_next 
-05a8 704d5800 jam 0 ,mem_24g_repeat_send_flag 
-05a9 6fe14c01 fetch 2 ,mem_keyboard_tx_data 
-05aa 245a0458 ncall p_keyboard_set_repeat_send_flag ,blank 
-05ab 6fe34c04 fetch 6 ,mem_keyboard_tx_data + 3 
-05ac 245a0458 ncall p_keyboard_set_repeat_send_flag ,blank 
+05ae 6fe0c93f fetch 1 ,mem_device_flag 
+05af c08005b5 bne mode_24g_device ,p_keyboard_device_data_tpye_check_next 
+05b0 704d5800 jam 0 ,mem_24g_repeat_send_flag 
+05b1 6fe14c01 fetch 2 ,mem_keyboard_tx_data 
+05b2 245a0458 ncall p_keyboard_set_repeat_send_flag ,blank 
+05b3 6fe34c04 fetch 6 ,mem_keyboard_tx_data + 3 
+05b4 245a0458 ncall p_keyboard_set_repeat_send_flag ,blank 
 
 p_keyboard_device_data_tpye_check_next:
-05ad 6fe0cc01 fetch 1 ,mem_keyboard_tx_data 
-05ae c00005b8 beq hid_reportid_key_standard ,p_standard_keyboard_data_send 
-05af c00085b3 beq hid_reportid_mouse ,p_mouse_data_send 
-05b0 c00185c1 beq hid_reportid_consumer_key ,p_consumer_data_send 
-05b1 c00105c9 beq hid_reportid_system_ctrl ,p_system_control_data_send 
-05b2 20600000 rtn 
+05b5 6fe0cc01 fetch 1 ,mem_keyboard_tx_data 
+05b6 c00005c0 beq hid_reportid_key_standard ,p_standard_keyboard_data_send 
+05b7 c00085bb beq hid_reportid_mouse ,p_mouse_data_send 
+05b8 c00185c9 beq hid_reportid_consumer_key ,p_consumer_data_send 
+05b9 c00105d1 beq hid_reportid_system_ctrl ,p_system_control_data_send 
+05ba 20600000 rtn 
 
 p_mouse_data_send:
-05b3 704c0b01 jam device_data_tpye_mouse ,mem_keyboard_data_send_flag 
-05b4 d8c04c01 arg mem_keyboard_tx_data ,contr 
-05b5 d8a048d8 arg mem_mouse_key ,contw 
-05b6 df200007 arg 7 ,loopcnt 
-05b7 20207ca1 branch memcpy 
+05bb 704c0b01 jam device_data_tpye_mouse ,mem_keyboard_data_send_flag 
+05bc d8c04c01 arg mem_keyboard_tx_data ,contr 
+05bd d8a048d8 arg mem_mouse_key ,contw 
+05be df200007 arg 7 ,loopcnt 
+05bf 20207ca1 branch memcpy 
 
 p_standard_keyboard_data_send:
-05b8 704c0b02 jam device_data_tpye_standard_keyboard ,mem_keyboard_data_send_flag 
-05b9 204005d1 call p_clear_key_data 
-05ba 2040044d call p_keyboard_24g_led_get_status_check 
-05bb 6fe0cd5a fetch 1 ,mem_keyboard_led_status_get 
-05bc 67e0cc03 store 1 ,mem_keyboard_tx_data + 2 
-05bd d8c04c01 arg mem_keyboard_tx_data ,contr 
-05be d8a04bde arg mem_customer_key_press ,contw 
-05bf df200009 arg 9 ,loopcnt 
-05c0 20207ca1 branch memcpy 
+05c0 704c0b02 jam device_data_tpye_standard_keyboard ,mem_keyboard_data_send_flag 
+05c1 204005d9 call p_clear_key_data 
+05c2 2040044d call p_keyboard_24g_led_get_status_check 
+05c3 6fe0cd5a fetch 1 ,mem_keyboard_led_status_get 
+05c4 67e0cc03 store 1 ,mem_keyboard_tx_data + 2 
+05c5 d8c04c01 arg mem_keyboard_tx_data ,contr 
+05c6 d8a04bde arg mem_customer_key_press ,contw 
+05c7 df200009 arg 9 ,loopcnt 
+05c8 20207ca1 branch memcpy 
 
 p_consumer_data_send:
-05c1 704c0b04 jam device_data_tpye_consumer ,mem_keyboard_data_send_flag 
-05c2 204005d1 call p_clear_key_data 
-05c3 58000003 setarg 0x03 
-05c4 20404621 call mouse_customer_media_key_set 
-05c5 d8c04c02 arg mem_keyboard_tx_data + 1 ,contr 
-05c6 d8a04bdf arg mem_customer_key_press + 1 ,contw 
-05c7 df200002 arg 2 ,loopcnt 
-05c8 20207ca1 branch memcpy 
+05c9 704c0b04 jam device_data_tpye_consumer ,mem_keyboard_data_send_flag 
+05ca 204005d9 call p_clear_key_data 
+05cb 58000003 setarg 0x03 
+05cc 20404621 call mouse_customer_media_key_set 
+05cd d8c04c02 arg mem_keyboard_tx_data + 1 ,contr 
+05ce d8a04bdf arg mem_customer_key_press + 1 ,contw 
+05cf df200002 arg 2 ,loopcnt 
+05d0 20207ca1 branch memcpy 
 
 p_system_control_data_send:
-05c9 704c0b05 jam device_data_tpye_system_conctol ,mem_keyboard_data_send_flag 
-05ca 204005d1 call p_clear_key_data 
-05cb 58000002 setarg 0x02 
-05cc 67e44bde store 8 ,mem_customer_key_press 
-05cd 67e44be7 store 8 ,mem_customer_key_release 
-05ce 6fe0cc02 fetch 1 ,mem_keyboard_tx_data + 1 
-05cf 67e0cbdf store 1 ,mem_customer_key_press + 1 
-05d0 20600000 rtn 
+05d1 704c0b05 jam device_data_tpye_system_conctol ,mem_keyboard_data_send_flag 
+05d2 204005d9 call p_clear_key_data 
+05d3 58000002 setarg 0x02 
+05d4 67e44bde store 8 ,mem_customer_key_press 
+05d5 67e44be7 store 8 ,mem_customer_key_release 
+05d6 6fe0cc02 fetch 1 ,mem_keyboard_tx_data + 1 
+05d7 67e0cbdf store 1 ,mem_customer_key_press + 1 
+05d8 20600000 rtn 
 
 p_clear_key_data:
-05d1 df200012 arg 18 ,loopcnt 
-05d2 d8a04bde arg mem_customer_key_press ,contw 
-05d3 20207c68 branch clear_mem 
+05d9 df200012 arg 18 ,loopcnt 
+05da d8a04bde arg mem_customer_key_press ,contw 
+05db 20207c68 branch clear_mem 
 
Index: output/ramcode.rom
===================================================================
--- /branch/keyboard/customer_FW/MingZhe_project/1030_508 _MZ_only_2.4G/output/ramcode.rom	(revision 1646)
+++ /branch/keyboard/customer_FW/MingZhe_project/1030_508 _MZ_only_2.4G/output/ramcode.rom	(working copy)
@@ -1096,7 +1096,7 @@
 2040445f
 20204768
 704c0b02
-204005d1
+204005d9
 704be003
 20600000
 df200006
@@ -1310,7 +1310,7 @@
 c03f8531
 e7e08005
 c200051c
-204005a6
+204005ae
 6fe0cc0b
 c000fd92
 c0010527
@@ -1355,8 +1355,8 @@
 c07d8589
 c07e058c
 c07e858f
-c07f859e
-c05705a2
+c07f85a4
+c05705a9
 20200520
 58000183
 67e14c02
@@ -1433,29 +1433,37 @@
 6fe0cc9e
 205a0529
 704d7400
+6fe0cfee
+243a05a0
 58000003
 67e1cc01
 20200520
+704fee00
+58000002
+67e14c01
+20200520
+704fee01
 704c0102
 58000002
 67e0cc02
 20200520
+704fee01
 704c0102
 58000004
 67e0cc02
 20200520
 6fe0c93f
-c08005ad
+c08005b5
 704d5800
 6fe14c01
 245a0458
 6fe34c04
 245a0458
 6fe0cc01
-c00005b8
-c00085b3
-c00185c1
-c00105c9
+c00005c0
+c00085bb
+c00185c9
+c00105d1
 20600000
 704c0b01
 d8c04c01
@@ -1463,7 +1471,7 @@
 df200007
 20207ca1
 704c0b02
-204005d1
+204005d9
 2040044d
 6fe0cd5a
 67e0cc03
@@ -1472,7 +1480,7 @@
 df200009
 20207ca1
 704c0b04
-204005d1
+204005d9
 58000003
 20404621
 d8c04c02
@@ -1480,7 +1488,7 @@
 df200002
 20207ca1
 704c0b05
-204005d1
+204005d9
 58000002
 67e44bde
 67e44be7
Index: output/romcode.rom
===================================================================
--- /branch/keyboard/customer_FW/MingZhe_project/1030_508 _MZ_only_2.4G/output/romcode.rom	(revision 1646)
+++ /branch/keyboard/customer_FW/MingZhe_project/1030_508 _MZ_only_2.4G/output/romcode.rom	(working copy)
@@ -31265,12 +31265,4 @@
 00000000
 00000000
 00000000
-00000000
-00000000
-00000000
-00000000
-00000000
-00000000
-00000000
-00000000
-0000ea58
+0000fc66
Index: program/patch.prog
===================================================================
--- /branch/keyboard/customer_FW/MingZhe_project/1030_508 _MZ_only_2.4G/program/patch.prog	(revision 1646)
+++ /branch/keyboard/customer_FW/MingZhe_project/1030_508 _MZ_only_2.4G/program/patch.prog	(working copy)
@@ -2419,15 +2419,24 @@
 	fetch 1,mem_keyboard_all_press_key_count
 	call p_keyboard_value_release_all_key,blank
 	jam KEYBOARD_CONSUMER_KEY_STANDBY,mem_keyboard_consumer_key_status
+	fetch 1,mem_keybaord_sys_release_flag
+	nbranch p_keyboard_value_system_release,blank
 	setarg 0x03
 	store 3,mem_keyboard_tx_data
 	branch p_keyboard_motion_data_check_next
+p_keyboard_value_system_release:
+	jam 0,mem_keybaord_sys_release_flag
+	setarg 0x0002
+	store 2,mem_keyboard_tx_data
+	branch p_keyboard_motion_data_check_next
 p_keyboard_value_system_sleep:
+	jam 1,mem_keybaord_sys_release_flag
 	jam HID_REPORTID_SYSTEM_CTRL,mem_keyboard_tx_data
 	setarg 0x02
 	store 1,mem_keyboard_tx_data+1
-	branch p_keyboard_motion_data_check_next		
+	branch p_keyboard_motion_data_check_next			
 p_keyboard_value_system_wake:
+	jam 1,mem_keybaord_sys_release_flag
 	jam HID_REPORTID_SYSTEM_CTRL,mem_keyboard_tx_data
 	setarg 0x04
 	store 1,mem_keyboard_tx_data+1
