-
Notifications
You must be signed in to change notification settings - Fork 39
/
iptsd.conf
154 lines (131 loc) · 3.82 KB
/
iptsd.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
[Config]
##
## The following values are device specific and will be loaded from /usr/share/iptsd
## Only set them if you need to provide custom values for new devices that are not yet supported
##
# InvertX = false
# InvertY = false
# Width = 0
# Height = 0
[Touch]
##
## Disables the touchscreen. No touch data will be processed.
##
# Disable = false
##
## Mark contacts around the stylus as palms.
##
# CheckCone = true
##
## Skip contacts that are not marked as stable.
## Contacts are unstable if their size or position is changing rapidly.
##
# CheckStability = true
##
## Ignore all touch inputs if a palm was registered on the display.
##
# DisableOnPalm = false
##
## Ignore all touch inputs if a stylus is in proximity.
##
# DisableOnStylus = false
[Contacts]
##
## How the neutral value of the heatmap will be determined.
## The neutral value is the value in the heatmap that marks regions without activity.
## Pixels with a value larger than the neutral value are considered for blob detection.
##
## Mode: The most common value from the heatmap will be used.
## Average: The average of all values from the heatmap will be used.
## Constant: The value from the NeutralValue option will be used.
##
## When this option is set to Mode or Average, the NeutralValue option can be used
## to specify an offset that will be added on top of the calculated value.
##
# Neutral = mode
##
## The neutral value of the touch sensor (Range 0 - 255).
##
# NeutralValue = 0
##
## The activation threshold for blob detection (Range 0 - 255).
## If a pixel of the heatmap is larger than this value plus the neutral value, the blob detector
## will mark the pixel as a contact and try to determine its size.
##
## This value is only used by the basic blob detector.
##
# ActivationThreshold = 24
##
## The deactiviation threshold for blob detection (Range 0 - 255).
## Once the blob detector has identified a contact it will look for adjacent pixels. If the value
## of the pixel is larger than this value plus the neutral value, it will be added to the contact.
##
## This value is only used by the basic blob detector.
##
# DeactivationThreshold = 20
##
## The temporal window for determining temporal stability of a contact.
## A contact that has not been active for the specified amount of frames is skipped.
##
# TemporalWindow = 3
##
## The minimal diameter a contact must have.
##
# SizeMin = 0.2
##
## The maximal diameter a contact can have.
##
# SizeMax = 2.0
##
## The minimal aspect ratio a contact must have.
##
# AspectMin = 1.0
##
## The maximal aspect ratio a contact can have.
##
# AspectMax = 2.5
##
## How many centimeters a contact can increase in size to be considered stable.
##
# SizeThreshold = 0.1
##
## How many centimeters a contact must move before the movement is considered stable.
## Movements below this threshold are ignored.
##
# PositionThresholdMin = 0.2
##
## How many centimeters a contact can move before the movement is considered unstable.
## Movements above this threshold are ignored.
##
# PositionThresholdMax = 2
##
## How many centimeters a contact has to be away from a palm to not get marked as a palm too.
##
# DistanceThreshold = 1
[Stylus]
##
## Disables the stylus. No stylus data will be processed.
##
# Disable = false
##
## The distance between the stylus tip and the position transmitter, in centimeters.
## This setting adds a tilt-derived offset to the position reported by the stylus,
## with the goal of aligning it to the tip of the pen. The higher this value and / or
## the tilt of the stylus, the higher the offset will be.
##
# TipDistance = 0
[Cone]
##
## The wideness of the cone in degrees.
##
# Angle = 30
##
## How many centimeters a contact must be away from the stylus to not get blocked.
##
# Distance = 5
[DFT]
# PositionMinAmp = 50
# PositionMinMag = 2000
# PositionExp = -0.7
# ButtonMinMag = 1000
# FreqMinMag = 10000