using System; namespace StardewModdingAPI.Events { /// Events raised when the player provides input using a controller, keyboard, or mouse. public interface IInputEvents { /// Raised after the player presses or releases any buttons on the keyboard, controller, or mouse. event EventHandler ButtonsChanged; /// Raised after the player presses a button on the keyboard, controller, or mouse. event EventHandler ButtonPressed; /// Raised after the player releases a button on the keyboard, controller, or mouse. event EventHandler ButtonReleased; /// Raised after the player moves the in-game cursor. event EventHandler CursorMoved; /// Raised after the player scrolls the mouse wheel. event EventHandler MouseWheelScrolled; } }