Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11video.h @ 3760:64f346a83ed3 gsoc2008_manymouse
http://wilku.ravenlord.ws/doku.php?id=documentation for information how things work. Currently implemented: detecting many pointing devices and pressure detection. Still a bug. Each program has to be comipled with a flag -lXi
author | Szymon Wilczek <kazeuser@gmail.com> |
---|---|
date | Fri, 06 Jun 2008 15:23:29 +0000 |
parents | 3202e4826c57 |
children | 79c1bd651f04 |
comparison
equal
deleted
inserted
replaced
3759:064c178558b7 | 3760:64f346a83ed3 |
---|---|
27 #include "../SDL_sysvideo.h" | 27 #include "../SDL_sysvideo.h" |
28 | 28 |
29 #include <X11/Xlib.h> | 29 #include <X11/Xlib.h> |
30 #include <X11/Xutil.h> | 30 #include <X11/Xutil.h> |
31 #include <X11/Xatom.h> | 31 #include <X11/Xatom.h> |
32 #include <X11/extensions/XInput.h> | |
32 | 33 |
33 #if SDL_VIDEO_DRIVER_X11_XINERAMA | 34 #if SDL_VIDEO_DRIVER_X11_XINERAMA |
34 #include "../Xext/extensions/Xinerama.h" | 35 #include "../Xext/extensions/Xinerama.h" |
35 #endif | 36 #endif |
36 #if SDL_VIDEO_DRIVER_X11_XRANDR | 37 #if SDL_VIDEO_DRIVER_X11_XRANDR |
66 int screensaver_timeout; | 67 int screensaver_timeout; |
67 BOOL dpms_enabled; | 68 BOOL dpms_enabled; |
68 int numwindows; | 69 int numwindows; |
69 SDL_WindowData **windowlist; | 70 SDL_WindowData **windowlist; |
70 int windowlistlength; | 71 int windowlistlength; |
71 int mouse; | 72 int *mouse; |
72 int keyboard; | 73 int keyboard; |
73 Atom WM_DELETE_WINDOW; | 74 Atom WM_DELETE_WINDOW; |
74 SDL_scancode key_layout[256]; | 75 SDL_scancode key_layout[256]; |
75 } SDL_VideoData; | 76 } SDL_VideoData; |
76 | 77 |