delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/29/12:07:02

Message-ID: <F77915E7F086D31197F4009027CC81C90DC3F2@probe-2.as-london.acclaim.com>
From: Shawn Hargreaves <SHargreaves AT acclaimstudios DOT co DOT uk>
To: djgpp AT delorie DOT com
Subject: Re: mouse wheel
Date: Mon, 29 Nov 1999 16:20:19 -0000
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Reply-To: djgpp AT delorie DOT com

Damian Yerrick writes:
>> does anybody know of a library-extension for allegro
>> to get input from a mouse wheel?
>
> They're working on integrating a z-axis into the mouse driver
> right now.

That is only in the Windows and Linux versions.

> It might just be a hidden part of interrupt 33h.
> Have you looked at Ralf Brown's list? Is the mouse's wheel
> in there?

Nope, I don't think there is any driver support for doing this in DOS.

To read the wheel, you'd have to access the mouse hardware directly,
rather than going through int 0x33. But this causes many other problems,
such as requiring you to write special code for each possible type
of mouse, and not working on most systems other than a clean DOS
environment (Allegro used to do that in very early versions, and it
caused many, many difficulties). It is infinitely more robust to use 
int 0x33, which limits you to the information available from it. Since 
Microsoft are very unlikely ever to update this interface for wheel 
support, that makes it impractical for us to support wheel input in DOS.


	Shawn Hargreaves.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019