summaryrefslogtreecommitdiff
path: root/common/rawaccel.hpp
diff options
context:
space:
mode:
authorJacob Palecki <[email protected]>2020-08-19 15:26:25 -0700
committerJacob Palecki <[email protected]>2020-08-19 15:26:25 -0700
commit53c9025337166a408febc15078af3e9b136b3bab (patch)
treec124a399bf5ae56abf9405a41c2908fd753acfbe /common/rawaccel.hpp
parentMerge pull request #15 from JacobPalecki/GUI (diff)
downloadrawaccel-53c9025337166a408febc15078af3e9b136b3bab.tar.xz
rawaccel-53c9025337166a408febc15078af3e9b136b3bab.zip
Add natural gain accel; add scale by DPI, poll rate in GUI
Diffstat (limited to 'common/rawaccel.hpp')
-rw-r--r--common/rawaccel.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/rawaccel.hpp b/common/rawaccel.hpp
index 8dc4825..37418cd 100644
--- a/common/rawaccel.hpp
+++ b/common/rawaccel.hpp
@@ -9,6 +9,7 @@
#include "accel-linear.hpp"
#include "accel-classic.hpp"
#include "accel-natural.hpp"
+#include "accel-naturalgain.hpp"
#include "accel-logarithmic.hpp"
#include "accel-sigmoid.hpp"
#include "accel-power.hpp"
@@ -76,7 +77,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_noaccel>;
+ using accel_impl_t = tagged_union<accel_linear, accel_classic, accel_natural, accel_logarithmic, accel_sigmoid, accel_power, accel_naturalgain, accel_noaccel>;
/// <summary> Struct to hold information about applying a gain cap. </summary>
struct velocity_gain_cap {