diff options
author | Javier <dev.git@javispedro.com> | 2024-05-19 21:03:50 +0200 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2024-05-19 21:03:50 +0200 |
commit | 4a8fe8127c57b0953e2ba2ad4da5e45a20300645 (patch) | |
tree | 60eacf9089c2883bc78b3fc8bf22dc1a7c456031 /doc/absapi.txt | |
parent | dfa929d625028dae01c8317823f210a3b056c385 (diff) | |
download | vbados-4a8fe8127c57b0953e2ba2ad4da5e45a20300645.tar.gz vbados-4a8fe8127c57b0953e2ba2ad4da5e45a20300645.zip |
add initial support for 2nd wheel & 4-5 mouse buttons
Diffstat (limited to 'doc/absapi.txt')
-rw-r--r-- | doc/absapi.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/absapi.txt b/doc/absapi.txt new file mode 100644 index 0000000..ffb29f8 --- /dev/null +++ b/doc/absapi.txt @@ -0,0 +1,22 @@ +This document describes an extension to the int33 API to allow users to detect +if mouse interrupts come from a relative-input device (like a standard mouse) +or an absolute-input device (like a tablet, or an emulator like VirtualBox). + +--------------------------------------------------------------------- +Changes in the original INT 33h functions: + +INT 33/000C - Define User Interrupt Routine +INT 33/0014 - Exchange User Interrupt Routines +Bitfields for mouse call mask: +Bit(s) Description + 0-6 same as Table 03171 (as in int33.lst) + 7 (for vertical wheel movement -- seee wheelapi.txt) + 8 absolute mouse event + 9-15 unused +Notes: when the user interrupt routine is called, bit 8 of CX indicates that + the x, y coordinates passed in CX, DX come from an absolute pointing + device (and therefore that the mickey counts in SI, DI may be zero or + virtualized). + bit 8 will not be set unless the user also sets bits 8 in the event mask + passed to int33/000c or int33/0014. However, setting or clearing bit 8 + in the event mask shall have no other effect. |