From bc276b94a4c109e3339b3e0aa38b519bd84e2b1d Mon Sep 17 00:00:00 2001 From: General4878 Date: Sat, 13 Sep 2025 16:33:30 +0200 Subject: [PATCH] FLM: Send haptic on pad presses when both lizard mouse and buttons are disabled --- .../Profiles/Default/GuideShortcutsProfile.cs | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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),