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 http://linuxwacom.sourceforge.net for latest updates of
28 Wacom 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 "DebugLevel" "number"
199 sets the level of debugging info for tool-specific mes‐
200 sages. There are 12 levels, specified by the integers
201 between 1 and 12. All debug messages with a level less
202 than or equal to the "number" will be logged into the Xorg
203 log file. This option is only available if the driver was
204 built with debugging support.
205
206 Option "CommonDBG" "number"
207 sets the level of debugging info for common (i.e. not tool-
208 specific) code paths on the tablet. There are 12 levels,
209 specified by the integers between 1 and 12. All debug mes‐
210 sages with a level less than or equal to the "number" will
211 be logged into the Xorg log file. This option is only
212 available if the driver was built with debugging support.
213
214 Option "GrabDevice" "bool"
215 sets whether the underlying event device will be grabbed by
216 the driver to prevent the data from leaking to
217 /dev/input/mice. When enabled, while the X server is run‐
218 ning, no other programs will be able to read the event
219 stream. Default: "false".
220
221 Option "CursorProx" "number"
222 sets the max distance from tablet to stop reporting move‐
223 ment for the cursor. Default for Intuos series is 10, for
224 Graphire series (including Volitos) is 42. Only available
225 for the cursor/puck device.
226
227 Option "RawSample" "number"
228 Set the sample window size (a sliding average sampling
229 window) for incoming input tool raw data points. Default:
230 4, range of 1 to 20.
231
232 Option "Serial" "number"
233 sets the serial number associated with the physical device.
234 This allows to have multiple devices of the same type (i.e.
235 multiple pens). This option is only available on wacom V
236 devices (Intuos series and Cintiq 21U). To see which
237 serial number belongs to a device, you need to run the
238 utility program, xsetwacom, which comes with linuxwacom
239 package.
240
241 Option "ToolSerials" "number[,type[,label]][;...]"
242 sets the list of serial numbered devices that need to be
243 hotplugged for a physical device. The 'type' option may be
244 any of "pen", "airbrush", "artpen", or "cursor". This
245 option is only available on wacom V devices (Intuos series
246 and Cintiq 21U). To see which serial number belongs to a
247 device, you need to run the utility program, xsetwacom,
248 that comes with this driver.
249
250 Option "Threshold" "number"
251 sets the pressure threshold used to generate a button 1
252 events of stylus. The threshold applies to the normalised
253 pressure range of [0..2048]. The default is 27.
254
255 Option "Gesture" "bool"
256 Enable or disable multi-finger in-driver gesture support on
257 the device. Default: off unless the tablet supports multi-
258 touch. Note that disabling this option may allow the desk‐
259 top environment to detect multi-finger gestures instead.
260
261 Option "ZoomDistance" "number"
262 If Option "Gesture" is enabled, this option specifies the
263 minimum movement distance before a zoom gesture is recog‐
264 nized.
265
266 Option "ScrollDistance" "number"
267 If Option "Gesture" is enabled, this option specifies the
268 minimum movement distance before a scroll gesture is recog‐
269 nized.
270
271 Option "TapTime" "number"
272 If Option "Gesture" is enabled, this option determines the
273 maximum time of a touch event to be recognized as tap. A
274 press and release event shorter than TapTime generates but‐
275 ton press and release events. Presses longer than TapTime
276 do not generate button events, only motion events.
277
278 Option "PressureRecalibration" "bool"
279 Allows to disable pressure recalibration. Default: true.
280 If the initial pressure of a device is != 0 the driver
281 recalibrates the pressure range. This is to account for
282 worn out devices. The downside is that when the user hits
283 the tablet very hard the initial pressure reading may be
284 unequal to zero even for a perfectly good pen. If the con‐
285 secutive pressure readings are not higher than the initial
286 pressure by a threshold no button event will be generated.
287 This option allows to disable the recalibration.
288
290 Single finger (1FG)
291 Left click: tap, actual click happens after TapTime period elapses.
292
293 Left click drag: tap to select, quickly (within TapTime period) touch
294 selection again. Then drag. Available on touchpads, e.g. BambooPT,
295 not touchscreens.
296
297 Two finger (2FG)
298 Right click: one finger down + tap second finger
299
300 Vertical scroll: two fingers side by side (in any orientation) moving
301 vertically with constant separation initiates a vertical scroll. By
302 driver default a gesture up results in a scroll down event (the docu‐
303 ment moves up) and a gesture down results in a scroll up event (moving
304 the document down).
305
306 Horizontal scroll: two fingers side by side held at a constant distance
307 moving horizontally initiates a horizontal scroll. A gesture to the
308 left results in a scroll right event (the document moves left) and a
309 gesture right results in a scroll left event (moving the document
310 right).
311
312 Zoom in: two separated fingers side by side, bring together i.e. pinch.
313
314 Zoom out: two fingers side by side, spread. Not all applications sup‐
315 port zoom.
316
318 Xorg(1), xorg.conf(5), xorg.conf.d(5), X(7)
319
320 More information is available at http://linuxwacom.sourceforge.net
321
323 Peter Hutterer <peter.hutterer@who-t.net>, Ping Cheng
324 <pingc@wacom.com>, Frederic Lepied <lepied@xfree86.org>, John E.
325 Joganic <jej@j-arkadia.com>, Magnus Vigerlöf <Magnus.Vigerlof@ipbo.se>
326
327
328
329X Version 11 xf86-input-wacom 0.32.0 WACOM(4)