From 19a09a189379659b917cf5ccff78f3e5ec061015 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 4 Mar 2005 23:39:37 +0000 Subject: updated for version 7.0055 --- src/keymap.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'src/keymap.h') diff --git a/src/keymap.h b/src/keymap.h index cb79ad1e1..5babdf4af 100644 --- a/src/keymap.h +++ b/src/keymap.h @@ -458,23 +458,24 @@ enum key_extra #define MOD_MASK_SHIFT 0x02 #define MOD_MASK_CTRL 0x04 #define MOD_MASK_ALT 0x08 /* aka META */ -#define MOD_MASK_2CLICK 0x10 /* use MOD_MASK_MULTI_CLICK */ -#define MOD_MASK_3CLICK 0x20 /* use MOD_MASK_MULTI_CLICK */ -#define MOD_MASK_4CLICK 0x30 /* use MOD_MASK_MULTI_CLICK */ +#define MOD_MASK_META 0x10 /* META when it's different from ALT */ +#define MOD_MASK_2CLICK 0x20 /* use MOD_MASK_MULTI_CLICK */ +#define MOD_MASK_3CLICK 0x40 /* use MOD_MASK_MULTI_CLICK */ +#define MOD_MASK_4CLICK 0x60 /* use MOD_MASK_MULTI_CLICK */ #ifdef MACOS -# define MOD_MASK_CMD 0x80 +# define MOD_MASK_CMD 0x80 #endif #define MOD_MASK_MULTI_CLICK (MOD_MASK_2CLICK|MOD_MASK_3CLICK|MOD_MASK_4CLICK) /* * The length of the longest special key name, including modifiers. - * Current longest is (length includes '<' and '>'). + * Current longest is (length includes '<' and '>'). */ -#define MAX_KEY_NAME_LEN 23 +#define MAX_KEY_NAME_LEN 25 /* Maximum length of a special key event as tokens. This includes modifiers. - * The longest event is something like which would be the + * The longest event is something like which would be the * following string of tokens: * * bitmask . -- cgit v1.2.1