-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathkbjs.h
38 lines (38 loc) · 888 Bytes
/
kbjs.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
bool kbHit(void);
bool jsESC(void);
bool rbPressed(void);
int readKb(void);
void dumpKb(void);
void dumpJs(void);
void initKb(void);
void restoreKb(void);
int handleESC(void);
int readKb_mouse(void);
void do_joystick_test(void);
int open_mouse();
void close_mouse();
int open_joystick();
void free_mouse_BGImage(void);
void close_joystick();
extern int jsXAxis;
extern int jsYAxis;
extern int jsThreshold;
extern int jsSelect;
extern int jsBack;
extern int jsInfo;
extern int jsMenu;
extern tPointXY mouseXY;
extern tPointXY clickXY;
extern tPointXY pointerOffsetXY;
extern bool mouseEnabled;
extern int numMouseIndex;
extern int numJoystickIndex;
extern int numPointerIndex;
extern int numPointerSize;
extern int numTimer;
extern char mouseDev[];
extern char jsDev[];
extern bool bQScreen;
void x_window_loop(int * key, bool checkMouse);
bool create_x_window();
bool destroy_x_window();