mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-29 22:45:51 +00:00
Remove FUNC()
(#12161)
This commit is contained in:
parent
bb01ea3809
commit
2e24cfadb7
@ -680,16 +680,13 @@ enum quantum_keycodes {
|
|||||||
|
|
||||||
#define KC_DELT KC_DELETE // Del key (four letter code)
|
#define KC_DELT KC_DELETE // Del key (four letter code)
|
||||||
|
|
||||||
// Alias for function layers than expand past FN31
|
|
||||||
#define FUNC(kc) (QK_FUNCTION | (kc))
|
|
||||||
|
|
||||||
// Aliases
|
// Aliases
|
||||||
#define C(kc) LCTL(kc)
|
#define C(kc) LCTL(kc)
|
||||||
#define S(kc) LSFT(kc)
|
#define S(kc) LSFT(kc)
|
||||||
#define A(kc) LALT(kc)
|
#define A(kc) LALT(kc)
|
||||||
#define G(kc) LGUI(kc)
|
#define G(kc) LGUI(kc)
|
||||||
|
|
||||||
#define F(kc) FUNC(kc)
|
#define F(kc) (QK_FUNCTION | (kc))
|
||||||
#define M(kc) (QK_MACRO | (kc))
|
#define M(kc) (QK_MACRO | (kc))
|
||||||
|
|
||||||
#define MACROTAP(kc) (QK_MACRO | (FUNC_TAP << 8) | (kc))
|
#define MACROTAP(kc) (QK_MACRO | (FUNC_TAP << 8) | (kc))
|
||||||
|
Loading…
Reference in New Issue
Block a user