/** * \file * * * \brief Keyboard map definitions. * * * \author Francesco Sacchi * \author Stefano Fedrigo */ #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. */ typedef uint16_t keymask_t; /** * \name Keycodes. */ /*@{*/ #define K_UP BV(0) #define K_DOWN BV(1) #define K_OK BV(2) #define K_CANCEL BV(3) #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 */