#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. /// public interface IKeyboardDriver { /// /// Gets the list of available KeyboardDevices. /// IList Keyboard { get; } /// /// Retrieves the KeyboardState for the default keyboard device. /// /// A structure containing the state of the keyboard device. KeyboardState GetState(); /// /// Retrieves the KeyboardState for the specified keyboard device. /// /// The index of the keyboard device. /// A structure containing the state of the keyboard device. KeyboardState GetState(int index); } }