I am developing an Win32 application (Windows 7) that uses a multitouch input. I tried several multitouch pads working on Windows, such as MSI starpad and Macbook pro built-in touchpad (booted in Window 7 using Bootcamp), but none of them generate Windows multitouch or gesture event. Does anyone know how these touchpad drivers send multitouch signals to win32 applications?
The touch capability is either reported by firmware via Microsoft's HID driver or by a custom HID driver.
According to this page:
MultiTouch Capabilities in Windows 7
You need to handle the messages WM_TOUCH and WM_GESTURE in a windows procedure.
Related
Is it possible to control LED's of a windows phone from a windows phone metro style application ?
I am just working on an application that will ON/oFF the LED . Does microsoft provide any APIs to ON/OFF the notification LED of the windows phone ?
Currently, this is not supported as most Windows Phones (especially Nokia/Microsoft) don't contain notification LEDs.
However, according to this link, it looks like this will be a feature supported by future Windows 10 (phone) hardware.
I am planning to put the device in loudspeaker mode from my win phone application. (Like on click of some button)
Are there any APIs or workarounds to do so on Windows Phone 7.1?
There is no API available to control a loud speaker or speaker phone mode.
You can only control the relative volume of any sound you're directly playing.
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.
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.
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.