| delorie.com/archives/browse.cgi | search |
| Message-ID: | <3593FEA4.D75945B4@net4you.co.at> |
| Date: | Fri, 26 Jun 1998 22:03:48 +0200 |
| From: | Seawolf <seawolf AT net4you DOT co DOT at> |
| MIME-Version: | 1.0 |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | allegro keyboard functions |
| NNTP-Posting-Host: | 194.177.154.96 |
| Lines: | 20 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
How do I determinate the ascii key-only value of an [ALT]+key
combination
with Allegro ??
Example:
I read in [ALT]+['F'] using readkey().
As I know the ascii code of 'F' is 70.
But readkey()>>8 only returns the scancode of 'F' which
is 33.
Finally - how do I get the ascii code ??
Thanks!
--
S E A W O L F
email: seawolf AT net4you DOT co DOT at
ICQ: 12476379
URL: (not finished yet)
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |