Re: [pygame] BUG: Different events when I enable OpenGL

2009-11-21 Thread René Dudfield
hi, opengl uses a slighty different video and event driver. So that explains the different behaviour. probably have a better chance of it getting fixed if you report your bug here: bugzilla.libsdl.org I'm guessing that the stylus uses a different method of updating the mouse position... and

Re: [pygame] BUG: Different events when I enable OpenGL

2009-11-21 Thread Thomas Hansen
I see, I'll let the libsdl folks know, and see what they think about that. The get_mouse thing might work for teh stylus, but not for multi-touch :( Is there a way to inject code, or attach handlers to the actual underlying system window (instead of teh SDL abstraction) from python? SDL must

Re: [pygame] BUG: Different events when I enable OpenGL

2009-11-21 Thread Brian Fisher
On Fri, Nov 20, 2009 at 9:27 PM, Thomas Hansen thomas.han...@gmail.comwrote: pygame.display.set_caption('pymt') hwnd = ctypes.windll.user32.FindWindowA(None, pymt) ctypes.windll.user32.RegisterTouchWindow(hwnd, 0) Hey Thomas, you may want to double check that the hwnd you are getting is