#include #include "SDL.h" SDL_Surface* screen; int quit=0; int main() { SDL_Event event; int mice; int i; printf("Initing...\n"); if (SDL_Init(0)!=0) { return 1; } if (SDL_InitSubSystem(SDL_INIT_VIDEO)!=0) { return 1; } else { screen = SDL_SetVideoMode(640, 480, 32, SDL_DOUBLEBUF); } mice = SDL_GetNumMice(); printf("%d pointing devices found\n", mice); for(i=0; i