summaryrefslogtreecommitdiff
path: root/src/velocityfilter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/velocityfilter.cc')
-rw-r--r--src/velocityfilter.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/velocityfilter.cc b/src/velocityfilter.cc
index e774843..af1c524 100644
--- a/src/velocityfilter.cc
+++ b/src/velocityfilter.cc
@@ -43,7 +43,7 @@ bool VelocityFilter::filter(event_t& event, size_t pos)
float mean = event.velocity - .5f/127.f; // XXX: this should actually be done when reading the events
float stddev = settings.velocity_stddev.load();
// the 20.0f we determined empirically
- float lvl = power_min + random.normalDistribution(mean, stddev / 20.0f) * power_span;
+ float lvl = power_min + random.normalDistribution(mean, stddev / 30.0f) * power_span;
event.velocity = lvl;
return true;