Remove PS/2 keyboard function KB_READ_KEY_NONBLOCK
This commit is contained in:
10
libkb/kb.c
10
libkb/kb.c
@@ -13,13 +13,3 @@ int kb_read_key (void) {
|
||||
else
|
||||
return r;
|
||||
}
|
||||
|
||||
int kb_read_key_nonblock (void) {
|
||||
char ch = 0;
|
||||
int r = device_do ("kb", KB_READ_KEY_NONBLOCK, &ch, NULL, NULL, NULL);
|
||||
|
||||
if (r == ST_OK)
|
||||
return (int)ch;
|
||||
else
|
||||
return r;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user