00001 /* 00002 * 00003 * Copyright (c) 2002 Steve Slaven, All Rights Reserved. 00004 * 00005 * This program is free software; you can redistribute it and/or 00006 * modify it under the terms of the GNU General Public License as 00007 * published by the Free Software Foundation; either version 2 of 00008 * the License, or (at your option) any later version. 00009 * 00010 * This program is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 * GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License 00016 * along with this program; if not, write to the Free Software 00017 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, 00018 * MA 02111-1307 USA 00019 * 00020 */ 00021 00022 #define NUM_KEY_MODIFIERS 3 00023 /* ISO_Level3_Shift = AltGr */ 00024 char *key_modifiers[] = { NULL, "Mode_switch", "ISO_Level3_Shift" }; 00025 char *shift_key = "Shift_L"; 00026 00027 #define MAX_KEYSYM 65536 00028 /* this maps what keysyms need a modifier pushed */ 00029 int keysym_to_modifier_map[ MAX_KEYSYM ]; 00030 KeyCode keysym_to_keycode_map[ MAX_KEYSYM ];