Exemplo n.º 1
0
 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);
     }
 }
Exemplo n.º 2
0
 public override void OnButtonUp(DeckDevice deckDevice)
 {
     NativeKeyHandler.UnpressKey(KeyInfoValue.Keys);
     NativeKeyHandler.UnpressKey(KeyInfoValue.ModifierKeys);
 }