Mail Archives: djgpp/1999/05/27/07:50:39
On Thu, 27 May 1999, Derek wrote:
> I know...I thought this would be faster than calling __dpmi_int(0x33,®s)
> each time I wanted to know where the mouse was....
There is function 0Ch of Int 33h that allows you to install your function
as the handler for any mouse event. Then the driver calls you instead of
the other way around. The FAQ shows an example of using this function.
> > Hooking the mouse through function 0Ch of Int 33h is much, much, MUCH
> > easier.
>
> but isn;t it much much slower?
No, it isn't. Why should it be?
Besides, since the mouse is an input device used by humans, the speed
there is not that important. It's not that the user could press the
mouse 10,000 times a second, you know...
- Raw text -