Re: [Linuxwacom-devel] Touchpad?

2012-01-21 Thread Chris Bagwell
On Sat, Jan 21, 2012 at 2:31 PM, Cedric Sodhi  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.

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


Re: [Linuxwacom-devel] Touchpad?

2012-01-21 Thread 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?
> 
> 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 devel

Re: [Linuxwacom-devel] Touchpad?

2012-01-21 Thread Alexey Osipov
В Сбт, 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


[Linuxwacom-devel] Precedence

2012-01-21 Thread Cedric Sodhi
I would like to discuss the topic of precedence. Currently, XF86/I/W
manages multiple "subdevices" of a single device internally.

That solution does not seem very good for the long term.

Ben Tissoires once told me about a vision in which all these problems
should be rectified, somewhere, somehow, but as of today, I have not
seen or heard any details.

It should be possible to give any device precedence over another.

The best example is perhaps the situation I'm in, where the touchscreen
and the digitizer are governed by two distinct devices.

Well, you can't apply that concept to just every input device. Whatever
layer manages that kind of precedence has to know when a pointer is
"active" and therefore possibly "grabs the master". In the case of a
pen, that "activity" is apparently indicated by the pen being in the
proximity.

But so far, "promiximity" appears to be a wacom-specific concept.

Therefore my question: Is there anything in place which could allow
generalizing that concept onto a layer which allows to apply it to an
arbtirary group of devices, possibly not even managed by wacom?

PS:
In the end, it is my opinion that the XF86/I/W has, forced by the
circumstances under which it is written, drifted into the generally
wrong direction, incorporating all types of feature it has come accross,
like a huge snowball absorbing all kind of matter it rolls over.

Many of the features which the wacom currently has should be made
available on the XI layer.

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


Re: [Linuxwacom-devel] Touchpad?

2012-01-21 Thread 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.

> So, if you are hacking sources anyway, you may try to remove WCM_LCD
> flag from your device and see if it helps.
> 
> 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/le

Re: [Linuxwacom-devel] Touchpad?

2012-01-21 Thread Cedric Sodhi
On Sat, Jan 21, 2012 at 10:00:41AM -0600, Favux ... wrote:
> Cedric, are you talking about your ASUS EEE Slate  with the Wacom
> digitizer and eGalax touchscreen?
> 
> Last I saw Chris was saying use evdev not xf86-input-wacom?

I have no memory of that. The xf86-input-wacom works fine with any
generic hid-multitouch, I think.

> So you
> and Benjamin got the hid driver straightened out and you have the
> right quirk(s) for xf86-input-wacom?

There have never been any quirks for x86-input-wacom. The hid-multitouch
required some quirks but since then, the eGalax is a proper multitouch
device (or just singletouch, for that matter)

> Anyway that's where I suspect the problem is.

Unless Alexeys patch relies on some specific wacom feature I would not
see how. The eGalax reports completely normal events. FYI i attached a
short excerpt from evtest of finger-down & move & finger-up.

> 
> It doesn't seem reasonable to ask Alexey to get up to speed on that
> saga.  I think you need Chris again if he has some time.

I don't think his has anything to do with the fact that this is a
eGalax. Of course I might be mistaken.
> 
> Favux
slate ~ # ./evtest /dev/input/event9
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0xeef product 0xa001 version 0x210
Input device name: "eGalax_eMPIA Technology Inc. PCAP MultiTouch Controller"
Supported events:
  Event type 0 (Sync)
  Event type 1 (Key)
Event code 330 (Touch)
  Event type 3 (Absolute)
Event code 0 (X)
  Value  24336
  Min0
  Max32767
Event code 1 (Y)
  Value  24624
  Min0
  Max32767
Event code 47 (Slot)
  Value  0
  Min0
  Max9
Event code 53 (Position X)
  Value  0
  Min0
  Max32767
Event code 54 (Position Y)
  Value  0
  Min0
  Max32767
