Archivovaná správa #37 diskusnej skupiny gnuports@2rosenthals.com
spä? do zoznamu
Od:
"Steven Levine" <gnuports@2rosenthals.com>
Celá hlavi?ka
Nedekódovaná správa
Hlavi?ka:
Re: [GNU Ports] getting a single keypress
Dátum:
Mon, 16 May 2022 19:12:15 -0700
Komu:
"GNU Ports for eCS Mailing List" <gnuports@2rosenthals.com>
In <list-3692795@2rosenthals.com>, on 05/16/22
at 02:53 PM, "Dave Yeo" <gnuports@2rosenthals.com> said:
Hi,
>> 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.
Try
fprintf(stderr, "got key: %c %x\n", val, val);
so you can see the hex value too.
Steven
--
----------------------------------------------------------------------
"Steven Levine" <steve53@earthlink.net> Warp/DIY/BlueLion etc.
www.scoug.com www.arcanoae.com www.warpcave.com
----------------------------------------------------------------------
Prihlási?:
Nap??a?
,
Súhrn
,
Index
.
Odhlási?
Mail na ListMastera