C# Класс OpenTK.Input.KeyboardDevice

Represents a keyboard device and provides methods to query its status.
Наследование: IInputDevice
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
ClearKeys ( ) : void
KeyboardDevice ( ) : System
SetKey ( Key key, uint scancode, bool state ) : void

Описание методов

GetHashCode() публичный Метод

Returns the hash code for this KeyboardDevice.
public GetHashCode ( ) : int
Результат int

ToString() публичный Метод

Returns a System.String representing this KeyboardDevice.
public ToString ( ) : string
Результат string

this() публичный Метод

Gets a value indicating the status of the specified Key.
public this ( Key key ) : bool
key Key The Key to check.
Результат bool

this() публичный Метод

Gets a value indicating the status of the specified Key.
public this ( uint scancode ) : bool
scancode uint The scancode to check.
Результат bool