File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 3535#define kbd_read_input () READ_PORT_UCHAR((PUCHAR)KBD_DATA_REG)
3636#define kbd_read_status () READ_PORT_UCHAR((PUCHAR)KBD_STATUS_REG)
3737
38+ #if 0
3839static unsigned char keyb_layout [2 ][128 ] =
3940{
4041 "\000\0331234567890-=\177\t" /* 0x00 - 0x0f */
@@ -53,6 +54,7 @@ static unsigned char keyb_layout[2][128] =
5354 "230\177\000\000\213\214\000\000\000\000\000\000\000\000\000\000" /* 0x50 - 0x5f */
5455 "\r\000/" /* 0x60 - 0x6f */
5556};
57+ #endif
5658
5759typedef UCHAR byte_t ;
5860
@@ -61,6 +63,7 @@ typedef UCHAR byte_t;
6163static VOID
6264KbdSendCommandToMouse (UCHAR Command )
6365{
66+ #if 0
6467 ULONG Retry = 20000 ;
6568
6669 while (kbd_read_status () & KBD_STAT_OBF && Retry -- )
@@ -87,6 +90,7 @@ KbdSendCommandToMouse(UCHAR Command)
8790
8891 if (kbd_read_input () != MOUSE_ACK ) { ; }
8992
93+ #endif
9094 return ;
9195}
9296
@@ -103,6 +107,7 @@ VOID KbdDisableMouse(VOID)
103107CHAR
104108KdbpTryGetCharKeyboard (PULONG ScanCode , ULONG Retry )
105109{
110+ #if 0
106111 static byte_t last_key = 0 ;
107112 static byte_t shift = 0 ;
108113 char c ;
@@ -141,6 +146,7 @@ KdbpTryGetCharKeyboard(PULONG ScanCode, ULONG Retry)
141146 }
142147 }
143148
149+ #endif
144150 return -1 ;
145151}
146152
You can’t perform that action at this time.
0 commit comments