C# Class OpenTK.Input.KeyboardDevice

Represents a keyboard device and provides methods to query its status.
Inheritance: IInputDevice
Show file Open project: andykorth/opentk Class Usage Examples

Public Methods

Method Description
GetHashCode ( ) : int

Returns the hash code for this KeyboardDevice.

ToString ( ) : string

Returns a System.String representing this KeyboardDevice.

this ( Key key ) : bool

Gets a value indicating the status of the specified Key.

this ( uint scancode ) : bool

Gets a value indicating the status of the specified Key.

Private Methods

Method Description
ClearKeys ( ) : void
KeyboardDevice ( ) : System
SetKey ( Key key, uint scancode, bool state ) : void

Method Details

GetHashCode() public method

Returns the hash code for this KeyboardDevice.
public GetHashCode ( ) : int
return int

ToString() public method

Returns a System.String representing this KeyboardDevice.
public ToString ( ) : string
return string

this() public method

Gets a value indicating the status of the specified Key.
public this ( Key key ) : bool
key Key The Key to check.
return bool

this() public method

Gets a value indicating the status of the specified Key.
public this ( uint scancode ) : bool
scancode uint The scancode to check.
return bool