summaryrefslogtreecommitdiff
path: root/common/accel-noaccel.hpp
diff options
context:
space:
mode:
authora1xd <[email protected]>2020-09-04 00:17:55 -0400
committerGitHub <[email protected]>2020-09-04 00:17:55 -0400
commit159abe32fa9e903e1ac0a2c758d64c4b8e152c3d (patch)
tree2230e353985551a21a25b09bfacb89467b52d165 /common/accel-noaccel.hpp
parentMerge pull request #18 from a1xd/write-delay (diff)
parentAdd offset options to GUI, make gain options default (diff)
downloadrawaccel-159abe32fa9e903e1ac0a2c758d64c4b8e152c3d.tar.xz
rawaccel-159abe32fa9e903e1ac0a2c758d64c4b8e152c3d.zip
Merge pull request #19 from JacobPalecki/gainOffset
Add gain offset & make gain options default
Diffstat (limited to 'common/accel-noaccel.hpp')
-rw-r--r--common/accel-noaccel.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/accel-noaccel.hpp b/common/accel-noaccel.hpp
index ae6f5f8..c803c2f 100644
--- a/common/accel-noaccel.hpp
+++ b/common/accel-noaccel.hpp
@@ -12,6 +12,7 @@ namespace rawaccel {
inline double operator()(double) const { return 1; }
+ inline double legacy_offset(double speed) const { return operator()(speed); }
};
}