summaryrefslogtreecommitdiff
path: root/grapher/Layouts/MotivityLayout.cs
diff options
context:
space:
mode:
authorJacobPalecki <[email protected]>2020-09-22 19:59:47 -0700
committerGitHub <[email protected]>2020-09-22 19:59:47 -0700
commit77f420cf45a1a0bee00602965e687097367e2a70 (patch)
treefa088af8f2feb54df5bcb6a036715fd32d0511e8 /grapher/Layouts/MotivityLayout.cs
parentMerge pull request #21 from JacobPalecki/GUI (diff)
parentUpdate credits (diff)
downloadrawaccel-77f420cf45a1a0bee00602965e687097367e2a70.tar.xz
rawaccel-77f420cf45a1a0bee00602965e687097367e2a70.zip
Merge pull request #22 from JacobPalecki/GUI
Replace SigmoidGain with Motivity & Cleanup
Diffstat (limited to 'grapher/Layouts/MotivityLayout.cs')
-rw-r--r--grapher/Layouts/MotivityLayout.cs27
1 files changed, 27 insertions, 0 deletions
diff --git a/grapher/Layouts/MotivityLayout.cs b/grapher/Layouts/MotivityLayout.cs
new file mode 100644
index 0000000..dfef2de
--- /dev/null
+++ b/grapher/Layouts/MotivityLayout.cs
@@ -0,0 +1,27 @@
+using grapher.Models.Serialized;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace grapher.Layouts
+{
+ public class MotivityLayout : LayoutBase
+ {
+ public MotivityLayout()
+ : base()
+ {
+ Name = "Motivity";
+ Index = (int)AccelMode.motivity;
+ LogarithmicCharts = true;
+
+ AccelLayout = new OptionLayout(true, Acceleration);
+ CapLayout = new OptionLayout(false, string.Empty);
+ WeightLayout = new OptionLayout(true, Weight);
+ OffsetLayout = new OptionLayout(false, string.Empty);
+ LimExpLayout = new OptionLayout(true, Motility);
+ MidpointLayout = new OptionLayout(true, Midpoint);
+ }
+ }
+}