Manual Pages for Linux CentOS command on man XkbUpdateMapFromCore
MyWebUniversity

Manual Pages for Linux CentOS command on man XkbUpdateMapFromCore

XkbUpdateMapFromCore(3) XKB FUNCTIONS XkbUpdateMapFromCore(3)

NAME

XkbUpdateMapFromCore - Update a local Xkb keyboard map to reflect the mapping expressed by a core format mapping SYNOPSIS Bool XkbUpdateMapFromCore (XkbDescPtr xkb, KeyCode firstkey, int numkeys, int mapwidth, KeySym *corekeysyms, XkbChangesPtr changes); ARGUMENTS

- xkb keyboard description to update

- firstkey keycode of first key description to update

- numkeys number of key descriptions to update

- mapwidth width of core protocol keymap

- corekeysyms symbols in core protocol keymap

- changes backfilled with changes made to Xkb DESCRIPTION Xkb provides several functions that make it easier to apply the compat‐

ibility map to configure a client-side Xkb keyboard mapping, given a core protocol representation of part or all of a keyboard mapping. Obtain a core protocol representation of a keyboard mapping from an actual server (by using XGetKeyboardMapping, for example), a data file, or some other source. XkbUpdateMapFromCore interprets input argument information representing a keyboard map in core format to update the Xkb keyboard description

passed in xkb. Only a portion of the Xkb map is updated - the portion corresponding to keys with keycodes in the range firstkey through

firstkey + numkeys - 1. If XkbUpdateMapFromCore is being called in response to a MappingNotify event, firstkey and numkeys are reported in the MappingNotify event. corekeysyms contains the keysyms corre‐ sponding to the keycode range being updated, in core keyboard descrip‐ tion order. mapwidth is the number of keysyms per key in corekeysyms. Thus, the first mapwidth entries in corekeysyms are for the key with keycode firstkey, the next mapwidth entries are for key firstkey + 1, and so on. In addition to modifying the Xkb keyboard mapping in xkb, XkbUp‐ dateMapFromCore backfills the changes structure whose address is passed in changes to indicate the modifications that were made. You may then use changes in subsequent calls such as XkbSetMap, to propagate the local modifications to a server. SEE ALSO XkbSetMap(3) X Version 11 libX11 1.6.5 XkbUpdateMapFromCore(3)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™