Event code 57 (Tracking ID)
  Value  0
  Min0
  Max65535
Testing ... (interrupt to exit)
Event: time 1327162176.167606, type 3 (Absolute), code 57 (Tracking ID), value 
39610
Event: time 1327162176.167609, type 3 (Absolute), code 53 (Position X), value 
23872
Event: time 1327162176.167610, type 3 (Absolute), code 54 (Position Y), value 
24064
Event: time 1327162176.167624, type 1 (Key), code 330 (Touch), value 1
Event: time 1327162176.167626, type 3 (Absolute), code 0 (X), value 23872
Event: time 1327162176.167627, type 3 (Absolute), code 1 (Y), value 24064
Event: time 1327162176.167627, -- Report Sync 
Event: time 1327162176.223537, type 3 (Absolute), code 54 (Position Y), value 
24096
Event: time 1327162176.223575, type 3 (Absolute), code 1 (Y), value 24096
Event: time 1327162176.223578, -- Report Sync 
Event: time 1327162176.244577, type 3 (Absolute), code 53 (Position X), value 
23888
Event: time 1327162176.244579, type 3 (Absolute), code 54 (Position Y), value 
24240
Event: time 1327162176.244605, type 3 (Absolute), code 0 (X), value 23888
Event: time 1327162176.244607, type 3 (Absolute), code 1 (Y), value 24240
Event: time 1327162176.244608, -- Report Sync 
Event: time 1327162176.245476, type 3 (Absolute), code 57 (Tracking ID), value 
-1
Event: time 1327162176.245484, type 1 (Key), code 330 (Touch), value 0
Event: time 1327162176.245485, -- Report Sync 
^C
slate ~ #
--
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


Re: [Linuxwacom-devel] Touchpad?

2012-01-21 Thread Alexey Osipov
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.

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


Re: [Linuxwacom-devel] Touchpad?

2012-01-21 Thread Favux ...
Cedric, are you talking about your ASUS EEE Slate  with the Wacom
digitizer and eGalax touchscreen?

Last I saw Chris was saying use evdev not xf86-input-wacom?  So you
and Benjamin got the hid driver straightened out and you have the
right quirk(s) for xf86-input-wacom?  Anyway that's where I suspect
the problem is.

It doesn't seem reasonable to ask Alexey to get up to speed on that
saga.  I think you need Chris again if he has some time.

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


Re: [Linuxwacom-devel] Touchpad?

2012-01-21 Thread 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


Re: [Linuxwacom-devel] Touchpad?

2012-01-21 Thread Alexey Osipov
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


Re: [Linuxwacom-devel] Touchpad?

2012-01-21 Thread Alexey Osipov
В Сбт, 21/01/2012 в 09:16 -0600, Favux ... пишет:
> Hi Alexey,
> 
> I think Cedric is primarily concerned with touch.

Ok, I see.

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

I have no objections to instructions you wrote in this thread earlier.

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


Re: [Linuxwacom-devel] Touchpad?

2012-01-21 Thread 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


Re: [Linuxwacom-devel] Touchpad?

2012-01-21 Thread Cedric Sodhi
Hi Alexey, thanks for the enhacement. Althought I think it would surely
be nicer if this was generically possible regardless of the device type,
I only want it for the touchpad.

On Sat, Jan 21, 2012 at 10:01:09PM +0700, Alexey Osipov wrote:
> Hi, guys.
> 
> Note that my patches only applicable to touch tool of wacom devices, not
> for pen or eraser tools.
> 
> Maybe Cedric wants this behaviour for the pen tool?
> 
> В Сбт, 21/01/2012 в 08:48 -0600, Favux ... пишет:
> > That's how xf86-input-wacom-0.13.0 should behave since it has Alexey
> > Osipov's patches in it.
> > 
> > The instructions are one of my "rough drafts" to include gestures in man 
> > wacom.
> > 
> > --
> > 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
> 

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


