I'm trying to capture if any key was pressed, however my event queue is kind of all over the place. (It's spanned across several c files) It's not detecting if I have a key pressed...
Because my C files are getting on the heavy side, I'll cut/paste the relevant info.
From main.c
gfx.c
The keyboard events don't seem to be be coming though. I just see it printing "timer" on my screen. Did I for forget to get something?
It is hard to say from your code but did you initialize your event queue with al_create_event_qyeue and register the keyboard event source with al_register_event_source?
Whoops found my event initialization function.. Guess what was missing.. Thanks.
Well, it happens to everyone at times. Glad I could be of help.