public override void SetAxis(string name, float value) { if (!VirtualAxes.ContainsKey(name)) { AddAxes(name); } VirtualAxes[name].Update(value); }
public override void SetAxisZero(string name) { if (!VirtualAxes.ContainsKey(name)) { AddAxes(name); } VirtualAxes[name].Update(0f); }
public override float GetAxis(string name, bool raw) { if (!VirtualAxes.ContainsKey(name)) { AddAxes(name); } return(VirtualAxes[name].GetValue); }
public override void SetAxisNegative(string name) { if (!VirtualAxes.ContainsKey(name)) { AddAxes(name); } VirtualAxes[name].Update(-1f); }