KeyboardInputSwitchSetHoldState Method |
Updates the hold state and triggers the event(s) if any.
Namespace:
KSPDev.InputUtils
Assembly:
KSPDev_Utils.2.2 (in KSPDev_Utils.2.2.dll) Version: 2.2 for KSP v1
Syntaxprotected virtual void SetHoldState(
bool newState
)
Request Example
View SourceParameters
- newState
- Type: SystemBoolean
The new hold state.
RemarksThis method can be used to simulate a click event.
See Also