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