using sizeof(int) instead of 4
[bcl.git] / mouse.h
blob48aa5ec907e796c2466b2abd470fe3ad9d961c59
1 #ifndef _keyboard_h
2 #define _keyboard_h
4 typedef struct mouse_t {
5 int butten1;
6 int butten2;
7 int butten3;
8 int butten4;
9 int butten5;
10 int x;
11 int y;
12 } mouse;
13 extern DECLSPEC mouse *getMouseState(void);
14 extern DECLSPEC void setMousePosition(int x, int y);
15 extern DECLSPEC int isMouseButtonDown(int b);
17 #endif