delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/06/20/22:21:08

From: cgg AT mundil DOT cs DOT mu DOT OZ DOT AU (Christopher Geoffrey GRINTON)
Subject: Installing a mouse callback routine with DJGPP
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Date: Tue, 21 Jun 1994 11:58:23 +1000 (EST)

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.

I've looked at the mouse & event handler code in the GRX library, but I
want to try not to have to use that: I want my code to be called every
time the mouse moves or a button is pressed.

Thanks for any ideas.

Chris						cgg AT mundil DOT cs DOT mu DOT oz DOT au

- Raw text -


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