forked from 0ad/0ad
11 lines
280 B
C
11 lines
280 B
C
|
extern bool g_active;
|
||
|
|
||
|
extern bool g_keys[SDLK_LAST];
|
||
|
extern int g_mouse_x, g_mouse_y;
|
||
|
|
||
|
// { left, right, middle, wheel up, wheel down }
|
||
|
// (order is given by SDL_BUTTON_* constants).
|
||
|
extern bool g_mouse_buttons[5];
|
||
|
|
||
|
extern int GlobalsInputHandler(const SDL_Event* ev);
|