2008-06-22 16:21:52 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using OpenTK.Math;
|
|
|
|
|
|
|
|
|
|
namespace OpenTK.Input
|
|
|
|
|
{
|
2008-11-03 22:15:56 +00:00
|
|
|
|
#if false
|
2008-06-22 16:21:52 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Represents a joystick device and provides methods to query its state.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class JoystickDevice : IInputDevice
|
|
|
|
|
{
|
|
|
|
|
string description;
|
|
|
|
|
Vector2[] axis_position;
|
|
|
|
|
|
2008-11-03 22:15:56 +00:00
|
|
|
|
#region --- IInputDevice Members ---
|
2008-06-22 16:21:52 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets a string describing this JoystickDevice.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Description
|
|
|
|
|
{
|
|
|
|
|
get { return description; }
|
|
|
|
|
internal set { description = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets a value indicating the InputDeviceType of this InputDevice.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public InputDeviceType DeviceType
|
|
|
|
|
{
|
|
|
|
|
get { return InputDeviceType.HID; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
2008-11-03 22:15:56 +00:00
|
|
|
|
#region --- Public Methods ---
|
2008-06-22 16:21:52 +00:00
|
|
|
|
|
|
|
|
|
//public Vector2 Axis1
|
|
|
|
|
//{
|
|
|
|
|
// get { return axis_position.Clone(); }
|
|
|
|
|
// internal set {
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
2008-11-03 22:15:56 +00:00
|
|
|
|
#endif
|
2008-06-22 16:21:52 +00:00
|
|
|
|
}
|