www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/24/18:38:12

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Keyboard Handler
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <2hj9gsk5vslq77tv6oeg4634vdo17nuksb@4ax.com>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1000423094215 DOT 2139G-100000 AT is> <wC3N4.2063$O2 DOT 27498 AT harpo>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
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" <kalit AT ctel DOT net>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019