00001 00002 // This code is part of the MaiaProject free software 00003 // 00004 // Keyboard and Mouse Emulator - Virtual keyboard Engine 00005 // 00006 // Copyright (c) 2002-2003 Luca Clivio <luca.clivio@maiaproject.org> 00007 // Tel. +39-347-2538040 00008 // via B.Croce 2, 20037 Paderno Dugnano (Milano) - Italy 00009 // 00010 // Developers: 00011 // Simone Mangano <simone.mangano@maiaproject.org> 00012 // Andrea Tosato <andrea.tosato@maiaproject.org> 00013 // 00014 // ----------------------------------------------------------------------------- 00015 // This program is free software; This program is free software; 00016 // you can redistribute it and/or modify it under the terms of the 00017 // GNU General Public License as published by the Free Software Foundation; 00018 // either version 2 of the License, or (at your option) any later version. 00019 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00020 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00021 // GNU General Public License for more details. 00022 // You should have received a copy of the GNU General Public License 00023 // along with this program; if not, write to the Free Software 00024 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00026 00027 // this header defines the name of the tags involved in the xml keyboard definition file. 00028 00029 #ifndef _MAIAXMLTAGSHEADER_ 00030 #define _MAIAXMLTAGSHEADER_ 00031 00032 // ------------ keyboard tags ---------------------- 00033 00034 #define MAIAXMLKEYBOARDTAG _T("keyboard") 00035 #define MAIAXMLKEYBOARDNAME _T("name") 00036 #define MAIAXMLSCREENWIDTH _T("screen-width") 00037 #define MAIAXMLSCREENHEIGHT _T("screen-height") 00038 #define MAIAXMLSCANBLOCKTAG _T("scanblock") 00039 #define MAIAXMLBUTTONTAG _T("button") 00040 #define MAIAXMLBUTTONNAME _T("name") 00041 #define MAIAXMLBUTTONPOSITION _T("position") 00042 #define MAIAXMLBUTTONXPOS _T("x") 00043 #define MAIAXMLBUTTONYPOS _T("y") 00044 #define MAIAXMLBUTTONDIMENSION _T("dimension") 00045 #define MAIAXMLBUTTONHEIGHT _T("h") 00046 #define MAIAXMLBUTTONWIDTH _T("w") 00047 #define MAIAXMLBUTTONIMAGETAG _T("images") 00048 #define MAIAXMLBUTTONNORMALIMAGE _T("normal") 00049 #define MAIAXMLBUTTONSCANIMAGE _T("scan") 00050 #define MAIAXMLBUTTONSELIMAGE _T("selected") 00051 #define MAIAXMLBUTTONSOUNDTAG _T("sounds") 00052 #define MAIAXMLBUTTONSCANSOUND _T("scan") 00053 #define MAIAXMLBUTTONSELSOUND _T("sel") 00054 #define MAIAXMLBUTTONACTIONTAG _T("action") 00055 #define MAIAXMLBUTTONACTIONAME _T("name") 00056 #define MAIAXMLBUTTONACTIONCODE _T("code") 00057 #define MAIAXMLBUTTONACTIONPARS _T("pars") 00058 #define MAIAXMLBUTTONBICOTAG _T("bico") 00059 #define MAIAXMLBUTTONBICOCODE _T("sequence") 00060 00061 00062 // ------------------------------------ option tags ------------- 00063 #define MAIAXMLGENERALOPTIONSTAG _T("generaloptions") 00064 #define MAIAXMLSCANOPTIONSTAG _T("scanoptions") 00065 #define MAIAXMLOPTIONTAG _T("option") 00066 // ---- hardware 00067 #define MAIAXMLSERIALENABLEDTAG _T("serialenabled") 00068 #define MAIAXMLSERIALPORTTAG _T("serialport") 00069 #define MAIAXMLKEYBOARDENABLEDTAG _T("keyboardenabled") 00070 // ---- general 00071 #define MAIAXMLACTIONKEYTAG _T("actionkey") 00072 #define MAIAXMLUPKEYTAG _T("upkey") 00073 #define MAIAXMLDOWNKEYTAG _T("downkey") 00074 #define MAIAXMLLEFTKEYTAG _T("leftkey") 00075 #define MAIAXMLRIGHTKEYTAG _T("rightkey") 00076 #define MAIAXML1STKEYBNAME _T("firstkeyboardname") 00077 #define MAIAXMLAUTOSCANTAG _T("autoscan") 00078 #define MAIAXMLJOYSTICKTAG _T("joystick") 00079 #define MAIAXMLDIRECTTAG _T("direct") 00080 #define MAIAXMLGRABKEYSTAG _T("grabkeys") 00081 #define MAIAXMLONPRESSTAG _T("actiononpress") 00082 #define MAIAXMLENABLESOUNDTAG _T("enablesound") 00083 // ---- scan 00084 #define MAIAXMLSCANTIME _T("scantime") 00085 #define MAIAXMLSCANLOOPSTAG _T("scanloopsnumber") 00086 #define MAIAXMLSCANRESUMEFROMTAG _T("scanresumefrom") 00087 #define MAIAXMLDELAYAFTERCLICKTAG _T("delayafterclick") 00088 #define MAIAXMLEXITBLOCKAFTERCLICK _T("exitblockafterclick") 00089 #define MAIAXMLDELAYAFTERACTION _T("delayafteraction") 00090 #define MAIAXMLDELAYAFTERENDBLOCK _T("delayafterendblock") 00091 00092 00093 // -- various 00094 #define MAIAXMLTHISVALUE _T("this") 00095 #define MAIAXMLFIRSTVALUE _T("first") 00096 #define MAIAXMLNEXTVALUE _T("next") 00097 00098 00099 00100 00101 #endif // _MAIAXMLTAGSHEADER_ 00102
Copyright © by Luca Clivio |