Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/trunk/src/util/event/event_def.h @ 4365

Last change on this file since 4365 was 4365, checked in by patrick, 19 years ago

orxonox/trunk: event listener/ handler now work together, events are being transmitted to the receivers

File size: 620 bytes
Line 
1/*!
2    \file event_def.h
3    \brief some central definitions
4
5*/
6
7#ifndef _EVENT_DEF_H
8#define _EVENT_DEF_H
9
10#include "SDL_keysym.h"
11
12#define CMD_LENGHT 16
13#define N_STD_KEYS SDLK_LAST
14#define N_BUTTONS 6
15#define DEFAULT_KEYBIND_FILE "~/.orxonox/orxonox.conf"
16
17#define EVENT_QUEUE_LENGTH 32
18
19typedef enum extEventTyes
20  {
21    EV_MOUSE_MOTION = SDLK_LAST,
22    EV_MOUSE_BUTTON,
23    EV_JOY_AXIS_MOTION,
24    EV_JOY_BALL_MOTION,
25    EV_JOY_HAT_MOTION,
26    EV_JOY_BUTTON,
27
28    EV_NUMBER
29  };
30
31typedef enum elState
32  {
33    ES_GAME,
34    ES_GAME_MENU,
35    ES_MENU,
36
37    ES_ALL,
38
39    ES_NUMBER,
40  };
41
42
43#endif /* _EVENT_DEF_H */
Note: See TracBrowser for help on using the repository browser.