Using SDL_PushEvent (was Re: [sdljava-users] Re: sdljava-users digest, Vol 1 #82 - 2 msgs)
Status: Beta
Brought to you by:
ivan_ganza
From: Ivan Z. G. <iva...@ya...> - 2005-07-19 22:29:19
|
It is strange that SDL_PushEvent isn't working for you. You might want to search on the sdl mailing list for "Using SDL_PushEvent". There must be some reason it is returning -1. It might require debugging the SDL C code to see why it is returning -1. I'll see if I can find anything out on my end. -Ivan/ Christian Bourque wrote: >>I think the following (unimplemented) method from SDLEvent should do th= e >>trick.=3D20 >> >> int SDL_PushEvent(SDL_Event *event); >> >> =20 >> > >Hi Ivan! Thanks for your reply! > >I've already tried SDL_PushEvent inside my native lib (using JNI), >basically I catch mousePressed events inside the canvas and then call >a native function which will call SDL_PushEvent() but it always >returns -1... > >Regards > >Christian > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id=16492&op=CCk >_______________________________________________ >sdljava-users mailing list >sdl...@li... >https://lists.sourceforge.net/lists/listinfo/sdljava-users > =20 > |