XkbGetKeyTypes(3)
π XkbGetKeyTypes β from the XKB FUNCTIONS manual, bestie β¨
πΈ NAME
XkbGetKeyTypes β obtain the list of available key types in the server's keyboard mapping. π
π¦ SYNOPSIS
Status XkbGetKeyTypes (Display *dpy, unsigned int first, unsigned int num, XkbDescPtr xkb);
π ARGUMENTS
dpyβ connection to X server. Your little link to the server, bestie. β¨firstβ index to first type to get,0 => 1st type. π«Άnumβ number of key types to be returned. πxkbβ keyboard description containing client map to update. πΈ
π DESCRIPTION
Okay so XkbGetKeyTypes queries the server for the desired types, waits for a reply, and returns the desired types in xkb->map->types. If successful, it returns Success. No cap. β¨
XkbGetKeyTypes returns BadAccess if the Xkb extension has not been properly initialized and BadValue if the combination of first and num results in numbers out of valid range. π«Ά
NOTE:XkbGetKeyTypesis used to obtain descriptions of the key types themselves, not the key types bound to individual keys. To obtain the key types bound to an individual key, refer to thekey_sym_mapfield of the client map. π
π DIAGNOSTICS
BadAccessβ The Xkb extension has not been properly initialized. πBadValueβ An argument is out of range. π
π SEE ALSO
π Thatβs the whole page, bestie β brought to you by X Version 11 and libX11 1.8.14, with XkbGetKeyTypes(3) energy. The footer has no date on this one, so weβre not inventing one. Periodt. β¨
π¦ where this page comes from
- alpine 3.24: libx11-doc 1.8.14-r0 Β· X11
- arch rolling: libx11 1.8.14-1 Β· MIT AND X11
- nixos 26.05: libx11 1.8.14
- nixpkgs unstable: libx11 1.8.14
- Copyright (c) 1999, Oracle and/or its affiliates
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms