Esempio n. 1
0
 internal ArtemisKeyboardToggleStatusArgs(KeyboardToggleStatus oldStatus, KeyboardToggleStatus newStatus)
 {
     OldStatus = oldStatus;
     NewStatus = newStatus;
 }
Esempio n. 2
0
 /// <summary>
 ///     Creates a new instance of the <see cref="InputProviderKeyboardToggleEventArgs " /> class
 /// </summary>
 /// <param name="keyboardToggleStatus">The toggle status of the keyboard</param>
 public InputProviderKeyboardToggleEventArgs(KeyboardToggleStatus keyboardToggleStatus)
 {
     KeyboardToggleStatus = keyboardToggleStatus;
 }
Esempio n. 3
0
 /// <summary>
 ///     Invokes the <see cref="KeyboardToggleStatusReceived" /> event which the <see cref="IInputService" /> listens to as
 ///     long as
 ///     this provider is registered
 /// </summary>
 /// <param name="keyboardToggleStatus">The toggle status of the keyboard</param>
 protected virtual void OnKeyboardToggleStatusReceived(KeyboardToggleStatus keyboardToggleStatus)
 {
     KeyboardToggleStatusReceived?.Invoke(this, new InputProviderKeyboardToggleEventArgs(keyboardToggleStatus));
 }