www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/16/06:43:49

Date: Sun, 16 Nov 1997 13:41:03 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: zixyer <zixyer AT shell DOT highpowered DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: arrow keys
In-Reply-To: <Pine.LNX.3.96.971113162314.29788A-100000@shell.highpowered.net>
Message-ID: <Pine.SUN.3.91.971116134046.358G-100000@is>
MIME-Version: 1.0

On Thu, 13 Nov 1997, zixyer wrote:

> how do you trap the arrow keys using the standard c library?

If by ``trap'' you mean ``read'' them, then use library function
`getxkey', declared on <pc.h>.  The <keys.h> header defines useful
macros for various keys.  For example, the left arrow is K_Left.

- Raw text -


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