LWN: Comments on "A uTouch architecture introduction" https://lwn.net/Articles/497905/ This is a special feed containing comments posted to the individual LWN article titled "A uTouch architecture introduction". en-us Thu, 09 Oct 2025 19:18:33 +0000 Thu, 09 Oct 2025 19:18:33 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net Hardware https://lwn.net/Articles/500048/ https://lwn.net/Articles/500048/ whot <div class="FormattedComment"> The newest ones do. Anything not last generation is 2 fingers only.<br> </div> Mon, 04 Jun 2012 01:37:47 +0000 Hardware https://lwn.net/Articles/500001/ https://lwn.net/Articles/500001/ Cyberax <div class="FormattedComment"> 16 points? Are they going for the "two octopuses" mode? :)<br> </div> Sun, 03 Jun 2012 13:29:39 +0000 Hardware https://lwn.net/Articles/499990/ https://lwn.net/Articles/499990/ halla <div class="FormattedComment"> Wacom touch tablets support 16 tracking points.<br> </div> Sun, 03 Jun 2012 07:31:56 +0000 A uTouch architecture introduction https://lwn.net/Articles/498723/ https://lwn.net/Articles/498723/ mathstuf <div class="FormattedComment"> If you look at the event stream for, say, a triple click in GTK, you get all of the events (single, double, and triple). We have this issue in uzbl because if we wire up triple click events, the double click event handler has already been fired. Of course, if there is documentation anywhere on how to handle this situation, directions would be greatly appreciated (I've found GTK's docs could use some examples with some complexity in them; as it is, I'm usually forced to trudging through GTK apps which have behavior that I want for examples).<br> </div> Fri, 25 May 2012 00:49:06 +0000 A uTouch architecture introduction https://lwn.net/Articles/498687/ https://lwn.net/Articles/498687/ tshow <div class="FormattedComment"> Believe me, I'm not trying to defend the iOS model here. It gets a C- at best. Some days it gets a hard F.<br> <p> My complaint here is that it really *isn't* that hard to detect a tap. Touch point appears, touch point remains within some epsilon of the point at which it first appeared, disappears before some specific time has elapsed. The basic gestures (tap, double tap, pinch/rotate, swipe, move) are all really easy to detect; the scariest thing you need to call is atan2().<br> <p> I've put a basic touch gesture recognition package together in less than an hour, and I think anyone who isn't terrified of basic vector algebra could do the same; it's not a hard problem. The hard problem is the one this package isn't (?) solving, which is trying to winnow things down to the gestures that the client cares about.<br> <p> OSX has a weak solution to the problem, which is that gesture recognition "objects" get attached to the touch input stream, and will consume touch events and produce gesture events. It has some basic priority handling, where you can say things like "don't tell me about a single tap unless the double tap fails", but that falls afoul of the input lag problem. uTouch seems to suffer from the same problem holding off on finalizing gestures until all possible matches are in.<br> <p> Of course, it's quite possible that the input lag problem is intractable in the general case. The problem always comes down to the fact that gestures seem more expressive than they actually are, and the machine can't sense intent. One fundamentally cannot, for instance, tell two simultaneous pinches from two simultaneous overlapping stretches if the two are close to parallel.<br> <p> If anything, what would be really useful (at least to me) is a substantially more robust gesture system; something with some fuzzy logic in it or somesuch. There was a commercial tool for the wiimote for a while (it may still be out there somewhere) which you could use to do data capture. You would perform a gesture with the wiimote repeatedly, and it would use that data to generate the outline of a gesture; within this T value, the parameters must be within this box/sphere/whatever. You could adjust the slop on it a bit, or play with the bounding curves, the spacial and temporal tolerance, and the result was an arbitrary gesture recognition engine generator.<br> <p> There's no real difference between accelerometer gesture recognition, mouse position gesture recognition, multitouch gesture recognition, or gamepad combo catchers; it's only a question of the number of parameters.<br> <p> If I could feed in data saying "here's the signature of an input gesture which I care about, and here's a set of rectangular regions in which I care if it happens", and do so for different gestures in (potentially) overlapping regions, I'd be a happy man.<br> </div> Thu, 24 May 2012 21:41:43 +0000 Hardware https://lwn.net/Articles/498583/ https://lwn.net/Articles/498583/ cnd <div class="FormattedComment"> The Apple Magic Trackpads are great because you can add it to any existing computer setup. It is my recommendation for a multitouch trackpad.<br> <p> Multitouch touchscreens are a different story. Unfortunately, I wouldn't "recommend" any touchscreens you can find on the market today on traditional laptops or monitors. I have heard of monitors with a newer eGalax touchscreen that supports five touches, but I haven't played with one to be sure. The best touchscreens are actually found on Android tablets. They tend to have the Atmel maXTouch chip, which recognizes and tracks many simultaneous touches. However, you have to figure out how to get a Linux desktop running on them first, and they aren't really designed for that.<br> <p> I personally develop with a laptop with an N-Trig touchscreen. It does a passable job for development purposes, but it often drops touches or emits touches that don't exist.<br> </div> Thu, 24 May 2012 14:35:12 +0000 A uTouch architecture introduction https://lwn.net/Articles/498578/ https://lwn.net/Articles/498578/ cnd <div class="FormattedComment"> You are correct in that uTouch gives you the events and you have to decide what to do with them. However, it is much easier to deal with a "tap" event than to try to detect a tap yourself. Single-touch tap events are fairly simple to recognize, but having uTouch as an abstraction helps. Multitouch tap events, on the other hand, are much more involved.<br> <p> The other aspect is that a key design goal is leaving total control to the client. You say that iOS may come back at you some time in the future and tell you that a touch was part of a gesture and you should ignore it. At what point do you know that won't happen? When can you commit to an irreversible action based on a touch point?<br> <p> In order to have that level of control, you have to tell the client a bunch of information and let them decide. There's not much else you can do, unless you only want to cater to trivially simple gesture handling.<br> </div> Thu, 24 May 2012 14:27:25 +0000 A uTouch architecture introduction https://lwn.net/Articles/498559/ https://lwn.net/Articles/498559/ tshow <div class="FormattedComment"> I may be misreading this, but it seems to me that the major problem of gesture recognition is being punted to the client.<br> <p> Having spent a fair while doing touch-based work (DS, iOS, effectively similar problems like wii remote gestures and game controller combo recognizers), the main problem beyond gesture detection is determining which gesture the user intended. The classic example is double tap; if you want to accept double tap as a gesture, you cannot process a single tap until you're sure it *isn't* a double tap.<br> <p> What this means in practice is that unless the double tap's action is compatible with the single tap's action, you have to delay accepting the single tap. In general, this winds up meaning that your interface is laggy; it has to wait for the longest applicable potential gesture before confirming an action.<br> <p> Unless I'm totally misreading this, uTouch seems to "fix" that by simply shoveling a giant pile of events at the client and saying "meh, you figure it out".<br> <p> I know this is a hard nut to crack, but surely we can do better than this?<br> <p> The main solution I've worked with to date on this is in iOS (everything else I've worked on was handrolled gesture recognition built on raw data streams), and the iOS solution isn't great. They let you register gesture recognizers and chain them in priority order, so you can say things like "if you get a tap and it isn't a double tap, give me a single tap" and it will handle the delay internally. They also have a "cancel" mechanism where it will occasionally say "Oops, that touch I told you about a moment ago? It was part of a gesture, you should totally disregard it...".<br> <p> That system is... ok to work with, I guess. Passable. Usable. That's about as far as I'll go, though.<br> <p> uTouch doesn't sound to me like an improvement, which is unfortunate.<br> </div> Thu, 24 May 2012 13:08:58 +0000 Hardware https://lwn.net/Articles/498554/ https://lwn.net/Articles/498554/ bats999 <div class="FormattedComment"> How 'bout this?<br> <p> <a href="http://www.ideum.com/products/multitouch/platform/features/">http://www.ideum.com/products/multitouch/platform/features/</a><br> <p> Curiously, "Linux version available in March 2012". I have no idea what that means exactly.<br> </div> Thu, 24 May 2012 12:07:15 +0000 Hardware https://lwn.net/Articles/498499/ https://lwn.net/Articles/498499/ tajyrink <div class="FormattedComment"> My Asus Zenbook's Elantech touchpad for example supports multi-touch properly - two finger scrolling, three finger window moving and maximize/restore via pinch, and four fingers brings up Unity's Dash.<br> <p> Note though that there is another variant used in some Zenbooks from Sentelic, and multi-touch support for that is only in some git repositories, whereas Elantech supports lives for example in the Ubuntu 12.04 LTS kernel.<br> <p> </div> Thu, 24 May 2012 05:13:30 +0000 Hardware https://lwn.net/Articles/498492/ https://lwn.net/Articles/498492/ whot <div class="FormattedComment"> The x220t supports 2 fingers only, as do other wacom touch-enabled devices (bamboo, Intuos 5) and many built-in serial tablets in other tablet computers. The Apple trackpad supports more touchpoints (can't remember, 10 maybe?). Note that behaviours aren't the same, the x220t and other built-in devices are direct-touch, touchpads are by their very nature indirect touch devices. Be aware that plenty of tech specs say "multitouch" when they only support dual-touch.<br> </div> Thu, 24 May 2012 03:35:02 +0000 Hardware https://lwn.net/Articles/498460/ https://lwn.net/Articles/498460/ krakensden <div class="FormattedComment"> So... if someone wanted to get some hardware to be able to play around with multitouch on X11, what would you recommend? Apple's standalone trackpad? Those laptop/tablet hybrids Lenovo sells?<br> </div> Wed, 23 May 2012 21:38:22 +0000