Simulating touch gestures on XNA in windows - windows

I am developing a game for Windows Phone 7 using XNA, and I have set it up so that it runs as a Windows XNA app as well. The thing that I am having a problem with now is simulating the XNA touch gestures using the mouse in the same way that the Windows Phone 7 emulator does. I can't use the Windows Phone 7 emulator because it refuses to run on my laptop, because the hardware isn't new enough.
Any ideas on where I might either find a library which can translate mouse data to touch gestures, or where I might find enough information to get started without huge amounts of guesswork?

Here is a good article about Gestures (CS)/Gestures (VB).
Article Overview
Compare the Gestures abilities of Windows Phone 7 to other major phone
platforms, and learn how to take both gesture and raw touch input on
Windows Phone 7. This article is a thorough comparison of the gestures
features available across the major phone platforms, and contains code
to support basic touch-based input scenarios.

Related

Pen Computing App Development in Windows Phone

I wanted to make an app in windows phone that takes in pen-computing input. Is there existing code infrastructure (templates and such) in the Windows Phone API that is available to the Windows Phone developer?
What I mean by pen-computing input is hand-writing input by users' fingers, giving us input like this:
Unluckily for Windows Phone 8 and Windows phone 8.1 InkManager class is not supported currently, so capturing handwritten input aint possible.
Though it works for windows 8 and 8.1 store apps which you can implement through Tutorial1 and Tutorial2
If you are focusing Windows phone would suggest to make app for Windows 10. They have release a better version of InkCanvas which is better than InkManager and works both store and phone apps being UWP. Check out this link for details on InkCanvas

Reduce blink windows phone 7 flash

What is the best approach to set a Windows Phone 7 led to torch mode? I have used http://www.locked.nl/wp7-flashlight-getting-started but using reflection and/or the VideoCaptureDevice is not allowed. (only works on dev phone)
I have used the AutoFocusCompleted event and have tried a task (taskfactory.new) and regular task. My latest attempt uses the DispatcherTimer.
So what is the best approach to keep calling Focus and/or FocusAtPoint to minimize the blinking and get the closest to a constant light.
Windows Phone 7 - Camera Flash App Not Functioning

How can I simulate multi-touch in the Windows Phone 7 emulator?

I’m running the Windows Phone 7 emulator/simulator and I need to simulate the two-finger pinch/zoom gesture. Any tips?
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.
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.
Laurent Bugnion's MultiTouch library (supports Silverlight 4 WPF, and WP7) enables simulated multitouch in the WP7 emulator.

Is it possible to emulate a second finger for the Windows Phone 7 emulator?

It's a bit annoying having to deploy to a device everytime to test multitouch functionality so I was just wondering if it's possible to fake the second finger. Obviously plugging in two mouse's doesn't help...
There's no out of the box support for this at the moment, but there are some options you can look into for this.
Jonas Follesø's World of Software - Simulating multitouch on the Windows Phone 7 Emulator
Windows MultiPoint Mouse Software Development Kit
Multi-Touch Vista
In addition to the links from Mick N, you may also want to have a look at the MultiTouch Behavior for Windows Phone 7. As this includes support for simulating multiple touches with the emulator and a single mouse while testing.

Affordable options for multi touch desktop device (To test apps on Windows phone 7 emulator)?

I am looking to get into Windows phone 7 development. I am running Windows 7 and i know it supports multi touch which i can then use in the emulator if enabled.
Is there any way for me to try this out without me paying a premium for a tablet, phone or touch monitor?
Many thanks,
Kohan.
You could always emulate multitouch until you have an actual phone to test on.
Just found this, how to make your own surface like touch screen. Wow!
http://geekswithblogs.net/kobush/archive/2009/03/10/129993.aspx

Resources