/// <summary> /// Sets the flag for the given button as released /// </summary> /// <param name="button"></param> public void ButtonRelease(enumButtons button) { _buttonStates &= (byte)~button; }
/// <summary> /// Sets the flag for the given button as pressed /// </summary> /// <param name="button"></param> public void ButtonPress(enumButtons button) { _buttonStates |= (byte)button; }