]> icculus.org git repositories - btb/d2x.git/blob - input/svgalib_event.c
junk removal
[btb/d2x.git] / input / svgalib_event.c
1 /* SVGALib Event related stuff */
2
3 #include <conf.h>
4
5 #ifdef SVGALIB_INPUT
6
7 #include <stdio.h>
8 #include <stdlib.h>
9
10 #include <vgakeyboard.h>
11 #include <vgamouse.h>
12
13 void key_handler(int scancode, int press);
14 //added on 10/17/98 by Hans de Goede for mouse functionality
15 //extern void mouse_button_handler(SDL_MouseButtonEvent *mbe);
16 //extern void mouse_motion_handler(SDL_MouseMotionEvent *mme);
17 //end this section addition - Hans
18
19 void event_poll()
20 {
21  keyboard_update();
22  mouse_update();
23 }
24
25 /*int event_init()
26 {
27  initialised = 1;
28  return 0;
29 }*/
30
31 #endif /* SVGALIB_INPUT */