C# 클래스 Artemis.DeviceProviders.Corsair.CorsairKeyboards

상속: KeyboardProvider
파일 보기 프로젝트 열기: SpoinkyNL/Artemis

공개 메소드들

메소드 설명
CanEnable ( ) : bool
CorsairKeyboards ( ILogger logger ) : System
Disable ( ) : void
DrawBitmap ( Bitmap bitmap ) : void

Properly resizes any size bitmap to the keyboard by creating a rectangle whose size is dependent on the bitmap size.

Enable ( ) : void

Enables the SDK and sets updatemode to manual as well as the color of the background to black.

GetKeyPosition ( Keys keyCode ) : KeyMatch?

메소드 상세

CanEnable() 공개 메소드

public CanEnable ( ) : bool
리턴 bool

CorsairKeyboards() 공개 메소드

public CorsairKeyboards ( ILogger logger ) : System
logger ILogger
리턴 System

Disable() 공개 메소드

public Disable ( ) : void
리턴 void

DrawBitmap() 공개 메소드

Properly resizes any size bitmap to the keyboard by creating a rectangle whose size is dependent on the bitmap size.
public DrawBitmap ( Bitmap bitmap ) : void
bitmap System.Drawing.Bitmap
리턴 void

Enable() 공개 메소드

Enables the SDK and sets updatemode to manual as well as the color of the background to black.
public Enable ( ) : void
리턴 void

GetKeyPosition() 공개 메소드

public GetKeyPosition ( Keys keyCode ) : KeyMatch?
keyCode Keys
리턴 KeyMatch?