summaryrefslogtreecommitdiff
path: root/common/accel-noaccel.hpp
diff options
context:
space:
mode:
authora1xd <[email protected]>2021-03-29 17:14:49 -0400
committera1xd <[email protected]>2021-03-29 17:14:49 -0400
commit16dc4df3d438142ae378c9c6983585d06e0c6a33 (patch)
tree1080b11b6ec98d6f47509ced922f2c338e0068bd /common/accel-noaccel.hpp
parentMerge pull request #81 from a1xd/log-unhandled-ex (diff)
downloadrawaccel-16dc4df3d438142ae378c9c6983585d06e0c6a33.tar.xz
rawaccel-16dc4df3d438142ae378c9c6983585d06e0c6a33.zip
refactor common/settings
only driver compiles remove accel-base types merge linear + classic move gain cap logic into classic impl, cap is now set in terms of output use cap/limit to determine negation remove weight, add replacement for power mode only remove legacy offset option remove naturalgain mode add legacy mode flag naturalgain -> natural natural -> natural + legacy flag add dpi setting and more accel args + defaults (prep for ips mode) replace output speed cap with input cap
Diffstat (limited to 'common/accel-noaccel.hpp')
-rw-r--r--common/accel-noaccel.hpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/common/accel-noaccel.hpp b/common/accel-noaccel.hpp
index c803c2f..b4f1704 100644
--- a/common/accel-noaccel.hpp
+++ b/common/accel-noaccel.hpp
@@ -1,6 +1,6 @@
#pragma once
-#include "accel-base.hpp"
+#include "rawaccel-settings.h"
namespace rawaccel {
@@ -11,8 +11,6 @@ namespace rawaccel {
accel_noaccel() = default;
inline double operator()(double) const { return 1; }
-
- inline double legacy_offset(double speed) const { return operator()(speed); }
};
}