|
|
| ALLEGRO_KEY_PRINTSCREEN not working? |
|
Desmond Taylor
Member #11,943
May 2010
|
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. |
|
torhu
Member #2,727
September 2002
|
Windows doesn't send key down messages for printscreen, but you can check for key up instead. |
|
Desmond Taylor
Member #11,943
May 2010
|
Ahh, Thank you very much |
|
|