Click or drag to resize

KeyboardInputSwitchSetHoldState Method

Updates the hold state and triggers the event(s) if any.

Namespace:  KSPDev.InputUtils
Assembly:  KSPDev_Utils.2.5 (in KSPDev_Utils.2.5.dll) Version: 2.5 for KSP v1
Syntax
C#
protected virtual void SetHoldState(
	bool newState
)
Request Example View Source

Parameters

newState
Type: SystemBoolean
The new hold state.
Remarks
This method can be used to simulate a click event.
See Also