delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/07/04:52:14

Date: Sun, 7 Feb 1999 11:49:15 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Felix Natter <f DOT natter AT ndh DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: keys.h and ascii-interpretation
In-Reply-To: <79i15j$ohp$1@public.ndh.net>
Message-ID: <Pine.SUN.3.91.990207114856.15342M-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Sat, 6 Feb 1999, Felix Natter wrote:

> i looked at key.h, but it seems like getkey and getxkey only translate
> key-presses where meta-keys are involved. i need to find out whether a
> keypress is meta or ascii and then get the correct interpretation of the key
> in either ascii or something like arrow_up or CTRL_X etc.

Please explain what do you mean by a ``meta-key''.  Is that a key that
is produced by pressing Alt and some other key?

If so, you could prepare a table where all the K_Alt_* keys have a
non-zero entry.

- Raw text -


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