Mail Archives: djgpp/1997/02/16/02:40:54
Shawn Hargreaves (Shawn AT talula DOT demon DOT co DOT uk) writes:
> Paul Derbyshire writes:
>>Allegro bug #1: Ctrl-Alt-End does not always work. It often does, but it
>> occasionally doesn't.
>
> What happens when it doesn't? Nothing, or a lockup? When it doesn't
> work, does pressing it again immediately afterwards do the trick?
Program just keeps running as if nothing were pressed. I wrote into the
mainloop a detector for the ESC key to exit. Strangely enough, whenever
ctrl-alt-end is not working, esc does work, and if esc fails,
ctrl-alt-end works!
>>Allegro bug #2: This doesn't work either, though it should:
>>
>>if(key[KEY_CONTROL] && key[KEY_STOP]) abort_program();
>
> Again, what happens when it goes wrong? I just wrote a little test:
>
> #include <allegro.h>
>
> void main()
> {
> allegro_init();
> install_keyboard();
>
> for (;;) {
> if (key[KEY_CONTROL] && key[KEY_STOP])
> break;
> }
> }
It just doesn't appear to notice the keypresses. I think maybe either
RHIDE or CWSDPMI might be capturing the STOP key.
k
--
.*. Where feelings are concerned, answers are rarely simple [GeneDeWeese]
-() < When I go to the theater, I always go straight to the "bag and mix"
`*' bulk candy section...because variety is the spice of life... [me]
Paul Derbyshire ao950 AT freenet DOT carleton DOT ca, http://chat.carleton.ca/~pderbysh
- Raw text -