From 0ebcd2c1c9148e8647a5b2f89654949435403058 Mon Sep 17 00:00:00 2001 From: Javier Date: Sun, 13 Mar 2022 00:43:23 +0100 Subject: let VMD know the mouse type --- ps2.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ps2.h') diff --git a/ps2.h b/ps2.h index 0ff154b..6fcb1ec 100644 --- a/ps2.h +++ b/ps2.h @@ -23,6 +23,11 @@ #include #include +/** Standard PS/2 mouse IRQ. At least on VirtualBox. */ +#define PS2_MOUSE_IRQ 12 +/** The corresponding interrupt vector for IRQ 12. */ +#define PS2_MOUSE_INT_VECTOR 0x74 + enum { PS2M_STATUS_BUTTON_1 = 1 << 0, PS2M_STATUS_BUTTON_2 = 1 << 1, -- cgit v1.2.3