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

Re: [pygame] pygame/pyobjc eats keys for subordinate process



I'm not sure, but is there an interface call in Kagi that can accept
something like piped input or anything.  If so, then could you trap
the input in your game and then pass it as an interface call?


On Tue, 9 Nov 2004 11:32:09 -0800, Keith Nemitz <keithn@2xtreme.net> wrote:
> I'm not sure if this is a pygame question or a pyobjc question, either
> could be causing the problem I'm currently debugging.
> 
> I'm invoking the Kagi purchase system from within my game. It opens a
> window, and I can click on the buttons and such, but all keystrokes are
> gobbled by the game before the Kagi window sees them. I've checked this
> by watching the events. If I bring other applications forward, they
> respond to the keyboard, just fine.
> 
> I've turned 'grabbing' off. And there doesn't seem to be a way to 'give
> up' keyboard focus. (there's only the key.get_focused method) Are there
> other places/docs I should be looking? I'm hoping that I might find a
> cocoa call that will give the sub-window full control over events.
> 
> I'm very close to shipping my adventure game, and this may be the last
> obstacle... yada,yada FLW! Assistance would be greatly appreciated.
> 
> Keith Nemitz
> Mousechief Co.
> 
> 


-- 
Andrew Ulysses Baker
"failrate"