InputDriver now correctly interfaces with its mouseDriver.
This commit is contained in:
parent
9bd06cf09e
commit
4743d5afd6
2 changed files with 6 additions and 3 deletions
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue