1
.\" Copyright (c) 1999 - Sun Microsystems, Inc.
2
.\" 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
6
.\" "Software"), to deal in the Software without restriction, including
7
.\" without limitation the rights to use, copy, modify, merge, publish,
8
.\" distribute, and/or sell copies of the Software, and to permit persons
9
.\" to whom the Software is furnished to do so, provided that the above
10
.\" copyright notice(s) and this permission notice appear in all copies of
11
.\" the Software and that both the above copyright notice(s) and this
12
.\" permission notice appear in supporting documentation.
14
.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
15
.\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
17
.\" OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
18
.\" HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
19
.\" INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
20
.\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
21
.\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
22
.\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
24
.\" Except as contained in this notice, the name of a copyright holder
25
.\" shall not be used in advertising or otherwise to promote the sale, use
26
.\" or other dealings in this Software without prior written authorization
27
.\" of the copyright holder.
29
.TH XkbLookupKeySym __libmansuffix__ __xorgversion__ "XKB FUNCTIONS"
31
XkbLookupKeySym \- Find the symbol associated with a key for a particular state
33
.B Bool XkbLookupKeySym
46
unsigned int \fIstate\fP\^;
48
unsigned int *\fImods_rtrn\fP\^;
50
KeySym *\fIsym_rtrn\fP\^;
56
connection to X server
59
key for which symbols are to be found
62
state for which symbol should be found
65
backfilled with unconsumed modifiers
68
backfilled with symbol associated with key + state
72
is the equivalent of the core
74
function. For the core keyboard, given a keycode
77
.I state, XkbLookupKeySym
78
returns the symbol associated with the key in
80
and the list of modifiers that should still be applied in
84
parameter is the state from a KeyPress or KeyRelease event.
86
returns True if it succeeds.
88
.BR XLookupKeySym (3X11)