#include "joystick.h"
#include "network.h"
+/* values for key_status */
+#define KEY_NOT_PRESSED FALSE
+#define KEY_RELEASED FALSE
+#define KEY_PRESSED TRUE
+
void EventLoop(void)
{
while(1)
{
static long joystickmove_delay = 0;
- if (joystick && !button && !DelayReached(&joystickmove_delay,150))
+ if (joystick && !button && !DelayReached(&joystickmove_delay, 150))
newbutton = dx = dy = 0;
if (game_status==MAINMENU)