From 0cb19421e81e57da73a714a902a320822da16814 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sun, 27 Oct 2019 21:46:03 -0400 Subject: [PATCH] Adds prefix to mouse position response. --- Machines/AtariST/AtariST.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Machines/AtariST/AtariST.cpp b/Machines/AtariST/AtariST.cpp index 877152580..904163c0a 100644 --- a/Machines/AtariST/AtariST.cpp +++ b/Machines/AtariST/AtariST.cpp @@ -205,6 +205,7 @@ class IntelligentKeyboard: } void interrogate_mouse_position() { + output_byte(0xf7); // Beginning of mouse response. output_byte(0x00); // 0000dcba; a = right button down since last interrogation, b = right button up since, c/d = left button. output_byte(0x00); // x motion: MSB, LSB output_byte(0x00);