From 28f90f3d171b239a34f6ad28b35f22cfd62e5be5 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Wed, 26 Sep 2007 15:41:14 +0000 Subject: [PATCH] Polled mouse input through XQueryPointer. --- Source/OpenTK/Platform/X11/X11Input.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/OpenTK/Platform/X11/X11Input.cs b/Source/OpenTK/Platform/X11/X11Input.cs index 80c2e307..4e0c01b0 100644 --- a/Source/OpenTK/Platform/X11/X11Input.cs +++ b/Source/OpenTK/Platform/X11/X11Input.cs @@ -144,7 +144,7 @@ namespace OpenTK.Platform.X11 //Debug.Print("Keyboard press"); keyboardDriver.ProcessKeyboardEvent(ref e.KeyEvent); break; - + /* See MouseDriver.Poll() instead. case XEventName.ButtonPress: case XEventName.ButtonRelease: //Debug.Print("Button"); @@ -155,6 +155,7 @@ namespace OpenTK.Platform.X11 //Debug.Print("Mouse move"); mouseDriver.ProcessMotion(ref e.MotionEvent); break; + */ } } @@ -190,8 +191,7 @@ namespace OpenTK.Platform.X11 #region public void Poll() /// - /// Consumes to keyboard, mouse, etc events, routing them to their - /// respective drivers. + /// Polls and updates state of all keyboard, mouse and joystick devices. /// public void Poll() {