diff --git a/DS4Windows/DS4Control/Mapping.cs b/DS4Windows/DS4Control/Mapping.cs index 7c9ca0f..6cf6526 100644 --- a/DS4Windows/DS4Control/Mapping.cs +++ b/DS4Windows/DS4Control/Mapping.cs @@ -837,6 +837,11 @@ namespace DS4Windows tempL2Output = 0.0; } } + else + { + double current = Global.Clamp(0, dState.L2, maxValue); + tempL2Output = current / maxValue; + } if (l2MaxOutput != 100.0) { @@ -887,6 +892,11 @@ namespace DS4Windows tempR2Output = 0.0; } } + else + { + double current = Global.Clamp(0, dState.R2, maxValue); + tempR2Output = current / maxValue; + } if (r2MaxOutput != 100.0) {