protected void SubmitButtonState(ButtonTarget target, bool state, ulong updateTick, float deltaTime) { if (TouchManager.Device != null && target != 0) { InputControl control = TouchManager.Device.GetControl((InputControlType)target); if (control != null && control != InputControl.Null) { control.UpdateWithState(state, updateTick, deltaTime); } } }