using System.Collections.Generic; namespace BizHawk { public class ControllerDefinition { public string Name; public List BoolButtons = new List(); public List FloatControls = new List(); } public interface IController { ControllerDefinition Type { get; } bool this[string button] { get; } bool IsPressed(string button); float GetFloat(string name); void SetSticky(string button, bool sticky); bool IsSticky(string button); void UnpressButton(string button); void ForceButton(string button); void UpdateControls(int frame); } }