summaryrefslogtreecommitdiffstats
path: root/quantum/quantum_keycodes_legacy.h
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2022-10-25 22:59:17 +0100
committerGitHub <noreply@github.com>2022-10-25 22:59:17 +0100
commitec2414c0742277488adf83d26451e07d0e0402de (patch)
tree62ea6f59395cc2a2c37b68707aaa452f08969846 /quantum/quantum_keycodes_legacy.h
parent812001de7fd0926f59fd399550f902ef4ec03ee6 (diff)
Deprecate `SECURE_*` keycodes for `QK_SECURE_*` (#18847)
* Deprecate SECURE_* keycodes for QK_SECURE_* * Update keycode process * Update process_secure.c * Apply suggestions from code review Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'quantum/quantum_keycodes_legacy.h')
-rw-r--r--quantum/quantum_keycodes_legacy.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/quantum/quantum_keycodes_legacy.h b/quantum/quantum_keycodes_legacy.h
index f53b8ef72a..652aaaa9a8 100644
--- a/quantum/quantum_keycodes_legacy.h
+++ b/quantum/quantum_keycodes_legacy.h
@@ -84,6 +84,11 @@
#define JS_BUTTON30 QK_JOYSTICK_BUTTON_30
#define JS_BUTTON31 QK_JOYSTICK_BUTTON_31
+#define SECURE_LOCK QK_SECURE_LOCK
+#define SECURE_UNLOCK QK_SECURE_UNLOCK
+#define SECURE_TOGGLE QK_SECURE_TOGGLE
+#define SECURE_REQUEST QK_SECURE_REQUEST
+
#define TERM_ON _Static_assert(false, "The Terminal feature has been removed from QMK. Please remove use of TERM_ON/TERM_OFF from your keymap.")
#define TERM_OFF _Static_assert(false, "The Terminal feature has been removed from QMK.. Please remove use of TERM_ON/TERM_OFF from your keymap.")
// #define RESET _Static_assert(false, "The RESET keycode has been removed from QMK.. Please remove use from your keymap.")