From b59f7655e320c8d5f49daabeb6e4f17d19863bf2 Mon Sep 17 00:00:00 2001 From: tmk Date: Mon, 11 May 2020 00:45:32 +0900 Subject: [PATCH] ibmpc_usb: Remove invalid code check in Code Set 1 --- converter/ibmpc_usb/ibmpc_usb.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/converter/ibmpc_usb/ibmpc_usb.c b/converter/ibmpc_usb/ibmpc_usb.c index 9e02e536..2270e1ba 100644 --- a/converter/ibmpc_usb/ibmpc_usb.c +++ b/converter/ibmpc_usb/ibmpc_usb.c @@ -496,14 +496,6 @@ static int8_t process_cs1(uint8_t code) E1_9D, } 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) { case INIT: switch (code) { -- 2.47.1