GetRawKeyState

Description

Returns 1 if the key code given is currently down. 0 if it is up. This only applies to platforms with a full sized keyboard such as PC and Mac, otherwise all keys will return 0. You can check if a keyboard exists by checking GetKeyboardExists returns 1. Key codes are in the range 0 to 255, anything out of range will return 0. Check out the scan codes page in the guides section of the help files to see which key matches which key code

Definition

integer GetRawKeyState( key )

Parameters