An NDoc Documented Class Library

Keyboard. Method 

Determines whether a key is pressed.

public static bool (
   Keyboard.VirtualKeyStates testKey
);

Parameters

Keyboard.VirtualKeyStates
The key that will be tested.

Return Value

true if [is key pressed] [the specified test key]; otherwise, false.

See Also

Keyboard Class | VisControls Namespace