input events and empty UNIX functions
[oftp] / src / dos / input.c
1 #include <conio.h>
2 #include "input.h"
3
4 int init_input(void)
5 {
6         return 0;
7 }
8
9 void cleanup_input(void)
10 {
11 }
12
13 int wait_input(union event *ev)
14 {
15         ev->type = EV_KEY;
16         ev->key.key = getch();
17         return 1;
18 }