diff options
| author | Jacob Palecki <[email protected]> | 2020-07-31 10:56:26 -0700 |
|---|---|---|
| committer | Jacob Palecki <[email protected]> | 2020-07-31 10:56:26 -0700 |
| commit | 827f860b80b5195315ac5b2b8dffb32cf532e0d1 (patch) | |
| tree | 264ee34d7bf046b301360e7a6ac0e285d1aa08ff /grapher/AccelerationSettings.cs | |
| parent | Small refactoring, use new struct to store magnitudes (diff) | |
| download | rawaccel-827f860b80b5195315ac5b2b8dffb32cf532e0d1.tar.xz rawaccel-827f860b80b5195315ac5b2b8dffb32cf532e0d1.zip | |
Add class for storing settings from file
Diffstat (limited to 'grapher/AccelerationSettings.cs')
| -rw-r--r-- | grapher/AccelerationSettings.cs | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/grapher/AccelerationSettings.cs b/grapher/AccelerationSettings.cs index 83d48db..dd026e8 100644 --- a/grapher/AccelerationSettings.cs +++ b/grapher/AccelerationSettings.cs @@ -8,6 +8,28 @@ namespace grapher { public class AccelerationSettings { - public sensitivity + public double SensitivityX { get; } + + public double SensitivityY { get; } + + public double Rotation { get; } + + public double Offset { get; } + + public double WeightX { get; } + + public double WeightY { get; } + + public double CapX { get; } + + public double CapY { get; } + + public int AccelerationType { get; } + + public double Acceleration { get; } + + public double LimitOrExponent { get; } + + public double Midpoint { get; } } } |