ibmpc_usb: Remove invalid code check in Code Set 1
This commit is contained in:
parent
0661ef8a56
commit
b59f7655e3
1 changed files with 0 additions and 8 deletions
|
|
@ -496,14 +496,6 @@ static int8_t process_cs1(uint8_t code)
|
||||||
E1_9D,
|
E1_9D,
|
||||||
} state = INIT;
|
} state = INIT;
|
||||||
|
|
||||||
// Check invalid codes; 0x59-7F won't be used in real XT keyboards probably
|
|
||||||
// 0x62 is used to handle escape code E0 and E1
|
|
||||||
if ((code & 0x7F) >= 0x62) {
|
|
||||||
xprintf("!CS1_INV!\n");
|
|
||||||
state = INIT;
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
switch (state) {
|
switch (state) {
|
||||||
case INIT:
|
case INIT:
|
||||||
switch (code) {
|
switch (code) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue