[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] ogre + pygame: how do I get them to share a window?



On Tue, 2006-08-22 at 17:36 -0700, Mark Ivey wrote:
> I'm trying to get Ogre (for graphics) and pygame (for input) to play  
> together (glued together with Boost::Python, if it matters).  When  
> Ogre isn't using the SDL backend, pygame doesn't get any keyboard/ 
> mouse events.

When SDL runs embedded in an existing window, it does not receive input
events. I'm surprised you are getting keyboard at all. You'll need to
use OGRE's input system and forward the events to your SDL code.