Leader key implementation (#326)
* implements leader key for planck experimental * allows override of leader timeout * adds ability to use the leader key in seq * fixes leader keycode * adds chording prototype * fixes keycode detection * moves music mode to quantum.c * disables chording by default * updates process_action functions to return bool
This commit is contained in:
parent
79d26f331a
commit
1a8c0dd22d
20 changed files with 290 additions and 64 deletions
|
@ -159,7 +159,7 @@ extern const uint16_t fn_actions[];
|
|||
#define S(kc) LSFT(kc)
|
||||
#define F(kc) FUNC(kc)
|
||||
|
||||
#define M(kc) kc | 0x3000
|
||||
#define M(kc) (kc | 0x3000)
|
||||
|
||||
#define MACRODOWN(...) (record->event.pressed ? MACRO(__VA_ARGS__) : MACRO_NONE)
|
||||
|
||||
|
@ -191,6 +191,8 @@ extern const uint16_t fn_actions[];
|
|||
|
||||
#define RESET 0x5000
|
||||
#define DEBUG 0x5001
|
||||
#define KC_LEAD 0x5014
|
||||
|
||||
|
||||
// MAGIC keycodes
|
||||
#define MAGIC_SWAP_CONTROL_CAPSLOCK 0x5002
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue