2 .\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
4 .\" Permission is hereby granted, free of charge, to any person obtaining a
5 .\" copy of this software and associated documentation files (the "Software"),
6 .\" to deal in the Software without restriction, including without limitation
7 .\" the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 .\" and/or sell copies of the Software, and to permit persons to whom the
9 .\" Software is furnished to do so, subject to the following conditions:
11 .\" The above copyright notice and this permission notice (including the next
12 .\" paragraph) shall be included in all copies or substantial portions of the
15 .\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 .\" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 .\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18 .\" THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 .\" LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20 .\" FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21 .\" DEALINGS IN THE SOFTWARE.
23 .TH XkbGetKeyTypes __libmansuffix__ __xorgversion__ "XKB FUNCTIONS"
25 XkbGetKeyTypes \- Obtain the list of available key types in the server's
29 .B Status XkbGetKeyTypes
30 .BI "(\^Display *" "dpy" "\^,"
31 .BI "unsigned int " "first" "\^,"
32 .BI "unsigned int " "num" "\^,"
33 .BI "XkbDescPtr " "xkb" "\^);"
39 connection to X server
42 index to first type to get, 0 => 1st type
45 number of key types to be returned
48 keyboard description containing client map to update
52 queries the server for the desired types, waits for a reply, and returns the
55 If successful, it returns Success.
58 returns BadAccess if the Xkb extension has not been properly initialized and
59 BadValue if the combination of
63 results in numbers out of valid range.
67 is used to obtain descriptions of the key types themselves, not the key types
68 bound to individual keys. To obtain the key types bound to an individual key,
71 field of the client map.
75 The Xkb extension has not been properly initialized
78 An argument is out of range
80 .BR XkbKeyType (__libmansuffix__),
81 .BR XkbKeyTypeIndex (__libmansuffix__)