Added IMouse.cs and Mouse.cs, fixing the compilation on mono.
This commit is contained in:
parent
4c725a098b
commit
dce223c738
2 changed files with 33 additions and 0 deletions
10
Source/OpenTK/Input/IMouse.cs
Normal file
10
Source/OpenTK/Input/IMouse.cs
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace OpenTK.Input
|
||||||
|
{
|
||||||
|
interface IMouse : IInputDevice
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
23
Source/OpenTK/Input/Mouse.cs
Normal file
23
Source/OpenTK/Input/Mouse.cs
Normal 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
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue