X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Hans-Bernhard Broeker 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: References: 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 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.