Fixed a bug where WheelDelta reported the same value as Wheel.

This commit is contained in:
the_fiddler 2008-05-04 17:47:09 +00:00
parent 025b57d428
commit 1510c282de

View file

@ -27,6 +27,8 @@ namespace OpenTK.Input
#region --- IInputDevice Members --- #region --- IInputDevice Members ---
#region public string Description
/// <summary> /// <summary>
/// Gets a string describing this MouseDevice. /// Gets a string describing this MouseDevice.
/// </summary> /// </summary>
@ -36,6 +38,10 @@ namespace OpenTK.Input
internal set { description = value; } internal set { description = value; }
} }
#endregion
#region public InputDeviceType DeviceType
/// <summary> /// <summary>
/// Gets an value indicating the InputDeviceType of this InputDevice. /// Gets an value indicating the InputDeviceType of this InputDevice.
/// </summary> /// </summary>
@ -46,6 +52,8 @@ namespace OpenTK.Input
#endregion #endregion
#endregion
#region --- Public Members --- #region --- Public Members ---
#region public int NumberOfButtons #region public int NumberOfButtons
@ -116,7 +124,7 @@ namespace OpenTK.Input
{ {
int result = wheel - wheel_last_accessed; int result = wheel - wheel_last_accessed;
wheel_last_accessed = wheel; wheel_last_accessed = wheel;
return wheel; return result;
} }
} }