X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fsam3x-ek%2Fexamples%2Fsam3x-ek_sd_bootloader%2Fcfg%2Fcfg_kbd.h;fp=boards%2Fsam3x-ek%2Fexamples%2Fsam3x-ek_sd_bootloader%2Fcfg%2Fcfg_kbd.h;h=92aa272dfbea8777ffd0da54ab588cede79b6d41;hb=f6ba188a9210135158ae19075f8cd038aac4a6ad;hp=0000000000000000000000000000000000000000;hpb=930b5178f390b73b337ce9694fc3d8321a26e665;p=bertos.git diff --git a/boards/sam3x-ek/examples/sam3x-ek_sd_bootloader/cfg/cfg_kbd.h b/boards/sam3x-ek/examples/sam3x-ek_sd_bootloader/cfg/cfg_kbd.h new file mode 100644 index 00000000..92aa272d --- /dev/null +++ b/boards/sam3x-ek/examples/sam3x-ek_sd_bootloader/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 */ +