Class Keyboard
Provides access to keyboard devices. Note: this API is not implemented yet.
Inherited Members
Namespace: OpenTK.Input
Assembly: OpenTK.dll
Syntax
public static class Keyboard
Methods
GetState()
Retrieves the combined KeyboardState for all keyboard devices.
Declaration
public static KeyboardState GetState()
Returns
Type | Description |
---|---|
KeyboardState | An KeyboardState structure containing the combined state for all keyboard devices. |
GetState(Int32)
Retrieves the KeyboardState for the specified keyboard device.
Declaration
public static KeyboardState GetState(int index)
Parameters
Type | Name | Description |
---|---|---|
Int32 | index | The index of the keyboard device. |
Returns
Type | Description |
---|---|
KeyboardState | An KeyboardState structure containing the state of the keyboard device. |