changed event filter to not set as SDL event filter, but call it manually
[rocksndiamonds.git] / src / events.h
index ec2831ef83aca72608ef3126f07b205a0a2dc33a..e5d2dcc393c143ccca73e4a76bc37cb1326ce62c 100644 (file)
 
 #include "main.h"
 
-#if defined(TARGET_SDL2)
-int FilterEvents(void *, Event *);
-#else
-int FilterEvents(const Event *);
-#endif
+boolean NextValidEvent(Event *);
 
 void EventLoop(void);
 void HandleOtherEvents(Event *);
@@ -30,11 +26,13 @@ void HandleExposeEvent(ExposeEvent *);
 void HandleButtonEvent(ButtonEvent *);
 void HandleMotionEvent(MotionEvent *);
 #if defined(TARGET_SDL2)
+void HandleWheelEvent(WheelEvent *);
 void HandleWindowEvent(WindowEvent *);
 void HandleFingerEvent(FingerEvent *);
 void HandleTextEvent(TextEvent *);
 void HandlePauseResumeEvent(PauseResumeEvent *);
 #endif
+void HandleKeysDebug(Key);
 void HandleKeyEvent(KeyEvent *);
 void HandleFocusEvent(FocusChangeEvent *);
 void HandleClientMessageEvent(ClientMessageEvent *);