BizHawk/BizHawk.Emulation.Common/Interfaces/IController.cs

17 lines
381 B
C#
Raw Normal View History

namespace BizHawk.Emulation.Common
2011-01-11 02:55:51 +00:00
{
public interface IController
{
ControllerDefinition Type { get; }
2011-01-11 02:55:51 +00:00
// TODO - it is obnoxious for this to be here. must be removed.
bool this[string button] { get; }
// TODO - this can stay but it needs to be changed to go through the float
bool IsPressed(string button);
float GetFloat(string name);
}
2011-01-11 02:55:51 +00:00
}