diff options
author | Ismael Venegas Castelló <ismael.vc1337@gmail.com> | 2018-12-19 18:49:56 -0600 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-12-19 16:49:56 -0800 |
commit | 5eb8f3f6b51cecc067aaedfb8b2f08cb626381bb (patch) | |
tree | b9e1b89d43ec3be60d03daa052556f90a7190dd6 /keyboards/ergodox_ez/keymaps/hacker_dvorak/leader/leader_setup.c | |
parent | b13162f7fd5a4c09dff15ff6f9713526622925a7 (diff) | |
download | firmware-5eb8f3f6b51cecc067aaedfb8b2f08cb626381bb.tar.gz firmware-5eb8f3f6b51cecc067aaedfb8b2f08cb626381bb.tar.bz2 firmware-5eb8f3f6b51cecc067aaedfb8b2f08cb626381bb.zip |
Keymap: Refactor Hacker Dvorak (#4688)
Programmer Dvorak based layout for the Ergodox EZ.
Diffstat (limited to 'keyboards/ergodox_ez/keymaps/hacker_dvorak/leader/leader_setup.c')
-rw-r--r-- | keyboards/ergodox_ez/keymaps/hacker_dvorak/leader/leader_setup.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/keyboards/ergodox_ez/keymaps/hacker_dvorak/leader/leader_setup.c b/keyboards/ergodox_ez/keymaps/hacker_dvorak/leader/leader_setup.c new file mode 100644 index 000000000..1e89c4bfc --- /dev/null +++ b/keyboards/ergodox_ez/keymaps/hacker_dvorak/leader/leader_setup.c @@ -0,0 +1,14 @@ +LEADER_EXTERNS(); + +void qk_leader_start(void) { + if (!leading) { + leading = true; + leader_time = timer_read(); + leader_sequence_size = 0; + leader_sequence[0] = 0; + leader_sequence[1] = 0; + leader_sequence[2] = 0; + leader_sequence[3] = 0; + leader_sequence[4] = 0; + } +} |