The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
/* X11::GUITest ($Id: KeyUtil.h 203 2011-05-15 02:03:11Z ctrondlp $)
 *  
 * Copyright (c) 2003-2011  Dennis K. Paulsen, All Rights Reserved.
 * Email: ctrondlp@cpan.org
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation; either version 2 of
 * the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, see <http://www.gnu.org/licenses>.
 *
 */
#ifndef KEYUTIL_H
#define KEYUTIL_H
#include "Common.h"
#include "GUITest.h"

BOOL GetKeySym(const char *name, KeySym *sym);
const char *GetKeyName(KeySym sym);
const char *GetModifierCode(KeySym sym);

typedef struct KeyNameSymTable {
	char *Name; 
	KeySym Sym;
} KeyNameSymTable;

#endif /* #ifndef KEYUTIL_H */