mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-26 03:45:39 +00:00
Trying async mouse input.
This commit is contained in:
parent
bf22f52597
commit
1600391a91
|
@ -151,7 +151,7 @@ namespace OpenTK.Platform.X11
|
||||||
//Debug.Print("Keyboard press");
|
//Debug.Print("Keyboard press");
|
||||||
keyboardDriver.ProcessKeyboardEvent(ref e.KeyEvent);
|
keyboardDriver.ProcessKeyboardEvent(ref e.KeyEvent);
|
||||||
break;
|
break;
|
||||||
/* See MouseDriver.Poll() instead.
|
// See MouseDriver.Poll() instead.
|
||||||
case XEventName.ButtonPress:
|
case XEventName.ButtonPress:
|
||||||
case XEventName.ButtonRelease:
|
case XEventName.ButtonRelease:
|
||||||
//Debug.Print("Button");
|
//Debug.Print("Button");
|
||||||
|
@ -162,7 +162,6 @@ namespace OpenTK.Platform.X11
|
||||||
//Debug.Print("Mouse move");
|
//Debug.Print("Mouse move");
|
||||||
mouseDriver.ProcessMotion(ref e.MotionEvent);
|
mouseDriver.ProcessMotion(ref e.MotionEvent);
|
||||||
break;
|
break;
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -204,7 +203,7 @@ namespace OpenTK.Platform.X11
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public void Poll()
|
public void Poll()
|
||||||
{
|
{
|
||||||
mouseDriver.Poll();
|
//mouseDriver.Poll();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue