Trying async mouse input.

This commit is contained in:
the_fiddler 2008-01-15 13:04:35 +00:00
parent bf22f52597
commit 1600391a91

View file

@ -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();
} }