summaryrefslogtreecommitdiff
path: root/src/powermapfilter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/powermapfilter.cc')
-rw-r--r--src/powermapfilter.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/powermapfilter.cc b/src/powermapfilter.cc
index da88482..702a837 100644
--- a/src/powermapfilter.cc
+++ b/src/powermapfilter.cc
@@ -40,10 +40,10 @@ bool PowermapFilter::filter(event_t& event, size_t pos)
if (settings.enable_powermap.load())
{
- powermap.setFixed0({settings.fixed0_x.load(), settings.fixed0_y.load()});
- powermap.setFixed1({settings.fixed1_x.load(), settings.fixed1_y.load()});
- powermap.setFixed2({settings.fixed2_x.load(), settings.fixed2_y.load()});
- powermap.setShelf(settings.shelf.load());
+ powermap.setFixed0({settings.powermap_fixed0_x.load(), settings.powermap_fixed0_y.load()});
+ powermap.setFixed1({settings.powermap_fixed1_x.load(), settings.powermap_fixed1_y.load()});
+ powermap.setFixed2({settings.powermap_fixed2_x.load(), settings.powermap_fixed2_y.load()});
+ powermap.setShelf(settings.powermap_shelf.load());
event.velocity = powermap.map(event.velocity);
}