internal void Update(ulong updateTick, float deltaTime, InputDevice device) { Device = device; UpdateBindings(updateTick, deltaTime); if (triggerBindingChanged) { if (OnBindingsChanged != null) { OnBindingsChanged.Invoke(); } triggerBindingChanged = false; } if (triggerBindingEnded) { (ListenOptions ?? Owner.ListenOptions).CallOnBindingEnded(this); triggerBindingEnded = false; } DetectBindings(); }
public void ReloadBindings() { // loop registered binding actions, fetch key from settings OnBindingsChanged?.Invoke(this, new EventArgs()); }