xref: /aosp_15_r20/external/libxkbcommon/src/keysym.h (revision 2b949d0487e80d67f1fda82db69e101e761f8064)
1*2b949d04SAndroid Build Coastguard Worker /*
2*2b949d04SAndroid Build Coastguard Worker  * Copyright 1985, 1987, 1990, 1998  The Open Group
3*2b949d04SAndroid Build Coastguard Worker  *
4*2b949d04SAndroid Build Coastguard Worker  * Permission is hereby granted, free of charge, to any person obtaining a
5*2b949d04SAndroid Build Coastguard Worker  * copy of this software and associated documentation files (the "Software"),
6*2b949d04SAndroid Build Coastguard Worker  * to deal in the Software without restriction, including without limitation
7*2b949d04SAndroid Build Coastguard Worker  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8*2b949d04SAndroid Build Coastguard Worker  * and/or sell copies of the Software, and to permit persons to whom the
9*2b949d04SAndroid Build Coastguard Worker  * Software is furnished to do so, subject to the following conditions:
10*2b949d04SAndroid Build Coastguard Worker  *
11*2b949d04SAndroid Build Coastguard Worker  * The above copyright notice and this permission notice shall be included in
12*2b949d04SAndroid Build Coastguard Worker  * all copies or substantial portions of the Software.
13*2b949d04SAndroid Build Coastguard Worker  *
14*2b949d04SAndroid Build Coastguard Worker  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15*2b949d04SAndroid Build Coastguard Worker  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16*2b949d04SAndroid Build Coastguard Worker  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17*2b949d04SAndroid Build Coastguard Worker  * AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
18*2b949d04SAndroid Build Coastguard Worker  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19*2b949d04SAndroid Build Coastguard Worker  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20*2b949d04SAndroid Build Coastguard Worker  *
21*2b949d04SAndroid Build Coastguard Worker  * Except as contained in this notice, the names of the authors or their
22*2b949d04SAndroid Build Coastguard Worker  * institutions shall not be used in advertising or otherwise to promote the
23*2b949d04SAndroid Build Coastguard Worker  * sale, use or other dealings in this Software without prior written
24*2b949d04SAndroid Build Coastguard Worker  * authorization from the authors.
25*2b949d04SAndroid Build Coastguard Worker  */
26*2b949d04SAndroid Build Coastguard Worker 
27*2b949d04SAndroid Build Coastguard Worker /*
28*2b949d04SAndroid Build Coastguard Worker  * Copyright © 2009 Dan Nicholson
29*2b949d04SAndroid Build Coastguard Worker  *
30*2b949d04SAndroid Build Coastguard Worker  * Permission is hereby granted, free of charge, to any person obtaining a
31*2b949d04SAndroid Build Coastguard Worker  * copy of this software and associated documentation files (the "Software"),
32*2b949d04SAndroid Build Coastguard Worker  * to deal in the Software without restriction, including without limitation
33*2b949d04SAndroid Build Coastguard Worker  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
34*2b949d04SAndroid Build Coastguard Worker  * and/or sell copies of the Software, and to permit persons to whom the
35*2b949d04SAndroid Build Coastguard Worker  * Software is furnished to do so, subject to the following conditions:
36*2b949d04SAndroid Build Coastguard Worker  *
37*2b949d04SAndroid Build Coastguard Worker  * The above copyright notice and this permission notice (including the next
38*2b949d04SAndroid Build Coastguard Worker  * paragraph) shall be included in all copies or substantial portions of the
39*2b949d04SAndroid Build Coastguard Worker  * Software.
40*2b949d04SAndroid Build Coastguard Worker  *
41*2b949d04SAndroid Build Coastguard Worker  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
42*2b949d04SAndroid Build Coastguard Worker  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
43*2b949d04SAndroid Build Coastguard Worker  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
44*2b949d04SAndroid Build Coastguard Worker  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
45*2b949d04SAndroid Build Coastguard Worker  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
46*2b949d04SAndroid Build Coastguard Worker  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
47*2b949d04SAndroid Build Coastguard Worker  * DEALINGS IN THE SOFTWARE.
48*2b949d04SAndroid Build Coastguard Worker  */
49*2b949d04SAndroid Build Coastguard Worker 
50*2b949d04SAndroid Build Coastguard Worker #ifndef KEYSYM_H
51*2b949d04SAndroid Build Coastguard Worker #define KEYSYM_H
52*2b949d04SAndroid Build Coastguard Worker 
53*2b949d04SAndroid Build Coastguard Worker bool
54*2b949d04SAndroid Build Coastguard Worker xkb_keysym_is_lower(xkb_keysym_t keysym);
55*2b949d04SAndroid Build Coastguard Worker 
56*2b949d04SAndroid Build Coastguard Worker bool
57*2b949d04SAndroid Build Coastguard Worker xkb_keysym_is_upper(xkb_keysym_t keysym);
58*2b949d04SAndroid Build Coastguard Worker 
59*2b949d04SAndroid Build Coastguard Worker bool
60*2b949d04SAndroid Build Coastguard Worker xkb_keysym_is_keypad(xkb_keysym_t keysym);
61*2b949d04SAndroid Build Coastguard Worker 
62*2b949d04SAndroid Build Coastguard Worker bool
63*2b949d04SAndroid Build Coastguard Worker xkb_keysym_is_modifier(xkb_keysym_t keysym);
64*2b949d04SAndroid Build Coastguard Worker 
65*2b949d04SAndroid Build Coastguard Worker #endif
66