Mercurial > sdl-ios-xcode
comparison src/video/win32/SDL_win32window.c @ 2724:0e2b65f32298
Added Wacom API headers.
FIXME: Dynamically load the Wacom API functions from wintab32.dll
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 26 Aug 2008 05:26:28 +0000 |
parents | 1d1be6137875 |
children | f23ebf1ddac4 |
comparison
equal
deleted
inserted
replaced
2723:911db724ea24 | 2724:0e2b65f32298 |
---|---|
34 | 34 |
35 #include "SDL_win32video.h" | 35 #include "SDL_win32video.h" |
36 | 36 |
37 /* This is included after SDL_win32video.h, which includes windows.h */ | 37 /* This is included after SDL_win32video.h, which includes windows.h */ |
38 #include "SDL_syswm.h" | 38 #include "SDL_syswm.h" |
39 | |
40 #include <wintab.h> | |
41 | |
42 /* we're telling wintab that we want to receive movement, button events and pressure information in packets */ | |
43 #define PACKETDATA ( PK_X | PK_Y | PK_BUTTONS | PK_NORMAL_PRESSURE | PK_CURSOR) | |
44 #define PACKETMODE 0 | |
45 #include <pktdef.h> | |
46 | 39 |
47 extern HCTX *g_hCtx; /* the table of tablet event contexts, each windows has to have it's own tablet context */ | 40 extern HCTX *g_hCtx; /* the table of tablet event contexts, each windows has to have it's own tablet context */ |
48 int highestId = 0; /* the highest id of the tablet context */ | 41 int highestId = 0; /* the highest id of the tablet context */ |
49 | 42 |
50 /* Fake window to help with DirectInput events. */ | 43 /* Fake window to help with DirectInput events. */ |