DOKK / manpages / debian 10 / libxt-dev / XtKeysymToKeycodeList.3.en
XtGetKeysymTable(3) XT FUNCTIONS XtGetKeysymTable(3)

XtGetKeysymTable, XtKeysymToKeycodeList - query keysyms and keycodes

Keysym* XtGetKeysymTable(Display* display, KeyCode* min_keycode_return, int *keysyms_per_keycode_return);

void XtKeysymToKeycodeList(Display* display, KeySym keysym, KeyCode** keycodes_return, Cardinal* keycount_return);

Specifies the display whose table is required.
Returns the minimum KeyCode valid for the display.
Returns the number of KeySyms stored for each KeyCode.
Specifies the KeySym for which to search.
Returns a list of KeyCodes that have keysym associated with them, or NULL if keycount_return is 0.
Returns the number of KeyCodes in the keycode list.

XtGetKeysymTable returns a pointer to the Intrinsics' copy of the server's KeyCode-to-KeySym table. This table must not be modified.

The XtKeysymToKeycodeList procedure returns all the KeyCodes that have keysym in their entry for the keyboard mapping table associated with display. The caller should free the storage pointed to by keycodes_return using XtFree when it is no longer useful.

X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface

libXt 1.1.5 X Version 11