2007-08-10 09:27:13 +00:00
|
|
|
|
#region --- License ---
|
|
|
|
|
/* Copyright (c) 2006, 2007 Stefanos Apostolopoulos
|
|
|
|
|
* See license.txt for license info
|
|
|
|
|
*/
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
using System;
|
2007-08-03 00:14:31 +00:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace OpenTK.Input
|
|
|
|
|
{
|
|
|
|
|
public interface IInputDevice
|
|
|
|
|
{
|
|
|
|
|
string Description { get; }
|
|
|
|
|
InputDeviceType DeviceType { get; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The type of the input device.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public enum InputDeviceType
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Device is a keyboard.
|
|
|
|
|
/// </summary>
|
|
|
|
|
Keyboard,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Device is a mouse.
|
|
|
|
|
/// </summary>
|
|
|
|
|
Mouse,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Device is a Human Interface Device. Joysticks, joypads, pens
|
|
|
|
|
/// and some specific usb keyboards/mice fall into this category.
|
|
|
|
|
/// </summary>
|
|
|
|
|
HID
|
|
|
|
|
}
|
2007-08-10 09:27:13 +00:00
|
|
|
|
}
|