From 5474ee44266fd11e91c36926f56b9c1366a55e79 Mon Sep 17 00:00:00 2001 From: Jarl Gullberg Date: Tue, 20 Jun 2017 15:55:39 +0200 Subject: [PATCH] Removed obsolete keyboard driver. --- src/OpenTK/Input/IInputDriver.cs | 2 +- src/OpenTK/Input/IKeyboardDriver.cs | 24 ------------------------ src/OpenTK/OpenTK.csproj | 3 --- 3 files changed, 1 insertion(+), 28 deletions(-) delete mode 100644 src/OpenTK/Input/IKeyboardDriver.cs diff --git a/src/OpenTK/Input/IInputDriver.cs b/src/OpenTK/Input/IInputDriver.cs index 1987f5db..95890edf 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, IDisposable + public interface IInputDriver : IDisposable { /// /// Updates the state of the driver. diff --git a/src/OpenTK/Input/IKeyboardDriver.cs b/src/OpenTK/Input/IKeyboardDriver.cs deleted file mode 100644 index 20685074..00000000 --- a/src/OpenTK/Input/IKeyboardDriver.cs +++ /dev/null @@ -1,24 +0,0 @@ -#region --- License --- -/* Copyright (c) 2006, 2007 Stefanos Apostolopoulos - * See license.txt for license info - */ -#endregion - -using System; -using System.Collections.Generic; -using System.Text; - -namespace OpenTK.Input -{ - /// - /// Defines the interface for KeyboardDevice drivers. - /// - [Obsolete] - public interface IKeyboardDriver - { - /// - /// Gets the list of available KeyboardDevices. - /// - IList Keyboard { get; } - } -} diff --git a/src/OpenTK/OpenTK.csproj b/src/OpenTK/OpenTK.csproj index 381ec18a..352d2273 100644 --- a/src/OpenTK/OpenTK.csproj +++ b/src/OpenTK/OpenTK.csproj @@ -452,9 +452,6 @@ Code - - Code - Code