From 630b3a56be6069249bb05c58727576198c4dd9d2 Mon Sep 17 00:00:00 2001 From: yz70s Date: Fri, 15 Nov 2019 18:09:53 +0100 Subject: 8042kbdc.cpp: recognize mouse reset command (nw) --- src/devices/machine/8042kbdc.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/devices') diff --git a/src/devices/machine/8042kbdc.cpp b/src/devices/machine/8042kbdc.cpp index 77d06e0e506..7984b1d0294 100644 --- a/src/devices/machine/8042kbdc.cpp +++ b/src/devices/machine/8042kbdc.cpp @@ -360,6 +360,12 @@ WRITE8_MEMBER(kbdc8042_device::data_w) switch (m_data) { + case 0xff: + logerror("Mouse reset command received\n"); + m_mouse.sample_rate = 100; + m_mouse.received = 1; + m_data = 0xfa; + break; case 0xf6: m_mouse.received = 1; m_data = 0xfa; -- cgit v1.2.3