#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 a common interface for all input devices.
///
public interface IInputDevice
{
///
/// Gets a System.String with a unique description of this IInputDevice instance.
///
string Description { get; }
///
/// Gets an OpenTK.Input.InputDeviceType value, representing the device type of this IInputDevice instance.
///
InputDeviceType DeviceType { get; }
}
///
/// The type of the input device.
///
public enum InputDeviceType
{
///
/// Device is a keyboard.
///
Keyboard,
///
/// Device is a mouse.
///
Mouse,
///
/// Device is a Human Interface Device. Joysticks, joypads, pens
/// and some specific usb keyboards/mice fall into this category.
///
Hid
}
}