Binarysharp.MemoryManagement.Windows.Mouse.SendInputMouse.PressMiddle C# (CSharp) Method

PressMiddle() public method

Presses the middle button of the mouse at the current cursor position.
public PressMiddle ( ) : void
return void
        public override void PressMiddle()
        {
            var input = CreateInput();
            input.Mouse.Flags = MouseFlags.MiddleDown;
            WindowCore.SendInput(input);
        }