Click or drag to resize

KeyboardInputSwitchkeyboardEnabled Field

Determines if the switch should react on the keyboard events from the Update method.

Namespace:  KSPDev.InputUtils
Assembly:  KSPDev_Utils.2.2 (in KSPDev_Utils.2.2.dll) Version: 2.2 for KSP v1
Syntax
C#
public bool keyboardEnabled
Request Example View Source

Field Value

Type: Boolean
Remarks
If switch is disabled while the key was pressed then the hold state will not be reset. If the state needs to be reset then caller must do it explicitly.
See Also