Query: xnewmodifiermap
OS: hpux
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
XNewModifiermap() XNewModifiermap()
Name
XNewModifiermap - create a keyboard modifier mapping structure.
Synopsis
XModifierKeymap *XNewModifiermap(max_keys_per_mod)
int max_keys_per_mod;
Arguments
max_keys_per_mod
Specifies the maximum number of keycodes assigned to any of the modifiers in the map.
Returns
The created modifier map structure.
Description
XNewModifiermap() allocates space for an XModifierKeymap() structure, sets its fields, and returns a pointer to the structure.
This function is used when more than one XModifierKeymap() structure is needed. max_keys_per_mod depends on the server and should be got-
ten from the XModifierKeymap() structure returned by XGetModifierMapping().
For more information on keyboard preferences, see Volume One, Chapter 9, The Keyboard and Pointer.
Structures
typedef struct {
int max_keypermod; /* server's max number of keys per modifier */
KeyCode *modifiermap; /* An 8 by max_keypermod array of the
modifiers */
} XModifierKeymap;
See Also
XChangeKeyboardMapping(), XDeleteModifiermapEntry(), XFreeModifiermap(), XGetKeyboardMapping(), XGetModifierMapping(), XInsertModi-
fiermapEntry(), XKeycodeToKeysym(), XKeysymToKeycode(), XKeysymToString(), XLookupKeysym(), XLookupString(), XQueryKeymap(), XRebind-
Keysym(), XRefreshKeyboardMapping(), XSetModifierMapping(), XStringToKeysym().
Xlib - Keyboard XNewModifiermap()
| Related Man Pages |
|---|
| xdisplaykeycodes(3) - centos |
| xinsertmodifiermapentry(3) - centos |
| xdeletemodifiermapentry(3) - debian |
| xdeletemodifiermapentry(3) - hpux |
| xgetmodifiermapping(3) - hpux |
| Similar Topics in the Unix Linux Community |
|---|
| How to list file size on HPUX? |
| SAN Migration question |
| Sequence extraction |
| Hpux 11iV3 administration document |
| Wrong Array... |