Nez.Portable/Input/Virtual/VirtualButton.cs
/// <summary>
/// adds a keyboard key with modifier to this VirtualButton. modifier must be in the down state for isPressed/isDown to be true.
/// </summary>
/// <returns>The keyboard key.</returns>
/// <param name="key">Key.</param>
/// <param name="modifier">Modifier.</param>
adds a keyboard key with modifier to this VirtualButton. modifier must be in the down state for isPressed/isDown to be true.
adds a keyboard key with modifier to this VirtualButton . modifier must be in the down state for isPressed / isDown to be true .
public VirtualButton addKeyboardKey(Keys key, Keys modifier)
        {
            nodes.Add(new KeyboardModifiedKey(key, modifier));
            return this;
        }
public VirtualButton addKeyboardKey ( Keys key , Keys modifier ) { nodes . Add ( new KeyboardModifiedKey ( key , modifier ) ) ; return this ; }
adds a keyboard key with modifier to this VirtualButton.
adds a keyboard key with modifier to this VirtualButton .
The keyboard key.
The keyboard key .
key
Keys
None
modifier
Keys
None