Negating the events
Posted: Wed Apr 29, 2009 5:45 pm
I want to negate KEY DOWN event. How to do that?
j2graves wrote:did you make a keydown event that you want to remove?
char* key = GetKeyState(); // sets the state of keys
if(key[KEY_t]==0) // if t key is not pressed
{
//your code goes here
}