From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: Keyboard Handler Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: <2hj9gsk5vslq77tv6oeg4634vdo17nuksb@4ax.com> References: X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 26 X-Trace: /K+neRo3lnHWLQNp3iDjp8vjSPdPhAbU+AaCpxyMoN2c5umg0DDfW+jAkqVwYFDfR34OHtuTSDEt!udgbOjN6VoccMdmbT3T/RX63d5wukQrt+9/7qwfnuwa/6H4oEKVax2PMGAZmXWjj7KyfcatLRlV6!uS9W/tI= X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Mon, 24 Apr 2000 22:47:36 GMT Distribution: world Date: Mon, 24 Apr 2000 22:47:36 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Mon, 24 Apr 2000 18:15:11 -0400, "Chewbaklava" wrote: >I am storing the value in an ine, and printing it as an int, so 42 dec. That would be key "Left Shift On" according to QBasic's help file. >The keys that are returning 2 42's are ones like thae arrow keys, >insert, delete and so on. You might have a funny or off-brand keyboard subsystem. >Maybe you could just direct me to source code The Allegro library has a working keyboard handler. Even if you don't decide to use Allegro for your app, you can still borrow code from it, as its "giftware" license is X-style. http://www.talula.demon.co.uk/allegro/ -- Damian Yerrick "I refuse to listen to those who refuse to listen to reason." See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your signature to prevent the spread of signature viruses. http://www.mcafee.com/