private void Controller_PointerPressed(object sender, PointerRoutedEventArgs e)
 {
     _controlRadius     = OuterDiameter / 2;
     _controllerPressed = true;
     OnJoystickPressed?.Invoke(this, new JoystickEventArgs(XValue, YValue));
 }
Beispiel #2
0
 internal void InvokeJoystickPressed(Joystick joystick, int button)
 {
     OnJoystickPressed?.Invoke(joystick, button);
     JoystickPressed(joystick, button);
 }