XkbKeyNumSyms − Returns the total number of keysyms for the key corresponding to keycode


int XkbKeyNumSyms

(XkbDescPtr xkb, KeyCode keycode);


− xkb

Xkb description of interest

− keycode

keycode of interest


The key width and number of groups associated with a key are used to form a small two-dimensional array of KeySyms for a key. This array may be different sizes for different keys. The array for a single key is stored as a linear list, in row-major order. The arrays for all of the keys are stored in the syms field of the client map. There is one row for each group associated with a key and one column for each level. The index corresponding to a given group and shift level is computed as:

idx = group_index * key_width + shift_level

The offset field of the key_sym_map entry for a key is used to access the beginning of the array.

XkbKeyNumSyms returns the total number of keysyms for the key corresponding to keycode.

More Linux Commands

XkbLatchModifiers(3) - Latches and unlatches any of the eigh
XkbLatchModifiers sends a request to the server to latch the real modifiers selected by both affect and values and to unlatch the real modifiers selected by aff

git-request-pull(1) - Generates a summary of pending changes
Generate a request asking your upstream project to pull changes into their tree. The request, printed to the standard output, summarizes the changes and indicat

FcPatternCreate(3) - Create a pattern - Linux manual page...
Creates a pattern with no properties; used to build patterns from scratch. VERSION Fontconfig version 2.8.0 FcPatternCreate.3 ....(Library - Linux manual page)

grog(1) - guess options for groff command - Linux man page
grog reads the input (file names or standard input) and guesses which of the groff(1) options are needed to perform the input with the groff program. The corres

gropdf(1) PDF driver for groff (Commands - Linux man page)
gropdf translates the output of GNU troff to PDF. Normally gropdf should be invoked by using the groff command with a -Tpdf option. If no files are given, gropd

XSetFontPath(3) - set, get, or free the font search path....
The XSetFontPath function defines the directory search path for font lookup. There is only one search path per X server, not one per client. The encoding and in

vprintf(3) - formatted output conversion - Linux man page...
The functions in the printf() family produce output according to a format as described below. The functions printf() and vprintf() write output to stdout, the s

XCrossingEvent(3) - EnterNotify and LeaveNotify event struct
The structure for EnterNotify and LeaveNotify events contains: typedef struct { int type; /* EnterNotify or LeaveNotify */ unsigned long serial; /* # of last re

XkbAddGeomKey(3) - Add one key at the end of an existing row
XkbAddGeomKey.3 - Xkb provides functions to add a single new element to the top-level keyboard geometry. In each case the num_ * fields of the corresponding str

XShapeCombineRectangles(3) - X nonrectangular shape function
The X11 Nonrectangular Window Shape Extension adds nonrectangular windows to the X Window System. PREDEFINED VALUES Operations: ShapeSet ShapeUnion ShapeInterse

llroundf(3) - round to nearest integer, away from zero......
These functions round their argument to the nearest integer value, rounding away from zero, regardless of the current rounding direction (see fenv(3)). Note tha

pulse-client.conf(5) - PulseAudio client configuration file
The PulseAudio client library reads configuration directives from a file ~/.config/pulse/client.conf on startup and when that file doesnt exist from /etc/pulse/

We can't live, work or learn in freedom unless the software we use is free.