summaryrefslogtreecommitdiff
path: root/quantum/process_keycode/process_secure.h
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/process_keycode/process_secure.h')
-rw-r--r--quantum/process_keycode/process_secure.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/quantum/process_keycode/process_secure.h b/quantum/process_keycode/process_secure.h
new file mode 100644
index 0000000000..2814264b92
--- /dev/null
+++ b/quantum/process_keycode/process_secure.h
@@ -0,0 +1,15 @@
+// Copyright 2022 QMK
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include <stdbool.h>
+#include "action.h"
+
+/** \brief Intercept keycodes and detect unlock sequences
+ */
+bool preprocess_secure(uint16_t keycode, keyrecord_t *record);
+
+/** \brief Handle any secure specific keycodes
+ */
+bool process_secure(uint16_t keycode, keyrecord_t *record);