Mail Archives: djgpp/1997/06/25/11:19:36
I want to be able to interpret an alt code from the keyboard using
allegro. I have tried doing it the way it says in the allegro.txt and
it doesn't work.
int ch, int key;
key = KEY_F;
ch = readkey();
if (ch == (key << 8)) do_whatever();
It doesn't seem to recognize the keys. I have tried a whole bunch of
different combinations and no luck.
Michael D. Ryan [Brotherhood Software] dbrotherhood AT geocities DOT com
Web Page: http://www.geocities.com/SiliconValley/Pines/5301/
Shareware Trakker: http://www.alberts.com/AuthorPages/00014388/ST1.HTM
Items For Sale: http://www.geocities.com/SiliconValley/Pines/5301/sale.html
NOTE: REMOVE "NO" and "SPAM" from my address to email me.
- Raw text -