diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/wheelapi2.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/wheelapi2.txt b/doc/wheelapi2.txt index 91acd32..6f6af29 100644 --- a/doc/wheelapi2.txt +++ b/doc/wheelapi2.txt @@ -7,7 +7,7 @@ NOTE: Draft, subject to change. Changes to the wheelapi v1 functions: INT 33/0011 - Check wheel support and enable/get capabilities flags - AX = 0011h + AX = 0011h Return: AX = 574Dh ('WM' in assembly) if Wheel API is supported by driver CX = Capabilities flag Bit(s) Description @@ -28,18 +28,18 @@ Return: BL = buttons status (bits 0-4) 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 - positive value means leftward wheel movement. + 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 + AX = 0005h + BX = button number, -1 for vertical wheel, -2 for 2nd/horizontal wheel Note: as in wheelapi v1, AH always contains (1st) wheel movement on return - independently of button number requested in BX. + 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 + AX = 0006h + BX = button number, -1 for vertical wheel, -2 for 2nd/horizontal wheel INT 33/000C - Define User Interrupt Routine INT 33/0014 - Exchange User Interrupt Routines |