summaryrefslogtreecommitdiff
path: root/wrapper/wrapper.hpp
diff options
context:
space:
mode:
authorJacob Palecki <[email protected]>2020-07-24 11:15:04 -0700
committerJacob Palecki <[email protected]>2020-07-24 11:15:04 -0700
commit02f5d86a891edb2f49851b400b0d2b2f8b4e4f98 (patch)
tree31494b77056e89388f6220f68927caa30c79ecf2 /wrapper/wrapper.hpp
parentAdded simple c++/cli wrapper (diff)
downloadrawaccel-02f5d86a891edb2f49851b400b0d2b2f8b4e4f98.tar.xz
rawaccel-02f5d86a891edb2f49851b400b0d2b2f8b4e4f98.zip
Add a basic windows forms grapher
Diffstat (limited to 'wrapper/wrapper.hpp')
-rw-r--r--wrapper/wrapper.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/wrapper/wrapper.hpp b/wrapper/wrapper.hpp
index eaa8489..24bcadb 100644
--- a/wrapper/wrapper.hpp
+++ b/wrapper/wrapper.hpp
@@ -19,6 +19,11 @@ public:
ManagedAccel(double mode, double offset, double accel, double lim_exp, double midpoint)
{
accel_function::args_t args{};
+ args.accel = accel;
+ args.lim_exp = lim_exp;
+ args.midpoint = midpoint;
+ args.accel_mode = (rawaccel::mode)mode;
+ args.offset = offset;
accel_instance = new accel_function(args);
}