Exemplo n.º 1
0
 private void OnPointerReleased(object sender, PointerRoutedEventArgs pointerRoutedEventArgs)
 {
     _controllerPressed  = false;
     JoystickTransform.X = 0;
     JoystickTransform.Y = 0;
     XValue = 0;
     YValue = 0;
     OnJoystickReleased?.Invoke(this, new JoystickEventArgs(XValue, YValue));
 }
Exemplo n.º 2
0
 internal void InvokeJoystickReleased(Joystick joystick, int button)
 {
     OnJoystickReleased?.Invoke(joystick, button);
     JoystickReleased(joystick, button);
 }