X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fhw%2Fkbd_map.h;h=15e4f083d929eeabc564991d6e05b46721880594;hb=407fce7d37230ded745d7b114a7df8f1ded3804a;hp=f54bbc02200e69f0c779695aff176ef6e8b482c1;hpb=791e167e053bdd9250d34a9a5ccae6ccde4d6679;p=bertos.git diff --git a/bertos/hw/kbd_map.h b/bertos/hw/kbd_map.h index f54bbc02..15e4f083 100644 --- a/bertos/hw/kbd_map.h +++ b/bertos/hw/kbd_map.h @@ -26,34 +26,25 @@ * 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 * \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. @@ -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 */