rayzor

view src/mouse.h @ 0:2a5340a6eee4

rayzor first commit
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 05 Apr 2014 08:46:27 +0300
parents
children a826bf0fb169
line source
1 #ifndef MOUSE_H_
2 #define MOUSE_H_
4 #define MOUSE_LEFT 1
5 #define MOUSE_RIGHT 2
6 #define MOUSE_MIDDLE 4
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
12 int have_mouse(void);
13 void show_mouse(int show);
14 int read_mouse(int *xp, int *yp);
15 void set_mouse(int x, int y);
16 void set_mouse_limits(int xmin, int ymin, int xmax, int ymax);
18 #ifdef __cplusplus
19 }
20 #endif
22 #endif /* MOUSE_H_ */