GetKeyState( Key )
true if the key is currently on, false if it is off.
Key – A single character string to select the key to return the state of. Possible values are:
Character | Key Name |
N | Num Lock |
C | Caps Lock |
S | Scroll Lock |
This function will return the current toggle state of one of the keyboard "lock" keys.