summaryrefslogtreecommitdiff
path: root/wrapper/wrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'wrapper/wrapper.cpp')
-rw-r--r--wrapper/wrapper.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/wrapper/wrapper.cpp b/wrapper/wrapper.cpp
index 2c0d5e3..7fd0a92 100644
--- a/wrapper/wrapper.cpp
+++ b/wrapper/wrapper.cpp
@@ -54,6 +54,14 @@ public value struct Vec2
};
[JsonObject(ItemRequired = Required::Always)]
+[StructLayout(LayoutKind::Sequential)]
+public value struct DomainArgs
+{
+ Vec2<double> domainXY;
+ double lpNorm;
+};
+
+[JsonObject(ItemRequired = Required::Always)]
[StructLayout(LayoutKind::Sequential, CharSet = CharSet::Unicode)]
public ref struct DriverSettings
{
@@ -78,6 +86,12 @@ public ref struct DriverSettings
[JsonProperty("Negative directional multipliers", Required = Required::Default)]
Vec2<double> directionalMultipliers;
+ [JsonProperty("Stretches domain for horizontal vs vertical inputs")]
+ DomainArgs domainArgs;
+
+ [JsonProperty("Stretches accel range for horizontal vs vertical inputs")]
+ Vec2<double> rangeXY;
+
[JsonProperty(Required = Required::Default)]
double minimumTime;