Message-ID: <8D53104ECD0CD211AF4000A0C9D60AE3579360@probe-2.acclaim-euro.net> From: Shawn Hargreaves To: djgpp AT delorie DOT com Subject: Re: allegro keyboard Date: Mon, 22 Feb 1999 12:30:42 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1460.8) Content-Type: text/plain Reply-To: djgpp AT delorie DOT com Jason Mullins writes: > I need to grab the LEFT ALT key, but looking thru the header file, > there is an ALT and a ALTGR, which one should I use? Why not just try it and see? Eg: #include #include int main() { allegro_init(); install_keyboard(); while (!key[KEY_ESC]) printf("KEY_ALT=%d, KEY_ALTGR=%d\n", key[KEY_ALT], key[KEY_ALTGR]); return 0; } Shawn Hargreaves.