C# Class ScooterController.HardwareAbstractionLayer.NativeKeyboard

Provides keyboard access.
Mostra file Open project: vejuhust/msft-scooter

Public Methods

Method Description
IsKeyDown ( KeyCode key ) : bool

Returns a value indicating if a given key is pressed.

Private Methods

Method Description
GetKeyState ( int key ) : short

Method Details

IsKeyDown() public static method

Returns a value indicating if a given key is pressed.
public static IsKeyDown ( KeyCode key ) : bool
key KeyCode The key to check.
return bool