diff --git a/Source/OpenTK/GameWindow.cs b/Source/OpenTK/GameWindow.cs index 559c90b1..17bb445d 100644 --- a/Source/OpenTK/GameWindow.cs +++ b/Source/OpenTK/GameWindow.cs @@ -78,6 +78,8 @@ namespace OpenTK const double MaxFrequency = 500.0; // Frequency cap for Update/RenderFrame events readonly Stopwatch watch = new Stopwatch(); + readonly IJoystickDriver LegacyJoystick = + Factory.Default.CreateLegacyJoystickDriver(); IGraphicsContext glContext; @@ -576,9 +578,10 @@ namespace OpenTK /// /// Gets a readonly IList containing all available OpenTK.Input.JoystickDevices. /// + [Obsolete("Use OpenTK.Input.Joystick and GamePad instead")] public IList Joysticks { - get { return InputDriver.Joysticks; } + get { return LegacyJoystick.Joysticks; } } #endregion