mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-22 22:11:04 +00:00
Removed [Obsolete] attribute from Joysticks, Keyboard and Mouse properties until the new input API is ready.
This commit is contained in:
parent
3f2f8e46e1
commit
572baf16be
|
@ -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; }
|
||||||
|
|
Loading…
Reference in a new issue