diff options
| author | JacobPalecki <[email protected]> | 2020-09-21 14:20:18 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-09-21 14:20:18 -0700 |
| commit | 4ec16a2ff35e0e910a13f92713d56d317b24e790 (patch) | |
| tree | c4aead24d52e3002cfd3282ddd697a3766de405a /common/rawaccel.hpp | |
| parent | Merge pull request #20 from JacobPalecki/GUI (diff) | |
| parent | x/y diff sens works (diff) | |
| download | rawaccel-4ec16a2ff35e0e910a13f92713d56d317b24e790.tar.xz rawaccel-4ec16a2ff35e0e910a13f92713d56d317b24e790.zip | |
Merge pull request #21 from JacobPalecki/GUI
GUI: Icon, Separate X/Y sens mode, some fixes
Diffstat (limited to 'common/rawaccel.hpp')
| -rw-r--r-- | common/rawaccel.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/rawaccel.hpp b/common/rawaccel.hpp index 08ac322..8819302 100644 --- a/common/rawaccel.hpp +++ b/common/rawaccel.hpp @@ -8,6 +8,7 @@ #include "accel-linear.hpp" #include "accel-classic.hpp" +#include "accel-logarithm.hpp" #include "accel-natural.hpp" #include "accel-naturalgain.hpp" #include "accel-power.hpp" @@ -84,6 +85,7 @@ namespace rawaccel { case accel_mode::naturalgain: return vis(var.u.naturalgain); case accel_mode::sigmoidgain: return vis(var.u.sigmoidgain); case accel_mode::power: return vis(var.u.power); + case accel_mode::logarithm: return vis(var.u.logarithm); default: return vis(var.u.noaccel); } } @@ -98,6 +100,7 @@ namespace rawaccel { accel_naturalgain naturalgain; accel_sigmoidgain sigmoidgain; accel_power power; + accel_logarithm logarithm; accel_noaccel noaccel = {}; } u = {}; |