Date: Tue, 30 Sep 1997 17:30:53 -0700 (PDT) Message-Id: <199710010030.RAA23258@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: Peter Palotas , djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: Linux portability Q! Precedence: bulk At 03:24 9/30/1997 -0400, Peter Palotas wrote: >Under Linux, Is it possible to have a a function called every time a >mouse-event occurs, like the int 33h callback function, or have a function >called at a constant rate, like hooking the timerinterrupt? >(I don't need any *details* about how to do this, mainly if it is possible, >and roughly how this could be done (if it could (which it should))) Under bare Linux, no, I don't think so. All you get is the device /dev/mouse which is symlinked to /dev/ttySn. This dumps all the mouse handling on *you*: you have to understand mouse protocols, etc. You don't get any driver at all. One option, however is GRX: It has been ported to Linux, and I think the mouse works there (haven't checked lately). Or you can use X, but that's probably *way* too complicated. Nate Eldredge eldredge AT ap DOT net