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

ScrollVertically() public method

Scrolls vertically using the wheel of the mouse at the current cursor position.
public ScrollVertically ( int delta = 120 ) : void
delta int The amount of wheel movement.
return void
        public override void ScrollVertically(int delta = 120)
        {
            var input = CreateInput();
            input.Mouse.Flags = MouseFlags.Wheel;
            input.Mouse.MouseData = delta;
            WindowCore.SendInput(input);
        }