🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

programming in a mouse interface

#6238
From: Phil Howard
Date: Thu, 31 Dec 1992 06:20
23 lines
1670 bytes
For some programs I have written, people are asking for a mouse interface,
and I would like to have that, too.

What is the typical way this kind of thing is done?  Do programs actually
trap the serial signals sent by the mouse itself, or do they depend on the
int 33h functions?

I notice the int 33h functions mostly deal with a row and column, and I
assume this refers to the existing video mode.  Can the mouse drivers
handle all the video modes at least through to 1280x1024 in terms of
knowing correctly the number of columns and rows?  Or do you HAVE to use
functions 7 and 8 to tell the driver?

Are there any already written mouse interfaces for C program?  I would need
to have the kind that do not wait for events (since input can come from the
mouse or the keyboard or other places in unpredictable order).  Something
that just interfaces to the int 33h functions might be sufficient if I can
get all the questions answered (here or by experimentation, etc).
-- 
/************************************************************************\
| Phil Howard,  pdh@netcom.com,  KA9WGN    Spell protection?  "1(911)A1" |
| "It's not broken... it's just functionally challenged" --Phil and Pete |
\************************************************************************/
Technical Details
Message-ID: <1992Dec31.062053.2414@netcom.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!spool.mu.edu!umn.edu!csus.edu!netcom.com!pdh

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!spool.mu.edu!umn.edu!csus.edu!netcom.com!pdh
From: pdh@netcom.com (Phil Howard )
Subject: programming in a mouse interface
Message-ID: <1992Dec31.062053.2414@netcom.com>
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Date: Thu, 31 Dec 1992 06:20:53 GMT
Lines: 23