home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.lang.c:20017 comp.os.msdos.programmer:12297
- Path: sparky!uunet!noc.near.net!newshost.williams.edu!93gke
- From: 93gke@williams.edu (Just Ask The Axis)
- Newsgroups: comp.lang.c,comp.os.msdos.programmer
- Subject: Reading the arrow keys... how?
- Date: 21 Jan 1993 15:19:53 GMT
- Organization: Williams College, Williamstown, MA
- Lines: 10
- Message-ID: <1jmeupINN4g9@savoy.cc.williams.edu>
- NNTP-Posting-Host: hancock.cc.williams.edu
-
- I am trying to read the arrow keys from a PC keyboard in C. So far
- the calls to getch(), getc(), getchar(), have been unsuccessful
- because the keys don't seem to have a corresponding ASCII code (they
- seem to send 2 characters..?) I also need to read some regular keys
- like Q,S, etc...
- Could someone tell me how to read them directly, please.
-
- Greg Ennis
- 93gke@cs.williams.edu
-
-