1WACOM(4) Kernel Interfaces Manual WACOM(4)
2
3
4
6 wacom - Wacom input driver
7
9 Section "InputDevice"
10 Identifier "idevname"
11 Driver "wacom"
12 Option "Device" "devpath"
13 ...
14 EndSection
15
17 wacom is an X input driver for Wacom devices.
18
19 The wacom driver functions as a pointer input device.
20
22 This driver supports the Wacom IV and Wacom V protocols. Serial tablets
23 only need this driver. USB tablet support is available on some Linux
24 platforms and requires the wacom kernel driver being loaded before this
25 driver starts.
26
27 Please check https://github.com/linuxwacom for latest updates of Wacom
28 X and kernel drivers.
29
31 When input device hotplugging in the X server is enabled and no Input‐
32 Device section exists for a compatible tablet device and an InputClass
33 section (see xorg.conf.d(5x)) assigns this driver for the device, the
34 wacom driver creates multiple X devices for each a physical device, one
35 X device for each available tool. The list of tools is hardware-depen‐
36 dent. See Option Type as outlined in the CONFIGURATION DETAILS section.
37
38 These tool-specific devices are referred to as parent device and depen‐
39 dent device. The parent device is the one presented by the system and
40 the one that causes the X server to load the wacom driver. This parent
41 device then causes the automatic addition of several dependent devices.
42 If the parent device is unplugged or otherwise removed, the dependent
43 devices will be automatically removed as well.
44
45 Dependent devices may be assigned tool-specific options through addi‐
46 tional InputClass sections. We recommend that a MatchDriver wacom line
47 is used in these sections in addition to the user-specific pattern.
48
49 Match directives are applied by the X server before the driver is
50 selected. The type name of the parent device is appended by the
51 driver. It is not possible to use a MatchProduct directive to match
52 against this appended type name.
53
55 Please refer to xorg.conf(5x) or xorg.conf.d(5x) for general configura‐
56 tion details and for options that can be used with all input drivers.
57 This section only covers configuration details specific to this driver.
58
59 Multiple instances of the Wacom devices can cohabit. Each device sup‐
60 ports the following entries:
61
62 Option "Type" "stylus"|"eraser"|"cursor"|"pad"|"touch"
63 sets the type of tool the device represents. This option is
64 mandatory. The core options, such as "SendCoreEvents" or
65 "AlwaysCore", are unnecessary in Gimp if you don't need to
66 move system cursor outside of Gimp drawing area. "pad" is
67 for Intuos 3 or Cintiq 21UX tablet ExpressKeys/menu strips,
68 and Graphire 4 or Bamboo tablet buttons, wheel, and/or
69 ring. It is required for Intuos3, CintiqV5, Graphire 4,
70 and Bamboo if you want to use keystroke features. "pad" is
71 reported as a second tool in the driver. "touch" is for the
72 tablet with touch support. Right now only a few Tablet PCs
73 have this feature.
74
75 Option "Device" "path"
76 sets the path to the special file which represents serial
77 line where the tablet is plugged. You have to specify it
78 for each subsection with the same value if you want to have
79 multiple devices with the same tablet. This option is
80 mandatory.
81
82 Option "Suppress" "number"
83 sets the position increment under which not to transmit
84 coordinates. This entry must be specified only in the
85 first Wacom subsection if you have multiple devices for one
86 tablet. If you don't specify this entry, the default value,
87 which is 2, will be used. To disable suppression, the entry
88 should be specified as 0. When suppress is defined, an
89 event will be sent only when at least one of the following
90 conditions is met:
91
92 the change between the current X coordinate and the
93 previous one is greater than suppress;
94
95 the change between the current Y coordinate and the
96 previous one is greater than suppress;
97
98 the change between the current pressure and the
99 previous one is greater than suppress;
100
101 the change between the current degree of rotation
102 and the previous one of the transducer is greater than sup‐
103 press;
104
105 the change between the current absolute wheel value
106 and the previous one is equal to or greater than suppress;
107
108 the change between the current tilt value and the
109 previous one is equal to or greater than suppress (if tilt
110 is supported);
111
112 relative wheel value has changed;
113
114 button value has changed;
115
116 proximity has changed.
117
118 Option "Mode" "Relative"|"Absolute"
119 sets the mode of the device. The default value for stylus,
120 pad and eraser is Absolute; cursor is Relative; touch
121 defaults to Relative for tablets with touch pads and Abso‐
122 lute for touch screens.
123
124 Option "TopX" "number"
125 X coordinate of the top corner of the active zone. Default
126 to 0.
127
128 Option "TopY" "number"
129 Y coordinate of the top corner of the active zone. Default
130 to 0.
131
132 Option "BottomX" "number"
133 X coordinate of the bottom corner of the active zone.
134 Default to width of the tablet.
135
136 Option "BottomY" "number"
137 Y coordinate of the bottom corner of the active zone.
138 Default to height of the tablet.
139
140 Option "ButtonsOnly" "on"|"off"
141 disables the device's motion events. Default to off.
142
143 Option "ButtonM" "AC"
144 reports an action AC when button M is pressed, where M is
145 one of the device supported button numbers, it can be 1
146 to 32. Wacom uses a driver-internal button mapping, where
147 any physical button appears to the X server as the button
148 specified by the ButtonM mapping. Hence, if two physical
149 buttons have the same ButtonM mapping, the server will
150 think they are the same physical button. The default
151 action reported to the X server is mouse button M click.
152 Because X uses buttons 4, 5, 6, and 7 as the four scrolling
153 directions, physical buttons 4 and higher are mapped to 8
154 and higher by default. Only simple button presses can be
155 configured here; for more complex actions, use xsetwa‐
156 com(1). To ignore the button click, i.e., to not report
157 any button click event to the X server, use "0" or "button
158 0".
159
160 Option "TPCButton" "on"|"off"
161 enables the stylus buttons as Tablet PC buttons. If
162 enabled, the stylus reports button events only when its tip
163 is pressed. If any button is down, pressing the tip reports
164 a button event for the button. Otherwise if no button is
165 down, the tip reports as usual. Default to "on" for Tablet
166 PCs; "off" for all other models. Only available on the sty‐
167 lus tool.
168
169 Option "Touch" "on"|"off"
170 enables touch events for touch devices, i.e., system cur‐
171 sor moves when user touches the tablet. Default to "on"
172 for devices that support touch; "off" for all other models.
173
174 Option "Rotate" "CW"|"CCW"|"HALF"|"NONE"
175 rotates the tablet orientation counterclockwise (CCW) or
176 clockwise (CW) or 180 degrees (HALF). If you have specific
177 tablet mappings, i.e. TopX/Y or BottomX/Y were set, the
178 mapping will be applied before rotation. Rotation must be
179 applied to the parent device (usually the stylus), rotation
180 settings on in-driver hotplugged devices (see DRIVER-INTER‐
181 NAL DEVICE HOTPLUGGING ) will be ignored. The default is
182 "NONE".
183
184 Option "PressCurve" "x1,y1,x2,y2"
185 sets pressure curve by control points x1, y1, x2, and y2.
186 Their values are in range from 0..100. The pressure curve
187 is interpreted as Bezier curve with 4 control points, the
188 first and the last control point being fixed on the coordi‐
189 nates 0/0 and 100/100, respectively. The middle control
190 points are adjustible by this setting and thus define the
191 shape of the curve. The input for linear curve (default)
192 is "0,0,100,100"; slightly depressed curve (firmer) might
193 be "5,0,100,95"; slightly raised curve (softer) might be
194 "0,5,95,100". The pressure curve is only applicable to
195 devices of type stylus or eraser, other devices do not
196 honor this setting.
197
198 Option "Pressure2K" "bool"
199 reduces the pressure range to the range of 0 to 2048 for
200 backwards compatibility with applications that have this
201 range hardcoded. See section BUGS. This option should not
202 be used unless the user runs one or more applications that
203 rely on a hardcoded pressure range.
204
205 Option "DebugLevel" "number"
206 sets the level of debugging info for tool-specific mes‐
207 sages. There are 12 levels, specified by the integers
208 between 1 and 12. All debug messages with a level less
209 than or equal to the "number" will be logged into the Xorg
210 log file. This option is only available if the driver was
211 built with debugging support.
212
213 Option "CommonDBG" "number"
214 sets the level of debugging info for common (i.e. not tool-
215 specific) code paths on the tablet. There are 12 levels,
216 specified by the integers between 1 and 12. All debug mes‐
217 sages with a level less than or equal to the "number" will
218 be logged into the Xorg log file. This option is only
219 available if the driver was built with debugging support.
220
221 Option "GrabDevice" "bool"
222 sets whether the underlying event device will be grabbed by
223 the driver to prevent the data from leaking to
224 /dev/input/mice. When enabled, while the X server is run‐
225 ning, no other programs will be able to read the event
226 stream. Default: "false".
227
228 Option "CursorProx" "number"
229 sets the distance at which a relative tool is treated as
230 being out of proximity. Beyond this distance the cursor
231 will stop responding to tool motion. The default value for
232 pucks is 10 (Intuos Pro) or 42 (Intuos/Bamboo). The default
233 value for pens is 30.
234
235 Option "RawSample" "number"
236 Set the sample window size (a sliding average sampling
237 window) for incoming input tool raw data points. Default:
238 4, range of 1 to 20.
239
240 Option "Serial" "number"
241 sets the serial number associated with the physical device.
242 This allows to have multiple devices of the same type (i.e.
243 multiple pens). This option is only available on wacom V
244 devices (Intuos series and Cintiq 21U). To see which
245 serial number belongs to a device, you need to run the
246 utility program, xsetwacom, which comes with linuxwacom
247 package.
248
249 Option "ToolSerials" "number[,type[,label]][;...]"
250 sets the list of serial numbered devices that need to be
251 hotplugged for a physical device. The 'type' option may be
252 any of "pen", "airbrush", "artpen", or "cursor". This
253 option is only available on wacom V devices (Intuos series
254 and Cintiq 21U). To see which serial number belongs to a
255 device, you need to run the utility program, xsetwacom,
256 that comes with this driver.
257
258 Option "Threshold" "number"
259 sets the pressure threshold used to generate a button 1
260 events of stylus. The threshold applies to the normalised
261 pressure range of [0..2048]. The default is 27.
262
263 Option "Gesture" "bool"
264 Enable or disable multi-finger in-driver gesture support on
265 the device. Default: off unless the tablet supports multi-
266 touch. Note that disabling this option may allow the desk‐
267 top environment to detect multi-finger gestures instead.
268
269 Option "ZoomDistance" "number"
270 If Option "Gesture" is enabled, this option specifies the
271 minimum movement distance before a zoom gesture is recog‐
272 nized.
273
274 Option "ScrollDistance" "number"
275 If Option "Gesture" is enabled, this option specifies the
276 minimum movement distance before a scroll gesture is recog‐
277 nized.
278
279 Option "TapTime" "number"
280 If Option "Gesture" is enabled, this option determines the
281 maximum time of a touch event to be recognized as tap. A
282 press and release event shorter than TapTime generates but‐
283 ton press and release events. Presses longer than TapTime
284 do not generate button events, only motion events.
285
286 Option "PressureRecalibration" "bool"
287 Allows to disable pressure recalibration. Default: true.
288 If the initial pressure of a device is != 0 the driver
289 recalibrates the pressure range. This is to account for
290 worn out devices. The downside is that when the user hits
291 the tablet very hard the initial pressure reading may be
292 unequal to zero even for a perfectly good pen. If the con‐
293 secutive pressure readings are not higher than the initial
294 pressure by a threshold no button event will be generated.
295 This option allows to disable the recalibration.
296
297 Option "PanScrollThreshold" "number"
298 Specifies the distance the pen must move (in tablet units)
299 before a scroll event is generated when using the "pan"
300 action. Smaller values will require less distance and be
301 more sensitive. Larger values will require more distance
302 and be less sensitive. Default: 1300 or 2600 depending on
303 tablet resolution (corresponds to 13 mm of distance).
304
306 Single finger (1FG)
307 Left click: tap, actual click happens after TapTime period elapses.
308
309 Left click drag: tap to select, quickly (within TapTime period) touch
310 selection again. Then drag. Available on touchpads, e.g. BambooPT,
311 not touchscreens.
312
313 Two finger (2FG)
314 Right click: one finger down + tap second finger
315
316 Vertical scroll: two fingers side by side (in any orientation) moving
317 vertically with constant separation initiates a vertical scroll. By
318 driver default a gesture up results in a scroll down event (the docu‐
319 ment moves up) and a gesture down results in a scroll up event (moving
320 the document down).
321
322 Horizontal scroll: two fingers side by side held at a constant distance
323 moving horizontally initiates a horizontal scroll. A gesture to the
324 left results in a scroll right event (the document moves left) and a
325 gesture right results in a scroll left event (moving the document
326 right).
327
328 Zoom in: two separated fingers side by side, bring together i.e. pinch.
329
330 Zoom out: two fingers side by side, spread. Not all applications sup‐
331 port zoom.
332
334 Pressure range increase leads to unexpected behavior
335 In version 0.34, the driver's pressure range increased from 2048 steps
336 to 65536 steps. The pressure axis range is advertised through the X
337 Input Protocol but some applications have the previous pressure range
338 hardcoded and cannot handle pressure values above 2048. This is an
339 application bug but for backwards-compatibility with such applications,
340 this driver provides the Pressure2K option to reduce the range to 2048
341 steps. Note that this setting applies to the device. Once applied, all
342 applications will see the reduced pressure range. It is not possible to
343 provide this setting on a per-application basis.
344
346 Xorg(1), xorg.conf(5), xorg.conf.d(5), X(7)
347
348 More information is available at https://github.com/linuxwa‐
349 com/xf86-input-wacom
350
352 Peter Hutterer <peter.hutterer@who-t.net>, Ping Cheng
353 <pingc@wacom.com>, Frederic Lepied <lepied@xfree86.org>, John E.
354 Joganic <jej@j-arkadia.com>, Magnus Vigerlöf <Magnus.Vigerlof@ipbo.se>
355
356
357
358X Version 11 xf86-input-wacom 0.39.0 WACOM(4)