ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> pygame-users
pygame-users
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved