X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fhw%2Fkbd_map.h;h=ffe1431186f629f7870df70c554bfedb8bb99b2e;hb=7d7882d05d70560c3aa9e6c6fad48bd323ff2a82;hp=f54bbc02200e69f0c779695aff176ef6e8b482c1;hpb=791e167e053bdd9250d34a9a5ccae6ccde4d6679;p=bertos.git diff --git a/bertos/hw/kbd_map.h b/bertos/hw/kbd_map.h index f54bbc02..ffe14311 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. @@ -69,9 +61,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 */