home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / pascal / 4878 < prev    next >
Encoding:
Text File  |  1992-08-16  |  1020 b   |  27 lines

  1. Newsgroups: comp.lang.pascal
  2. Path: sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!po.CWRU.Edu!wct
  3. From: wct@po.CWRU.Edu (William C. Thompson)
  4. Subject: Detecting key presses
  5. Message-ID: <1992Aug17.045002.2731@usenet.ins.cwru.edu>
  6. Sender: news@usenet.ins.cwru.edu
  7. Nntp-Posting-Host: slc8.ins.cwru.edu
  8. Reply-To: wct@po.CWRU.Edu (William C. Thompson)
  9. Organization: Case Western Reserve University, Cleveland, OH (USA)
  10. Date: Mon, 17 Aug 92 04:50:02 GMT
  11. Lines:       15
  12.  
  13.  
  14. Does anyone have a small TSR that makes a short tone when a
  15. key is pressed?  Can you also tell what key that is without
  16. taking it off standard input?
  17.  
  18. What I am really shooting for is to write a TSR that captures
  19. keys pressed to a buffer in memory which can be later retrieved.
  20. I have the installation and writing to memory part down, but I
  21. don't know how to detect when a key is pressed and what it was.
  22.  
  23. E-mailed responses and code would be greatly appreciated.
  24.  
  25. -- 
  26. "What do you mean Star Trek isn't real!?" - anonymous
  27.