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