C# Class OpenTK.Input.Keyboard

Provides access to keyboard devices. Note: this API is not implemented yet.
显示文件 Open project: prepare/HTML-Renderer Class Usage Examples

Public Methods

Method Description
GetState ( ) : KeyboardState

Retrieves the KeyboardState for the default keyboard device.

GetState ( int index ) : KeyboardState

Retrieves the KeyboardState for the specified keyboard device.

Private Methods

Method Description
Keyboard ( ) : System

Method Details

GetState() public static method

Retrieves the KeyboardState for the default keyboard device.
public static GetState ( ) : KeyboardState
return KeyboardState

GetState() public static method

Retrieves the KeyboardState for the specified keyboard device.
public static GetState ( int index ) : KeyboardState
index int The index of the keyboard device.
return KeyboardState