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 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; } }