summaryrefslogtreecommitdiff
path: root/grapher/Layouts
diff options
context:
space:
mode:
authorJacob Palecki <[email protected]>2020-08-19 15:26:25 -0700
committerJacob Palecki <[email protected]>2020-08-19 15:26:25 -0700
commit53c9025337166a408febc15078af3e9b136b3bab (patch)
treec124a399bf5ae56abf9405a41c2908fd753acfbe /grapher/Layouts
parentMerge pull request #15 from JacobPalecki/GUI (diff)
downloadrawaccel-53c9025337166a408febc15078af3e9b136b3bab.tar.xz
rawaccel-53c9025337166a408febc15078af3e9b136b3bab.zip
Add natural gain accel; add scale by DPI, poll rate in GUI
Diffstat (limited to 'grapher/Layouts')
-rw-r--r--grapher/Layouts/NaturalGainLayout.cs20
-rw-r--r--grapher/Layouts/OffLayout.cs2
2 files changed, 21 insertions, 1 deletions
diff --git a/grapher/Layouts/NaturalGainLayout.cs b/grapher/Layouts/NaturalGainLayout.cs
new file mode 100644
index 0000000..e062850
--- /dev/null
+++ b/grapher/Layouts/NaturalGainLayout.cs
@@ -0,0 +1,20 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace grapher.Layouts
+{
+ public class NaturalGainLayout : LayoutBase
+ {
+ public NaturalGainLayout()
+ : base()
+ {
+ Name = "NaturalGain";
+ Index = 7;
+ ShowOptions = new bool[] { true, true, true, false };
+ OptionNames = new string[] { Offset, Acceleration, Limit, string.Empty };
+ }
+ }
+}
diff --git a/grapher/Layouts/OffLayout.cs b/grapher/Layouts/OffLayout.cs
index cecba05..55f44b7 100644
--- a/grapher/Layouts/OffLayout.cs
+++ b/grapher/Layouts/OffLayout.cs
@@ -12,7 +12,7 @@ namespace grapher.Layouts
: base()
{
Name = "Off";
- Index = 7;
+ Index = 8;
ShowOptions = new bool[] { false, false, false, false };
OptionNames = new string[] { string.Empty, string.Empty, string.Empty, string.Empty };
ShowOptionsXY = new bool[] { false, false };