summaryrefslogtreecommitdiff
path: root/wrapper/wrapper.cpp
diff options
context:
space:
mode:
authora1xd <[email protected]>2020-12-03 20:00:31 -0500
committera1xd <[email protected]>2020-12-03 20:00:31 -0500
commit5657d5a54c0a8e980c9b0cac39e2d16e452f302e (patch)
tree03c254c41dba5f64a998ac13c38e36943bf8b942 /wrapper/wrapper.cpp
parentupdate writer - use messagebox instead of console (diff)
downloadrawaccel-5657d5a54c0a8e980c9b0cac39e2d16e452f302e.tar.xz
rawaccel-5657d5a54c0a8e980c9b0cac39e2d16e452f302e.zip
add directional multipliers
adds multipliers for movement in negative directions (up & left by default, can be flipped by rot or sens) avoid division by user input in mousewatcher
Diffstat (limited to 'wrapper/wrapper.cpp')
-rw-r--r--wrapper/wrapper.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/wrapper/wrapper.cpp b/wrapper/wrapper.cpp
index acd0dbf..54bfb91 100644
--- a/wrapper/wrapper.cpp
+++ b/wrapper/wrapper.cpp
@@ -71,7 +71,10 @@ public ref struct DriverSettings
[JsonProperty("Sensitivity multipliers")]
Vec2<double> sensitivity;
-
+
+ [JsonProperty("Negative directional multipliers", Required = Required::Default)]
+ Vec2<double> negativeMultipliers;
+
[JsonProperty(Required = Required::Default)]
double minimumTime;