public KeyboardKeys(OverlapBehavior overlapBehavior, Keys left, Keys right, Keys up, Keys down) { this.overlapBehavior = overlapBehavior; this.left = left; this.right = right; this.up = up; this.down = down; }
public KeyboardKeys(OverlapBehavior overlapBehavior, Keys left, Keys right, Keys up, Keys down) { OverlapBehavior = overlapBehavior; Left = left; Right = right; Up = up; Down = down; }
public KeyboardKeys(OverlapBehavior overlapBehavior, Keys left, Keys right, Keys up, Keys down) { this.OverlapBehavior = overlapBehavior; this.Left = left; this.Right = right; this.Up = up; this.Down = down; }
/// <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> public VirtualJoystick addKeyboardKeys( OverlapBehavior overlapBehavior, Keys left, Keys right, Keys up, Keys down) { nodes.Add(new KeyboardKeys(overlapBehavior, left, right, up, down)); return(this); }
/// <summary> /// adds keyboard Keys to emulate left/right or up/down to this VirtualInput /// </summary> /// <returns>The keyboard keys.</returns> /// <param name="overlapBehavior">Overlap behavior.</param> /// <param name="negative">Negative.</param> /// <param name="positive">Positive.</param> public VirtualIntegerAxis AddKeyboardKeys(OverlapBehavior overlapBehavior, Keys negative, Keys positive) { Nodes.Add(new VirtualAxis.KeyboardKeys(overlapBehavior, negative, positive)); return(this); }
protected VirtualInput(OverlapBehavior overlap) { this.Overlap = overlap; }
public VirtualAxis(OverlapBehavior overlap, params Node[] nodes) : base(overlap) { this.Nodes.AddRange(nodes); }
public VirtualAxis(OverlapBehavior overlap) : base(overlap) { }
public KeyboardKeys(OverlapBehavior overlapBehavior, Keys negative, Keys positive) { OverlapBehavior = overlapBehavior; Negative = negative; Positive = positive; }
public VirtualJoystick(OverlapBehavior overlapBehavior, bool normalized, params Node[] nodes) : base(overlapBehavior) { this.Normalized = normalized; this.Nodes.AddRange(nodes); }
public VirtualButton(OverlapBehavior overlapBehavior, params Node[] nodes) : base(overlapBehavior) { this.Nodes.AddRange(nodes); }
public KeyboardKeys( OverlapBehavior overlapBehavior, Keys negative, Keys positive ) { this.overlapBehavior = overlapBehavior; this.negative = negative; this.positive = positive; }
public KeyboardKeys( OverlapBehavior overlapBehavior, Keys left, Keys right, Keys up, Keys down ) { this.overlapBehavior = overlapBehavior; this.left = left; this.right = right; this.up = up; this.down = down; }
/// <summary> /// adds keyboard Keys to emulate left/right or up/down to this VirtualInput /// </summary> /// <returns>The keyboard keys.</returns> /// <param name="overlapBehavior">Overlap behavior.</param> /// <param name="negative">Negative.</param> /// <param name="positive">Positive.</param> public VirtualIntegerAxis addKeyboardKeys( OverlapBehavior overlapBehavior, Keys negative, Keys positive ) { nodes.Add( new VirtualAxis.KeyboardKeys( overlapBehavior, negative, positive ) ); return this; }
/// <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> 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 KeyboardKeys(OverlapBehavior overlapBehavior, Keys negative, Keys positive) { this.overlapBehavior = overlapBehavior; this.negative = negative; this.positive = positive; }
public VirtualJoystick(OverlapBehavior overlapBehavior, bool normalized) : base(overlapBehavior) { this.Normalized = normalized; }
public VirtualButton(OverlapBehavior overlapBehavior) : base(overlapBehavior) { }
public VirtualIntegerAxis(OverlapBehavior overlap) : base(overlap) { }