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.
> 
> В Сбт, 21/01/2012 в 16:39 +0100, Cedric Sodhi пишет:
> > Alexey, here is some info, as I said with current master:
> > 
> > $ xsetwacom list
> > Wacom ISDv4 90 Pen stylus               id: 12  type: STYLUS    
> > Wacom ISDv4 90 Pen eraser               id: 16  type: ERASER    
> > eGalax_eMPIA Technology Inc. PCAP MultiTouch Controller touch   id: 13
> > type: TOUCH 
> > 
> > $ xsetwacom --get 13 all
> > Option "Area" "0 0 32767 32767"
> > 'Button' requires exactly 1 value(s).
> > Option "ToolDebugLevel" "0"
> > Option "TabletDebugLevel" "0"
> > Option "Suppress" "2"
> > Option "RawSample" "4"
> > Option "PressureCurve" "0 0 100 100"
> > Option "Mode" "Absolute"
> > Property 'Wacom Hover Click' does not exist on device.
> > Option "Touch" "on"
> > Option "Gesture" "off"
> > Option "ZoomDistance" "1439"
> > Option "ScrollDistance" "639"
> > Option "TapTime" "250"
> > Property 'Wacom Proximity Threshold' does not exist on device.
> > Option "Rotate" "none"
> > Property 'Wacom Wheel Buttons' does not exist on device.
> > Property 'Wacom Wheel Buttons' does not exist on device.
> > Property 'Wacom Wheel Buttons' does not exist on device.
> > Property 'Wacom Wheel Buttons' does not exist on device.
> > Property 'Wacom Wheel Buttons' does not exist on device.
> > Property 'Wacom Wheel Buttons' does not exist on device.
> > Property 'Wacom Strip Buttons' does not exist on device.
> > Property 'Wacom Strip Buttons' does not exist on device.
> > Property 'Wacom Strip Buttons' does not exist on device.
> > Property 'Wacom Strip Buttons' does not exist on device.
> > Option "Threshold" "0"
> > Option "ToolID" "295"
> > Option "ToolSerial" "0"
> > Option "ToolSerialPrevious" "1"
> > Option "BindToSerial" "0"
> > Option "TabletID" "40961"
> > 
> > I also tried with Gesture "on", that didn't make a difference though.
> > Why should it. That behaviour we are talking about really has nothing at
> > all to do with gestures.
> > 
> > What do you mean you have never seen such behaviour even before your
> > patches?! What I described is the normal behaviour! What did you
> > understand?
> > 
> > Cedric
> > 
> > On Sat, Jan 21, 2012 at 10:32:24PM +0700, Alexey Osipov wrote:
> > > It's strange.
> > > 
> > > I've never seen such behaviour as you describe on xf86-input-wacom nor
> > > after my patches neither before.
> > > 
> > > Did you enable Gestures on Touch device with xsetwacom?
> > > 
> > > В Сбт, 21/01/2012 в 16:25 +0100, Cedric Sodhi пишет:
> > > > I just cloned xf86-input-wacom and compiled and I notice no difference
> > > > other than my local patch (which give pens a global precedence over ANY
> > > > touch, which I need because my touch-device is not the same as the pen
> > > > device) rendering it unusuable.
> > > > 
> > > > Without that patch, the mouse pointer still drags when I physically
> > > > drag.
> > > > 
> > > > 
> > > > On Sat, Jan 21, 2012 at 09:16:42AM -0600, Favux ... wrote:
> > > > > Hi Alexey,
> > > > > 
> > > > > I think Cedric is primarily concerned with touch.
> > > > > 
> > > > > I'm actually soliciting input on the gesture instructions.  They're
> > > > > also on a linuxwacom-discuss thread where Chris speculated things had
> > > > > settled down enough for gestures (with your patches included) that it
> > > > > was time to add them to man wacom.
> > > > > 
> > > > > So if you or Cedric or anyone else has comments or changes to suggest
> > > > > please let me know.  Trying to get the gesture instructions as clear
> > > > > and succinct as possible.
> > > > > 
> > > > > Favux
> > > 
> 

------------------------------------------------------------------------------
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

Reply via email to