| delorie.com/archives/browse.cgi | search |
| Xref: | news2.mv.net comp.os.msdos.djgpp:4947 |
| From: | ad904 AT FreeNet DOT Carleton DOT CA (William Lachance) |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: Little problem with Allegro(Wath a library!!)(What Genius!!) related with keyboard!! |
| Date: | 13 Jun 1996 19:16:54 GMT |
| Organization: | The National Capital FreeNet |
| Lines: | 22 |
| Sender: | ad904 AT freenet2 DOT carleton DOT ca (William Lachance) |
| Message-ID: | <4pppf6$1gv@freenet-news.carleton.ca> |
| References: | <4porqp$7uv AT acebo DOT sdi DOT uam DOT es> |
| Reply-To: | ad904 AT FreeNet DOT Carleton DOT CA (William Lachance) |
| NNTP-Posting-Host: | freenet2.carleton.ca |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Galileo 6 (usuario AT casiopea DOT adi DOT uam DOT es) writes: > Hi reader!! > I've another little problem with allegro. > > I use at the same time getch() function and the keyb interrupt handler. > In the docs I've read that keyboard_install uses keyb interrupts too. > Question: > Can I still use my old getch() based functions or: > 1 Must I exit allegro's keyb functions... > 2 Must I use Keypressed(). > > Thanks!! You should, if you don't initialise the keyboard buffer. Although, I must say, Allegro's keyboard routines are vastly superior to that getch() crap, and converting your code shouldn't be all that hard.. -- Bill Lachance billl AT synapse DOT net
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |