From b8aed7e38c43ebc2707f3467cbecdb6b076ffd3d Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Wed, 1 Mar 2017 00:08:18 -0800 Subject: Fix removal of scan codes from buffer in XBAND keyboard --- io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'io.c') diff --git a/io.c b/io.c index 9134e85..8999242 100644 --- a/io.c +++ b/io.c @@ -1642,7 +1642,7 @@ void io_data_write(io_port * port, uint8_t value, uint32_t current_cycle) if (output & TH) { //request is over if ( - port->device.keyboard.mode == KB_READ && port->device.keyboard.tr_counter > 7 + port->device.keyboard.mode == KB_READ && port->device.keyboard.tr_counter > 6 && (port->device.keyboard.tr_counter & 1) ) { if (port->device.keyboard.events[port->device.keyboard.read_pos] & 0xFF00) { -- cgit v1.2.3