namespace BizHawk.Emulation.Common { public interface IController { /// /// Gets a definition of the controller schema, including all currently available buttons and their types /// ControllerDefinition Definition { get; } /// /// Returns the current state of a boolean control /// bool IsPressed(string button); /// /// Returns the state of a float control /// float GetFloat(string name); } }