Struct KeyboardToggleStatus
Represents the status of a keyboards special toggles
Namespace: Artemis.Core.Services
Assembly: Artemis.Core.dll
Syntax
public readonly struct KeyboardToggleStatus
Constructors
KeyboardToggleStatus(bool, bool, bool)
Creates a new KeyboardToggleStatus
Declaration
public KeyboardToggleStatus(bool numLock, bool capsLock, bool scrollLock)
Parameters
Type | Name | Description |
---|---|---|
bool | numLock | A boolean indicating whether num lock is on |
bool | capsLock | A boolean indicating whether caps lock is on |
bool | scrollLock | A boolean indicating whether scroll lock is on |
Properties
CapsLock
Gets a boolean indicating whether caps lock is on
Declaration
public bool CapsLock { get; }
Property Value
Type | Description |
---|---|
bool |
NumLock
Gets a boolean indicating whether num lock is on
Declaration
public bool NumLock { get; }
Property Value
Type | Description |
---|---|
bool |
ScrollLock
Gets a boolean indicating whether scroll lock is on
Declaration
public bool ScrollLock { get; }
Property Value
Type | Description |
---|---|
bool |