From c43a4f03f1fdcb10170b42950adb4b09f6ed0a4b Mon Sep 17 00:00:00 2001 From: Jarl Gullberg Date: Tue, 20 Jun 2017 15:55:21 +0200 Subject: [PATCH] Removed obsolete joystick driver. --- src/OpenTK/Input/IInputDriver.cs | 2 +- src/OpenTK/Input/IJoystickDriver.cs | 45 ----------------------------- src/OpenTK/OpenTK.csproj | 3 -- 3 files changed, 1 insertion(+), 49 deletions(-) delete mode 100644 src/OpenTK/Input/IJoystickDriver.cs diff --git a/src/OpenTK/Input/IInputDriver.cs b/src/OpenTK/Input/IInputDriver.cs index bcd23993..1987f5db 100644 --- a/src/OpenTK/Input/IInputDriver.cs +++ b/src/OpenTK/Input/IInputDriver.cs @@ -14,7 +14,7 @@ namespace OpenTK.Input /// Defines the interface for an input driver. /// [Obsolete("This interface has been replaced by OpenTK.Input.Keyboard, Mouse, Joystick and GamePad.")] - public interface IInputDriver : IKeyboardDriver, IJoystickDriver, IDisposable + public interface IInputDriver : IKeyboardDriver, IDisposable { /// /// Updates the state of the driver. diff --git a/src/OpenTK/Input/IJoystickDriver.cs b/src/OpenTK/Input/IJoystickDriver.cs deleted file mode 100644 index 0b6f73b9..00000000 --- a/src/OpenTK/Input/IJoystickDriver.cs +++ /dev/null @@ -1,45 +0,0 @@ -#region License -// -// The Open Toolkit Library License -// -// Copyright (c) 2006 - 2008 the Open Toolkit library, except where noted. -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights to -// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -// the Software, and to permit persons to whom the Software is furnished to do -// so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all -// copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -// OTHER DEALINGS IN THE SOFTWARE. -// -#endregion - -using System; -using System.Collections.Generic; -using System.Text; - -namespace OpenTK.Input -{ - /// - /// Defines the interface for JoystickDevice drivers. - /// - [Obsolete] - public interface IJoystickDriver - { - /// - /// Gets the list of available JoystickDevices. - /// - IList Joysticks { get; } - } -} diff --git a/src/OpenTK/OpenTK.csproj b/src/OpenTK/OpenTK.csproj index 438c7b48..381ec18a 100644 --- a/src/OpenTK/OpenTK.csproj +++ b/src/OpenTK/OpenTK.csproj @@ -437,9 +437,6 @@ Code - - Code - Code