Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11video.h @ 2710:44e49d3fa6cf
Final merge of Google Summer of Code 2008 work...
Many-mouse and tablet support
by Szymon Wilczek, mentored by Ryan C. Gordon
Everything concerning the project is noted on the wiki:
http://wilku.ravenlord.ws/doku.php?id=start
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 25 Aug 2008 06:33:00 +0000 |
parents | 3202e4826c57 |
children | 79c1bd651f04 |
comparison
equal
deleted
inserted
replaced
2709:fd3f0f1147e7 | 2710:44e49d3fa6cf |
---|---|
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 |