Click or drag to resize

KeyboardInputSwitchUpdate Method

Checks the keyboard status and updates the switch accordingly.

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

Return Value

Type: Boolean
The current hold state.
Remarks
This method handles the game's pause and time warp modes, and disables the key handling in these modes. It also respects the UI locking mode set by the game.
See Also