 +  SDL_keysym keysym;
 +  struct SDL_NACL_Event* event =
 +    (struct SDL_NACL_Event*)malloc(sizeof(struct SDL_NACL_Event));
++  static double wheel_clicks_x;
++  static double wheel_clicks_y;
 +  event->type = ppevent.GetType();
 +
 +  pp::InputEvent *input_event = const_cast<pp::InputEvent*>(&ppevent);

+#endif
diff -urN SDL-1.2.14/src/video/nacl/SDL_naclvideo.cc SDL-1.2.14-nacl/src/video/nacl/SDL_naclvideo.cc
--- SDL-1.2.14/src/video/nacl/SDL_naclvideo.cc	1970-01-01 03:00:00.000000000 +0300
+++ SDL-1.2.14-nacl/src/video/nacl/SDL_naclvideo.cc	2011-11-30 16:16:46.755187748 +0400
@@ -0,0 +1,243 @@
+#include "SDL_config.h"
+

+#endif // _SDL_nacl_eventqueue_h
diff -urN SDL-1.2.14/src/video/nacl/MainThreadRunner.cc SDL-1.2.14-nacl/src/video/nacl/MainThreadRunner.cc
--- SDL-1.2.14/src/video/nacl/MainThreadRunner.cc	1970-01-01 03:00:00.000000000 +0300
+++ SDL-1.2.14-nacl/src/video/nacl/MainThreadRunner.cc	2012-01-16 12:16:39.470269368 +0400
@@ -0,0 +1,242 @@
+/*
+ * Copyright (c) 2011 The Native Client Authors. All rights reserved.
