eobish
view src/fblibimp.h @ 7:6a350c554e46
started DOS port
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 19 Jan 2015 15:49:14 +0200 |
parents | cdbcae5b3b98 |
children |
line source
1 #ifndef FBLIBIMP_H_
2 #define FBLIBIMP_H_
4 #include "fblib.h"
6 struct callbacks {
7 int (*keyb)(int, int, void*);
8 int (*button)(int, int, int, int, void*);
9 int (*motion)(int, int, void*);
11 void *keyb_data, *button_data, *motion_data;
12 } fb_cb;
14 struct input_state {
15 unsigned char key[256];
16 unsigned char mbutton[8];
17 int mx, my;
18 } fb_inp;
20 int fb_width, fb_height, fb_bpp;
22 #endif /* FBLIBIMP_H_ */