that's not really what im asking but thanks for trying to understand. edit: to expand on my point: I want the brake trigger to rapidly vibrate or stiffen (if possible) the moment that your brakes lock up. i.e, you are pressing on the brake hard enough to make your wheels stop spinning (NOT when ABS activates, as you already have implemented well). This would be useful for cars without ABS, to feel exactly when you are braking too hard. the mod DSX - DualSense Adaptive Triggers, specifically this function: Code: local function handleLeftTrigger() local absActive = state.isABSActive and (socket.gettime() - state.absActivationTime) > CONFIG.ABS_WAIT_TIME if absActive and CONFIG.ENABLE_ABS then return { type = Triggers.InstructionType.TriggerUpdate, parameters = {CONFIG.CONTROLLER_INDEX, Triggers.Trigger.Left, Triggers.TriggerMode.CustomTriggerValue, Triggers.CustomTriggerValueMode.VibrateResistance, CONFIG.ABS_VIBRATION_FREQUENCY, 1, 0, 0, 0, 0, 0} } else local isWheelSlip = state.wheelSlip > CONFIG.BRAKE_SLIP_THRESHOLD and 1 or 0 if isWheelSlip == 1 and state.brake > 0.1 and CONFIG.ENABLE_BRAKE_SLIP then return { type = Triggers.InstructionType.TriggerUpdate, parameters = {CONFIG.CONTROLLER_INDEX, Triggers.Trigger.Left, Triggers.TriggerMode.CustomTriggerValue, Triggers.CustomTriggerValueMode.VibrateResistance, CONFIG.BRAKE_SLIP_VIBRATION_FREQUENCY, 1, 0, 0, 0, 0, 0} } else return { type = Triggers.InstructionType.TriggerUpdate, parameters = {CONFIG.CONTROLLER_INDEX, Triggers.Trigger.Left, Triggers.TriggerMode.CustomTriggerValue, Triggers.CustomTriggerValueMode.Rigid, CONFIG.BRAKE_VALUE_MIN * 255, calculateCombinedForce(state.brake, state.airSpeedKmh), 0, 0, 0, 0, 0} } end end end I'd love to see more improvements to this mod. Thanks for taking your time for this
hi) the mod is great, but the "slip tolerance" setting, even when set to "0", gives feedback at extremely high RPMs, when it's too late! Could you please fix this? so that when set to "0", the triggers on the gamepad are triggered at the slightest wheel slip