KeyboardInputSwitchisAnyKeyHold Property |
Tells if any switch is being hold.
Namespace:
KSPDev.InputUtils
Assembly:
KSPDev_Utils.2.2 (in KSPDev_Utils.2.2.dll) Version: 2.2 for KSP v1
Syntaxpublic static bool isAnyKeyHold { get; }
Request Example
View SourceProperty Value
Type:
Booleantrue if any
switch key is being hold.
Remarks
This value is a version specific. I.e. the multiple versions of the utils DLL will not see
each other. So, if this property returns true then the only safe assumption is that any
switch within the running mod is being hold. Ideally, when all the mods in the game run
the same version of the utils DLL, this property will truly say if any in the game is
in the hold state.
See Also