diff --git a/SteamController/Profiles/Default/GuideShortcutsProfile.cs b/SteamController/Profiles/Default/GuideShortcutsProfile.cs index 48f3740..c45106f 100644 --- a/SteamController/Profiles/Default/GuideShortcutsProfile.cs +++ b/SteamController/Profiles/Default/GuideShortcutsProfile.cs @@ -2,6 +2,7 @@ using System.Diagnostics; using ExternalHelpers; using PowerControl.Helpers; using WindowsInput; +using static SteamController.Devices.SteamController; namespace SteamController.Profiles.Default { @@ -120,6 +121,15 @@ namespace SteamController.Profiles.Default protected void EmulateScrollOnLPad(Context c) { + //Send haptic for pad presses + if (!c.Steam.LizardButtons && !c.Steam.LizardMouse) + { + if (c.Steam.BtnLPadPress.Pressed() || c.Steam.BtnLPadPress.JustPressed()) + { + c.Steam.SendHaptic(HapticPad.Left, HapticStyle.Strong, 8); + } + } + if (c.Steam.LPadX) { c.Mouse.HorizontalScroll( @@ -174,6 +184,15 @@ namespace SteamController.Profiles.Default c.Mouse[Devices.MouseController.Button.Left] = c.Steam.BtnRPadPress; } + //Send haptic for pad presses + if (!c.Steam.LizardButtons && !c.Steam.LizardMouse) + { + if (c.Steam.BtnRPadPress.Pressed() || c.Steam.BtnRPadPress.JustPressed()) + { + c.Steam.SendHaptic(HapticPad.Right, HapticStyle.Strong, 8); + } + } + c.Mouse.MoveByFauxLizard( c.Steam.RPadX.GetDeltaValue(Context.PadToMouseSensitivity, Devices.DeltaValueMode.Delta, 10), -c.Steam.RPadY.GetDeltaValue(Context.PadToMouseSensitivity, Devices.DeltaValueMode.Delta, 10),