Posts: 48
Threads: 12
Joined: Apr 2014
Reputation:
0
I am trying to do it so that if you press Y and H at the same time it will trigger some code to work.
if (PRESSED( KEY_YES | KEY_CTRL_BACK))
It doesn't work.
Posts: 687
Threads: 35
Joined: Oct 2014
Reputation:
0
What's your code for "PRESSED"?
Posts: 1,733
Threads: 20
Joined: Nov 2010
Reputation:
0
Your code may be ok, but some keyboards don't accept multiple keypresses with characters (the alphabet characters).
Pressing Y + H are 2 character keys at once and may not work.
Pressing multiple special keys (CTRL, ALT, SHIFT) along with a character key is allowed on most keyboards (if not all), but not multiple character keys.
Some of your players may not be able to execute your code because their keyboard doesn't support it.
Yours might not accept it either and your code will not trigger.