Are you sure it should go there? I couldn't compile with this correction.
http://dpaste.org/dF7J/
<http://dpaste.org/dF7J/>
On Thu, Jan 20, 2011 at 14:21, Chris Bagwell <[email protected]> wrote:

> So, it sounds like its basically working for you now?
>
> For tilt reporting pressure, I suspect this is just way inductive
> technology works with limitations touchscreens impose.  Maybe Ping can
> confirm.
>
> The only additional tweaks I can think of:
>
> 1) Maybe pressure values from hardware should be ignored unless either
> tip or eraser press is reported by hardware.  Does tip/eraser map to a
> real internal button indicating physical touch?  I suspect so since
> there is a delay in ability to detect pin vs. eraser.
>
> To test this idea, edit wcmISDV4.c around line 171 and add "if
> (!coord.tip && !coord.eraser) ds->pressure = 0;"
>
> 2) Maybe hardware is reporting maximum of 127 values for a reason.
> Even though its returning 0-255 we might need to ignore all pressure
> values below 128.
>
> To test this idea, edit wcmISDV4.c around line 171 and add if
> (ds->pressure > 128) ds->pressure = 0;"
>
> Chris
>
> On Thu, Jan 20, 2011 at 4:30 AM, AndrewP <[email protected]> wrote:
> > Finally I saw maxZ=255 in Xorg.0.log when set maxZ to 255 in git drivers
> > also xinput shows level 2048 when I press much stronger. But still it
> > catches
> > pressure very willingly:
> > I get values about 800-1000 with light press.
> > 0-168 when not even touching it. Don't see anything wrong when holding
> pen
> > exactly straight up. But when holding in my natural way it's even up to
> 168.
> > If I tilt it
> > even more I get values around 600-800 easily (no touching).
> > After values of 1600 it feels pretty linear.
> > Tried several Threshold values as it should be it affect only when
> "click"
> > is actually
> > recognized, thus limiting a pressure range.
> > On Wed, Jan 19, 2011 at 15:02, Chris Bagwell <[email protected]>
> wrote:
> >>
> >> On Tue, Jan 18, 2011 at 4:18 PM, AndrewP <[email protected]> wrote:
> >> > How do I tell if some other driver is using the device?
> >> > I removed tablet device from xorg.conf
> >> > and I guess inputattch won't keep working if serial port is already
> >> > used.
> >> > I get pressure in gimp but it feels way less then even 127 levels. of
> >> > course
> >> > it is very
> >> > subjective but I get around 30-40 levels and I need to press really
> >> > light to
> >> > be able
> >> > to use it.
> >> >
> >>
> >> After you upgraded to latest git, you did not re-patch wcmISDV4.cc to
> >> force MaxZ to 254.  Can you do that and try gimp again?
> >>
> >> Please realize that without this change that pressure of 127 to 254
> >> will all equal 2048. Also, what did you end up setting your Threshold
> >> to? Somewhere around 800?
> >>
> >> Divide what ever that Threshold value is by 16.  Example: 800/16=50.
> >> So this example means that only pressures of 50-127 are useful for
> >> drawing.  A very small range indeed and very much shifted to light
> >> pressure side.
> >>
> >> If you change MaxZ=254 then it becomes 800/8=100 so 100-254 are valid
> >> pressure ranges.  A much greater range.   You'll want to also adjust
> >> your Threshold value down by 1/2 since Thresholds are different units
> >> once the MaxZ=127 bug is fixed (the 16 vs 8 I mentioned).  So halving
> >> to Threshold=400 would give you pressure ranges of 50-254.
> >>
> >> Chris
> >
> >
>
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to