public ButtonScroll(ButtonCode Button, ButtonScrollDirection Direction) : this(Button, Direction, DefaultOffset) { }
public ButtonScroll(ButtonCode Button, ButtonScrollDirection Direction, int Offset) : this(Button, (int)Direction * Offset) { }
/// <summary> /// Scroll the specified mouse button inthe specified direction by the given amount. /// </summary> /// <param name="Button">The button to scroll</param> /// <param name="Direction">The direction to scroll</param> /// <param name="Offset">The amount to scroll</param> /// <returns></returns> public EventBuilder Scroll(ButtonCode Button, ButtonScrollDirection Direction, int Offset) { return(Add(new ButtonScroll(Button, Direction, Offset))); }