Add fallback for macros
[bertos.git] / bertos / hw / kbd_map.h
index f54bbc02200e69f0c779695aff176ef6e8b482c1..bfe9e9961a0c6ef952280c5587d770a9deca1a2f 100644 (file)
@@ -26,8 +26,8 @@
  * invalidate any other reasons why the executable file might be covered by
  * the GNU General Public License.
  *
- * Copyright 2003, 2004, 2005, 2006 Develer S.r.l. (http://www.develer.com/)
- * Copyright 2000 Bernardo Innocenti
+ * Copyright 2003, 2004, 2005, 2006, 2008 Develer S.r.l. (http://www.develer.com/)
+ * Copyright 2000 Bernie Innocenti
  * All Rights Reserved.
  * -->
  *
  * \author Stefano Fedrigo <a@develer.com>
  */
 
-/*#*
- *#* $Log$
- *#* Revision 1.2  2006/07/19 12:56:27  bernie
- *#* Convert to new Doxygen style.
- *#*
- *#* Revision 1.1  2006/02/10 12:31:03  bernie
- *#* Add templates for hw definitions.
- *#*
- *#*/
-
 #ifndef HW_KBD_MAP_H
 #define HW_KBD_MAP_H
 
 #include <cfg/macros.h>
 
+#warning TODO:This is an example implentation, you must implement it!
+
 
 /**
  * Type for keyboard mask.
@@ -71,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 */