public MouseDragGesture(MouseButtons button) : base(false) { Button = button; BlockedInputs.Add(2 + 5 /*Enum.GetValues(typeof(MouseButtons)).Length*/); BlockedInputs.Add((int)Button); }
public KeyCombinationReleased(params Keys[] keys) : base(false) { this.Keys = keys; for (int i = 0; i < keys.Length; i++) { BlockedInputs.Add((int)keys[i]); } }
public KeyCombinationPressed(Keys[] keys, params Keys[] modifiers) : base(false) { this.Keys = keys; this.Modifiers = modifiers; for (int i = 0; i < keys.Length; i++) { BlockedInputs.Add((int)keys[i]); } }
public TriggerMovedGesture(Side trigger) : base(false) { Trigger = trigger; BlockedInputs.Add((int)Trigger + 25); //Enum.GetValues(typeof(Buttons)).Length); }
public ThumbstickMoved(Side thumbstick) : base(false) { Thumbstick = thumbstick; BlockedInputs.Add((int)Thumbstick + 25);//Enum.GetValues(typeof(Buttons)).Length); }
public ButtonPressed(Buttons button) : base(false) { Button = button; BlockedInputs.Add((int)Button); }
public MouseMove() : base(false) { BlockedInputs.Add(2 + 5 /*Enum.GetValues(typeof(MouseButtons)).Length*/); }
public ScrollWheelMoved() : base(false) { BlockedInputs.Add(1 + 5 /*Enum.(typeof(MouseButtons)).Length*/); }