C# Класс Open.Core.Keyboard

Global monitoring of keyboard state.
Показать файл Открыть проект

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

Метод Описание
IsKey ( jQueryApi.jQueryEvent e, Key keyCode ) : bool

Determines whether the specified code matches the given event.

ToKey ( jQueryApi.jQueryEvent e ) : Key

Converts the given key event to the corresponding enum value (if represented in the enum).

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

Метод Описание
FireKeydown ( jQueryApi.jQueryEvent e ) : void
FireKeyup ( jQueryApi.jQueryEvent e ) : void
Keyboard ( ) : System

Constructor.

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

IsKey() публичный статический Метод

Determines whether the specified code matches the given event.
public static IsKey ( jQueryApi.jQueryEvent e, Key keyCode ) : bool
e jQueryApi.jQueryEvent The jQuery keyboard event.
keyCode Key The code to match.
Результат bool

ToKey() публичный статический Метод

Converts the given key event to the corresponding enum value (if represented in the enum).
public static ToKey ( jQueryApi.jQueryEvent e ) : Key
e jQueryApi.jQueryEvent The jQuery keyboard event.
Результат Key