Mailing List Archived Message #37

From: "Steven Levine" <> Full Headers
Undecoded message
Subject: Re: [GNU Ports] getting a single keypress
Date: Mon, 16 May 2022 19:12:15 -0700
To: "GNU Ports for eCS Mailing List" <>

In <>, on 05/16/22
   at 02:53 PM, "Dave Yeo" <> said:


>> KbdCharIn does.
>For low ASCII (below 127) it seems to do the job

This is more or less true.

>fprintf(stderr, "got key: %c\n", val);

I still suspect you were printing a scan code.


 fprintf(stderr, "got key: %c %x\n", val, val);

so you can see the hex value too.


"Steven Levine" <>  Warp/DIY/BlueLion etc.

Subscribe: Feed, Digest, Index.
Mail to ListMaster