public override void OnButtonUp(DeckDevice deckDevice) { isPressed ^= true; if (!isPressed) { NativeKeyHandler.PressKey(KeyInfoValue.ModifierKeys); NativeKeyHandler.PressKey(KeyInfoValue.Keys); } else { NativeKeyHandler.UnpressKey(KeyInfoValue.Keys); NativeKeyHandler.UnpressKey(KeyInfoValue.ModifierKeys); } }
public override void OnButtonUp(DeckDevice deckDevice) { NativeKeyHandler.UnpressKey(KeyInfoValue.Keys); NativeKeyHandler.UnpressKey(KeyInfoValue.ModifierKeys); }