comparison src/video/x11/SDL_x11video.c @ 4645:0375d020e7e3

Auto-detects Wacom touch devices.
author Jim Grandpre <jim.tla@gmail.com>
date Mon, 31 May 2010 00:24:37 -0400
parents c0f2a1e6f0cd
children 03dcb795c583
comparison
equal deleted inserted replaced
4644:fb500b3e1717 4645:0375d020e7e3
21 */ 21 */
22 #include "SDL_config.h" 22 #include "SDL_config.h"
23 23
24 #include "SDL_video.h" 24 #include "SDL_video.h"
25 #include "SDL_mouse.h" 25 #include "SDL_mouse.h"
26 #include "SDL_eventtouch.h"
26 #include "../SDL_sysvideo.h" 27 #include "../SDL_sysvideo.h"
27 #include "../SDL_pixels_c.h" 28 #include "../SDL_pixels_c.h"
28 29
29 #include "SDL_x11video.h" 30 #include "SDL_x11video.h"
30 #include "SDL_x11render.h" 31 #include "SDL_x11render.h"
267 if (X11_InitKeyboard(_this) != 0) { 268 if (X11_InitKeyboard(_this) != 0) {
268 return -1; 269 return -1;
269 } 270 }
270 X11_InitMouse(_this); 271 X11_InitMouse(_this);
271 272
273 X11_InitTouch(_this);
272 return 0; 274 return 0;
273 } 275 }
274 276
275 void 277 void
276 X11_VideoQuit(_THIS) 278 X11_VideoQuit(_THIS)
287 #endif 289 #endif
288 290
289 X11_QuitModes(_this); 291 X11_QuitModes(_this);
290 X11_QuitKeyboard(_this); 292 X11_QuitKeyboard(_this);
291 X11_QuitMouse(_this); 293 X11_QuitMouse(_this);
294 X11_QuitTouch(_this);
292 } 295 }
293 296
294 SDL_bool 297 SDL_bool
295 X11_UseDirectColorVisuals() 298 X11_UseDirectColorVisuals()
296 { 299 {