aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/wheelapi2.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/wheelapi2.txt b/doc/wheelapi2.txt
index d1f6fb3..c2b087f 100644
--- a/doc/wheelapi2.txt
+++ b/doc/wheelapi2.txt
@@ -24,21 +24,23 @@ INT 33/0003 - Get cursor position, buttons status and wheel counter
Return: BL = buttons status (bits 0-4)
CX = column
DX = row
- BH = 8-bit signed counter of wheel movement since last call
+ BH = 8-bit signed counter of wheel movement since last call.
positive value means downward wheel movement.
- SI = 16-bit signed counter of 2nd wheel movement since last call
+ AH = 8-bit signed counter of 2nd wheel movement since last call.
positive value means rightward wheel movement.
Note: calling this clears the wheel counter for ALL wheels.
INT 33/0005 - Get button press or wheel movement data
AX = 0005h
BX = button number, -1 for vertical wheel, -2 for 2nd/horizontal wheel
+ (return values remain the same)
Note: as in wheelapi v1, AH always contains (1st) wheel movement on return
independently of button number requested in BX.
INT 33/0006 - Get button release or wheel movement data
AX = 0006h
BX = button number, -1 for vertical wheel, -2 for 2nd/horizontal wheel
+ (return values remain the same)
INT 33/000C - Define User Interrupt Routine
INT 33/0014 - Exchange User Interrupt Routines