Added IMouse.cs and Mouse.cs, fixing the compilation on mono.

This commit is contained in:
the_fiddler 2007-08-05 10:17:20 +00:00
parent 4c725a098b
commit dce223c738
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,10 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace OpenTK.Input
{
interface IMouse : IInputDevice
{
}
}

View file

@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace OpenTK.Input
{
public class Mouse : IMouse
{
#region --- IInputDevice Members ---
public string Description
{
get { throw new Exception("The method or operation is not implemented."); }
}
public InputDeviceType DeviceType
{
get { return InputDeviceType.Mouse; }
}
#endregion
}
}