public void RemoveJoystickInfo(JoystickInfo info) { NameJoystickInfosDict.Remove(info.Name); joystickInfos.Remove(info); }
public void CopyAxes(JoystickInfo info) { SetAxes(info.GetAxes()); }
public void AddJoystickInfo(JoystickInfo info) { info.SetListeners(); NameJoystickInfosDict[info.Name] = info; joystickInfos.Add(info); }
public void SwitchInput(JoystickInfo info) { SwitchButtons(info); SwitchAxes(info); }
public void SwitchButtons(JoystickInfo info) { JoystickButton[] otherButtons = info.GetButtons(); info.SetButtons(GetButtons()); SetButtons(otherButtons); }
public void SwitchAxes(JoystickInfo info) { JoystickAxis[] otherAxes = info.GetAxes(); info.SetAxes(GetAxes()); SetAxes(otherAxes); }
public void CopyInput(JoystickInfo info) { CopyButtons(info); CopyAxes(info); }
public void CopyButtons(JoystickInfo info) { SetButtons(info.GetButtons()); }