🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Writing a program that uses a mouse - help needed

#2973
From: tcs
Date: Thu, 08 Nov 1990 17:18
31 lines
2057 bytes
In article <1990Nov5.003125.7426@frey.nu.oz.au>, weasel@frey.nu.oz.au (Geoff Skellams) writes:
>
>	I am interested in writing a program in Turbo C that is able to use a 
>mouse. Unfortunately, I have been unable to find anything decent in any of the
>books I have looked in (the only solution I have seen is to read the data
>straight from the serial port).
>	I figure that it will invlove installing interupt handlers that
>look at the interrupt vectors hooked by the mousedriver, but I have not done 
>anything like that before and am a little apprehensive on how to go about it.
>	Can anyone out there point me in the direction of a book to read,
>or even better, some C source code (such as something on simtel etc)
>showing me how do use the mouse?
>
>Geoff Skellams
>-- 
>Geoff Skellams ( Weasel )				weasel@frey.nu.oz.au
>
>"He wasn't very loveable, but he was bloody efficient" - 
>		Kerry Packer, on one of his heroes, Genghis Khan

Just as a possible point of interest, I subscribe to The Cobb Group's 
Inside TurboC and a few issues ago there was an article on the mouse (and 
in the next issue, one on how to change the arrow to something else). I use 
that source in one of my programs and I have it around here somewhere, but 
I am unsure as to whether I could mail it to you. I'm sorry that I can't 
give you the exact issue number (I'm here at work, not at home). If you 
wish, e-mail me and I will get the issue and address to write for back-
issues. 

Carl Schelin
tcs@router.jhuapl.edu
Technical Details
Message-ID: <0093F67C.47A771C0@router.jhuapl.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!know!sdd.hp.com!uakari.primate.wisc.edu!aplcen!TCS@router.jhuapl.edu
References: <1990Nov5.003125.7426@frey.nu.oz.au>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!know!sdd.hp.com!uakari.primate.wisc.edu!aplcen!TCS@router.jhuapl.edu
From: tcs@router.jhuapl.edu
Newsgroups: comp.os.msdos.programmer
Subject: Re: Writing a program that uses a mouse  - help needed
Message-ID: <0093F67C.47A771C0@router.jhuapl.edu>
Date: 8 Nov 90 17:18:41 GMT
References: <1990Nov5.003125.7426@frey.nu.oz.au>
Sender: news@aplcen.apl.jhu.edu (USENET News System)
Reply-To: tcs@router.jhuapl.edu
Distribution: comp
Organization: Johns Hopkins University/APL
Lines: 31