home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / msdos / programm / 11713 < prev    next >
Encoding:
Text File  |  1992-12-31  |  1.6 KB  |  33 lines

  1. Newsgroups: comp.os.msdos.programmer
  2. Path: sparky!uunet!munnari.oz.au!spool.mu.edu!umn.edu!csus.edu!netcom.com!pdh
  3. From: pdh@netcom.com (Phil Howard )
  4. Subject: programming in a mouse interface
  5. Message-ID: <1992Dec31.062053.2414@netcom.com>
  6. Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
  7. Date: Thu, 31 Dec 1992 06:20:53 GMT
  8. Lines: 23
  9.  
  10. For some programs I have written, people are asking for a mouse interface,
  11. and I would like to have that, too.
  12.  
  13. What is the typical way this kind of thing is done?  Do programs actually
  14. trap the serial signals sent by the mouse itself, or do they depend on the
  15. int 33h functions?
  16.  
  17. I notice the int 33h functions mostly deal with a row and column, and I
  18. assume this refers to the existing video mode.  Can the mouse drivers
  19. handle all the video modes at least through to 1280x1024 in terms of
  20. knowing correctly the number of columns and rows?  Or do you HAVE to use
  21. functions 7 and 8 to tell the driver?
  22.  
  23. Are there any already written mouse interfaces for C program?  I would need
  24. to have the kind that do not wait for events (since input can come from the
  25. mouse or the keyboard or other places in unpredictable order).  Something
  26. that just interfaces to the int 33h functions might be sufficient if I can
  27. get all the questions answered (here or by experimentation, etc).
  28. -- 
  29. /************************************************************************\
  30. | Phil Howard,  pdh@netcom.com,  KA9WGN    Spell protection?  "1(911)A1" |
  31. | "It's not broken... it's just functionally challenged" --Phil and Pete |
  32. \************************************************************************/
  33.