Skip to content

Commit

Permalink
EA to public files
Browse files Browse the repository at this point in the history
  • Loading branch information
CasperH2O committed Apr 8, 2024
1 parent b80c6dc commit 71b7586
Show file tree
Hide file tree
Showing 173 changed files with 30,505 additions and 35,494 deletions.
741 changes: 454 additions & 287 deletions HandheldCompanion.iss

Large diffs are not rendered by default.

268 changes: 134 additions & 134 deletions HandheldCompanion/ADLX/ADLXBackend.cs

Large diffs are not rendered by default.

64 changes: 32 additions & 32 deletions HandheldCompanion/Actions/GyroActions.cs
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
using HandheldCompanion.Inputs;
using HandheldCompanion.Utils;
using System;

namespace HandheldCompanion.Actions
{
[Serializable]
public class GyroActions : IActions
{
public MotionInput MotionInput = MotionInput.LocalSpace;
public MotionMode MotionMode = MotionMode.Off;
public bool MotionToggleStatus = false;
public bool MotionTogglePressed = false; // for debouncing

public ButtonState MotionTrigger = new();

public float gyroWeight = DefaultGyroWeight;

// const vars
public const int DefaultAxisAntiDeadZone = 15;
public const AxisLayoutFlags DefaultAxisLayoutFlags = AxisLayoutFlags.RightStick;

public const MouseActionsType DefaultMouseActionsType = MouseActionsType.Move;
public const int DefaultSensivity = 33;
public const int DefaultDeadzone = 10;
public const float DefaultGyroWeight = 1.2f;

public GyroActions()
{
}
}
}
using HandheldCompanion.Inputs;
using HandheldCompanion.Utils;
using System;

namespace HandheldCompanion.Actions
{
[Serializable]
public class GyroActions : IActions
{
public MotionInput MotionInput = MotionInput.LocalSpace;
public MotionMode MotionMode = MotionMode.Off;
public bool MotionToggleStatus = false;
public bool MotionTogglePressed = false; // for debouncing

public ButtonState MotionTrigger = new();

public float gyroWeight = DefaultGyroWeight;

// const vars
public const int DefaultAxisAntiDeadZone = 15;
public const AxisLayoutFlags DefaultAxisLayoutFlags = AxisLayoutFlags.RightStick;

public const MouseActionsType DefaultMouseActionsType = MouseActionsType.Move;
public const int DefaultSensivity = 33;
public const int DefaultDeadzone = 10;
public const float DefaultGyroWeight = 1.2f;

public GyroActions()
{
}
}
}
Loading

0 comments on commit 71b7586

Please sign in to comment.