updated mouse.h and mouse.c, still broken
[bcl.git] / mouse.h
bloba69bd316fb4b6289bfe6c0bc39eda2d7d4b7d4aa
1 #ifndef _keyboard_h
2 #define _keyboard_h
4 typedef struct mouse_t {
5 int x;
6 int y;
7 int butten1;
8 int butten2;
9 int butten3;
10 int butten4;
11 int butten5;
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