В Сбт, 21/01/2012 в 17:27 +0100, Cedric Sodhi пишет: > On Sat, Jan 21, 2012 at 11:14:37PM +0700, Alexey Osipov wrote: > > Okay, I think I see the problem. > > > > You have a touchscreen device, not a touchpad, right? > Yes > > > > Touchscreen and touchpad behaviours are different in xf86-input-wacom. > > > > This difference determined by 'WCM_LCD' flag set on device in > > wcmDeviceTypeKeys() from wcmValidateDevice.c. > > > > Then, in wcmSingleFingerPress() from wcmTouchFilter.c this flag is being > > checked: > > - if it's ON, we make left button press when finger touches the screen > > and button release when finger outs. This seems to be your case. > > - if it's OFF, we just move the cursor. This seems to be my case. It > > seems that tap clicking and tap-and-drag works in this case only. > > > I'd like to be able to change between the two modes on the fly. Could > you give me a tip where to start looking for how to implement xinput > properties? Once I figured that out I may actually produce useful > patches.
I'm not the one who can tell you how xinput properties works, but you can easily find this out by reading wcmXCommand.c, xsetwacom.c and wacom-properties.h files of xf86-input-wacom sources. Plus, you can use my recent patch (which adds a new useless property to xsetwacom) as an example: http://sourceforge.net/mailarchive/message.php?msg_id=28586329 But this patch wasn't completely reviewed, so it may contain some bad-coded things. Alexey. ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel