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