4 * Copyright 2003, 2004, 2005, 2006 Develer S.r.l. (http://www.develer.com/)
5 * Copyright 2000 Bernardo Innocenti
9 * \brief Keyboard hardware-specific definitions
13 * \author Francesco Sacchi <batt@develer.com>
14 * \author Stefano Fedrigo <a@develer.com>
19 *#* Revision 1.3 2006/03/22 09:51:27 bernie
22 *#* Revision 1.2 2006/02/15 09:13:42 bernie
23 *#* Add keyboard emulator.
25 *#* Revision 1.1 2006/02/10 12:31:03 bernie
26 *#* Add templates for hw definitions.
34 #include <cfg/macros.h>
36 #define K_RPT_MASK (K_UP | K_DOWN | K_OK | K_CANCEL)
42 EXTERN_C int emul_kbdReadCols(void);
45 * Read the keyboard ports and return the mask of
48 INLINE keymask_t kbd_readkeys(void)
50 return (keymask_t)emul_kbdReadCols();