From: Chris Bagwell <ch...@cnpbagwell.com> I would apreciate if people could test these patches in real drawing applications and see if they notice any negative affects. Also, I'd appreciate any review comments over them.
These are currently just to test some basic ideas to improve filtering logic. Patch #3 does not store raw samples if nothing changed since last store. This is to help stop cursor movements occuring when user isn't moving and only changing pressure. This could occur when drawing fast stoke and then lifting pen. Patch #4 shrinks sliding window average from RawSamples to only 1 when time since last sample extends. This seems to resolve an offset issue caused during fast strokes on Bamboo's that is visible when you go out-of-prox at edge of tablet. I've not fully tested. I could be fooling myself and math error reduces to window size of 1 always. Chris Bagwell (4): push storing of raw samples into wcmFilter file Remove unused filter variables. Do not buffer raw samples when nothing changes Use dynamic window size for filter averaging src/wcmCommon.c | 80 ++++++---------------------- src/wcmFilter.c | 143 +++++++++++++++++++++++++++++++++++++++++++++++---- src/wcmFilter.h | 1 + src/xf86WacomDefs.h | 3 +- 4 files changed, 151 insertions(+), 76 deletions(-) -- 1.7.3.1 ------------------------------------------------------------------------------ Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel