From: Maximilian F. <max...@go...> - 2012-12-03 18:53:09
|
Am 03.12.2012 18:59, schrieb Jason Gerecke: Hi Jason, thanks for your reply. > The "5 touches supported" message is a bug. We don't actually tell the > server how many fingers the hardware supports, since it says that it is > capable of handling it internally. I believe Ping is working on a patch > that will fix this, since she recently noticed this as well. Thanks for the clarification. > It may be possible to support "fake" touches without changing the > multitouch API, but I'd guess there would be unpredictable results. > There's no good X/Y value we can send for the location of any fake > touches, so anything we use (e.g. 0,0) is likely to trip up clients that > expect each touch to have "real" X/Y data. Couldn't one just map the additional fingers to the same x/y value of one of the recognized fingers? That way a gesture recognizer could easily distinguish between a gesture done with only two fingers and one with three fingers. Of course this would limit the gestures to a pretty basic level, but a three finger swipe to the left or right is something different than a two finger swipe. If that could be easily done, I cannot imagine any bad side effects on the client side. :) > I doubt Ping would have had the kernel driver use the 2FGT code if the > hardware tracked the location of all five touches, so there isn't really > much of a next step. You could see if the people behind the XI > multitouch patches (e.g. Peter Hutterer) would be interested in having > the multitouch API deal with fake touches, but with more and more > hardware tracking all the touches (for Windows 8) there's little chance > they'd feel it to be worth the effort. If the fake multitouch described above would be implemented, we would not need any further changes, do we? Preferably, of course, this option should be disabled by default. But I believe that basic gestures should be possible by simply mapping the additional touches to the "real" touches. Max |