コード例 #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);
     }
 }
コード例 #2
0
 public override void OnButtonUp(DeckDevice deckDevice)
 {
     NativeKeyHandler.UnpressKey(KeyInfoValue.Keys);
     NativeKeyHandler.UnpressKey(KeyInfoValue.ModifierKeys);
 }