Help with multiple key detection
#5

pawn Code:
if (PRESSED( KEY_YES | KEY_CTRL_BACK))
{
    printf("called");
}
There's currently no code, I am reserving the key combinations for further use, the code to execute is not ready yet. However, for testing sake, I got the code above at the moment.

Quote:
Originally Posted by JaydenJason
View Post
Code:
if(PRESSED(KEY_YES) && PRESSED(KEY_CTRL_BACK))
{
      // code ere
}

This doesn't work.
Reply


Messages In This Thread
Help with multiple key detection - by IKnowWhatIAmDoing - 23.04.2015, 07:39
Re: Help with multiple key detection - by JaydenJason - 23.04.2015, 07:41
Re: Help with multiple key detection - by IKnowWhatIAmDoing - 23.04.2015, 07:42
Re: Help with multiple key detection - by JaydenJason - 23.04.2015, 07:43
Re: Help with multiple key detection - by IKnowWhatIAmDoing - 23.04.2015, 07:49
Re: Help with multiple key detection - by PowerPC603 - 23.04.2015, 08:01
Re: Help with multiple key detection - by IKnowWhatIAmDoing - 23.04.2015, 08:15

Forum Jump:


Users browsing this thread: 2 Guest(s)