I am trying to add a print screen feature into my game and for some reason it don't come back that I've pressed the Print Screen key.
using my small engine... If I call engine->input->key_down( ALLEGRO_KEY_F1 ) it returns TRUE if it is down. But, if I call engine->input->key_down( ALLEGRO_KEY_PRINTSCREEN ) and it is pressed down, it returns FALSE no matter what.
Any reason this could be happening as all keys apart from that one works fine.
Windows doesn't send key down messages for printscreen, but you can check for key up instead.
Ahh, Thank you very much