XCHANGEKEYBOARDDEVIC
NAMESYNOPSIS
DESCRIPTION
DIAGNOSTICS
SEE ALSO
NAME
XChangeKeyboardDevice − change which device is used as the X keyboard
SYNOPSIS
#include <X11/extensions/XInput.h>
Status
XChangeKeyboardDevice( Display *display,
XDevice *device);
display
Specifies the connection to the X server.
device
Specifies the device to be used as the X keyboard.
DESCRIPTION
The
XChangeKeyboardDevice request causes the server to use the
specified device as the X keyboard. The device must have
been
previously opened by the requesting client via XOpenDevice
or a
BadDevice error will result. The device must support input
class Keys, or a BadMatch error will result. If the server
implementation does not support using the requested device
as
the X keyboard, a BadDevice error will result.
If the
specified device is grabbed by another client,
AlreadyGrabbed is returned. If the specified device is
frozen
by a grab on another device, GrabFrozen is returned. If the
request is successful, Success is returned.
If the request
succeeds, a ChangeDeviceNotify event is sent to
all clients that have selected that event. A MappingNotify
event with request = MappingKeyboard is sent to all clients.
The specified device becomes the X keyboard and the old X
keyboard becomes accessible through the input extension
protocol requests.
XChangeKeyboardDevice
can generate a BadDevice or a BadMatch
error.
DIAGNOSTICS
BadDevice
An invalid device was specified. The specified device
does not exist, has not been opened by this client via
XOpenInputDevice, or is already one of the core X device
(pointer or keyboard). This error may also occur if the
server implementation does not support using the
specified device as the X keyboard.
BadMatch
This error may occur if an XChangeKeyboardDevice request
was made specifying a device that has no keys.
SEE ALSO
XChangePointerDevice(3)
More Linux Commands
manpages/Xmbuf.3.html
Xmbuf(3) - X multibuffering functions - Linux manual page...
Xmbuf.3 - The application programming library for the X11 Double-Buffering, Multi-Buffering, and Stereo Extension contains the interfaces described below. With
manpages/keyrings.7.html
keyrings(7) In-kernel key management and retention facility
The keyrings facility is primarily a way for drivers to retain or cache security data, authentication keys, encryption keys and other data in the kernel. System
manpages/fifo.7.html
fifo(7) - first-in first-out special file, named pipe.......
A FIFO special file (a named pipe) is similar to a pipe, except that it is accessed as part of the filesystem. It can be opened by multiple processes for readin
manpages/Tk_Fill3DRectangle.3.html
Tk_Fill3DRectangle(3) - draw borders with three-dimensional
These procedures provide facilities for drawing window borders in a way that produces a three-dimensional appearance. Tk_Alloc3DBorderFromObj allocates colors a
manpages/glFrustum.3gl.html
glFrustum(3gl) - multiply the current matrix by a perspectiv
glFrustum describes a perspective matrix that produces a perspective projection. The current matrix (see glMatrixMode) is multiplied by this matrix and the resu
manpages/pamtompfont.1.html
pamtompfont(1) - Convert Netpbm image to Mplayer bitmap font
This program is part of Netpbm(1) pamtompfont reads a Netpbm image (PNM or PAM) and converts it to an Mplayer bitmap font raster file. This is the original font
manpages/svcerr_decode.3.html
svcerr_decode(3) - library routines for remote procedure cal
These routines allow C programs to make procedure calls on other machines across the network. First, the client calls a procedure to send a data packet to the s
manpages/sendmail.1.html
sendmail(1) - Postfix to Sendmail compatibility interface...
The Postfix sendmail(1) command implements the Postfix to Sendmail compatibility interface. For the sake of compatibility with existing applications, some Sendm
manpages/gnutls_priority_set.3.html
gnutls_priority_set(3) - API function - Linux manual page...
Sets the priorities to use on the ciphers, key exchange methods, macs and compression methods. RETURNS GNUTLS_E_SUCCESS on success, or an error code. REPORTING
manpages/ipc.5.html
ipc(5) - System V interprocess communication mechanisms.....
This manual page refers to the Linux implementation of the System V interprocess communication (IPC) mechanisms: message queues, semaphore sets, and shared memo
manpages/XF86VidModeGetAllModeLines.3.html
XF86VidModeGetAllModeLines(3) - Extension library for the XF
These functions provide an interface to the server extension XFree86-VidModeExtension which allows the video modes to be queried and adjusted dynamically and mo
manpages/form_new_page.3form.html
form_new_page(3form) - form pagination functions (Man Page)
The function set_new_page sets or resets a flag marking the given field as the beginning of a new page on its form. The function new_page is a predicate which t
