Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11mouse.c @ 3002:0deb3e94c251
define this value if it's not in the system headers
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 05 Jan 2009 06:35:16 +0000 |
parents | dbff5769d742 |
children | 08747e24a50f |
comparison
equal
deleted
inserted
replaced
3001:7b031c55aebc | 3002:0deb3e94c251 |
---|---|
120 valInfo->axes[2].max_value, | 120 valInfo->axes[2].max_value, |
121 valInfo->axes[2].min_value, 1); | 121 valInfo->axes[2].min_value, 1); |
122 } else { | 122 } else { |
123 SDL_AddMouse(&mouse, DevList[i].name, 0, 0, 1); | 123 SDL_AddMouse(&mouse, DevList[i].name, 0, 0, 1); |
124 } | 124 } |
125 #ifndef IsXExtensionPointer | |
126 #define IsXExtensionPointer 4 | |
127 #endif | |
125 if (DevList[i].use == IsXExtensionPointer) { | 128 if (DevList[i].use == IsXExtensionPointer) { |
126 ++num_mice; | 129 ++num_mice; |
127 } | 130 } |
128 break; | 131 break; |
129 } | 132 } |