in reply to Reading all nonblocking keystrokes in Win2000
The Term::ReadKey module appears to use getc() or Win32Peek() to get its characters. I'll bet if you get a null (ord==0) and then immediately read for another key you'll get the scan code for the special key. I don't have a MS system handy or I'd test this theory out...
Update:Google does it again. An explanation of getc under ths baroque environment.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Reading all nonblocking keystrokes in Win2000
by Washizu (Scribe) on Nov 16, 2001 at 08:39 UTC | |
by clintp (Curate) on Nov 16, 2001 at 09:47 UTC | |
by Washizu (Scribe) on Nov 16, 2001 at 18:17 UTC | |
by tye (Sage) on Nov 19, 2001 at 21:27 UTC | |
by Washizu (Scribe) on Nov 19, 2001 at 21:40 UTC | |
|