X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fhw%2Fkbd_map.h;h=bfe9e9961a0c6ef952280c5587d770a9deca1a2f;hb=ad78a25e6bfb87a82ea5ff441c054e64f99df17c;hp=f54bbc02200e69f0c779695aff176ef6e8b482c1;hpb=791e167e053bdd9250d34a9a5ccae6ccde4d6679;p=bertos.git diff --git a/bertos/hw/kbd_map.h b/bertos/hw/kbd_map.h index f54bbc02..bfe9e996 100644 --- a/bertos/hw/kbd_map.h +++ b/bertos/hw/kbd_map.h @@ -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. * --> * @@ -39,21 +39,13 @@ * \author Stefano Fedrigo */ -/*#* - *#* $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 +#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 */