From: tmk Date: Sun, 10 May 2020 15:45:32 +0000 (+0900) Subject: ibmpc_usb: Remove invalid code check in Code Set 1 X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=b59f7655e320c8d5f49daabeb6e4f17d19863bf2;p=max%2Ftmk_keyboard.git ibmpc_usb: Remove invalid code check in Code Set 1 --- 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) {