From: tmk Date: Sun, 24 Feb 2013 11:38:43 +0000 (+0900) Subject: Inhibit repeating key of PC98 X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=504a9f42ff7cfecb94eb954124e48ff65d345008;p=max%2Ftmk_keyboard.git Inhibit repeating key of PC98 --- diff --git a/converter/pc98_usb/matrix.c b/converter/pc98_usb/matrix.c index 2f1e821c..18ad5bfe 100644 --- a/converter/pc98_usb/matrix.c +++ b/converter/pc98_usb/matrix.c @@ -61,11 +61,42 @@ uint8_t matrix_cols(void) return MATRIX_COLS; } +static void pc98_inhibit_repeat(void) +{ + uint8_t code; + + while (serial_recv()) ; +RETRY: + PC98_RDY_PORT |= (1<