diff options
author | QMK Bot <hello@qmk.fm> | 2022-03-26 00:37:32 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2022-03-26 00:37:32 +0000 |
commit | 7cec7b678036d105c9b97cb4e728fdcb986ccb57 (patch) | |
tree | 8c37dabe0acdaf74f879e4b04fbfc5c6f764d510 /keyboards/crkbd/keymaps/antosha417/mod_tap_keys.h | |
parent | 2957f60dc10d479d94508263d5741917051ed28d (diff) | |
parent | 53a88af0360c67677d3ffb9eac0d046a59baa141 (diff) |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/crkbd/keymaps/antosha417/mod_tap_keys.h')
-rw-r--r-- | keyboards/crkbd/keymaps/antosha417/mod_tap_keys.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/keyboards/crkbd/keymaps/antosha417/mod_tap_keys.h b/keyboards/crkbd/keymaps/antosha417/mod_tap_keys.h new file mode 100644 index 0000000000..0d7a86b691 --- /dev/null +++ b/keyboards/crkbd/keymaps/antosha417/mod_tap_keys.h @@ -0,0 +1,15 @@ +// Copyright 2021 Anton Kavalkou (@antosha417) +// SPDX-License-Identifier: GPL-2.0-or-later + +// MOD_TAP_KEY(key, tap_action, mod_on_action, mod_off_action) + +MOD_TAP_KEY(S_GUIQ, tap_code(KC_S), {layer_on(_DVORAK); register_code(KC_LGUI);}, {layer_off(_DVORAK); unregister_code(KC_LGUI);}) +MOD_TAP_KEY(L_GUIQ, tap_code(KC_L), {layer_on(_DVORAK); register_code(KC_RGUI);}, {layer_off(_DVORAK); unregister_code(KC_RGUI);}) + +MOD_TAP_KEY(F_CTLQ, tap_code(KC_F), {layer_on(_DVORAK); register_code(KC_LCTL);}, {layer_off(_DVORAK); unregister_code(KC_LCTL);}) +MOD_TAP_KEY(J_CTLQ, tap_code(KC_J), {layer_on(_DVORAK); register_code(KC_RCTL);}, {layer_off(_DVORAK); unregister_code(KC_RCTL);}) + +MOD_TAP_KEY(A_ALTQ, tap_code(KC_A), {layer_on(_DVORAK); register_code(KC_LALT);}, {layer_off(_DVORAK); unregister_code(KC_LALT);}) +MOD_TAP_KEY(SCLN_Q, tap_code(KC_SCLN), {layer_on(_DVORAK); register_code(KC_RALT);},{layer_off(_DVORAK); unregister_code(KC_RALT);}) + + |