diff src/video/win32/SDL_win32window.c @ 4919:716b2cbf4c9e

First pass at Windows multi-touch gesture support
author Sam Lantinga <slouken@libsdl.org>
date Tue, 30 Nov 2010 17:58:51 -0800
parents 50d0bff24d81
children 6546eaa20271
line wrap: on
line diff
--- a/src/video/win32/SDL_win32window.c	Tue Nov 30 12:38:46 2010 -0800
+++ b/src/video/win32/SDL_win32window.c	Tue Nov 30 17:58:51 2010 -0800
@@ -144,6 +144,9 @@
         }
     }
 
+	/* Enable multi-touch */
+	videodata->RegisterTouchWindow(hwnd, (TWF_FINETOUCH|TWF_WANTPALM));
+
     /* All done! */
     window->driverdata = data;
     return 0;