Thomas Kear wrote: > Can someone offer a simple explanation of how the pressure curve works. I > have managed to get values I like, but I can't for the life of me figure out > how those relate to the real world. > > given > xsetwacom set stylus0 PressCurve $x $y $z $w > How do we draw the curve? > > Is my horrible ASCII representation below even remotely correct? > 'xsetwacom list param' mentions a bezier curve where I've drawn straight > lines > to avoid attaching an image, but am I even close to the right idea? > > pressure reported to X > ^ > | (z,w)/--(100,100) > | / > | / > | / > | / > | / > | / > | / > | / > (0,0) |---/(x,y) > |----------------> pen pressure
No. The pressure curve is a third order Bezier curve where two points are set: (0,0) and (100,100). The 4 values you give are the two other support values of the Bezier curve. See http://en.wikipedia.org/wiki/Bezier_curves on Bezier curves. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Linuxwacom-discuss mailing list Linuxwacom-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss