Using different flash script for sam3x.
[bertos.git] / bertos / hw / kbd_map.h
index f54bbc02200e69f0c779695aff176ef6e8b482c1..15e4f083d929eeabc564991d6e05b46721880594 100644 (file)
  * 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.
  * -->
  *
  * \brief Keyboard map definitions.
  *
- * \version $Id$
  *
  * \author Francesco Sacchi <batt@develer.com>
  * \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.
@@ -69,9 +60,11 @@ typedef uint16_t keymask_t;
 #define K_OK       BV(2)
 #define K_CANCEL   BV(3)
 
-#define K_REPEAT   BV(14) /**< This is a repeated keyevent. */
-#define K_TIMEOUT  BV(15) /**< Fake key event for timeouts. */
+#define K_REPEAT   BV(13) /**< This is a repeated keyevent. */
+#define K_TIMEOUT  BV(14) /**< Fake key event for timeouts. */
+#define K_LONG     BV(15)
 /*@}*/
 
+#define K_LNG_MASK 0
 
 #endif /* HW_KBD_MAP_H */