about summary refs log tree commit diff stats
path: root/src/LYKeymap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYKeymap.h')
-rw-r--r--src/LYKeymap.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/LYKeymap.h b/src/LYKeymap.h
index 036e4c60..518864fe 100644
--- a/src/LYKeymap.h
+++ b/src/LYKeymap.h
@@ -32,7 +32,7 @@ extern LYKeymap_t keymap[KEYMAP_SIZE]; /* main keymap matrix */
 
 #ifdef EXP_KEYBOARD_LAYOUT
 extern int current_layout;
-extern unsigned short * LYKbLayouts[];
+extern LYKeymap_t * LYKbLayouts[];
 extern char * LYKbLayoutNames[];
 extern int LYSetKbLayout PARAMS((char *layout_id));
 #endif
@@ -58,9 +58,9 @@ extern LYKeymap_t key_override[];
 
 
 /*  Convert lynxkeycode to lynxactioncode.  Modifiers are dropped.  */
-#define LKC_TO_LAC(ktab,c) (((c)==-1) ? ktab[0] : \
-			    ((c)&LKC_ISLAC) ? ((c)&LAC_MASK) : \
-			    ktab[((c)&LKC_MASK)+1])
+#define LKC_TO_LAC(ktab,c) (((c) == -1) ? ktab[0] : \
+			    ((c) & LKC_ISLAC) ? ((c) & LAC_MASK) : \
+			    ktab[((c) & LKC_MASK) + 1])
 
 
 /*  Mask lynxactioncode as a lynxkeycode.  */
@@ -197,6 +197,12 @@ typedef enum {
 #define LYK_TAG_LINK      LYK_UNKNOWN
 #endif /* DIRED_SUPPORT */
 
+#ifdef SH_EX
+  , LYK_CHG_CENTER
+  , LYK_TO_CLIPBOARD
+  , LYK_CHG_KCODE
+#endif /* SH_EX */
+
 } LYKeymapCodes;