🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #174

Re: Programming graphics mouse in C ?

#174
From: Philip Smolen
Date: Sat, 01 Aug 1992 19:20
13 lines
1093 bytes
In article <1992Jul30.131912.2252@uxa.ecn.bgu.edu> csblm@uxa.ecn.bgu.edu (Brian Murphy) writes:
>
>I am attempting to write an application in C that uses a microsoft
>compatible mouse in graphics mode.  The difficulty I am having is in the
>call of the driver to determine the release status and number of cliks
>since the last call.  Each time I call this function the status and

Have you checked Ralf Brown's book, _PC Interupts_?  It has a whole chapter
on the mouse.

I have used the interupt 33 routines (as described in that book) to find the
number of mickeys (that's what they're called) moved and the status of the
buttons with no problems.
Technical Details
Message-ID: <l7lovaINNhvg@muleshoe.cs.utexas.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!cs.utexas.edu!news
References: <1992Jul30.131912.2252@uxa.ecn.bgu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!cs.utexas.edu!news
From: phil@cs.utexas.edu (Philip Smolen)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Programming graphics mouse in C ?
Date: 1 Aug 1992 14:20:10 -0500
Organization: U Texas Dept of Computer Sciences, Austin TX
Lines: 14
Message-ID: <l7lovaINNhvg@muleshoe.cs.utexas.edu>
References: <1992Jul30.131912.2252@uxa.ecn.bgu.edu>
NNTP-Posting-Host: muleshoe.cs.utexas.edu