diff --git a/Source/OpenTK/Input/IKeyboard.cs b/Source/OpenTK/Input/IKeyboard.cs deleted file mode 100644 index 1847ab02..00000000 --- a/Source/OpenTK/Input/IKeyboard.cs +++ /dev/null @@ -1,26 +0,0 @@ -#region --- License --- -/* Copyright (c) 2007 Stefanos Apostolopoulos - * See license.txt for license info - */ -#endregion - -using System; - -namespace OpenTK.Input -{ - public interface IKeyboard : IInputDevice - { - bool this[Key k] { get; } - int NumberOfKeys { get; } - int NumberOfFunctionKeys { get; } - int NumberOfLeds { get; } - IntPtr DeviceID { get; } - bool KeyRepeat { get; set; } - - event KeyDownEvent KeyDown; - event KeyUpEvent KeyUp; - } - - public delegate void KeyDownEvent(IKeyboard sender, Key key); - public delegate void KeyUpEvent(IKeyboard sender, Key key); -} \ No newline at end of file diff --git a/Source/OpenTK/Input/IMouse.cs b/Source/OpenTK/Input/IMouse.cs deleted file mode 100644 index 5223346d..00000000 --- a/Source/OpenTK/Input/IMouse.cs +++ /dev/null @@ -1,32 +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 -{ - public interface IMouse : IInputDevice - { - int NumberOfButtons { get; } - int NumberOfWheels { get; } - IntPtr DeviceID { get; } - int Wheel { get; } - int X { get; } - int Y { get; } - int XDelta { get; } - int YDelta { get; } - - //event MouseMoveEvent Move; - event MouseButtonDownEvent ButtonDown; - event MouseButtonUpEvent ButtonUp; - } - - public delegate void MouseMoveEvent(IMouse sender, MouseMoveData key); - public delegate void MouseButtonDownEvent(IMouse sender, MouseButton button); - public delegate void MouseButtonUpEvent(IMouse sender, MouseButton button); -}