22 lines
432 B
C#
22 lines
432 B
C#
namespace BizHawk.Client.Common
|
|
{
|
|
public struct AnalogBind
|
|
{
|
|
/// <summary>the physical stick that we're bound to</summary>
|
|
public string Value;
|
|
|
|
/// <summary>sensitivity and flip</summary>
|
|
public float Mult;
|
|
|
|
/// <summary>portion of axis to ignore</summary>
|
|
public float Deadzone;
|
|
|
|
public AnalogBind(string value, float mult, float deadzone)
|
|
{
|
|
Value = value;
|
|
Mult = mult;
|
|
Deadzone = deadzone;
|
|
}
|
|
}
|
|
}
|