www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/26/11:28:44

Date: Fri, 26 Jul 1996 11:22:22 -0400 (EDT)
From: patrick fox <web183 AT charweb DOT org>
To: Deren Ercoskun <bluestar AT dominet2 DOT in DOT com DOT tr>
cc: djgpp <djgpp AT delorie DOT com>
Subject: Re: C question
In-Reply-To: <Pine.LNX.3.91.960726134042.10861F-100000@dominet2.in.com.tr>
Message-ID: <Pine.SOL.3.91.960726112121.27748A-100000@wilbur>
MIME-Version: 1.0

If the key returned is a 0 then the next key is an extended key. Keys 
such as arrows and f-nn keys are returned as two bytes. 0 and another 
character. Hope that helps

-Pat

On Fri, 26 Jul 1996, Deren Ercoskun wrote:

> How can I check the keyboard buffer to see if there is someething waiting 
> and if its an direction key how can I dertermine which one is it ??
> I use kbhit and getch but after getch I only get 0 ?? 
> 
> How can I determine the key 
> 
> help needed urgently please 
> 
> BlueStar 
> 

- Raw text -


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