private void Controller_ButtonUp(object sender, ControllerButtonUpEventArgs e) { if (_isButtonDown) { if (!e.Handled) { InvokeButtonClick(_button); } Reset(); } }
private void State_ButtonUp(object sender, ControllerButtonUpEventArgs e) { InvokeButtonUp(e.Button); }