Reputation: 946
Anyone know how to capture windows 7 (not phone!)
touch events in an XNA application ?
I really want to do this without rendering everything into a Form.
Any ideas ?
Thanks.
Upvotes: 2
Views: 1066
Reputation: 22019
You need to handle WM_TOUCHUP
, WM_TOUCHDOWN
, etc via WndProc
.
There's a really nice and comprehensive article available here, which provides code and explanation.
Upvotes: 1