delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/23/02:49:49

Date: Sun, 23 Apr 2000 09:42:40 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Chewbaklava <kalit AT ctel DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: Keyboard Handler
In-Reply-To: <RLOL4.1972$O2.26817@harpo>
Message-ID: <Pine.SUN.3.91.1000423094215.2139G-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Thu, 20 Apr 2000, Chewbaklava wrote:

> I was making a keybord handler.  I got it installed and it reads from the
> keyboard.  But there is one problem, when revieving bytes from the keyboard,
> the handler spits out 2 42's before the number of the key.

42 decimal or 42 hex?

Do you see this for every key, or just for some?  If the latter, what
keys are those?

> I assume (I
> don;t even know if this is an actual term, I just heard it somewhere) that
> these are extended keys.

Extended keys are prefixed with E0h, not with 42.

- Raw text -


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