1 2 // ------------------------------------------------------------------ 3 // GoldED+ 4 // Copyright (C) 1990-1999 Odinn Sorensen 5 // Copyright (C) 1999-2000 Alexander S. Aganichev 6 // ------------------------------------------------------------------ 7 // This program is free software; you can redistribute it and/or 8 // modify it under the terms of the GNU General Public License as 9 // published by the Free Software Foundation; either version 2 of the 10 // License, or (at your option) any later version. 11 // 12 // This program is distributed in the hope that it will be useful, 13 // but WITHOUT ANY WARRANTY; without even the implied warranty of 14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 // General Public License for more details. 16 // 17 // You should have received a copy of the GNU General Public License 18 // along with this program; if not, write to the Free Software 19 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, 20 // MA 02111-1307 USA 21 // ------------------------------------------------------------------ 22 // $Id: gekeys.h,v 1.17 2006/06/16 05:38:23 ssianky Exp $ 23 // ------------------------------------------------------------------ 24 // Keyboard system. 25 // ------------------------------------------------------------------ 26 27 28 // ------------------------------------------------------------------ 29 // 30 // The keyboard system in GoldED 31 // 32 // Keycodes in the range 0x0000-0xFDFF are normal keys. 33 // Keycodes in the range 0xFE00-0xFE7F are macro numbers. 34 // Keycodes in the range 0xFE80-0xFFFE are command numbers. 35 // 36 // The global variable cmdkeys holds a list of all commands and 37 // the keys or macro numbers, sorted by key/macro. 38 // 39 // The global variable macros holds all the macros, sorted by key. 40 // The global variable totmacros contains the total number of macros. 41 // 42 // The macro list is searched first, then the command list, thus 43 // allowing macros that override commands. 44 // 45 // ------------------------------------------------------------------ 46 47 #ifndef __GEKEYS_H 48 #define __GEKEYS_H 49 50 const gkey KK_Auto = 0xFD00; 51 const gkey KK_Macro = 0xFE00; 52 const gkey KK_AreaMacro = 0xFE01; 53 const gkey KK_EditMacro = 0xFE02; 54 const gkey KK_FileMacro = 0xFE03; 55 const gkey KK_ListMacro = 0xFE04; 56 const gkey KK_NodeMacro = 0xFE05; 57 const gkey KK_ReadMacro = 0xFE06; 58 // = 0xFE07-0xFE7F 59 60 const gkey KK_Commands = 0xFE80; 61 const gkey KK_ExternUtil01 = 0xFE81; 62 const gkey KK_ExternUtil02 = 0xFE82; 63 const gkey KK_ExternUtil03 = 0xFE83; 64 const gkey KK_ExternUtil04 = 0xFE84; 65 const gkey KK_ExternUtil05 = 0xFE85; 66 const gkey KK_ExternUtil06 = 0xFE86; 67 const gkey KK_ExternUtil07 = 0xFE87; 68 const gkey KK_ExternUtil08 = 0xFE88; 69 const gkey KK_ExternUtil09 = 0xFE89; 70 const gkey KK_ExternUtil10 = 0xFE8A; 71 const gkey KK_ExternUtil11 = 0xFE8B; 72 const gkey KK_ExternUtil12 = 0xFE8C; 73 const gkey KK_ExternUtil13 = 0xFE8D; 74 const gkey KK_ExternUtil14 = 0xFE8E; 75 const gkey KK_ExternUtil15 = 0xFE8F; 76 const gkey KK_ExternUtil16 = 0xFE90; 77 const gkey KK_ExternUtil17 = 0xFE91; 78 const gkey KK_ExternUtil18 = 0xFE92; 79 const gkey KK_ExternUtil19 = 0xFE93; 80 const gkey KK_ExternUtil20 = 0xFE94; 81 const gkey KK_ExternUtil21 = 0xFE95; 82 const gkey KK_ExternUtil22 = 0xFE96; 83 const gkey KK_ExternUtil23 = 0xFE97; 84 const gkey KK_ExternUtil24 = 0xFE98; 85 const gkey KK_ExternUtil25 = 0xFE99; 86 // = 0xFE9A; 87 // = 0xFE9B; 88 // = 0xFE9C; 89 // = 0xFE9D; 90 // = 0xFE9E; 91 // = 0xFE9F; 92 93 const gkey KK_AreaAbort = 0xFEA0; 94 const gkey KK_AreaAskExit = 0xFEA1; 95 const gkey KK_AreaBoardnos = 0xFEA2; 96 const gkey KK_AreaCatchUp = 0xFEA3; 97 const gkey KK_AreaDosShell = 0xFEA4; 98 const gkey KK_AreaDropMsgMarks = 0xFEA5; 99 const gkey KK_AreaGotoFirst = 0xFEA6; 100 const gkey KK_AreaGotoLast = 0xFEA7; 101 const gkey KK_AreaGotoNext = 0xFEA8; 102 const gkey KK_AreaGotoPrev = 0xFEA9; 103 const gkey KK_AreaHeat = 0xFEAA; 104 const gkey KK_AreaJump = 0xFEAC; 105 const gkey KK_AreaJumpNextMatch = 0xFEAD; 106 const gkey KK_AreaMainMenu = 0xFEAE; 107 // = 0xFEAF; 108 const gkey KK_AreaQuitNow = 0xFEB0; 109 const gkey KK_AreaScan = 0xFEB1; 110 const gkey KK_AreaScanPM = 0xFEB2; 111 const gkey KK_AreaSelect = 0xFEB3; 112 const gkey KK_AreaSelectMarks = 0xFEB4; 113 const gkey KK_AreaSoundkill = 0xFEB5; 114 const gkey KK_AreaToggle = 0xFEB6; 115 const gkey KK_AreaTouchNetscan = 0xFEB7; 116 const gkey KK_AreaWriteGoldlast = 0xFEB8; 117 const gkey KK_AreaZap = 0xFEB9; 118 const gkey KK_AreaMark = 0xFEBA; 119 const gkey KK_AreaUnmark = 0xFEBB; 120 // = 0xFEBC; 121 // = 0xFEBD; 122 // = 0xFEBE; 123 // = 0xFEBF; 124 125 const gkey KK_EditAbort = 0xFEC0; 126 const gkey KK_EditAnchor = 0xFEC1; 127 const gkey KK_EditAskExit = 0xFEC2; 128 const gkey KK_EditClearDeleteBuf = 0xFEC3; 129 const gkey KK_EditClearPasteBuf = 0xFEC4; 130 const gkey KK_EditCopy = 0xFEC5; 131 const gkey KK_EditCopyAbove = 0xFEC6; 132 const gkey KK_EditCopyAboveChar = 0xFEC7; 133 const gkey KK_EditCut = 0xFEC8; 134 const gkey KK_EditDelChar = 0xFEC9; 135 const gkey KK_EditDeleteEOL = 0xFECA; 136 const gkey KK_EditDelLeft = 0xFECB; 137 const gkey KK_EditDelLine = 0xFECC; 138 const gkey KK_EditDelLtWord = 0xFECD; 139 const gkey KK_EditDelRtWord = 0xFECE; 140 const gkey KK_EditDosShell = 0xFECF; 141 const gkey KK_EditDupLine = 0xFED0; 142 const gkey KK_EditExitMsg = 0xFED1; 143 const gkey KK_EditExportText = 0xFED2; 144 const gkey KK_EditGoBegLine = 0xFED3; 145 const gkey KK_EditGoBotLine = 0xFED4; 146 const gkey KK_EditGoBotMsg = 0xFED5; 147 const gkey KK_EditGoDown = 0xFED6; 148 const gkey KK_EditGoEOL = 0xFED7; 149 const gkey KK_EditGoLeft = 0xFED8; 150 const gkey KK_EditGoPgDn = 0xFED9; 151 const gkey KK_EditGoPgUp = 0xFEDA; 152 const gkey KK_EditGoRight = 0xFEDB; 153 const gkey KK_EditGoTopLine = 0xFEDC; 154 const gkey KK_EditGoTopMsg = 0xFEDD; 155 const gkey KK_EditGoUp = 0xFEDE; 156 const gkey KK_EditGoWordLeft = 0xFEDF; 157 const gkey KK_EditGoWordRight = 0xFEE0; 158 const gkey KK_EditHeader = 0xFEE1; 159 const gkey KK_EditImportQuotebuf = 0xFEE2; 160 const gkey KK_EditImportText = 0xFEE3; 161 // = 0xFEE4; 162 const gkey KK_EditLoadFile = 0xFEE5; 163 const gkey KK_EditLookupCursor = 0xFEE6; 164 const gkey KK_EditLookupDest = 0xFEE7; 165 const gkey KK_EditLookupOrig = 0xFEE8; 166 // = 0xFEE9; 167 // = 0xFEEA; 168 const gkey KK_EditNewline = 0xFEEB; 169 const gkey KK_EditPaste = 0xFEEC; 170 const gkey KK_EditQuitNow = 0xFEED; 171 const gkey KK_EditReflow = 0xFEEE; 172 const gkey KK_EditSaveFile = 0xFEEF; 173 const gkey KK_EditSaveMsg = 0xFEF0; 174 const gkey KK_EditSoundkill = 0xFEF1; 175 const gkey KK_EditSpellCheck = 0xFEF2; 176 const gkey KK_EditTab = 0xFEF3; 177 const gkey KK_EditTabReverse = 0xFEF4; 178 const gkey KK_EditToggleCase = 0xFEF5; 179 const gkey KK_EditToggleInsert = 0xFEF6; 180 const gkey KK_EditToLower = 0xFEF7; 181 const gkey KK_EditToUpper = 0xFEF8; 182 const gkey KK_EditUnDelete = 0xFEF9; 183 const gkey KK_EditZapQuoteBelow = 0xFEFA; 184 const gkey KK_EditBlockRight = 0xFEFB; 185 const gkey KK_EditBlockLeft = 0xFEFC; 186 const gkey KK_EditBlockUp = 0xFEFD; 187 const gkey KK_EditBlockDown = 0xFEFE; 188 const gkey KK_EditBlockHome = 0xFEFF; 189 const gkey KK_EditBlockEnd = 0xFF00; 190 const gkey KK_EditBlockPgDn = 0xFF01; 191 const gkey KK_EditBlockPgUp = 0xFF02; 192 const gkey KK_EditDelete = 0xFF03; 193 const gkey KK_EditUndo = 0xFF04; 194 const gkey KK_EditDeleteSOL = 0xFF05; 195 const gkey KK_EditBlockWordLeft = 0xFF06; 196 const gkey KK_EditBlockWordRight = 0xFF07; 197 const gkey KK_EditSCodeNormal = 0xFF08; 198 const gkey KK_EditSCodeBold = 0xFF09; 199 const gkey KK_EditSCodeItalic = 0xFF0A; 200 const gkey KK_EditSCodeUnderline = 0xFF0B; 201 const gkey KK_EditSCodeReverse = 0xFF0C; 202 #if defined(GCFG_SPELL_INCLUDED) 203 const gkey KK_EditSCheckerMenu = 0xFF0D; 204 #endif 205 const gkey KK_EditDrawLines = 0xFF0E; 206 // = 0xFE0F; 207 208 const gkey KK_FileAbort = 0xFF10; 209 const gkey KK_FileAskExit = 0xFF11; 210 const gkey KK_FileDosShell = 0xFF12; 211 const gkey KK_FileGotoFirst = 0xFF13; 212 const gkey KK_FileGotoLast = 0xFF14; 213 const gkey KK_FileGotoNext = 0xFF15; 214 const gkey KK_FileGotoPrev = 0xFF16; 215 const gkey KK_FileMark = 0xFF17; 216 const gkey KK_FileMarkAll = 0xFF18; 217 // = 0xFE19; 218 const gkey KK_FileQuitNow = 0xFF1A; 219 const gkey KK_FileSelect = 0xFF1B; 220 const gkey KK_FileToggleMark = 0xFF1C; 221 const gkey KK_FileToggleMarkAll = 0xFF1D; 222 const gkey KK_FileUnMark = 0xFF1E; 223 const gkey KK_FileUnMarkAll = 0xFF1F; 224 225 const gkey KK_ListAbort = 0xFF20; 226 const gkey KK_ListAskExit = 0xFF21; 227 const gkey KK_ListDosShell = 0xFF22; 228 const gkey KK_ListGotoBookMark = 0xFF23; 229 const gkey KK_ListGotoFirst = 0xFF24; 230 const gkey KK_ListGotoLast = 0xFF25; 231 const gkey KK_ListGotoNext = 0xFF26; 232 const gkey KK_ListGotoPrev = 0xFF27; 233 const gkey KK_ListMainMenu = 0xFF28; 234 const gkey KK_ListMarkingOptions = 0xFF29; 235 // = 0xFE2A; 236 const gkey KK_ListQuitNow = 0xFF2B; 237 const gkey KK_ListSelect = 0xFF2C; 238 const gkey KK_ListToggleBookMark = 0xFF2D; 239 const gkey KK_ListToggleDate = 0xFF2E; 240 const gkey KK_ListToggleMark = 0xFF2F; 241 const gkey KK_ListToggleWideSubj = 0xFF30; 242 const gkey KK_ListMark = 0xFF31; 243 const gkey KK_ListUnmark = 0xFF32; 244 const gkey KK_ListWideSubj = 0xFF33; 245 const gkey KK_ListNarrowSubj = 0xFF34; 246 247 // = 0xFE35; 248 // = 0xFE36; 249 // = 0xFE37; 250 // = 0xFE38; 251 // = 0xFE39; 252 // = 0xFE3A; 253 // = 0xFE3B; 254 // = 0xFE3C; 255 // = 0xFE3D; 256 // = 0xFE3E; 257 // = 0xFE3F; 258 259 const gkey KK_NodeAbort = 0xFF40; 260 const gkey KK_NodeAskExit = 0xFF41; 261 const gkey KK_NodeDosShell = 0xFF42; 262 const gkey KK_NodeGotoFirst = 0xFF43; 263 const gkey KK_NodeGotoLast = 0xFF44; 264 const gkey KK_NodeGotoNext = 0xFF45; 265 const gkey KK_NodeGotoPrev = 0xFF46; 266 // = 0xFE47; 267 // = 0xFE48; 268 const gkey KK_NodeQuitNow = 0xFF49; 269 const gkey KK_NodeSelect = 0xFF4A; 270 271 const gkey KK_AddressbookQuit = 0xFF4B; 272 const gkey KK_AddressbookAdd = 0xFF4C; 273 const gkey KK_AddressbookSelect = 0xFF4D; 274 const gkey KK_AddressbookDelete = 0xFF4E; 275 const gkey KK_AddressbookPack = 0xFF4F; 276 277 const gkey KK_ReadAddressbookAdd = 0xFF50; 278 const gkey KK_ReadAskExit = 0xFF51; 279 const gkey KK_ReadChangeAka = 0xFF52; 280 const gkey KK_ReadChangeAttrs = 0xFF53; 281 // = 0xFE54; 282 // = 0xFE55; 283 const gkey KK_ReadChangeMsg = 0xFF56; 284 const gkey KK_ReadChangeOrigin = 0xFF57; 285 const gkey KK_ReadChangeTagline = 0xFF58; 286 const gkey KK_ReadChangeTemplate = 0xFF59; 287 const gkey KK_ReadChangeUsername = 0xFF5A; 288 const gkey KK_ReadChangeXlatImport = 0xFF5B; 289 const gkey KK_ReadCommentMsg = 0xFF5C; 290 const gkey KK_ReadCopyMoveForward = 0xFF5D; 291 const gkey KK_ReadDecreaseMargin = 0xFF5E; 292 const gkey KK_ReadDeleteMsg = 0xFF5F; 293 const gkey KK_ReadDosShell = 0xFF60; 294 const gkey KK_ReadExternUtilMenu = 0xFF61; 295 const gkey KK_ReadFidoRenumber = 0xFF62; 296 const gkey KK_ReadFileRequest = 0xFF63; 297 const gkey KK_ReadFindAll = 0xFF64; 298 const gkey KK_ReadFindHeader = 0xFF65; 299 const gkey KK_ReadGotoBookMark = 0xFF66; 300 const gkey KK_ReadGotoFirstMsg = 0xFF67; 301 const gkey KK_ReadGotoLastMsg = 0xFF68; 302 const gkey KK_ReadGotoMsgno = 0xFF69; 303 const gkey KK_ReadGotoNextArea = 0xFF6A; 304 const gkey KK_ReadGotoNextMsg = 0xFF6B; 305 const gkey KK_ReadGotoNextUnread = 0xFF6C; 306 const gkey KK_ReadGotoPrevArea = 0xFF6D; 307 const gkey KK_ReadGotoPrevMsg = 0xFF6E; 308 const gkey KK_ReadGotoPrevUnread = 0xFF6F; 309 const gkey KK_ReadGotoReplies = 0xFF70; 310 const gkey KK_ReadGotoReply1st = 0xFF71; 311 const gkey KK_ReadGotoReplyNext = 0xFF72; 312 const gkey KK_ReadGotoReplyPrev = 0xFF73; 313 const gkey KK_ReadGotoThNextUnread = 0xFE74; 314 const gkey KK_ReadIncreaseMargin = 0xFF75; 315 const gkey KK_ReadLookupDest = 0xFF76; 316 const gkey KK_ReadLookupOrig = 0xFF77; 317 const gkey KK_ReadMainMenu = 0xFF78; 318 const gkey KK_ReadMakeUserlist = 0xFF79; 319 const gkey KK_ReadMarkingOptions = 0xFF7A; 320 const gkey KK_ReadMessageList = 0xFF7B; 321 const gkey KK_ReadMakePathreport = 0xFF7C; 322 const gkey KK_ReadMoveCommentMsg = 0xFF7D; 323 const gkey KK_ReadMoveQuoteMsg = 0xFF7E; 324 const gkey KK_ReadMsgContinue = 0xFF7F; 325 const gkey KK_ReadMsgEnd = 0xFF80; 326 const gkey KK_ReadMsgHome = 0xFF81; 327 const gkey KK_ReadMsgLineDown = 0xFF82; 328 const gkey KK_ReadMsgLineUp = 0xFF83; 329 const gkey KK_ReadMsgPgDn = 0xFF84; 330 const gkey KK_ReadMsgPgUp = 0xFF85; 331 const gkey KK_ReadNewArea = 0xFF86; 332 const gkey KK_ReadNewMsg = 0xFF87; 333 const gkey KK_ReadQuitNow = 0xFF88; 334 const gkey KK_ReadQuoteBuf = 0xFF89; 335 const gkey KK_ReadQuoteMsg = 0xFF8A; 336 const gkey KK_ReadReplyMsg = 0xFF8B; 337 const gkey KK_ReadSearch = 0xFF8C; 338 const gkey KK_ReadSoundkill = 0xFF8D; 339 const gkey KK_ReadForceDeleteMsg = 0xFF8E; 340 const gkey KK_ReadThreadtree = 0xFF8F; 341 const gkey KK_ReadToggleBookMark = 0xFF90; 342 const gkey KK_ReadToggleHexdump = 0xFF91; 343 const gkey KK_ReadToggleHidden = 0xFF92; 344 const gkey KK_ReadToggleHiddKlud = 0xFF93; 345 const gkey KK_ReadToggleKludge = 0xFF94; 346 const gkey KK_ReadToggleMark = 0xFF95; 347 const gkey KK_ReadToggleMarkRead = 0xFF96; 348 const gkey KK_ReadTogglePageBar = 0xFF97; 349 const gkey KK_ReadToggleQuote = 0xFF98; 350 const gkey KK_ReadToggleRealMsgno = 0xFF99; 351 const gkey KK_ReadToggleROT13 = 0xFF9A; 352 const gkey KK_ReadToggleStyles = 0xFF9B; 353 const gkey KK_ReadToggleTwits = 0xFF9C; 354 const gkey KK_ReadTouchNetscan = 0xFF9D; 355 const gkey KK_ReadTouchSemaphore = 0xFF9E; 356 const gkey KK_ReadAddressbook = 0xFF9F; 357 const gkey KK_ReadUUDecode = 0xFFA0; 358 const gkey KK_ReadWriteMsg = 0xFFA1; 359 const gkey KK_ReadDirQuoteMsg = 0xFFA2; 360 const gkey KK_ReadMoveDirQuoteMsg = 0xFFA3; 361 const gkey KK_ReadPeekURLs = 0xFFA4; 362 const gkey KK_ReadShowDel = 0xFFA5; 363 const gkey KK_ReadShowKludge = 0xFFA6; 364 const gkey KK_ReadHideKludge = 0xFFA7; 365 const gkey KK_ReadShowHidden = 0xFFA8; 366 const gkey KK_ReadHideHidden = 0xFFA9; 367 const gkey KK_ReadShowHiddKlud = 0xFFAA; 368 const gkey KK_ReadHideHiddKlud = 0xFFAB; 369 const gkey KK_ReadMark = 0xFFAC; 370 const gkey KK_ReadUnmark = 0xFFAD; 371 const gkey KK_ReadReadMarked = 0xFFAE; 372 const gkey KK_ReadReadAll = 0xFFAF; 373 const gkey KK_ReadRealMsgno = 0xFFB0; 374 const gkey KK_ReadSequentMsgno = 0xFFB1; 375 const gkey KK_ReadStylesNone = 0xFFB2; 376 const gkey KK_ReadStylesShow = 0xFFB3; 377 const gkey KK_ReadStylesStrip = 0xFFB4; 378 const gkey KK_ReadTwitsShow = 0xFFB5; 379 const gkey KK_ReadTwitsBlank = 0xFFB6; 380 const gkey KK_ReadTwitsSkip = 0xFFB7; 381 const gkey KK_ReadTwitsIgnore = 0xFFB8; 382 const gkey KK_ReadTwitsKill = 0xFFB9; 383 const gkey KK_ReadStripHTML = 0xFFBA; 384 const gkey KK_ReadShowHTML = 0xFFBB; 385 const gkey KK_ReadToggleHTML = 0xFFBC; 386 const gkey KK_ReadShowQuote = 0xFFBD; 387 const gkey KK_ReadHideQuote = 0xFFBE; 388 const gkey KK_ReadFindNext = 0xFFBF; 389 390 const gkey KK_HeaderAddressbook = 0xFFC0; 391 const gkey KK_HeaderLookup = 0xFFC1; 392 const gkey KK_HeaderToggleAttrWin = 0xFFC2; 393 const gkey KK_HeaderClearAttrib = 0xFFC3; 394 const gkey KK_HeaderToggleReserved = 0xFFC4; 395 const gkey KK_HeaderToggleGroupmsg = 0xFFC5; 396 const gkey KK_HeaderToggleScanned = 0xFFC6; 397 const gkey KK_HeaderToggleFile = 0xFFC7; 398 const gkey KK_HeaderToggleArcsent = 0xFFC8; 399 const gkey KK_HeaderToggleCrash = 0xFFC9; 400 const gkey KK_HeaderToggleDirect = 0xFFCA; 401 const gkey KK_HeaderToggleDelsent = 0xFFCB; 402 const gkey KK_HeaderToggleFreq = 0xFFCC; 403 const gkey KK_HeaderToggleZonegate = 0xFFCD; 404 const gkey KK_HeaderToggleHold = 0xFFCE; 405 const gkey KK_HeaderToggleImm = 0xFFCF; 406 const gkey KK_HeaderToggleTransit = 0xFFD0; 407 const gkey KK_HeaderToggleKill = 0xFFD1; 408 const gkey KK_HeaderToggleLocked = 0xFFD2; 409 const gkey KK_HeaderToggleRetrecreq= 0xFFD3; 410 const gkey KK_HeaderToggleRetrec = 0xFFD4; 411 const gkey KK_HeaderToggleOrphan = 0xFFD5; 412 const gkey KK_HeaderTogglePvt = 0xFFD6; 413 const gkey KK_HeaderToggleAudit = 0xFFD7; 414 const gkey KK_HeaderToggleReceived = 0xFFD8; 415 const gkey KK_HeaderToggleSent = 0xFFD9; 416 const gkey KK_HeaderToggleTrunc = 0xFFDA; 417 const gkey KK_HeaderToggleUpdreq = 0xFFDB; 418 const gkey KK_HeaderToggleHubhost = 0xFFDC; 419 const gkey KK_HeaderToggleLocal = 0xFFDD; 420 const gkey KK_HeaderToggleXmail = 0xFFDE; 421 const gkey KK_HeaderToggleCfmrecreq= 0xFFDF; 422 423 const gkey KK_AreaUndefine = 0xFFE0; 424 const gkey KK_EditUndefine = 0xFFE1; 425 const gkey KK_FileUndefine = 0xFFE2; 426 const gkey KK_ListUndefine = 0xFFE3; 427 const gkey KK_NodeUndefine = 0xFFE4; 428 const gkey KK_ReadUndefine = 0xFFE5; 429 const gkey KK_ZzzzLast = 0xFFE6; 430 431 432 // ------------------------------------------------------------------ 433 // Key groups (type of key) 434 435 const int KT_A = 1; // Arealist 436 const int KT_E = 2; // Editor 437 const int KT_G = 4; // General (not used) 438 const int KT_M = 8; // Msg lister 439 const int KT_N = 16; // Node browser 440 const int KT_R = 32; // Reader (+ external utils) 441 const int KT_F = 64; // File browser 442 const int KT_B = 128; // Addressbook browser 443 const int KT_H = 256; // Header editor 444 445 446 // ------------------------------------------------------------------ 447 // Key command 448 449 struct CmdKey { 450 gkey key; // Associated key or macro number 451 gkey cmd; // Command number 452 int type; // Type of key 453 }; 454 455 456 // ------------------------------------------------------------------ 457 // Macro 458 459 struct Macro { 460 int type; // Type of key 461 gkey key; // Associated key 462 gkey buf[128]; // Actual keys/commands 463 }; 464 465 466 // ------------------------------------------------------------------ 467 468 struct tglobalkey { 469 word crc_token; 470 gkey keyval; 471 word keytype; 472 }; 473 474 // ------------------------------------------------------------------ 475 476 #endif 477