#include "keyboard.h"
#include "led.h"
+#include "action.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
/* -------------------------------------
* Protocol hooks
* the "normal" indicator LED status by default. */
void hook_usb_wakeup(void);
+/* Called repeatedly until getting to CONFIGURED state */
+/* Default behaviour: do nothing. */
+void hook_usb_startup_wait_loop(void);
+
/* -------------------------------------
* Keyboard hooks
/* Default behaviour: do nothing. */
void hook_bootmagic(void);
+/* Called on before processing key event */
+/* returns true if the event is consumed and default action is not needed. */
+bool hook_process_action(keyrecord_t *record);
+
+#ifdef __cplusplus
+}
+#endif
#endif /* _HOOKS_H_ */