Mail Archives: djgpp/1999/08/25/19:24:45
Allegro does detect multiple keypresses, it could just be that combination,
try something else and see if you get the same problem, you could also make
sure, the singal that's telling you it's pressed does not have a bug in it.
----------
> From: Erik "Tower" Ytterberg <eyg98001 AT student DOT mdh DOT se>
> To: djgpp AT delorie DOT com
> Subject: Allegro keys
> Date: Monday, August 23, 1999 4:16 AM
>
> We are having some trouble reading input from the keyboard. If you press
> more than one key the program ignores it. We have looked at the examples
> that comes with Allegro, and we canīt find anything that differs from our
> code. Whatīs the secret??
>
>
> We are checking the keyboard several times during our main itterative
loop,
> using the key[ THE_KEY] command.
> For example:
>
> if(key[KEY_CONTROL])
> a=true;
> if(key[KEY_SPACE])
> b=true;
>
>
>
- Raw text -