/// <summary> /// Reports an input release. /// </summary> /// <param name="input">The fully-qualified input name.</param> public void ReportRelease(string input) { AssertNotReadOnly(); if (ActiveDownedInputs.Contains(input)) ActiveDownedInputs.Remove(input); }
/// <summary> /// Reports an input press. /// </summary> /// <param name="input">The fully-qualified input name.</param> public void ReportPress(string input) { AssertNotReadOnly(); if (!ActiveDownedInputs.Contains(input)) ActiveDownedInputs.Add(input); }