1 /*
2  * $Source: /cvs/cvsroot/d2x/arch/svgalib/event.c,v $
3  * $Revision: 1.1 $
4  * $Author: bradleyb $
5  * $Date: 2001/10/24 09:25:05 $
6  *
7  * SVGALib Event related stuff
8  *
9  * $Log: event.c,v $
10  * Revision 1.1  2001/10/24 09:25:05  bradleyb
11  * Moved input stuff to arch subdirs, as in d1x.
12  *
13  * Revision 1.2  2001/01/29 14:03:57  bradleyb
14  * Fixed build, minor fixes
15  *
16  */
17 
18 #ifdef HAVE_CONFIG_H
19 #include <conf.h>
20 #endif
21 
22 #include <stdio.h>
23 #include <stdlib.h>
24 
25 #include <vgakeyboard.h>
26 #include <vgamouse.h>
27 
28 void key_handler(int scancode, int press);
29 //added on 10/17/98 by Hans de Goede for mouse functionality
30 //extern void mouse_button_handler(SDL_MouseButtonEvent *mbe);
31 //extern void mouse_motion_handler(SDL_MouseMotionEvent *mme);
32 //end this section addition - Hans
33 
event_poll()34 void event_poll()
35 {
36  keyboard_update();
37  mouse_update();
38 }
39 
40 /*int event_init()
41 {
42  initialised = 1;
43  return 0;
44 }*/
45