C# Class Artemis.DeviceProviders.Corsair.CorsairKeyboards

Inheritance: KeyboardProvider
Afficher le fichier Open project: SpoinkyNL/Artemis

Méthodes publiques

Méthode Description
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?

Method Details

CanEnable() public méthode

public CanEnable ( ) : bool
Résultat bool

CorsairKeyboards() public méthode

public CorsairKeyboards ( ILogger logger ) : System
logger ILogger
Résultat System

Disable() public méthode

public Disable ( ) : void
Résultat void

DrawBitmap() public méthode

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
Résultat void

Enable() public méthode

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

GetKeyPosition() public méthode

public GetKeyPosition ( Keys keyCode ) : KeyMatch?
keyCode Keys
Résultat KeyMatch?