Re: [Linuxwacom-devel] Touchpad?

2012-01-21 Thread Favux ...
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


Re: [Linuxwacom-devel] Touchpad?

2012-01-21 Thread Alexey Osipov
Hi, guys.

Note that my patches only applicable to touch tool of wacom devices, not
for pen or eraser tools.

Maybe Cedric wants this behaviour for the pen tool?

В Сбт, 21/01/2012 в 08:48 -0600, Favux ... пишет:
> That's how xf86-input-wacom-0.13.0 should behave since it has Alexey
> Osipov's patches in it.
> 
> The instructions are one of my "rough drafts" to include gestures in man 
> wacom.
> 
> --
> 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



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


Re: [Linuxwacom-devel] Touchpad?

2012-01-21 Thread Cedric Sodhi
Forgive my ignorance, but if this is, as you claim, the default
behaviour as of 0.13.0, how would I get the "legacy" behaviour that I
currently experience in 0.12.0. That is "traditional touchscreen
behaviour" where the button is pressed when the finger is touched?

Trying 0.13 straight away, thanks Favux!
On Sat, Jan 21, 2012 at 08:48:22AM -0600, Favux ... wrote:
> That's how xf86-input-wacom-0.13.0 should behave since it has Alexey
> Osipov's patches in it.
> 
> The instructions are one of my "rough drafts" to include gestures in man 
> wacom.

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


Re: [Linuxwacom-devel] Touchpad?

2012-01-21 Thread Favux ...
That's how xf86-input-wacom-0.13.0 should behave since it has Alexey
Osipov's patches in it.

The instructions are one of my "rough drafts" to include gestures in man wacom.

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


Re: [Linuxwacom-devel] Touchpad?

2012-01-21 Thread Cedric Sodhi
I don't understand what you are saying. My question was whether the
wacom can emulate the behaviour of a touchpad, that is, not going
"Button Press" when I touch the device (well, you know how a touchpad
behaves).

You describe the behaviour that I would like to have, but do not explain
how to make the wacom behave like that. Clearly, it does not behave like
that by default!

Cedric

On Sat, Jan 21, 2012 at 08:10:03AM -0600, Favux ... wrote:
> Single finger (1FG)
> Left click - tap, actual click happens after TapTime period elapses.
> Left click drag - tap to select, quickly (within TapTime period) touch
> selection again. Then drag.
> 
> Two finger (2FG)
> Right click - one finger down + tap second finger
> Vertical scroll - two fingers side by side (e.g. index + second), move
> up or down holding constant distance between fingers.
> Horizontal scroll - two fingers side by side (e.g. index + second),
> move left or right holding constant distance between fingers.
> Zoom in - two separated fingers side by side (e.g. thumb + index),
> bring together i.e. pinch.
> Zoom out - two fingers side by side (e.g. thumb + index), spread.
> Note:  Wacom scrolling direction is reversed from typical scrolling
> implementations.

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


Re: [Linuxwacom-devel] Touchpad?

2012-01-21 Thread Favux ...
Single finger (1FG)
Left click - tap, actual click happens after TapTime period elapses.
Left click drag - tap to select, quickly (within TapTime period) touch
selection again. Then drag.

Two finger (2FG)
Right click - one finger down + tap second finger
Vertical scroll - two fingers side by side (e.g. index + second), move
up or down holding constant distance between fingers.
Horizontal scroll - two fingers side by side (e.g. index + second),
move left or right holding constant distance between fingers.
Zoom in - two separated fingers side by side (e.g. thumb + index),
bring together i.e. pinch.
Zoom out - two fingers side by side (e.g. thumb + index), spread.
Note:  Wacom scrolling direction is reversed from typical scrolling
implementations.

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


[Linuxwacom-devel] Touchpad?

2012-01-21 Thread Cedric Sodhi
Does linuxwacom support a touchpad-like mode? That is, only "tapping"
creates a click while physically dragging only moves the mouse pointer.

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