examples/demo/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 
00051 typedef uint16_t keymask_t;
00052 
00057 #define K_UP       BV(0)
00058 #define K_DOWN     BV(1)
00059 #define K_OK       BV(2)
00060 #define K_CANCEL   BV(3)
00061 
00062 #define K_REPEAT   BV(14) 
00063 #define K_TIMEOUT  BV(15) 
00065 
00066 
00067 #endif /* HW_KBD_MAP_H */