bertos/hw/kbd_map.h

Go to the documentation of this file.
00001 
00042 #ifndef HW_KBD_MAP_H
00043 #define HW_KBD_MAP_H
00044 
00045 #include <cfg/macros.h>
00046 
00047 #warning TODO:This is an example implentation, you must implement it!
00048 
00049 
00053 typedef uint16_t keymask_t;
00054 
00059 #define K_UP       BV(0)
00060 #define K_DOWN     BV(1)
00061 #define K_OK       BV(2)
00062 #define K_CANCEL   BV(3)
00063 
00064 #define K_REPEAT   BV(14) 
00065 #define K_TIMEOUT  BV(15) 
00067 
00068 
00069 #endif /* HW_KBD_MAP_H */