static int FB_VideoInit(_THIS, SDL_PixelFormat *vformat) ... #ifdef __ARM__ if ( FB_OpenEventX(this) == 0 ) { SDL_SetError("Unable to open /dev/input/eventX"); FB_VideoQuit(this); return(-1); } #else //PC original code #endif |
static int FB_VideoInit(_THIS, SDL_PixelFormat *vformat) extern int FB_OpenEventX(_THIS); extern void FB_CloseEventX(_THIS); extern void FB_vgamousecallback(int button, int relative, int dx, int dy); |
#include |