www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/13/08:39:01

Sender: Christian Tamasiu <tamasiu AT informatik DOT tu-muenchen DOT de>
From: tamasiu AT informatik DOT tu-muenchen DOT de (Christian Tamasiu)
Subject: Allegro Keyboard Problem
To: djgpp AT delorie DOT com
In-reply-to: <330389AB.3F20@post.comstar.ru>
Message-Id: <97Feb13.142302+0100_mez.395711-215+2169@hphalle0.informatik.tu-muenchen.de>
Date: Thu, 13 Feb 1997 14:22:48 +0100

Hello!
I'm writing a game which needs to detect multiple keypresses. 
I use KEY_LEFT and KEY_RIGHT for rotation, KEY_UP for thrust and KEY_SPACE for
fire.
While Allegro will detect the combination KEY_UP, KEY_RIGHT and KEY_SPACE, while
the combination KEY_UP, KEY_LEFT and KEY_SPACE doesn't work (Allegro just
detects that 2 of the 3 keys are pressed).
Why is this? Any fix?
Chris.

- Raw text -


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