SharpBlade by SharpBlade

<PackageReference Include="SharpBlade" Version="6.0.0" />

 ISwitchblade

public interface ISwitchblade : IDisposable
Switchblade interface.

Gets a structure describing the SDK and hardware capabilities of the system.

Gets the IDisplayStateFile instance associated with this Switchblade object.

Gets the dynamic key manager.

bool KeyboardCapture { get; set; }

Gets or sets a value indicating whether keyboard capture is enabled or not.

Gets the touchpad on the keyboard.

Raised when the app is activated (put in foreground).

Raised when an app event occurs.

Raised when the CLOSE app event occurs.

Raised when the app is deactivated (put in background).

Raised when the EXIT app event occurs.

Raised when a keyboard char event occurs.

Raised when a keyboard key is pressed.

Raised when a keyboard key is released.

Raised when a keyboard raw event occurs.

void StartKeyboardCapture(Control control, bool releaseOnEnter = true)

Starts forwarding keyboard events to the specified WinForms control.

void StartKeyboardCapture(Control control, bool releaseOnEnter = true)

Starts forwarding keyboard events to the specified WPF control.

void Stop()

Stops all Razer interaction.