X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Farduino-mega%2Ftemplates%2Farduino-mega_kernel%2Fcfg%2Fcfg_kbd.h;fp=boards%2Farduino-mega%2Ftemplates%2Farduino-mega_kernel%2Fcfg%2Fcfg_kbd.h;h=116f3318809fd10782502c1fd97e4b713c56d4ec;hb=916115afea98a1f0b520ee72be7892261a24e9ff;hp=0000000000000000000000000000000000000000;hpb=e7d41c27f27e04808b1856e563ee852af1e5b856;p=bertos.git diff --git a/boards/arduino-mega/templates/arduino-mega_kernel/cfg/cfg_kbd.h b/boards/arduino-mega/templates/arduino-mega_kernel/cfg/cfg_kbd.h new file mode 100644 index 00000000..116f3318 --- /dev/null +++ b/boards/arduino-mega/templates/arduino-mega_kernel/cfg/cfg_kbd.h @@ -0,0 +1,59 @@ +/** + * \file + * + * + * \brief Configuration file for keyboard module. + * + * \version $Id$ + * + * \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 */ +