1XkbChangeDeviceInfo(3)           XKB FUNCTIONS          XkbChangeDeviceInfo(3)
2
3
4

NAME

6       XkbChangeDeviceInfo  - Update the server's description of a device with
7       the changes noted in an XkbDeviceChangesRec
8

SYNOPSIS

10       Bool XkbChangeDeviceInfo (Display *dpy,  XkbDeviceInfoPtr  device_info,
11              XkbDeviceChangesPtr changes);
12

ARGUMENTS

14       - dpy  connection to X server
15
16       - device_info
17              local copy of device state and configuration
18
19       - changes
20              note specifying changes in device_info
21

DESCRIPTION

23       XkbChangeDeviceInfo  updates  the  server's  description  of the device
24       specified in device_info->device_spec with  the  changes  specified  in
25       changes and contained in device_info.  The update is made by an XkbSet‐
26       DeviceInfo request.
27

STRUCTURES

29       Changes to an Xkb extension device may be tracked by listening to  Xkb‐
30       DeviceExtensionNotify  events and accumulating the changes in an XkbDe‐
31       viceChangesRec structure. The changes noted in the structure  may  then
32       be  used  in subsequent operations to update either a server configura‐
33       tion or a local copy of an  Xkb  extension  device  configuration.  The
34       changes structure is defined as follows:
35
36       typedef struct _XkbDeviceChanges {
37           unsigned int         changed;        /∗ bits indicating what has changed */
38           unsigned short       first_btn;      /∗ number of first button which changed, if any */
39           unsigned short       num_btns;       /∗ number of buttons that have changed */
40           XkbDeviceLedChangesRec leds;
41       } XkbDeviceChangesRec,*XkbDeviceChangesPtr;
42
43

SEE ALSO

45       XkbSetDeviceInfo(3)
46
47
48
49X Version 11                     libX11 1.6.5           XkbChangeDeviceInfo(3)
Impressum