home *** CD-ROM | disk | FTP | other *** search
- '-----------------------------------------------------------------------+
- ' |
- ' MODULENAME : VZKEYBRD.BAS |
- ' |
- ' DESCRIPTION : include module |
- ' keyboardscan- & ascii codes |
- ' |
- ' REV DATE HISTORY |
- ' 0.0 11SEP91 First version |
- ' |
- '-----------------------------------------------------------------------+
- ' ALL PROGRAMMING MATERIAL IS PROPERTY OF VZ-SYSTEMS (c) NETHERLANDS |
- '-----------------------------------------------------------------------+
-
- ' keyboardscancodes
-
- CONST Null = 0 'null character
- CONST CurR = 28 'cursor right
- CONST CurL = 29 'cursor left
- CONST CurH = 71 '0 + cursor home
- CONST ArrU = 72 '0 + arrow up
- CONST PgUp = 73 '0 + page up
- CONST ArrL = 75 '0 + arrow left
- CONST ArrR = 77 '0 + arrow right
- CONST CurE = 79 '0 + cursor end
- CONST ArrD = 80 '0 + arrow down
- CONST PgDn = 81 '0 + page down
- CONST CtlL = 115 '0 + control + cursor left
- CONST CtlR = 116 '0 + control + cursor right
- CONST CtlE = 117 '0 + control + cursor end
- CONST CtlH = 119 '0 + control + cursor home
-
- ' ascii charactercodes
-
- CONST Bell = 7 'same as beep
- CONST BkSp = 8 'backspace
- CONST HTab = 9 'horizontal tab
- CONST LinF = 10 'linefeed
- CONST Skip = 12 'formfeed
- CONST Entr = 13 'enter/return
- CONST CtlO = 15 '^O - control + O
- CONST CtlQ = 17 '^Q - control + Q
- CONST CtlW = 23 '^W - control + W
- CONST Escp = 27 'escape
- CONST Tild = 126 'tilde (~)
-
- ' graphics characters (D = double line)
-
- CONST DCTL = 201 'corner top left
- CONST DCTR = 187 'corner top right
- CONST DCBL = 200 'corner bottom left
- CONST DCBR = 188 'corner bottom right
- CONST DLHo = 205 'line horizontal
- CONST DLVe = 186 'line vertical
- CONST DTLt = 185 't left
- CONST DTRt = 204 't right
- CONST DTTo = 202 't top
- CONST DTBo = 203 't bottom
- CONST DCrs = 205 'cross
-
- ' graphics characters (S = single line)
-
- CONST SCTL = 218 'corner top left
- CONST SCTR = 191 'corner top right
- CONST SCBL = 192 'corner bottom left
- CONST SCBR = 217 'corner bottom right
- CONST SLHo = 196 'line horizontal
- CONST SLVe = 179 'line vertical
- CONST STLt = 180 't left
- CONST STRt = 195 't right
- CONST STTo = 193 't top
- CONST STBo = 194 't bottom
- CONST SCrs = 197 'cross
-
-