diff options
| author | Jacob Palecki <[email protected]> | 2020-08-20 00:32:11 -0700 |
|---|---|---|
| committer | Jacob Palecki <[email protected]> | 2020-08-20 00:32:11 -0700 |
| commit | 3dd0bb9163380de64d0df4f0b5c16dd86979714e (patch) | |
| tree | e5cb12562df1a3e24ba47759813bbbc502aaf381 /common/rawaccel.hpp | |
| parent | Add natural gain accel; add scale by DPI, poll rate in GUI (diff) | |
| download | rawaccel-3dd0bb9163380de64d0df4f0b5c16dd86979714e.tar.xz rawaccel-3dd0bb9163380de64d0df4f0b5c16dd86979714e.zip | |
Sigmoid gain
Diffstat (limited to 'common/rawaccel.hpp')
| -rw-r--r-- | common/rawaccel.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/rawaccel.hpp b/common/rawaccel.hpp index 37418cd..7e72f20 100644 --- a/common/rawaccel.hpp +++ b/common/rawaccel.hpp @@ -12,6 +12,7 @@ #include "accel-naturalgain.hpp" #include "accel-logarithmic.hpp" #include "accel-sigmoid.hpp" +#include "accel-sigmoidgain.hpp" #include "accel-power.hpp" #include "accel-noaccel.hpp" @@ -77,7 +78,7 @@ namespace rawaccel { }; /// <summary> Tagged union to hold all accel implementations and allow "polymorphism" via a visitor call. </summary> - using accel_impl_t = tagged_union<accel_linear, accel_classic, accel_natural, accel_logarithmic, accel_sigmoid, accel_power, accel_naturalgain, accel_noaccel>; + using accel_impl_t = tagged_union<accel_linear, accel_classic, accel_natural, accel_logarithmic, accel_sigmoid, accel_power, accel_naturalgain, accel_sigmoidgain, accel_noaccel>; /// <summary> Struct to hold information about applying a gain cap. </summary> struct velocity_gain_cap { |