summaryrefslogtreecommitdiff
path: root/dix/ptrveloc.c
AgeCommit message (Expand)AuthorFilesLines
2012-03-21Introduce a consistent coding styleKeith Packard1-369/+330
2011-10-25dix: move #if statement to stop compiler warningPeter Hutterer1-2/+2
2011-09-29Input: Convert acceleration code to using ValuatorMaskDaniel Stone1-54/+22
2011-09-29Input: Widen pointer acceleration types to doubleDaniel Stone1-118/+112
2011-09-29Input: Use trunc instead of lrintf in acceleration codeDaniel Stone1-7/+2
2011-04-21dix: improve control flow in QueryTrackersPeter Hutterer1-8/+8
2011-04-21dix: rename a bunch of variables to be more self-explanatoryPeter Hutterer1-19/+20
2011-04-21dix: reduce scope of tmp and mult.Peter Hutterer1-1/+4
2011-04-21dix: reduce the work done by ApplySofteningPeter Hutterer1-15/+16
2011-04-21dix: split softening and constant deceleration into two functionsPeter Hutterer1-5/+10
2011-04-21dix: use single return statement in ApplySimpleSofteningPeter Hutterer1-6/+7
2011-04-21dix: rename od, d to prev_delta, deltaPeter Hutterer1-9/+9
2011-04-21dix: Don't use short as boolPeter Hutterer1-1/+1
2011-04-21dix: rename "res" to "result" for improved readabilityPeter Hutterer1-9/+9
2011-04-21dix: change ProcessVelocityData2D to BOOL.Peter Hutterer1-1/+1
2011-04-21dix: add some more documentation to ptraccel codePeter Hutterer1-4/+13
2011-04-21dix: don't pass the index for a tracker around, pass the trackerPeter Hutterer1-10/+11
2011-04-21dix: CalcTracker only uses the tracker, thus only pass the tracker.Peter Hutterer1-6/+4
2011-04-21dix: use single return statement in DoGetDirectionPeter Hutterer1-42/+49
2011-04-21dix: use single return value in GetDirectionPeter Hutterer1-9/+8
2011-04-21dix: document GetDirectionPeter Hutterer1-1/+7
2011-04-21dix: document DoGetDirection's mathsPeter Hutterer1-2/+10
2011-04-21dix: improve comment, directions flagged are 45° eachPeter Hutterer1-1/+1
2011-04-21dix: improve readbility of DoGetDirection.Peter Hutterer1-12/+25
2011-04-21dix: only use a single return where only one is needed.Peter Hutterer1-2/+2
2011-04-21dix: fix typo in direction calculationPeter Hutterer1-1/+1
2011-03-02dix: change all timestamps in pointer acceleration to CARD32Simon Thum1-2/+2
2011-03-02dix: update pointer acceleration code to use ValuatorMaskSimon Thum1-67/+58
2011-03-02dix: refactor predictable scheme initializationSimon Thum1-30/+58
2011-02-17dix: avoid FP promotion during pointer accelerationSimon Thum1-2/+2
2011-02-17dix: refactor scheme initSimon Thum1-8/+30
2010-11-11Remove superfluous if(p!=NULL) checks around free(p); p=NULL;Cyril Brulebois1-5/+3
2010-06-10Remove unnecessary parentheses around return values in functionsMikhail Gusarov1-1/+1
2010-05-13Replace X-allocation functions with their C89 counterpartsMikhail Gusarov1-5/+5
2010-04-30Replace some input devPrivates with regular struct fieldsKeith Packard1-22/+9
2010-01-01dix: add smooth limited pointer acceleration profileSimon Thum1-1/+27
2009-11-25dix: clean up accel old scheme data when switching schemes.Peter Hutterer1-12/+52
2009-07-17Revert "Coverity Prevent: RESOURCE_LEAK in AccelSetProfileProperty:"Oliver McFadden1-4/+0
2009-07-16Coverity Prevent: RESOURCE_LEAK in AccelSetProfileProperty:Oliver McFadden1-0/+4
2009-06-29dix: rename pDev->dev, pVel->vel for consistencySimon Thum1-164/+165
2009-06-29dix: improve pointer acceleration APISimon Thum1-26/+40
2009-05-28Merge branch 'master' into xi2Peter Hutterer1-8/+28
2009-05-08dix: remove superfluous includes from ptrveloc.cSimon Thum1-3/+0
2009-05-08dix: fix warning in pointer accelerationSimon Thum1-2/+8
2009-05-07dix: add 'none' pointer acceleration profile with number -1Simon Thum1-8/+28
2009-05-07dix: remove superfluous includes from ptrveloc.cSimon Thum1-3/+0
2009-05-07dix: fix warning in pointer accelerationSimon Thum1-2/+8
2009-04-19dix: correctly utilize tracker buffer and protect from timer overrunsSimon Thum1-11/+13
2009-04-19dix: fix pointer accelerations remainder handlingSimon Thum1-7/+7
2009-04-19dix: allow relative motion buffer to accumulate in a natural waySimon Thum1-6/+0