diff --git a/HandheldCompanion.iss b/HandheldCompanion.iss index 8c9c52ae3..a641b5eba 100644 --- a/HandheldCompanion.iss +++ b/HandheldCompanion.iss @@ -389,7 +389,7 @@ end; #define MyAppSetupName 'Handheld Companion' #define MyBuildId 'HandheldCompanion' -#define MyAppVersion '0.18.0.1' +#define MyAppVersion '0.18.0.3' #define MyAppPublisher 'BenjaminLSR' #define MyAppCopyright 'Copyright @ BenjaminLSR' #define MyAppURL 'https://github.com/Valkirie/HandheldCompanion' diff --git a/HandheldCompanion/Actions/GyroActions.cs b/HandheldCompanion/Actions/GyroActions.cs index 5e2724c60..619748531 100644 --- a/HandheldCompanion/Actions/GyroActions.cs +++ b/HandheldCompanion/Actions/GyroActions.cs @@ -12,12 +12,16 @@ public class GyroActions : IActions 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() { diff --git a/HandheldCompanion/Controllers/IController.xaml b/HandheldCompanion/Controllers/IController.xaml index 96e90617d..b73fc82c9 100644 --- a/HandheldCompanion/Controllers/IController.xaml +++ b/HandheldCompanion/Controllers/IController.xaml @@ -1,44 +1,73 @@ - + + Padding="15,12,12,12" + Background="{DynamicResource SystemControlPageBackgroundAltHighBrush}" + CornerRadius="{DynamicResource ControlCornerRadius}"> - - - - - + + + + + + - - + + - - + + - -