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 b9cb215d9b
commit c545500681

View file

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