diff options
| author | a1xd <[email protected]> | 2021-09-18 05:20:53 -0400 |
|---|---|---|
| committer | a1xd <[email protected]> | 2021-09-23 22:36:18 -0400 |
| commit | 115030165d539fde5440f6232879c7a076dea2ec (patch) | |
| tree | 89f50a3f38b6b9052fa5085e36a2d00577805e43 /wrapper | |
| parent | Add power start from one (diff) | |
| download | rawaccel-115030165d539fde5440f6232879c7a076dea2ec.tar.xz rawaccel-115030165d539fde5440f6232879c7a076dea2ec.zip | |
generalize power start-from-1
starting output is determined by (gain) offset
Diffstat (limited to 'wrapper')
| -rw-r--r-- | wrapper/wrapper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wrapper/wrapper.cpp b/wrapper/wrapper.cpp index 9930454..ce4d298 100644 --- a/wrapper/wrapper.cpp +++ b/wrapper/wrapper.cpp @@ -64,7 +64,8 @@ public value struct AccelArgs [MarshalAs(UnmanagedType::U1)] bool gain; - double offset; + double inputOffset; + double outputOffset; double acceleration; double decayRate; double growthRate; @@ -75,7 +76,6 @@ public value struct AccelArgs double limit; double midpoint; double smooth; - bool powerStartFromOne; [JsonProperty("Cap / Jump")] Vec2<double> cap; |