C# Class Artemis.Managers.DeviceManager

Manages the keyboard providers
Exibir arquivo Open project: SpoinkyNL/Artemis Class Usage Examples

Private Properties

Property Type Description
EnableUsableDevices void

Public Methods

Method Description
DeviceManager ( ILogger logger, List deviceProviders ) : System
EnableKeyboard ( KeyboardProvider keyboardProvider ) : void

Enables the given keyboard

EnableLastKeyboard ( ) : void

Enables the last keyboard according to the settings file

ReleaseActiveKeyboard ( bool save = false ) : void

Releases the active keyboard

Protected Methods

Method Description
RaiseKeyboardChangedEvent ( KeyboardChangedEventArgs e ) : void

Private Methods

Method Description
EnableUsableDevices ( ) : void

Method Details

DeviceManager() public method

public DeviceManager ( ILogger logger, List deviceProviders ) : System
logger ILogger
deviceProviders List
return System

EnableKeyboard() public method

Enables the given keyboard
public EnableKeyboard ( KeyboardProvider keyboardProvider ) : void
keyboardProvider Artemis.DeviceProviders.KeyboardProvider
return void

EnableLastKeyboard() public method

Enables the last keyboard according to the settings file
public EnableLastKeyboard ( ) : void
return void

RaiseKeyboardChangedEvent() protected method

protected RaiseKeyboardChangedEvent ( KeyboardChangedEventArgs e ) : void
e Artemis.Events.KeyboardChangedEventArgs
return void

ReleaseActiveKeyboard() public method

Releases the active keyboard
public ReleaseActiveKeyboard ( bool save = false ) : void
save bool Whether to save the LastKeyboard (making it null)
return void