dos3d
diff src/mouse.h @ 0:f04884489bad
dos3d initial import
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 21 Nov 2011 06:14:01 +0200 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/mouse.h Mon Nov 21 06:14:01 2011 +0200 1.3 @@ -0,0 +1,14 @@ 1.4 +#ifndef MOUSE_H_ 1.5 +#define MOUSE_H_ 1.6 + 1.7 +#define MOUSE_LEFT 1 1.8 +#define MOUSE_RIGHT 2 1.9 +#define MOUSE_MIDDLE 4 1.10 + 1.11 +int have_mouse(void); 1.12 +void show_mouse(int show); 1.13 +int read_mouse(int *xp, int *yp); 1.14 +void set_mouse(int x, int y); 1.15 +void set_mouse_limits(int xmin, int ymin, int xmax, int ymax); 1.16 + 1.17 +#endif /* MOUSE_H_ */