C# 클래스 Open.Core.Keyboard

Global monitoring of keyboard state.
파일 보기 프로젝트 열기: philcockfield/Open.TestHarness.SL

공개 메소드들

메소드 설명
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