XSetDeviceValuators(3)



XSETDEVICEVALUATORS

NAME
SYNOPSIS
DESCRIPTION
DIAGNOSTICS

NAME

XSetDeviceValuators − initialize the valuators on an extension input device

SYNOPSIS

#include <X11/extensions/XInput.h>

XSetDeviceValuators( Display *display,
XDevice *device,
int *valuators,
int first_valuator,
int num_valuators);

display
Specifies the connection to the X server.

device
Specifies the device whose valuators are to be
initialized.

valuators
Specifies a pointer to an array of integer values to be
used to initialize thedevice valuators.

first_valuator
Specifies the first valuator to be set. Valuators are
numbered beginning withzero.

num_valuators
Specifies the number of valuators to be set.

DESCRIPTION

The XSetDeviceValuators request sets the current values of the
valuators of an input device. The valuators in the range
first_valuator to (first_valuator + num_valuators) are set to
the specified values. Valuators are numbered beginning with 0.
Not all input devices support initialization of valuator
values. If this request is made to a device that does not
support valuators initialization, a BadMatch error will occur.

If the request succeeds, a status of Success is returned. If
another client has the device grabbed, a status of
AlreadyGrabbed is returned.

XSetDeviceValuators can generate a BadLength, BadDevice,
BadMatch, or BadValue error.

DIAGNOSTICS

BadDevice
An invalid device was specified. The specified device
does not exist or has not been opened by this client via
XOpenInputDevice.

BadMatch
This error may occur if an XSetDeviceValuators request
is made specifying a device that has no valuators and
reports no axes of motion, or if such a request is made
specifying a device that does not support valuator
initialization.

BadValue
An invalid first_valuator or num_valuators values was
specified.



More Linux Commands

manpages/fconfigure.n.html
fconfigure(n) - Set and get options on a channel (Man Page)
The fconfigure command sets and retrieves options for channels. ChannelId identifies the channel for which to set or query an option and must refer to an open c

manpages/XUnionRegion.3.html
XUnionRegion(3) - region arithmetic - Linux manual page.....
The XIntersectRegion function computes the intersection of two regions. The XUnionRegion function computes the union of two regions. The XUnionRectWithRegion fu

manpages/exit.2.html
exit(2) - terminate the calling process - Linux manual page
The function _exit() terminates the calling process immediately. Any open file descriptors belonging to the process are closed; any children of the process are

manpages/pam_timestamp_check.8.html
pam_timestamp_check(8) - Check to see if the default timesta
With no arguments pam_timestamp_check will check to see if the default timestamp is valid, or optionally remove it. OPTIONS -k Instead of checking the validity

manpages/va_arg.3.html
va_arg(3) - variable argument lists - Linux manual page.....
A function may be called with a varying number of arguments of varying types. The include file &lt;stdarg.h&gt; declares a type va_list and defines three macros for s

manpages/gnutls_dh_get_pubkey.3.html
gnutls_dh_get_pubkey(3) - API function - Linux manual page
This function will return the peers public key used in the last Diffie-Hellman key exchange. This function should be used for both anonymous and ephemeral Diffi

manpages/filter.3x.lc.html
filter.3x(lc) miscellaneous curses utility routines.........
The unctrl routine returns a character string which is a printable representation of the character c, ignoring attributes. Control characters are displayed in t

manpages/gnutls_deinit.3.html
gnutls_deinit(3) - API function (Library - Linux man page)
This function clears all buffers associated with the session. This function will also remove session data from the session database if the session was terminate

manpages/pcre16_get_stringtable_entries.3.html
pcre16_get_stringtable_entries(3) Perl-compatible regular ex
This convenience function finds, for a compiled pattern, the first and last entries for a given name in the table that translates capturing parenthesis names in

manpages/curl_share_strerror.3.html
curl_share_strerror(3) - return string describing error code
The curl_share_strerror() function returns a string describing the CURLSHcode error code passed in the argument errornum. AVAILABILITY This function was added i

manpages/sendinpaths.8.html
sendinpaths(8) - Send Usenet Path: statistics via e-mail....
sendinpaths checks pathlog/path for ninpaths dump files, finds dump files generated in the past 30 days, makes sure they are valid by running ninpaths on each o

manpages/makedbz.8.html
makedbz(8) - Rebuild dbz files (Admin - Linux man page).....
makedbz rebuilds dbz(3) database. The default name of the text file is pathdb/history; to specify a different name, use the -f flag. OPTIONS -f filename If the





We can't live, work or learn in freedom unless the software we use is free.