1 /***** 2 * Xnee's Not an Event Emulator 3 * 4 * Xnee enables recording and replaying of X protocol data 5 * 6 * Copyright (C) 1999, 2000, 2001, 2002, 2003, 7 * 2004, 2009, 2010 Henrik Sandklef 8 * 9 * This program is free software; you can redistribute it and/or 10 * modify it under the terms of the GNU General Public License 11 * as published by the Free Software Foundation; either version 3 12 * of the License, or any later version. 13 * 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 51 Franklin Street, Boston, 23 * MA 02110-1301, USA. 24 ****/ 25 26 #include "libxnee/xnee.h" 27 #include "libxnee/print_varargs.h" 28 29 const char* XNEE_HOME_URL = "http://www.gnu.org/software/xnee/"; 30 const char* XNEE_MAIL = "info-xnee@gnu.org"; 31 const char* XNEE_AUTHORS = "Henrik Sandklef"; 32 const char* XNEE_BUG_MAIL = "bug-xnee@gnu.org"; 33 const char* XNEE_DEVEL_MAIL = "xnee-devel@gnu.org"; 34 const char* GNU_HOME_URL = "http://www.gnu.org/"; 35 const char* FSF_HOME_URL = "http://www.fsf.org/"; 36 const char* XNEE_PLUGIN_DIR = "/usr/local/lib/xnee/plugins" ; 37 const char* XNEE_RESOURCE_DIR = "/usr/local/lib/xnee/resources" ; 38 39 const char* XNEE_COMMENT_START_STR = "#"; 40 const char XNEE_COMMENT_START_CHAR = '#'; 41 42 const char* XNEE_EXEC_NO_PROG = "xnee-exec-no-program"; 43 const char* XNEE_EXEC_MARK = "EXEC"; 44 const char* XNEE_NEW_WINDOW_MARK = "NEW-WINDOW"; 45 46 const char* XNEE_META_END = "META-END" /* Marks the end of the META DATA in the recorded file*/ ; 47 48 const char* XNEE_REPLAY_CALLBACK_NAME = "xnee_replay_dispatch"; 49 const char* XNEE_RECORD_CALLBACK_NAME = "xnee_record_dispatch"; 50 const char* XNEE_SYNC_FUNCTION_NAME = "xnee_sync_fun"; 51 52 const char* EXT_REPLAY_CALLBACK_NAME = "xnee_replay_dispatch_external"; 53 const char* EXT_RECORD_CALLBACK_NAME = "xnee_record_dispatch_external"; 54 const char* EXT_SYNC_FUNCTION_NAME = "xnee_sync_fun_external"; 55 56 const char* XNEE_FAKE_MOTION = "fake-motion"; 57 const char* XNEE_FAKE_X_ARG = "x"; 58 const char* XNEE_FAKE_Y_ARG = "y"; 59 60 const char* XNEE_FAKE_BUTTON_PRESS = "fake-button-press"; 61 const char* XNEE_FAKE_BUTTON_RELEASE = "fake-button-release"; 62 const char* XNEE_FAKE_BUTTON = "fake-button"; 63 const char* XNEE_FAKE_BUTTON_ARG = "button"; 64 65 const char* XNEE_FAKE_KEY_PRESS = "fake-key-press"; 66 const char* XNEE_FAKE_KEY_RELEASE = "fake-key-release"; 67 const char* XNEE_FAKE_KEY = "fake-key"; 68 const char* XNEE_FAKE_KEY_ARG = "key"; 69 70 const char* XNEE_FAKE_MSEC_SLEEP = "msec"; 71 72 const char* XNEE_TRUE_STRING = "true"; 73 const char* XNEE_1_STRING = "1"; 74 const char* XNEE_FALSE_STRING = "false"; 75 const char* XNEE_0_STRING = "0"; 76 77 const char* XNEE_XK_ALT_L = "Alt_L"; 78 const char* XNEE_XK_ALT_R = "Alt_R"; 79 const char* XNEE_XK_RETURN = "XK_Return"; 80 const char* XNEE_XK_SPACE = "XK_space"; 81 const char* XNEE_XK_DOWN = "XK_Down"; 82 const char* XNEE_XK_UP = "XK_Up"; 83 const char* XNEE_XK_LEFT = "XK_Left"; 84 const char* XNEE_XK_RIGHT = "XK_Right"; 85 86 87 88 const char* XNEE_SYMBOLIC_ALT = "Alt"; 89 const char* XNEE_SYMBOLIC_CONTROL = "Control"; 90 const char* XNEE_SYMBOLIC_SCROLL = "Scroll"; 91 const char* XNEE_SYMBOLIC_CAPS = "Caps"; 92 const char* XNEE_SYMBOLIC_SHIFT = "Shift"; 93 94 const char* XNEE_REAL_ALT = "Alt_L"; 95 const char* XNEE_REAL_CONTROL = "Control_L"; 96 const char* XNEE_REAL_SCROLL = "Scroll_L"; 97 const char* XNEE_REAL_CAPS = "Caps_Lock"; 98 const char* XNEE_REAL_SHIFT = "Shift_L"; 99 100 const char* XNEE_XINPUT_EXTENSION_NAME = "XInputExtension"; 101 const char* NULL_STRING = "NULL"; 102 103 const char* XNEE_EMPTY_STRING = "" ; 104 105 const char* XNEE_REPLAY_XNEE_STRING = "xnee"; 106 const char* XNEE_REPLAY_SWINPUT_STRING = "swinput"; 107