public void CopyButtons(KeyboardInfo info) { SetButtons(info.GetButtons()); }
public void SwitchInput(KeyboardInfo info) { SwitchButtons(info); SwitchAxes(info); }
public void CopyAxes(KeyboardInfo info) { SetAxes(info.GetAxes()); }
public void SwitchButtons(KeyboardInfo info) { KeyboardButton[] otherButtons = info.GetButtons(); info.SetButtons(GetButtons()); SetButtons(otherButtons); }
public void SwitchAxes(KeyboardInfo info) { KeyboardAxis[] otherAxes = info.GetAxes(); info.SetAxes(GetAxes()); SetAxes(otherAxes); }
public void CopyInput(KeyboardInfo info) { CopyButtons(info); CopyAxes(info); }
public void RemoveKeyboardInfo(KeyboardInfo info) { NameKeyboardInfosDict.Remove(info.Name); keyboardInfos.Remove(info); }
public void AddKeyboardInfo(KeyboardInfo info) { info.SetListeners(); NameKeyboardInfosDict[info.Name] = info; keyboardInfos.Add(info); }