summaryrefslogtreecommitdiff
path: root/tmk_core/common/bootmagic.c
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core/common/bootmagic.c')
-rw-r--r--tmk_core/common/bootmagic.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/tmk_core/common/bootmagic.c b/tmk_core/common/bootmagic.c
index 2c6bcbae56..9f79fb8eed 100644
--- a/tmk_core/common/bootmagic.c
+++ b/tmk_core/common/bootmagic.c
@@ -12,6 +12,10 @@
keymap_config_t keymap_config;
+/** \brief Bootmagic
+ *
+ * FIXME: needs doc
+ */
void bootmagic(void)
{
/* check signature */
@@ -102,6 +106,10 @@ void bootmagic(void)
}
}
+/** \brief Scan Keycode
+ *
+ * FIXME: needs doc
+ */
static bool scan_keycode(uint8_t keycode)
{
for (uint8_t r = 0; r < MATRIX_ROWS; r++) {
@@ -117,9 +125,13 @@ static bool scan_keycode(uint8_t keycode)
return false;
}
+/** \brief Bootmagic Scan Keycode
+ *
+ * FIXME: needs doc
+ */
bool bootmagic_scan_keycode(uint8_t keycode)
{
if (!scan_keycode(BOOTMAGIC_KEY_SALT)) return false;
return scan_keycode(keycode);
-} \ No newline at end of file
+}