projects
/
retroray
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
b54f6a936d904bde7f78fa128fdf4eeb9b936f9e
[retroray]
/
src
/
dos
/
mouse.h
1
#ifndef MOUSE_H_
2
#define MOUSE_H_
3
4
enum {
5
MOUSE_LEFT = 1,
6
MOUSE_RIGHT = 2,
7
MOUSE_MIDDLE = 4
8
};
9
10
#ifdef __cplusplus
11
extern "C" {
12
#endif
13
14
int have_mouse(void);
15
void show_mouse(int show);
16
int read_mouse(int *xp, int *yp);
17
void set_mouse(int x, int y);
18
void set_mouse_limits(int xmin, int ymin, int xmax, int ymax);
19
void set_mouse_rate(int xrate, int yrate);
20
21
#ifdef __cplusplus
22
}
23
#endif
24
25
#endif /* MOUSE_H_ */