diff options
-rw-r--r-- | src/input.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/input.c b/src/input.c new file mode 100644 index 0000000..567928b --- /dev/null +++ b/src/input.c @@ -0,0 +1,18 @@ +#include <idc.h> +#include "common.h" +#include "graphics_x11.h" +#include "keyboard_x11.h" +#include "mouse_x11.h" + +extern struct x11_global x11_global; + +int input_init() { + return x11_global.fd; +} + +void input_event_handler(struct shit *me,char *line) { + if(keyboard_event_handler(me,line)) { + } + if(mouse_event_handler(me,line)) { + } +} |