On Sat, Nov 08, 2008 at 12:29:02PM +0100, Arjan Opmeer wrote: > > It is designed to bring advanced gestures to the linux desktop. > > Certainly. Have you already thought about the rest of the path from driver > to application, ie kernel driver -> X.org driver -> X events -> toolkit > events -> application? > > For instance does the X.org driver interpret the data and emit a zoom or > rotate event based on the finger position and movement? As far as I know > those event do not exist and would have to be added to X.org as well as the > toolkits like GTK+ and Qt. It could be a long implementation process... :( IMHO the server or driver shouldn't do anything with the event but pass it on to the client. What the events then mean semantically depends on the client (or the toolkit). This replicates pretty much what we do with mouse events and although it puts the burden on the client side to do anything useful, it makes it easier to develop, debug and also to do non-standard interpretation of gestures. The X server's job is basically just to pick the right client to send the events to, and of course augment the events with X specific data (such as the window). Cheers, Peter -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html