From: duplo Date: Fri, 24 Apr 2009 09:29:12 +0000 (+0000) Subject: Add fallback for macros X-Git-Tag: 2.1.0~21 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=5198d7ad08c6225bde49be486ae1ee395f1eefd0;p=bertos.git Add fallback for macros git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2661 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/hw/kbd_map.h b/bertos/hw/kbd_map.h index 564a3452..bfe9e996 100644 --- a/bertos/hw/kbd_map.h +++ b/bertos/hw/kbd_map.h @@ -63,7 +63,9 @@ typedef uint16_t keymask_t; #define K_REPEAT BV(14) /**< This is a repeated keyevent. */ #define K_TIMEOUT BV(15) /**< Fake key event for timeouts. */ +#define K_LONG BV(16) /*@}*/ +#define K_LNG_MASK 0 #endif /* HW_KBD_MAP_H */