UDLRController - pointless refactoring

This commit is contained in:
adelikat 2020-06-02 16:41:43 -05:00
parent b8655d880c
commit baa820c0e4
1 changed files with 5 additions and 8 deletions

View File

@ -11,6 +11,10 @@ namespace BizHawk.Client.Common
/// </summary>
public class UdlrControllerAdapter : IController
{
private readonly HashSet<string> _unpresses = new HashSet<string>();
public IController Source { get; set; }
public ControllerDefinition Definition => Source.Definition;
public bool IsPressed(string button)
@ -144,13 +148,6 @@ namespace BizHawk.Client.Common
}
// The float format implies no U+D and no L+R no matter what, so just passthru
public int AxisValue(string name)
{
return Source.AxisValue(name);
}
private readonly HashSet<string> _unpresses = new HashSet<string>();
public IController Source { get; set; }
public int AxisValue(string name) => Source.AxisValue(name);
}
}