Opentk/Source/OpenTK/Input/Keyboard.cs

51 lines
1.4 KiB
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Text;
namespace OpenTK.Input
{
/// <summary>
/// Provides access to keyboard devices.
/// </summary>
public static class Keyboard
{
#region Fields
static IKeyboardDriver driver;
#endregion
#region Constructors
static Keyboard()
{
//driver = Platform.Factory.Default.CreateKeyboardDriver();
}
#endregion
#region Public Members
/// <summary>
/// Retrieves the KeyboardState for the default keyboard device.
/// </summary>
/// <returns>A <see cref="OpenTK.Input.KeyboardState"/> structure containing the state of the keyboard device.</returns>
public static KeyboardState GetState()
{
throw new NotImplementedException();
}
/// <summary>
/// Retrieves the KeyboardState for the specified keyboard device.
/// </summary>
/// <param name="index">The index of the keyboard device.</param>
/// <returns>A <see cref="OpenTK.Input.KeyboardState"/> structure containing the state of the keyboard device.</returns>
public static KeyboardState GetState(int index)
{
throw new NotImplementedException();
}
#endregion
}
}