KeyboardInputSwitchOnClick Event |
Namespace: KSPDev.InputUtils
In order for the click event to trigger the key release event must happen within the ClickDelay delay after the preceding press event.
Remember to remove the listeners when their owner class is destroyed by the game. If it's not done then no NRE will happen, but the "ghost" listeners will continue to react on the events.