forked from mirrors/qmk_userspace
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>
This commit is contained in:
parent
812001de7f
commit
ec2414c074
4 changed files with 25 additions and 14 deletions
|
@ -598,10 +598,10 @@ enum quantum_keycodes {
|
|||
QK_MAKE,
|
||||
QK_REBOOT,
|
||||
|
||||
SECURE_LOCK,
|
||||
SECURE_UNLOCK,
|
||||
SECURE_TOGGLE,
|
||||
SECURE_REQUEST,
|
||||
QK_SECURE_LOCK,
|
||||
QK_SECURE_UNLOCK,
|
||||
QK_SECURE_TOGGLE,
|
||||
QK_SECURE_REQUEST,
|
||||
|
||||
QK_CAPS_WORD_TOGGLE,
|
||||
|
||||
|
@ -857,6 +857,12 @@ enum quantum_keycodes {
|
|||
#define KO_ON QK_KEY_OVERRIDE_ON
|
||||
#define KO_OFF QK_KEY_OVERRIDE_OFF
|
||||
|
||||
// Secure
|
||||
#define SE_LOCK QK_SECURE_LOCK
|
||||
#define SE_UNLK QK_SECURE_UNLOCK
|
||||
#define SE_TOGG QK_SECURE_TOGGLE
|
||||
#define SE_REQ QK_SECURE_REQUEST
|
||||
|
||||
// Swap Hands
|
||||
#define SH_T(kc) (QK_SWAP_HANDS | (kc))
|
||||
#define SH_TG (QK_SWAP_HANDS | OP_SH_TOGGLE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue