Debian Codegraph @

man/XSetDeviceValuators.txt

raw
1 XSETDEVICEVALUATORS(libmansuffix)
2 =================================
3
4 NAME
5 ----
6
7 XSetDeviceValuators - initialize the valuators on an extension input device
8
9 SYNOPSIS
10 --------
11
12 #include <X11/extensions/XInput.h>
13
14 XSetDeviceValuators( Display *display,
15 XDevice *device,
16 int *valuators,
17 int first_valuator,
18 int num_valuators);
19
20 display
21 Specifies the connection to the X server.
22
23 device
24 Specifies the device whose valuators are to be
25 initialized.
26
27 valuators
28 Specifies a pointer to an array of integer values to be
29 used to initialize the device valuators.
30
31 first_valuator
32 Specifies the first valuator to be set. Valuators are
33 numbered beginning with zero.
34
35 num_valuators
36 Specifies the number of valuators to be set.
37
38 DESCRIPTION
39 -----------
40
41 The XSetDeviceValuators request sets the current values of the
42 valuators of an input device. The valuators in the range
43 first_valuator to (first_valuator + num_valuators) are set to
44 the specified values. Valuators are numbered beginning with 0.
45 Not all input devices support initialization of valuator
46 values. If this request is made to a device that does not
47 support valuators initialization, a BadMatch error will occur.
48
49 If the request succeeds, a status of Success is returned. If
50 another client has the device grabbed, a status of
51 AlreadyGrabbed is returned.
52
53 XSetDeviceValuators can generate a BadLength, BadDevice,
54 BadMatch, or BadValue error.
55
56 DIAGNOSTICS
57 -----------
58
59 BadDevice
60 An invalid device was specified. The specified device
61 does not exist or has not been opened by this client via
62 XOpenInputDevice.
63
64 BadMatch
65 This error may occur if an XSetDeviceValuators request
66 is made specifying a device that has no valuators and
67 reports no axes of motion, or if such a request is made
68 specifying a device that does not support valuator
69 initialization.
70
71 BadValue
72 An invalid first_valuator or num_valuators values was
73 specified.
74