]> icculus.org git repositories - btb/d2x.git/blob - input/svgalib_event.c
updated anonymous password
[btb/d2x.git] / input / svgalib_event.c
1 /*
2  * $Source: /cvs/cvsroot/d2x/input/svgalib_event.c,v $
3  * $Revision: 1.2 $
4  * $Author: bradleyb $
5  * $Date: 2001-01-29 14:03:57 $
6  *
7  * SVGALib Event related stuff
8  *
9  * $Log: not supported by cvs2svn $
10  */
11
12 #ifdef HAVE_CONFIG_H
13 #include <conf.h>
14 #endif
15
16 #include <stdio.h>
17 #include <stdlib.h>
18
19 #include <vgakeyboard.h>
20 #include <vgamouse.h>
21
22 void key_handler(int scancode, int press);
23 //added on 10/17/98 by Hans de Goede for mouse functionality
24 //extern void mouse_button_handler(SDL_MouseButtonEvent *mbe);
25 //extern void mouse_motion_handler(SDL_MouseMotionEvent *mme);
26 //end this section addition - Hans
27
28 void event_poll()
29 {
30  keyboard_update();
31  mouse_update();
32 }
33
34 /*int event_init()
35 {
36  initialised = 1;
37  return 0;
38 }*/