Index: c51/kb_process.c
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KD8017C_UK_2mode_3ch_LI/c51/kb_process.c	(revision 5305)
+++ /branch/mouse_project/LeXiang/Keyboard/KD8017C_UK_2mode_3ch_LI/c51/kb_process.c	(working copy)
@@ -174,7 +174,7 @@
 
 void kb_set_multikey(word multikey_value)
 {
-	if(mult_key_status != KEY_RELEASE)
+	if(mult_key_status != KEY_WAIT_RELEASE)
 	{
 		mult_key_status = KEY_MULIT_PRESS;
 		multikey[0] = HID_REPORTID_2;
@@ -185,7 +185,7 @@
 
 void kb_set_systemkey(byte systemkey_value)
 {
-	if(mult_key_status != KEY_RELEASE)
+	if(mult_key_status != KEY_WAIT_RELEASE)
 	{
 		mult_key_status = KEY_SYSTEM_PRESS;
 		system_key_press = 1;
Index: c51/output/FW
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: c51/output/FW.COD
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KD8017C_UK_2mode_3ch_LI/c51/output/FW.COD	(revision 5356)
+++ /branch/mouse_project/LeXiang/Keyboard/KD8017C_UK_2mode_3ch_LI/c51/output/FW.COD	(working copy)
@@ -1,4 +1,4 @@
-LX51 LINKER/LOCATER V4.41                                                               12/15/2022  17:59:48  PAGE 1
+LX51 LINKER/LOCATER V4.41                                                               01/05/2023  11:12:27  PAGE 1
 
 
 
@@ -6870,11 +6870,11 @@
 ;---- Variable 'multikey_value' assigned to Register 'R4/R5' ----
 002697 AD07              MOV     R5,AR7
 002699 AC06              MOV     R4,AR6
-  177: 	if(mult_key_status != KEY_RELEASE)
+  177: 	if(mult_key_status != KEY_WAIT_RELEASE)
   178: 	{
 00269B 904E4D            MOV     DPTR,#mult_key_status
 00269E E0                MOVX    A,@DPTR
-00269F 6403              XRL     A,#03H
+00269F 6402              XRL     A,#02H
 0026A1 600E              JZ      ?C0047?KB_PROCESS
   179: 		mult_key_status = KEY_MULIT_PRESS;
   180: 		multikey[0] = HID_REPORTID_2;
@@ -7570,11 +7570,11 @@
   186: void kb_set_systemkey(byte systemkey_value)
   187: {
 ;---- Variable 'systemkey_value' assigned to Register 'R7' ----
-  188: 	if(mult_key_status != KEY_RELEASE)
+  188: 	if(mult_key_status != KEY_WAIT_RELEASE)
   189: 	{
 0029CC 904E4D            MOV     DPTR,#mult_key_status
 0029CF E0                MOVX    A,@DPTR
-0029D0 6403              XRL     A,#03H
+0029D0 6402              XRL     A,#02H
 0029D2 6012              JZ      ?C0049?KB_PROCESS
   190: 		mult_key_status = KEY_SYSTEM_PRESS;
   191: 		system_key_press = 1;
Index: c51/output/FW.HTM
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KD8017C_UK_2mode_3ch_LI/c51/output/FW.HTM	(revision 5356)
+++ /branch/mouse_project/LeXiang/Keyboard/KD8017C_UK_2mode_3ch_LI/c51/output/FW.HTM	(working copy)
@@ -25,7 +25,7 @@
 
 <p class="TinyT">
 Created from: <b>LX51 LINKER/LOCATER V4.41</b><br>
-Creation time: <b>12/15/2022  17:59:48</b><p>
+Creation time: <b>01/05/2023  11:12:27</b><p>
 
 <hr>
 
Index: c51/output/FW.MAP
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KD8017C_UK_2mode_3ch_LI/c51/output/FW.MAP	(revision 5356)
+++ /branch/mouse_project/LeXiang/Keyboard/KD8017C_UK_2mode_3ch_LI/c51/output/FW.MAP	(working copy)
@@ -1,4 +1,4 @@
-LX51 LINKER/LOCATER V4.41                                                               12/15/2022  17:59:48  PAGE 1
+LX51 LINKER/LOCATER V4.41                                                               01/05/2023  11:12:27  PAGE 1
 
 
 LX51 LINKER/LOCATER V4.41, INVOKED BY:
Index: c51/output/FW.SBR
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: c51/output/eeprom.dat
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KD8017C_UK_2mode_3ch_LI/c51/output/eeprom.dat	(revision 5356)
+++ /branch/mouse_project/LeXiang/Keyboard/KD8017C_UK_2mode_3ch_LI/c51/output/eeprom.dat	(working copy)
@@ -16490,7 +16490,7 @@
 4d
 e0
 64
-03
+02
 60
 0e
 74
@@ -17307,7 +17307,7 @@
 4d
 e0
 64
-03
+02
 60
 12
 74
@@ -21014,8 +21014,8 @@
 04
 cf
 22
-1f
-ce
+84
+21
 aa
 55
 40
Index: c51/output/fw.hex
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KD8017C_UK_2mode_3ch_LI/c51/output/fw.hex	(revision 5356)
+++ /branch/mouse_project/LeXiang/Keyboard/KD8017C_UK_2mode_3ch_LI/c51/output/fw.hex	(working copy)
@@ -616,7 +616,7 @@
 :10267000A37448F0A37412F0E4A3F022E4904CD5C4
 :10268000F0904CFCE0700F904D40F0A37448F0A324
 :10269000745DF0E4A3F022AD07AC06904E4DE0640B
-:1026A00003600E7401F0904E4E04F0EFA3F0EEA321
+:1026A00002600E7401F0904E4E04F0EFA3F0EEA322
 :1026B000F022904EDBEBF0A3EAF0A3E9F0E4A3F004
 :1026C000F0904EDEE0FFC3940640030229CB904E0B
 :1026D000DBE0FBA3E0FAA3E02401F9E43AFA7E0090
@@ -667,7 +667,7 @@
 :1029A000DBE0FBA3E0FAA3E02401F9E43AFAA3E0B8
 :1029B0007E0029F9EE3AFA1203B6904DEEF0E412D9
 :1029C00003FC904EDEE004F00226C122904E4DE062
-:1029D000640360127404F0904DEA7401F0904E4E5E
+:1029D000640260127404F0904DEA7401F0904E4E5F
 :1029E0007406F0A3EFF022904D46E0604C904DDE6F
 :1029F000E07046904CC5E06403703E904DE7E0FF08
 :102A0000904DEFE06F602A7B017A4879007D097C68
Index: c51/output/fwram.rom
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KD8017C_UK_2mode_3ch_LI/c51/output/fwram.rom	(revision 5356)
+++ /branch/mouse_project/LeXiang/Keyboard/KD8017C_UK_2mode_3ch_LI/c51/output/fwram.rom	(working copy)
@@ -9886,7 +9886,7 @@
 4d
 e0
 64
-03
+02
 60
 0e
 74
@@ -10703,7 +10703,7 @@
 4d
 e0
 64
-03
+02
 60
 12
 74
Index: c51/patch/adc.obj
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: c51/patch/bluetooth.obj
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: c51/patch/global_variable.obj
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: c51/patch/kb_process.obj
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: c51/patch/keyscan.obj
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: c51/patch/led.obj
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: c51/patch/ram.obj
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: c51/patch/sys.obj
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
