Manual Pages for Linux CentOS command on man XkbGetDeviceLedInfo
MyWebUniversity

Manual Pages for Linux CentOS command on man XkbGetDeviceLedInfo

XkbGetDeviceLedInfo(3) XKB FUNCTIONS XkbGetDeviceLedInfo(3)

NAME

XkbGetDeviceLedInfo - Query the indicator names, maps, and state asso‐ ciated with an LED feedback of an input extension device SYNOPSIS Status XkbGetDeviceLedInfo (Display *dpy, XkbDeviceInfoPtr deviceinfo, unsigned int ledclass, unsigned int ledid, unsigned int which); ARGUMENTS

- dpy connection to X server

- deviceinfo structure to update with results

- ledclass LED feedback class assigned by input extension

- ledid LED feedback ID assigned by input extension

- which mask indicating desired information DESCRIPTION XkbGetDeviceLedInfo queries the server for the desired LED information for the feedback specified by ledclass and ledid for the X input

extension device indicated by devicespec->deviceinfo and waits for a reply. If successful, XkbGetDeviceLedInfo backfills the relevant fields of deviceinfo as determined by which with the results and returns Suc‐ cess. Valid values for which are the inclusive OR of any of XkbXIIndi‐ catorNamesMask, XkbXIIndicatorMapsMask, and XkbXIIndicatorStateMask. The fields of deviceinfo that are filled in when this request succeeds are name, type, supported, and unsupported, and portions of the leds structure corresponding to ledclass and ledid as indicated by the

bits set in which. The deviceinfo->leds vector is allocated if neces‐ sary and szleds and numleds filled in. The ledclass, ledid and

physindicators fields of the deviceinfo->leds entry corresponding to ledclass and ledid are always filled in. If which contains XkbXIIndicatorNamesMask, the namespresent and names

fields of the deviceinfo->leds structure corresponding to ledclass and ledid are updated, if which contains XkbXIIndicatorStateMask, the corresponding state field is updated, and if which contains XkbXIIndi‐ catorMapsMask, the mapspresent and maps fields are updated. If a compatible version of Xkb is not available in the server or the Xkb extension has not been properly initialized, XkbGetDeviceLedInfo returns BadAccess. If allocation errors occur, a BadAlloc status is returned. If the device has no indicators, a BadMatch error is returned. If ledClass or ledID have illegal values, a BadValue error is returned. If they have legal values but do not specify a feedback that contains LEDs and is associated with the specified device, a BadMatch error is returned. DIAGNOSTICS BadAccess The Xkb extension has not been properly initialized BadAlloc Unable to allocate storage BadMatch A compatible version of Xkb was not available in the server or an argument has correct type and range, but is otherwise invalid BadValue An argument is out of range X Version 11 libX11 1.6.5 XkbGetDeviceLedInfo(3)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™