www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/31/11:25:21

Message-ID: <3751ED1F.4CE7D09F@2xtreme.net>
From: Alex Lowe <ayin AT 2xtreme DOT net>
X-Mailer: Mozilla 4.6 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: keyboard function problems
References: <19990530211920 DOT 03860 DOT 00006214 AT ng-cr1 DOT aol DOT com>
Lines: 25
Date: Mon, 31 May 1999 01:59:01 GMT
NNTP-Posting-Host: 209.63.217.51
X-Complaints-To: abuse AT 2xtreme DOT net
X-Trace: news-west.eli.net 928115941 209.63.217.51 (Sun, 30 May 1999 19:59:01 MDT)
NNTP-Posting-Date: Sun, 30 May 1999 19:59:01 MDT
Organization: 2xtreme.net NewsReader Service
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I hope that I don't offend, but are you calling install_keyboard()
first?

If not, you need to.

-- Alex
ayin AT 2xtreme DOT net


RaMzEyMe wrote:
> 
> Hey everyone!  I am new to allegro and just started to implement keyboard
> control into my game.
> 
> Problem:  This does not work.  (i also tried different key combinations such as
> KEY_ESC, etc.  I also tried different statements after the if statement to see
> if it was the fade_out() function that wasn't working.  No such luck.)
> 
> if (key[KEY_RIGHT])
>        fade_out(5);
> 
> WHY NOT?
> 
> Thanx,
> Martin

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019