Re: [Linuxwacom-devel] [PATCH 0/4] xf86-input-wacom touchpad improvements for Bamboo Pen Touch

2011-12-30 Thread Alexey Osipov
Hi, Chris.

Okay, I agree that I didn't done enough investigation on the case. Now I
see that I reinvent Device Accel Constant Deceleration property.

So, I remove my fourth patch from the patchset.

Right now I'm not interested in providing a good default value working
in xf86-input-wacom, but maybe somewhen later I will. Thank you for
pointing me to x.org wiki.

Alexey.

В Втр, 27/12/2011 в 15:05 -0600, Chris Bagwell пишет:
 Hi Alexey,
 
 Welcome and thanks for sending in the patches.  I should have time
 soon to review them.  The only one I can comment on after a quick scan
 is #4.
 
 We do not want to adjust sensitivity this way.  There are 4 X
 properties already that own this function.  You can see them in output
 of xinput list-props pad device name.
 
   Device Accel Profile (239): 0
   Device Accel Constant Deceleration (240):   1.00
   Device Accel Adaptive Deceleration (241):   1.00
   Device Accel Velocity Scaling (242):10.00
 
 If you want to know the gory details on these values, check out this wiki 
 page:
 
 http://www.x.org/wiki/Development/Documentation/PointerAcceleration
 
 I agree the default may not be ideal.  If your interested in pursuing
 further to get a good default value working in xf86-input-wacom, here
 is some more info.
 
 If you use a synaptics-like touchpad with xf86-input-synaptics and if
 it used those above default values then you would also not be happy.
 There is code in xf86-input-synaptics to change away from that Device
 Accel Profile of 0 to a custom profile and then set to some custom
 values.
 
 Look around line #1022 of this xf86-input-synaptics to see how its
 doing that.  We could really stand to have similar logic in
 xf86-input-wacom... but I've yet to find time to add this.
 
 http://cgit.freedesktop.org/xorg/driver/xf86-input-synaptics/tree/src/synaptics.c
 
 Chris
 
 On Sat, Dec 24, 2011 at 12:18 AM, Alexey Osipov si...@lerlan.ru wrote:
  Hi.
 
  I've recently bought a wacom tablet mentioned in topic.
 
  With latest drivers from linux-wacom, it works reasonably good, except
  the touchpad.
 
  The problems I encountered:
 
  1. Right click emulation with second finger touch sometimes produce more
  than one 'right click' within a short period of time.
  2. After using scroll or zoom gestures, next cursor movement with
  touchpad happens from wrong place of the screen. That is - the cursor
  jumps to new position on the screen before start movement.
  3. It's not possible to drag something with touchpad, i.e. press 'left
  button', move the cursor and then release 'left button'. Only single
  click is emulated.
  4. In relative mode, cursor moves too fast for me and I don't find any
  sensitivity tuning in the driver.
 
  Being a programmer, I have solved all four problems. Here is a patchset
  based on current master git branch. I'll be happy if any of these
  patches will be included into mainline.
 
  If you want, I can do a video, showing using the tablet with and without
  my patches.
 
  Best regards,
  Alexey Osipov.
 
 
  --
  Write once. Port to many.
  Get the SDK and tools to simplify cross-platform app development. Create
  new or port existing apps to sell to consumers worldwide. Explore the
  Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
  http://p.sf.net/sfu/intel-appdev
  ___
  Linuxwacom-devel mailing list
  Linuxwacom-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel



--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel


Re: [Linuxwacom-devel] [PATCH 0/4] xf86-input-wacom touchpad improvements for Bamboo Pen Touch

2011-12-27 Thread Chris Bagwell
Hi Alexey,

Welcome and thanks for sending in the patches.  I should have time
soon to review them.  The only one I can comment on after a quick scan
is #4.

We do not want to adjust sensitivity this way.  There are 4 X
properties already that own this function.  You can see them in output
of xinput list-props pad device name.

Device Accel Profile (239): 0
Device Accel Constant Deceleration (240):   1.00
Device Accel Adaptive Deceleration (241):   1.00
Device Accel Velocity Scaling (242):10.00

If you want to know the gory details on these values, check out this wiki page:

http://www.x.org/wiki/Development/Documentation/PointerAcceleration

I agree the default may not be ideal.  If your interested in pursuing
further to get a good default value working in xf86-input-wacom, here
is some more info.

If you use a synaptics-like touchpad with xf86-input-synaptics and if
it used those above default values then you would also not be happy.
There is code in xf86-input-synaptics to change away from that Device
Accel Profile of 0 to a custom profile and then set to some custom
values.

Look around line #1022 of this xf86-input-synaptics to see how its
doing that.  We could really stand to have similar logic in
xf86-input-wacom... but I've yet to find time to add this.

http://cgit.freedesktop.org/xorg/driver/xf86-input-synaptics/tree/src/synaptics.c

Chris

On Sat, Dec 24, 2011 at 12:18 AM, Alexey Osipov si...@lerlan.ru wrote:
 Hi.

 I've recently bought a wacom tablet mentioned in topic.

 With latest drivers from linux-wacom, it works reasonably good, except
 the touchpad.

 The problems I encountered:

 1. Right click emulation with second finger touch sometimes produce more
 than one 'right click' within a short period of time.
 2. After using scroll or zoom gestures, next cursor movement with
 touchpad happens from wrong place of the screen. That is - the cursor
 jumps to new position on the screen before start movement.
 3. It's not possible to drag something with touchpad, i.e. press 'left
 button', move the cursor and then release 'left button'. Only single
 click is emulated.
 4. In relative mode, cursor moves too fast for me and I don't find any
 sensitivity tuning in the driver.

 Being a programmer, I have solved all four problems. Here is a patchset
 based on current master git branch. I'll be happy if any of these
 patches will be included into mainline.

 If you want, I can do a video, showing using the tablet with and without
 my patches.

 Best regards,
 Alexey Osipov.


 --
 Write once. Port to many.
 Get the SDK and tools to simplify cross-platform app development. Create
 new or port existing apps to sell to consumers worldwide. Explore the
 Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
 http://p.sf.net/sfu/intel-appdev
 ___
 Linuxwacom-devel mailing list
 Linuxwacom-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel


[Linuxwacom-devel] [PATCH 0/4] xf86-input-wacom touchpad improvements for Bamboo Pen Touch

2011-12-23 Thread Alexey Osipov
Hi.

I've recently bought a wacom tablet mentioned in topic.

With latest drivers from linux-wacom, it works reasonably good, except
the touchpad.

The problems I encountered:

1. Right click emulation with second finger touch sometimes produce more
than one 'right click' within a short period of time.
2. After using scroll or zoom gestures, next cursor movement with
touchpad happens from wrong place of the screen. That is - the cursor
jumps to new position on the screen before start movement.
3. It's not possible to drag something with touchpad, i.e. press 'left
button', move the cursor and then release 'left button'. Only single
click is emulated.
4. In relative mode, cursor moves too fast for me and I don't find any
sensitivity tuning in the driver.

Being a programmer, I have solved all four problems. Here is a patchset
based on current master git branch. I'll be happy if any of these
patches will be included into mainline.

If you want, I can do a video, showing using the tablet with and without
my patches.

Best regards,
Alexey Osipov. 


--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel