mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-24 04:45:36 +00:00
InputDriver now correctly interfaces with its mouseDriver.
This commit is contained in:
parent
9bd06cf09e
commit
4743d5afd6
|
@ -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