X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Ftriface%2Ftemplates%2Ftriface_kernel%2Fcfg%2Fcfg_kbd.h;fp=boards%2Ftriface%2Ftemplates%2Ftriface_kernel%2Fcfg%2Fcfg_kbd.h;h=92aa272dfbea8777ffd0da54ab588cede79b6d41;hb=3ac97736a732a8ee9ded79a365f19bb70181ea7d;hp=0000000000000000000000000000000000000000;hpb=ffd90a8e0d552a62ae93a03594a245b1e1b51bc3;p=bertos.git diff --git a/boards/triface/templates/triface_kernel/cfg/cfg_kbd.h b/boards/triface/templates/triface_kernel/cfg/cfg_kbd.h new file mode 100644 index 00000000..92aa272d --- /dev/null +++ b/boards/triface/templates/triface_kernel/cfg/cfg_kbd.h @@ -0,0 +1,58 @@ +/** + * \file + * + * + * \brief Configuration file for keyboard module. + * + * + * \author Daniele Basile + */ + +#ifndef CFG_KBD_H +#define CFG_KBD_H + +/// Keyboard polling method. $WIZ$ supports = "False" +#define CONFIG_KBD_POLL KBD_POLL_SOFTINT + +/// Enable keyboard event delivery to observers. $WIZ$ type = "boolean" +#define CONFIG_KBD_OBSERVER 0 + +/// Enable key beeps. $WIZ$ type = "boolean" +#define CONFIG_KBD_BEEP 0 + +/// Enable long pression handler for keys. $WIZ$ type = "boolean" +#define CONFIG_KBD_LONGPRESS 0 + +/// Enable calling poor man's scheduler to be called inside kbd_peek. $WIZ$ type = "boolean" +#define CONFIG_KBD_SCHED 0 + +#endif /* CFG_KBD_H */ +