www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/13/20:20:28

To: djgpp AT delorie DOT com
Subject: Re: Allegro Keyboard Problem
Message-ID: <19970213.170757.7503.1.chambersb@juno.com>
References: <97Feb13.142302+0100_mez.395711-215+2169 AT hphalle0 DOT informatik DOT tu-muenchen DOT de>
From: chambersb AT juno DOT com (Benjamin D Chambers)
Date: Thu, 13 Feb 1997 20:06:08 EST

On Thu, 13 Feb 1997 14:22:48 +0100 tamasiu AT informatik DOT tu-muenchen DOT de
(Christian Tamasiu) writes:
>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.
>
>
It's not Allegro, it's your keyboard.  Different keyboards allow
different keypress combinations, with no (apparant) standard.  Sorry :(

...Chambers

- Raw text -


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