InputDriver now correctly interfaces with its mouseDriver.

This commit is contained in:
the_fiddler 2007-09-24 21:10:52 +00:00
parent 9bd06cf09e
commit 4743d5afd6
2 changed files with 6 additions and 3 deletions

View file

@ -31,8 +31,7 @@ namespace OpenTK
}
else if (Environment.OSVersion.Platform == PlatformID.Unix)
{
inputDriver =
new OpenTK.Platform.X11.X11Input(parent);
inputDriver = new OpenTK.Platform.X11.X11Input(parent);
}
else
{

View file

@ -120,11 +120,13 @@ namespace OpenTK.Platform.X11
public IList<Mouse> Mouse
{
get { throw new Exception("The method or operation is not implemented."); }
get { return mouseDriver.Mouse; }
}
#endregion
#region public void Poll()
/// <summary>
/// Consumes to keyboard, mouse, etc events, routing them to their
/// respective drivers.
@ -157,6 +159,8 @@ namespace OpenTK.Platform.X11
#endregion
#endregion
#region --- IDisposable Members ---
public void Dispose()