1 .\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
3 .\" Permission is hereby granted, free of charge, to any person obtaining a
4 .\" copy of this software and associated documentation files (the "Software"),
5 .\" to deal in the Software without restriction, including without limitation
6 .\" the rights to use, copy, modify, merge, publish, distribute, sublicense,
7 .\" and/or sell copies of the Software, and to permit persons to whom the
8 .\" Software is furnished to do so, subject to the following conditions:
10 .\" The above copyright notice and this permission notice (including the next
11 .\" paragraph) shall be included in all copies or substantial portions of the
14 .\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 .\" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 .\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17 .\" THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18 .\" LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19 .\" FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20 .\" DEALINGS IN THE SOFTWARE.
22 .TH XkbGetKeySyms __libmansuffix__ __xorgversion__ "XKB FUNCTIONS"
24 XkbGetKeySyms \- Obtain the symbols for a subset of the keys in a keyboard
28 .B Status XkbGetKeySyms
29 .BI "(\^Display *" "dpy" "\^,"
30 .BI "unsigned int " "first" "\^,"
31 .BI "unsigned int " "num" "\^,"
32 .BI "XkbDescPtr " "xkb" "\^);"
38 connection to X server
41 keycode of first key to get
44 number of keycodes for which syms desired
47 Xkb description to be updated
51 sends a request to the server to obtain the set of keysyms bound to
53 keys starting with the key whose keycode is
55 It waits for a reply and returns the keysyms in the
63 parameter must be a pointer to a valid Xkb keyboard description.
67 in the xkb parameter has not been allocated,
69 allocates and initializes it before obtaining the symbols.
71 If a compatible version of Xkb is not available in the server or the Xkb
72 extension has not been properly initialized,
76 is less than 1 or greater than XkbMaxKeyCount,
78 returns BadValue. If any allocation errors occur,
86 function returns Success if it gets a reply to a request to the server to obtain the set of keysyms bound to
88 keys starting with the key whose keycode is
93 The Xkb extension has not been properly initialized
96 Unable to allocate storage
99 An argument is out of range