delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/03/10/14:00:32

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: How do I add keys to keys.h
Date: 10 Mar 2004 18:49:07 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 21
Message-ID: <c2nnv3$57e$1@nets3.rz.RWTH-Aachen.DE>
References: <d03b9bfe DOT 0403081051 DOT 49263b03 AT posting DOT google DOT com> <c2kfo4$e0q$2 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <d03b9bfe DOT 0403101036 DOT 60dfaa88 AT posting DOT google DOT com>
NNTP-Posting-Host: ac3b07.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 1078944547 5358 137.226.33.205 (10 Mar 2004 18:49:07 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 10 Mar 2004 18:49:07 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Dan Eicher <daneicher99 AT hotmail DOT com> wrote:

> int ch;
> ch=getxkey();

> printf("%x",ch);

> this works with "normal" keys, but I can't get anything with ctrl-1,
> ctrl-2,
> ctrl-3 etc...

Does "can't get anything" mean if you press Ctrl-1, getxkey() doesn't
return and just waits for another key to be pressed?

If so, editing keys.h isn't going to achieve anything.  That header
doesn't tell getxkey() what keys to recognize or anything like that,
so changing it doesn't change the behaviour of getxkey() in any way.

-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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