Nez.Portable/Input/Virtual/VirtualJoystick.cs
/// <summary>
/// adds keyboard keys input to this VirtualJoystick. Four keyboard keys will emulate left/right/up/down. For example WASD or the arrow
/// keys.
/// </summary>
/// <returns>The keyboard keys.</returns>
/// <param name="overlapBehavior">Overlap behavior.</param>
/// <param name="left">Left.</param>
/// <param name="right">Right.</param>
/// <param name="up">Up.</param>
/// <param name="down">Down.</param>
adds keyboard keys input to this VirtualJoystick. Four keyboard keys will emulate left/right/up/down. For example WASD or the arrow
keys.
adds keyboard keys input to this VirtualJoystick . Four keyboard keys will emulate left / right / up / down . For example WASD or the arrow keys .
public VirtualJoystick addKeyboardKeys(
            OverlapBehavior overlapBehavior,
            Keys left,
            Keys right,
            Keys up,
            Keys down)
        {
            nodes.Add(new KeyboardKeys(overlapBehavior, left, right, up, down));
            return this;
        }
public VirtualJoystick addKeyboardKeys ( OverlapBehavior overlapBehavior , Keys left , Keys right , Keys up , Keys down ) { nodes . Add ( new KeyboardKeys ( overlapBehavior , left , right , up , down ) ) ; return this ; }
adds keyboard keys input to this VirtualJoystick.
adds keyboard keys input to this VirtualJoystick .
The keyboard keys.
The keyboard keys .
overlapBehavior
OverlapBehavior
None
left
Keys
None
right
Keys
None
up
Keys
None
down
Keys
None