Mercurial > sdl-ios-xcode
diff src/video/win32/SDL_win32window.c @ 4650:7ad7a473b086
More fixes for windows. Disabled tablet code.
author | jimtla |
---|---|
date | Thu, 10 Jun 2010 00:15:17 -0400 |
parents | f7b03b6838cb |
children | 03dcb795c583 |
line wrap: on
line diff
--- a/src/video/win32/SDL_win32window.c Sat Jun 05 01:58:56 2010 -0400 +++ b/src/video/win32/SDL_win32window.c Thu Jun 10 00:15:17 2010 -0400 @@ -256,7 +256,8 @@ WIN_SetError("Couldn't create window"); return -1; } - + /*Disable Tablet support, replace with multi-touch.*/ +#if 0 /* we're configuring the tablet data. See Wintab reference for more info */ if (videodata->wintabDLL && videodata->WTInfoA(WTI_DEFSYSCTX, 0, &lc) != 0) { @@ -290,6 +291,9 @@ } g_hCtx[window->id] = videodata->WTOpenA(hwnd, &lc, TRUE); } +#else + //RegisterTouchWindow(hwnd, 0); +#endif #ifndef _WIN32_WCE /* has no RawInput */ /* we're telling the window, we want it to report raw input events from mice */ Rid.usUsagePage = 0x01;