namespace BizHawk.Emulation.Common
{
///
/// A empty implementation of IController that represents the lack of
/// a controller interface
///
///
public class NullController : IController
{
public ControllerDefinition Definition => new ControllerDefinition
{
Name = "Null Controller"
};
public bool IsPressed(string button)
{
return false;
}
public float GetFloat(string name)
{
return 0f;
}
public static readonly NullController Instance = new NullController();
}
}