|
KeyBoardState | ||
KeyBoardState KeyArray() | ||
Parameters: KeyArray() = An integer array to store the key state values in (needs to 255 at least in size) |
||
Returns: NONE | ||
KeyBoardState returns the current state of all the keys on your keyboard. The key state values are exported for return in a passed integer array. The array should be at least 255 in size. FACTS: * Can detect if more than one key is pressed. Note: Most keyboards can only register a max of 5/6 keys pressed a one time. Mini Tutorial:
This example would output the following if your holding the A + Space Keys down.
|
Related Info: | KeyState | Scancode : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |