Skip to content

Commit 907fda0

Browse files
committed
Fix spelling typo in config names
1 parent ceba95a commit 907fda0

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

etc/iptsd.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,13 @@
6969
## Radius in pixels around each maxima to darken (excluding the maxima pixel itself).
7070
## Setting this value to zero disables local maxima surrounding pixel suppression.
7171
##
72-
# PeakSuppresionRadius = 0
72+
# PeakSuppressionRadius = 0
7373

7474
##
7575
## The factor in which to darken surrounding pixels when using peak suppression.
7676
## Multiplies neighbors by this factor (e.g., 0.7 = reduce brightness by 30%).
7777
##
78-
# PeakSuppresionFactor = 0.00
78+
# PeakSuppressionFactor = 0.00
7979

8080
##
8181
## The activation threshold for blob detection (Range 0 - 255).

etc/presets/surface-laptop-studio-2.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ Product = 0x0C46
55
[Contacts]
66
Neutral = average
77
NeutralValue = 10
8-
PeakSuppresionRadius = 2
9-
PeakSuppresionFactor = 0.25
8+
PeakSuppressionRadius = 2
9+
PeakSuppressionFactor = 0.25
1010
ActivationThreshold = 20
1111
DeactivationThreshold = 16
1212
OrientationThresholdMax = 90

src/core/linux/config-loader.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,8 @@ class ConfigLoader {
175175
this->get(ini, "Contacts", "SizeMax", m_config.contacts_size_max);
176176
this->get(ini, "Contacts", "AspectMin", m_config.contacts_aspect_max);
177177
this->get(ini, "Contacts", "AspectMax", m_config.contacts_aspect_max);
178-
this->get(ini, "Contacts", "PeakSuppresionRadius", m_config.contacts_peak_suppression_radius);
179-
this->get(ini, "Contacts", "PeakSuppresionFactor", m_config.contacts_peak_suppression_factor);
178+
this->get(ini, "Contacts", "PeakSuppressionRadius", m_config.contacts_peak_suppression_radius);
179+
this->get(ini, "Contacts", "PeakSuppressionFactor", m_config.contacts_peak_suppression_factor);
180180

181181
this->get(ini, "Stylus", "Disable", m_config.stylus_disable);
182182
this->get(ini, "Stylus", "TipDistance", m_config.stylus_tip_distance);

0 commit comments

Comments
 (0)