diff options
Diffstat (limited to 'src/LYKeymap.h')
-rw-r--r-- | src/LYKeymap.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/LYKeymap.h b/src/LYKeymap.h index d5a4b218..a06db045 100644 --- a/src/LYKeymap.h +++ b/src/LYKeymap.h @@ -1,4 +1,4 @@ -/* $LynxId: LYKeymap.h,v 1.53 2013/10/20 22:11:03 tom Exp $ */ +/* $LynxId: LYKeymap.h,v 1.55 2015/10/07 23:34:55 tom Exp $ */ #ifndef LYKEYMAP_H #define LYKEYMAP_H @@ -52,6 +52,11 @@ extern "C" { extern LYKeymap_t key_override[]; #endif +/* readable mapping for characters in edit- and key-maps */ +#define CTL(c) ((c) & 0x1f) +#define KHR(c) ((c) + 1) +#define KTL(c) (CTL(c) + 1) + /* * * LynxKeyCodes * * */ #define LKC_ISLECLAC 0x8000 /* flag: contains lynxaction + editaction */ #define LKC_MOD1 0x4000 /* a modifier bit - currently for ^x-map */ |