On Sat, Jan 21, 2012 at 06:15:35PM -0600, Chris Bagwell wrote: > On Sat, Jan 21, 2012 at 2:31 PM, Cedric Sodhi <man...@gmx.net> wrote: > > 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? > >> > >> 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. > >> > >> So, if you are hacking sources anyway, you may try to remove WCM_LCD > >> flag from your device and see if it helps. > > > > > > It should not even be set. the tablet_id is 0xA001 for the egalax, > > nothing in that sourcefile sets WCM_LCD then. Any idea why it's LCD > > anyway? > > > > I'll try to hack in an xinput setting to allow setting WCM_LCD on the > > fly. > > > > I already tried looking at xsetwacom.c but I could not make no heads nor > > tail of that. There was no enum, whatsoever, identifying the settings. > > Only strings. Bizarre. > >> > >> Alexey. > > Look for usbGenericTouchscreenQuirks() in wcmUSB.c to see how its > detected as touchscreen. WCM_TPC also sets WCM_LCD I think (or the > other way around). > > Your asking for a touchscreen to not act as a touchscreen. This will > never be an accepted patch for either xf86-input-wacom or other > touchscreen drivers such as xf86-input-evdev. > > They may accept support to say "My touchpad was misdetected as a > touchscreen, please treat as a touchpad" but it doesn't exist in > either xf86-input-wacom nor xf86-input-evdev right now. You could use > that as a way of getting what you want. > > Sounds like your on the right track to hack up the driver for what > ever custom application you have.
Why do you say that? I think this is an unreasonable thing to say. To start, this has nothing do to with a particular application. I simply want to be able to move the mouse without actually dragging it. How is that "acting not as a touchscreen"? A touchscreen "acts" by being touched. That's the definition of a touchscreen. And I could even admit that a common assumption is an absolute mapping. But that's about it. All that this would do is further generalize and unify touchpads and touchscreens - step that is long due, if you ask me. But well, I don't want to advance some philosophical argument: This is practically relevant and a reasonable thing to like. Cedric > > Chris ------------------------------------------------------------------------------ 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