public static InputToken CreateCustom(AxisDelegateFactory del) { return(new InputToken() { Type = InputType.Custom, _axisDelegate = del }); }
public static InputToken CreateCustom(AxisDelegateFactory axisDel, ButtonDelegateFactory buttonDel) { return(new InputToken() { Type = InputType.Custom, _axisDelegate = axisDel, _buttonDelegate = buttonDel }); }
public void RegisterAxis(XboxInputId axis, AxisDelegateFactory del) { _axisTable[axis] = InputToken.CreateCustom(del); _buttonTable.Remove(axis); }