projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added separate grid buttons for landscape and portrait screen orientation
[rocksndiamonds.git]
/
src
/
events.h
diff --git
a/src/events.h
b/src/events.h
index 664f3778b83f54b7ba3fec3a7a407c28e4811329..83d869adc14e334c02f627a8021ce569da4ed9f2 100644
(file)
--- a/
src/events.h
+++ b/
src/events.h
@@
-14,12
+14,6
@@
#include "main.h"
#include "main.h"
-#if defined(TARGET_SDL2)
-int FilterEvents(void *, Event *);
-#else
-int FilterEvents(const Event *);
-#endif
-
boolean NextValidEvent(Event *);
void EventLoop(void);
boolean NextValidEvent(Event *);
void EventLoop(void);
@@
-32,21
+26,24
@@
void HandleExposeEvent(ExposeEvent *);
void HandleButtonEvent(ButtonEvent *);
void HandleMotionEvent(MotionEvent *);
#if defined(TARGET_SDL2)
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 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 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 HandleToonAnimations(void);
void HandleButton(int, int, int, int);
void HandleKey(Key, int);
void HandleJoystick();
+void HandleSpecialGameControllerButtons(Event *);
+void HandleSpecialGameControllerKeys(Key, int);
#endif
#endif