home *** CD-ROM | disk | FTP | other *** search
/ PC-Online 1998 February / PCOnline_02_1998.iso / filesbbs / dos / listz21s.exe / LZSET10S.RAR / LZS_KEYS.CPP < prev    next >
Encoding:
C/C++ Source or Header  |  1997-02-25  |  1.8 KB  |  44 lines

  1. /*
  2.  * This file is part of LZSETUP (Configuration program for Listerz)
  3.  *
  4.  * Copyright (c) 1997 Branislav L. Slantchev (gargoyle)
  5.  * A fine product of Silicon Creations, Inc.
  6.  *
  7.  * This file is released under the terms and conditions of the GNU
  8.  * General Public License Version 2. The full text of the license is
  9.  * supplied in the Copying.Doc file included with this archive. This
  10.  * free software comes with absolutely no warranty, as outlined in the
  11.  * licensing text. You are not allowed to remove this copyright notice.
  12.  *
  13.  * Contact: Branislav L. Slantchev at 73023.262@compuserve.com
  14. */
  15. #include <opcmddef.h>
  16. #include "lzs_cmds.h"
  17.  
  18. byte far LzsKeySet[LZS_KEYSMAX + 1] =
  19. {
  20.   //length keys         command type      key sequence
  21.   3,      0x00, 0x47,    ccHome,           //Home
  22.   3,      0x00, 0x48,    ccUp,             //Up
  23.   3,      0x00, 0x49,    ccPageUp,         //PgUp
  24.   3,      0x00, 0x4B,    ccLeft,           //Left
  25.   3,      0x00, 0x4D,    ccRight,          //Right
  26.   3,      0x00, 0x4F,    ccEnd,            //End
  27.   3,      0x00, 0x50,    ccDown,           //Down
  28.   3,      0x00, 0x51,    ccPageDn,         //PgDn
  29.   3,      0x11, 0x04,    ccEnd,            //Q^D
  30.   3,      0x11, 0x13,    ccHome,           //Q^S    (40)
  31.   2,      0x03,          ccPageDn,         //C
  32.   2,      0x04,          ccRight,          //D
  33.   2,      0x05,          ccUp,             //E
  34.   2,      0x09,          ccTab,            //I, Tab
  35.   2,      0x0D,          ccSelect,         //M, Enter
  36.   2,      0x12,          ccPageUp,         //R
  37.   2,      0x13,          ccLeft,           //S
  38.   2,      0x17,          ccUp,             //W
  39.   2,      0x18,          ccDown,           //X
  40.   2,      0x1A,          ccDown,           //Z
  41.   2,      0x1B,          ccQuit,           //Esc    (33)
  42.   0,0,0,0,0,0,0,0,0,0,0
  43. };
  44.