home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / pascal / 5062 < prev    next >
Encoding:
Text File  |  1992-08-26  |  1.1 KB  |  28 lines

  1. Newsgroups: comp.lang.pascal
  2. Path: sparky!uunet!usc!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!s.psych.uiuc.edu!amead
  3. From: amead@s.psych.uiuc.edu (Alan Mead)
  4. Subject: REQUEST: definitive detect keyboard function
  5. Message-ID: <BtLHt4.Ftv@news.cso.uiuc.edu>
  6. Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
  7. Organization: UIUC Department of Psychology
  8. Date: Wed, 26 Aug 1992 14:34:14 GMT
  9. Lines: 17
  10.  
  11. I have to write a little "keyboard exercise" that will force the user to 
  12. hit certain keys (that will be used later).  
  13.  
  14. I'm going to display a graphic and flash the key so I need to know what
  15. kind of keyboard is attached.
  16.  
  17. I've seen routines to "detect the type of keyboard" attacked...  But I get the
  18. impression that they are indirect methids.  For instance, one routine (which
  19. is, unfortunately at home or lost) which I copied from PC Magazine specifically
  20. stated that it detected the 101-key BIOS, not the keyboard itself.
  21.  
  22. Does anyone have code that cannot fail?  Or I don't even know if you can connect a 
  23. AT-style keyboard to a computer with an extended keyboard BIOS??  
  24.  
  25. Thanks very much.
  26.  
  27. -alan mead
  28.