Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#104 Pressure value sent to X as signed 8 bit value, not unsigned

Beta
closed-fixed
Ping Cheng
USB Tablet (37)
5
2008-08-08
2008-07-15
LikwidCirkel
No

I'm using the new 0.8.1 version with an ASUS R1F and Ubuntu 8.04. (2.6.24-19-generic) I've got it working except for one major flaw. The pressure value that gets sent to X is interpreted as signed for some reason. This is problematic because positive pressure values count as a click, and non-positive count as a release, so it's difficult to sustain strokes.

when the pen is neutral, the wacdump reads:

PRESSURE=+00000 (+00000 .. +00255)

When the pen is pressed gently, it reads:

PRESSURE=+ positive values up to 127

As I continue to press harder, it reads negative values, starting at -128, and up to -1 for maximum pressure.

The crossover point seems consistent with where X "releases" a stroke.

Please give advise to troubleshoot or patch.

Discussion

  • Ping Cheng
    Ping Cheng
    2008-08-08

    • labels: --> USB Tablet
    • milestone: --> Beta
    • assigned_to: nobody --> pingc
    • status: open --> closed-fixed
     
  • Ping Cheng
    Ping Cheng
    2008-08-08

    Logged In: YES
    user_id=754442
    Originator: NO

    It has been fixed in 0.8.1-2.