Mail Archives: djgpp/1994/06/21/13:06:58
> Hi. Is there any way to get the mouse driver software to call a routine
> that I specify whenever any mouse event happens. I'm wanting to basically
> execute a mouse function 12, but under DJGPP.
>
> I have tried to setup all the regs for function 12 and then do an int $0x33,
> but the computer totally locked when I moved the mouse.
Use the <dpmi.h> functions to create a real-mode callback. This will
give you a valid 16-bit address to pass to the mouse handler. See
"samples/dpmi/*.h" for some examples.
- Raw text -