| delorie.com/archives/browse.cgi | search |
| From: | "Daniel Fauré" <dano AT dynaguy DOT demon DOT nl> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: Allegro: key[ ] / key_shifts |
| Date: | Wed, 1 Jul 1998 14:24:51 +0200 |
| Message-ID: | <899306496.21236.0.rover.c3ade179@news.demon.nl> |
| References: | <35959B0E DOT C58A5836 AT net4you DOT co DOT at> <#IqbGW4o9GA DOT 258 AT upnetnews05> |
| NNTP-Posting-Host: | dynaguy.demon.nl |
| Lines: | 14 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
>Did you call install_keyboard()? Otherwise, it should work fine... > >Also, it's easier to type, but you can use key[KEY_CONTROL] for control key >checking. Just watch for key[KEY_LCONTROL] which checks left-right. I seem to recall that you should also call install_timer() so the keyboard-handler can install an interrupt-handler. Maybe you could checkthe return-value of install_keyboard() to see if it installed correctly. Good luck, Daniel Faure
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |