DMXGetInputAttributes
NAMESYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO
NAME
DMXGetInputAttributes − determine input device attributes
SYNOPSIS
#include <X11/extensions/dmxext.h>
Bool
DMXGetInputAttributes(Display *dpy,
int id,
DMXInputAttributes *attr);
DESCRIPTION
DMXGetInputAttributes() returns information about the input device specified with id. This information cannot be obtained from the XListInputDeivices(3) call. id is the same as that used by the XListInputDevices(3) call, and must be in the range 0 to one less than the value returned by DMXGetInputCount(3), inclusive.
The DMXInputAttributes structure is:
typedef struct
{
DMXInputEnum inputType;
int physicalScreen;
int physicalId;
Bool isCore;
Bool sendsCore;
const char *name;
Bool detached;
} DMXInputAttributes;
The value of inputType will always be valid, and will have one of the following values, depending on the type of input: DMXLocalInputType , DMXConsoleInputType , or DMXBackendInputType .
For local devices, all other fields returned, except isCore and sendsCore , are invalid.
For console devices, physicalScreen and physicalID will be invalid, and name will return the name of the X server on which the console window is displayed.
For back-end devices, physicalScreen will identify the back-end display and can be used as an argument to DMXGetScreenAttributes(3) to obtain more information; physicalId will be the XInput device id on the back-end X server; and name will be invalid (since it does not provide any additional information that cannot be obtained with DMXGetScreenAttributes(3)).
If isCore is True, then this device is active as a true core input device and will send core events. If sendsCore is True, then this device is an XInput extension device, but sends core events instead of extension events. This behavior is different from that of XFree86 or Xorg, where XInput extension devices may send both extension events and core events.
If detached is True, then this device has been detached and is no longer producing input events. The device may be reattached using DMXAddInput(3).
RETURN VALUE
DMXGetInputAttributes() returns True unless there is a protocol error.
DMXGetInputAttributes() can generate BadValue (if the value of id is out of range).
SEE ALSO
DMXGetInputCount(3), XListInputDevices(3), DMXGetScreenAttributes(3), DMXAddInput(3), DMX(3), Xdmx(1)
More Linux Commands
manpages/Tk_DistanceToTextLayout.3.html
Tk_DistanceToTextLayout(3) - routines to measure and display
These routines are for measuring and displaying single-font, multi-line, justified text. To measure and display simple single-font, single-line strings, refer t
manpages/update-desktop-database.1.html
update-desktop-database(1) - Build cache database of MIME ty
The update-desktop-database program is a tool to build a cache database of the MIME types handled by desktop files. The cache database contains the list of MIME
manpages/Digest::base.3pm.html
Digest::base(3pm) - Digest base class - Linux manual page...
The Digest::base class provide implementations of the methods addfile and add_bits in terms of add, and of the methods hexdigest and b64digest in terms of diges
manpages/dijkstra.1.html
dijkstra(1) - single-source distance filter - Linux man page
dijkstra reads a stream of graphs and for each computes the distance of every node from sourcenode. Edge length is given in the len attribute, and the default i
manpages/iso_8859-15.7.html
iso_8859-15(7) - ISO 8859-15 character set encoded in octal,
The ISO 8859 standard includes several 8-bit extensions to the ASCII character set (also known as ISO 646-IRV). Especially important is ISO 8859-1, the Latin Al
manpages/XGetEventData.3.html
XGetEventData(3) - retrieve and free additional event data t
Some extension XGenericEvents require additional memory to store information. For these events, the library returns a XGenericEventCookie with a token (cookie)
manpages/glTranslated.3gl.html
glTranslated(3gl) - multiply the current matrix by a transla
glTranslate produces a translation by $(x,y,z)$. The current matrix (see glMatrixMode) is multiplied by this translation matrix, with the product replacing the
manpages/XDGAOpenFramebuffer.3.html
XDGAOpenFramebuffer(3) - Client library for the XFree86-DGA
The XFree86-DGA extension is an X server extension for allowing client programs direct access to the video frame buffer. This is a brief description of the prog
manpages/gnutls_x509_privkey_get_pk_algorithm.3.html
gnutls_x509_privkey_get_pk_algorithm(3) - API function......
gnutls_x509_privkey_get_pk_algorithm.3 - This function will return the public key algorithm of a private key. RETURNS a member of the gnutls_pk_algorithm_t enum
manpages/getrpcbyname.3.html
getrpcbyname(3) - get RPC entry (Library - Linux man page)
The getrpcent(), getrpcbyname(), and getrpcbynumber() functions each return a pointer to an object with the following structure containing the broken-out fields
manpages/gnutls_pubkey_deinit.3.html
gnutls_pubkey_deinit(3) - API function - Linux manual page
This function will deinitialize a public key structure. SINCE 2.12.0 REPORTING BUGS Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page: http://www.gnu.org/so
manpages/nfsd.8.html
nfsd(8) - NFS server process (Admin - Linux man page).......
The rpc.nfsd program implements the user level part of the NFS service. The main functionality is handled by the nfsd kernel module. The user space program mere
