Removed [Obsolete] attribute from Joysticks, Keyboard and Mouse properties until the new input API is ready.

This commit is contained in:
the_fiddler 2009-09-04 22:08:51 +00:00
parent 4cfd0ab270
commit 98ae93d424

View file

@ -533,7 +533,6 @@ namespace OpenTK
/// <summary> /// <summary>
/// Gets a readonly IList containing all available OpenTK.Input.JoystickDevices. /// Gets a readonly IList containing all available OpenTK.Input.JoystickDevices.
/// </summary> /// </summary>
[Obsolete]
public IList<JoystickDevice> Joysticks public IList<JoystickDevice> Joysticks
{ {
get { return InputDriver.Joysticks; } get { return InputDriver.Joysticks; }
@ -546,7 +545,6 @@ namespace OpenTK
/// <summary> /// <summary>
/// Gets the primary Keyboard device, or null if no Keyboard exists. /// Gets the primary Keyboard device, or null if no Keyboard exists.
/// </summary> /// </summary>
[Obsolete]
public KeyboardDevice Keyboard public KeyboardDevice Keyboard
{ {
get { return InputDriver.Keyboard.Count > 0 ? InputDriver.Keyboard[0] : null; } get { return InputDriver.Keyboard.Count > 0 ? InputDriver.Keyboard[0] : null; }
@ -559,7 +557,6 @@ namespace OpenTK
/// <summary> /// <summary>
/// Gets the primary Mouse device, or null if no Mouse exists. /// Gets the primary Mouse device, or null if no Mouse exists.
/// </summary> /// </summary>
[Obsolete]
public MouseDevice Mouse public MouseDevice Mouse
{ {
get { return InputDriver.Mouse.Count > 0 ? InputDriver.Mouse[0] : null; } get { return InputDriver.Mouse.Count > 0 ? InputDriver.Mouse[0] : null; }