31

I’m running the Windows Phone 7 emulator/simulator and I need to simulate the two-finger pinch/zoom gesture. Any tips?

Alan H.
  • 16,219
  • 17
  • 80
  • 113
  • 1
    Multi-touch hardware? Two mice!? Is there anything along the lines of “hold down a modifier key”? This is absurd, though I do appreciate the answers! – Alan H. Jan 20 '11 at 19:51

3 Answers3

16

There is a good guide here: http://michaelsync.net/2010/04/06/step-by-step-tutorial-installing-multi-touch-simulator-for-silverlight-phone-7

Basically you will need to use the Multi-Touch Vista project on CodePlex available here: http://multitouchvista.codeplex.com/ and 2 mouses mice.

theChrisKent
  • 15,029
  • 3
  • 61
  • 62
  • Amazing. Too much work for me, it’s not super critical — but I would expect something a bit more reasonable from Microsoft! – Alan H. Jan 20 '11 at 19:54
  • I've used MultiTouch Vista with WP7 emulator. – Evgeny Vinnik Jan 20 '11 at 21:35
  • very easy to setup. Then I've downloaded WP7 Gesture Recognizer and Behavior / Triggers (can download code from here http://dotnetslackers.com/CSharp/re-353323_WP7_Gesture_Recognizer_and_Behavior_Triggers.aspx) and everything worked just perfect – Evgeny Vinnik Jan 20 '11 at 21:41
4

You'll need Windows 7 and a multi-touch monitor; in that setup 2 touchpoints are supported natively by the emulator.

There's no easy software or emulation API support for this.

Jeff Wilcox
  • 6,375
  • 1
  • 24
  • 31
3

Laurent Bugnion's MultiTouch library (supports Silverlight 4 WPF, and WP7) enables simulated multitouch in the WP7 emulator.

Derek Lakin
  • 16,179
  • 36
  • 51
  • This requires using two mice or genuine multi-touch hardware, right? That’s what the accepted answer’s guide indicates (and boy is that a long guide). – Alan H. Jan 21 '11 at 22:39
  • No, Laurent's Multitouch Beahavior enables _simulated_ multitouch through mouse clicks, i.e position the first touch point (which stays fixed), and then touch/drag again for the second (movable) touch point. – Derek Lakin Jan 23 '11 at 14:06