From 57c3f4a63ca6541343eddd27208d009e711db2d4 Mon Sep 17 00:00:00 2001 From: tmk Date: Tue, 1 Feb 2022 23:53:26 +0900 Subject: [PATCH] ibmpc_usb: Intellimouse fix #716 --- converter/ibmpc_usb/ibmpc_usb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/converter/ibmpc_usb/ibmpc_usb.cpp b/converter/ibmpc_usb/ibmpc_usb.cpp index dba6c3d4..4dff43ca 100644 --- a/converter/ibmpc_usb/ibmpc_usb.cpp +++ b/converter/ibmpc_usb/ibmpc_usb.cpp @@ -458,7 +458,7 @@ MOUSE_INTELLI: ibmpc.host_send(0xF3); ibmpc.host_send(0xC8); ibmpc.host_send(0xF3); ibmpc.host_send(0xC8); ibmpc.host_send(0xF3); ibmpc.host_send(0x50); - mouse_id = ((read_keyboard_id() >> 8) == MOUSE_EXPLORER ? MOUSE_EXPLORER : MOUSE_DEFAULT); + mouse_id = ((read_keyboard_id() >> 8) == MOUSE_EXPLORER ? MOUSE_EXPLORER : mouse_id); // Not Intellimouse if (mouse_id == 0) {