protected override bool OnJoystickAxisMove(JoystickAxisMoveEvent e) { if (e.Axis.Source == trackedAxis) { rawValue.Text = e.Axis.Value.ToString("0.0000000"); } return(false); }
protected override bool OnJoystickAxisMove(JoystickAxisMoveEvent e) { if (e.Axis.Source == trackedAxis) { rawValue.Text = e.Axis.Value.ToString("0.0000000"); fill.Width = e.Axis.Value / 2; fill.Alpha = Math.Abs(e.Axis.Value) == 1 ? 1 : 0.6f; } return(false); }