Re: [pygame] ogre + pygame: how do I get them to share a window?
by Peter Shinners other posts by this author
Aug 23 2006 1:14AM messages near this date
[pygame] ogre + pygame: how do I get them to share a window?
|
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.
Thread:
Mark Ivey
Peter Shinners
renesd
Mark Ivey
Ryan Charpentier
|