using System.Collections.Generic; namespace BizHawk.Client.ApiHawk { public interface IJoypad : IExternalApi { Dictionary Get(int? controller = null); // TODO: what about float controls? Dictionary GetImmediate(); void SetFromMnemonicStr(string inputLogEntry); void Set(Dictionary buttons, int? controller = null); void Set(string button, bool? state = null, int? controller = null); void SetAnalog(Dictionary controls, object controller = null); void SetAnalog(string control, float? value = null, object controller = null); } }