XkbGetKeyboard - Online Linux Manual PageSection : 3
Updated : libX11 1.8.4
Source : X Version 11
Note : XKB FUNCTIONS

NAMEXkbGetKeyboard − Retrieves one or more components of a keyboard device description

SYNOPSISXkbDescPtr XkbGetKeyboard ( Display *display , unsigned int which , unsigned int device_spec);

ARGUMENTSdisplay  connection to the X server device_spec  device ID, or XkbUseCoreKbd bits_to_change  determines events to be selected / deselected values_for_bits  1=>select, 0->deselect; for events in bits_to_change

DESCRIPTIONXkbGetKeyboard allocates and returns a pointer to a keyboard description. It queries the server for those components specified in the which parameter for device device_spec and copies the results to the XkbDescRec it allocated. The remaining fields in the keyboard description are set to NULL. The valid masks for which are those listed in Table 1. Table 1 Mask Bits for XkbDescRec Mask BitXkbDescRec FieldValue XkbControlsMaskctrls(1L<<0) XkbServerMapMaskserver(1L<<1) XkbIClientMapMaskmap(1L<<2) XkbIndicatorMapMaskindicators(1L<<3) XkbNamesMasknames(1L<<4) XkbCompatMapMaskcompat(1L<<5) XkbGeometryMaskgeom(1L<<6) XkbAllComponentsMaskAll Fields(1L<<7) XkbGetKeyboard is used to read the current description for one or more components of a keyboard device. It calls XkbGetKeyboardByName(3) as follows: XkbGetKeyboardByName(dpy, device_spec, NULL, which, which, False). If successful, XkbGetKeyboard returns a pointer to a newly allocated XkbDescRec structure, which is described in XkbGetKeyboardByName(3), and which should be freed with XkbFreeKeyboard(3). If XkbGetKeyboard does not succeed, it returns NULL.

DIAGNOSTICSBadAlloc  Unable to allocate storage

SEE ALSOXkbGetKeyboardByName(3)
0
Johanes Gumabo
Data Size   :   9,566 byte
man-XkbGetKeyboard.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 203,001
Visitor ID   :     :  
Visitor IP   :   3.15.218.44   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.