X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fevents.h;h=3234877318cb54c6333c6d5981a5650ec8f52c0c;hp=ec2831ef83aca72608ef3126f07b205a0a2dc33a;hb=dec5093fc78bfe1356d764c2432fed6566b2af66;hpb=abe44529b439ad39b4d8dbf19cbd67c9b9844279 diff --git a/src/events.h b/src/events.h index ec2831ef..32348773 100644 --- a/src/events.h +++ b/src/events.h @@ -14,14 +14,11 @@ #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 *); +void ClearAutoRepeatKeyEvents(void); void ClearEventQueue(void); void ClearPlayerAction(void); void SleepWhileUnmapped(void); @@ -30,21 +27,26 @@ 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 *); void HandleWindowManagerEvent(Event *); -void HandleNoEvent(void); void HandleToonAnimations(void); void HandleButton(int, int, int, int); void HandleKey(Key, int); -void HandleJoystick(); +void HandleJoystick(void); +void HandleSpecialGameControllerButtons(Event *); +void HandleSpecialGameControllerKeys(Key, int); + +boolean DoKeysymAction(int); #endif