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