diff options
author | Javier <dev.git@javispedro.com> | 2022-03-13 00:43:23 +0100 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2022-03-13 00:43:23 +0100 |
commit | 0ebcd2c1c9148e8647a5b2f89654949435403058 (patch) | |
tree | 76c7f68dabfa08734cd1f13b3532bf86d6d7c6d5 /ps2.h | |
parent | 22ceecd84d84594fb1a87e0b2448d8cf4e60e4b9 (diff) | |
download | vbados-0ebcd2c1c9148e8647a5b2f89654949435403058.tar.gz vbados-0ebcd2c1c9148e8647a5b2f89654949435403058.zip |
let VMD know the mouse type
Diffstat (limited to 'ps2.h')
-rw-r--r-- | ps2.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -23,6 +23,11 @@ #include <stdbool.h> #include <stdint.h> +/** 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, |