Debian Codegraph @

KeyUtil.h

raw
1 /* X11::GUITest ($Id: KeyUtil.h 253 2026-08-19 22:37:51Z ctrondlp $)
2 *
3 * Copyright (c) 2003-2026 Dennis K. Paulsen, All Rights Reserved.
4 * Email: [email protected]
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; either version 2 of
9 * the License, or (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, see <http://www.gnu.org/licenses>.
18 *
19 */
20 #ifndef KEYUTIL_H
21 #define KEYUTIL_H
22 #include "Common.h"
23 #include "GUITest.h"
24
25 BOOL GetKeySym(const char *name, KeySym *sym);
26 const char *GetKeyName(KeySym sym);
27 const char *GetModifierCode(KeySym sym);
28
29 typedef struct KeyNameSymTable {
30 char *Name;
31 KeySym Sym;
32 } KeyNameSymTable;
33
34 #endif /* #ifndef KEYUTIL_H */