views:

50

answers:

1

I'm currently developing a touch screen application using C# (.NET 4.0) and WPF for Windows 7. My problem is that the driver of the touch screen I have available at the moment only generates mouse events. (The manufacturer unfortunately does not provide a genuine Windows 7 driver) So, currently I'm not able to do tests properly.

Is there a generic way to tell Windows 7 that a certain device is supposed to be a touch device (although this -- of course -- could only provide single touch events)?

A: 

You would need to rewrite the mouse driver to act like a touch device to do this. A simpler workaround would be to get a device like the Wacom Bamboo Touch? It's a real touch device (not a touch screen).

Eric Brown
OK, so there is no such thing as an in-between-mouse-driver which can be configured to produce mouse or touch events? (May "somebody" should write one :) )The idea with a Wacom tablet is not bad, so you could take the device along to different PCs.
Seven
It's certainly _possible_ to write a filter driver that wraps the mouse driver and converts it to touch data. It's not trivial to do so, though. (I wouldn't do it, but if you have a talented developer who has already written a couple of drivers, then go for it!) Certainly the touch device will be cheaper. :)
Eric Brown