[Gridflow-cvs] [svn] commit: r3806 - /trunk/format/sdl.c

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Thu Jun 5 11:03:54 EDT 2008


Author: matju
Date: Thu Jun  5 11:03:53 2008
New Revision: 3806

Log:
urgh

Modified:
    trunk/format/sdl.c

Modified: trunk/format/sdl.c
==============================================================================
--- trunk/format/sdl.c (original)
+++ trunk/format/sdl.c Thu Jun  5 11:03:53 2008
@@ -63,6 +63,7 @@
 			SETFLOAT(at+2,mousem);
 			SETSYMBOL(at+3,gensym(const_cast<char *>("huh")));
 			outlet_anything(instance->bself->outlets[0],sel,4,at);
+			post("type=%d state=%d keysym=%d",event.type,event.key.state,event.key.keysym);
 		    } break;
 		    case SDL_MOUSEBUTTONDOWN: SDL_MOUSEBUTTONUP: {
 			if (SDL_MOUSEBUTTONDOWN) mousem |=  (128<<event.button.button);
@@ -110,8 +111,6 @@
 		clock = clock_new(this,(t_method)FormatSDL_call);
 		clock_delay(clock,0);
 		_0_title(0,0,string("GridFlow SDL"));
-		SDL_EventState(SDL_KEYUP,SDL_ENABLE);
-		SDL_EventState(SDL_MOUSEBUTTONUP,SDL_ENABLE);
 	}
 	\grin 0 int
 	~FormatSDL () {



More information about the Gridflow-cvs mailing list