diff -Nur SDL-1.2.8/src/video/fbcon/SDL_fbevents.c SDL-1.2.8-ads/src/video/fbcon/SDL_fbevents.c --- SDL-1.2.8/src/video/fbcon/SDL_fbevents.c 2004-02-18 17:22:06.000000000 +0000 +++ SDL-1.2.8-ads/src/video/fbcon/SDL_fbevents.c 2005-01-11 13:34:05.986606784 +0000 @@ -61,6 +61,11 @@ #define GPM_NODE_FIFO "/dev/gpmdata" #endif +typedef struct { + int state; + int offx; + int offy; +} ADS_TS_Event; /* The translation tables from a console scancode to a SDL keysym */ #define NUM_VGAKEYMAPS (1< 0) { + FB_vgamousecallback(e.state, relative, e.offx, e.offy); + FB_vgamousecallback(0, relative, 0, 0); + } + return; + } + /* Special handling for the quite sensitive ELO controller */ if (mouse_drv == MOUSE_ELO) {