C# 클래스 Artemis.DeviceProviders.KeyboardProvider

상속: DeviceProvider
파일 보기 프로젝트 열기: SpoinkyNL/Artemis 1 사용 예제들

공개 메소드들

메소드 설명
CanEnable ( ) : bool
CanEnableAsync ( ProgressDialogController dialog ) : Task

Runs CanEnable asynchronously multiple times until successful, cancelled or max tries reached

DrawBitmap ( Bitmap bitmap ) : void
Enable ( ) : void
EnableAsync ( ProgressDialogController dialog ) : Task

Runs CanEnable asynchronously

GetKeyPosition ( Keys keyCode ) : KeyMatch?

Returns the real life X and Y coordinates of the given key

KeyboardBitmap ( ) : Bitmap

Returns a bitmap matching the keyboard's dimensions

KeyboardBitmap ( int scale ) : Bitmap

Returns a bitmap matching the keyboard's dimensions using the provided scale

KeyboardRectangle ( int scale ) : Rect
TryEnable ( ) : bool
UpdateDevice ( Bitmap bitmap ) : void

보호된 메소드들

메소드 설명
KeyboardProvider ( ) : System

메소드 상세

CanEnable() 공개 추상적인 메소드

public abstract CanEnable ( ) : bool
리턴 bool

CanEnableAsync() 공개 메소드

Runs CanEnable asynchronously multiple times until successful, cancelled or max tries reached
public CanEnableAsync ( ProgressDialogController dialog ) : Task
dialog MahApps.Metro.Controls.Dialogs.ProgressDialogController
리턴 Task

DrawBitmap() 공개 추상적인 메소드

public abstract DrawBitmap ( Bitmap bitmap ) : void
bitmap System.Drawing.Bitmap
리턴 void

Enable() 공개 추상적인 메소드

public abstract Enable ( ) : void
리턴 void

EnableAsync() 공개 메소드

Runs CanEnable asynchronously
public EnableAsync ( ProgressDialogController dialog ) : Task
dialog MahApps.Metro.Controls.Dialogs.ProgressDialogController
리턴 Task

GetKeyPosition() 공개 추상적인 메소드

Returns the real life X and Y coordinates of the given key
public abstract GetKeyPosition ( Keys keyCode ) : KeyMatch?
keyCode Keys
리턴 KeyMatch?

KeyboardBitmap() 공개 메소드

Returns a bitmap matching the keyboard's dimensions
public KeyboardBitmap ( ) : Bitmap
리턴 System.Drawing.Bitmap

KeyboardBitmap() 공개 메소드

Returns a bitmap matching the keyboard's dimensions using the provided scale
public KeyboardBitmap ( int scale ) : Bitmap
scale int
리턴 System.Drawing.Bitmap

KeyboardProvider() 보호된 메소드

protected KeyboardProvider ( ) : System
리턴 System

KeyboardRectangle() 공개 메소드

public KeyboardRectangle ( int scale ) : Rect
scale int
리턴 Rect

TryEnable() 공개 메소드

public TryEnable ( ) : bool
리턴 bool

UpdateDevice() 공개 메소드

public UpdateDevice ( Bitmap bitmap ) : void
bitmap System.Drawing.Bitmap
리턴 void