summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/rawaccel.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/rawaccel.hpp b/common/rawaccel.hpp
index 9a072d1..a60fe1c 100644
--- a/common/rawaccel.hpp
+++ b/common/rawaccel.hpp
@@ -141,6 +141,7 @@ struct accel_function {
b = args.accel;
k = args.lim_exp - 1;
if (args.accel_mode == mode::natural) b /= k;
+ if (args.accel_mode == mode::power) k++;
speed_offset = args.offset;
weight = args.weight;