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