2 .\" Title: xsetdevicevaluators
3 .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
6 .\" Manual: [FIXME: manual]
7 .\" Source: [FIXME: source]
10 .TH "XSETDEVICEVALUATORS" "libmansuffix" "09/23/2011" "[FIXME: source]" "[FIXME: manual]"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
25 .\" disable justification (adjust text to left margin only)
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
31 XSetDeviceValuators \- initialize the valuators on an extension input device
35 #include <X11/extensions/XInput\&.h>
39 XSetDeviceValuators( Display *display,
48 Specifies the connection to the X server\&.
53 Specifies the device whose valuators are to be
59 Specifies a pointer to an array of integer values to be
60 used to initialize thedevice valuators\&.
65 Specifies the first valuator to be set\&. Valuators are
66 numbered beginning withzero\&.
71 Specifies the number of valuators to be set\&.
79 The XSetDeviceValuators request sets the current values of the
80 valuators of an input device\&. The valuators in the range
81 first_valuator to (first_valuator + num_valuators) are set to
82 the specified values\&. Valuators are numbered beginning with 0\&.
83 Not all input devices support initialization of valuator
84 values\&. If this request is made to a device that does not
85 support valuators initialization, a BadMatch error will occur\&.
95 If the request succeeds, a status of Success is returned\&. If
96 another client has the device grabbed, a status of
97 AlreadyGrabbed is returned\&.
107 XSetDeviceValuators can generate a BadLength, BadDevice,
108 BadMatch, or BadValue error\&.
120 An invalid device was specified\&. The specified device
121 does not exist or has not been opened by this client via
133 This error may occur if an XSetDeviceValuators request
134 is made specifying a device that has no valuators and
135 reports no axes of motion, or if such a request is made
136 specifying a device that does not support valuator
148 An invalid first_valuator or num_valuators values was