diff options
author | Konstantin Đorđević <vomindoraan@gmail.com> | 2019-01-14 18:09:47 +0100 |
---|---|---|
committer | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2019-01-14 09:09:47 -0800 |
commit | 9105bf2434c54c40362173e1734a24485cfbe702 (patch) | |
tree | 5a31a50767ad464b5d3d75341f6f0d9686a116f4 /users/konstantin/tap_dance.h | |
parent | ee96b7a89dd2de78b9372d3b8ce899757e3190c4 (diff) |
Add personal userspace, update keymaps (#4845)
* Add kbd6x:konstantin keymap
* Prevent tap dance from sending LShift as a weak mod in KBD6X
* Move config.h and rules.mk definitions into userspace
* Add UC_WIN to UNICODE_SELECTED_MODES
* Temporarily use Bootmagic until Command is fixed
* Move common behavior from keyboards into userspace
* Update kbd6x:konstantin keymap and userspace
* Make a RCTRL layer in kbd6x:konstantin
* Make KC_ESC turn off layers
* KC_ESC turns L_FN off only if it was locked on
* Add missing record->event.pressed checks
* Move numpad toggling logic into function
* Disable Bootmagic, enable KEYBOARD_SHARED_EP with Command
Diffstat (limited to 'users/konstantin/tap_dance.h')
-rw-r--r-- | users/konstantin/tap_dance.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/users/konstantin/tap_dance.h b/users/konstantin/tap_dance.h new file mode 100644 index 0000000000..922a635141 --- /dev/null +++ b/users/konstantin/tap_dance.h @@ -0,0 +1,25 @@ +#pragma once + +#include "quantum.h" + +#define DESKTOP TD(TD_DESKTOP) +#define DSKTP_L LCTL(LGUI(KC_LEFT)) +#define DSKTP_R LCTL(LGUI(KC_RGHT)) + +#define RAL_LAL TD(TD_RAL_LAL) +#define RAL_RGU TD(TD_RAL_RGU) +#define RCT_RSF TD(TD_RCT_RSF) + +#define FN_RCTL TD(TD_FN_RCTL) +#define LSFT_FN TD(TD_LSFT_FN) + +enum tap_dance { + TD_DESKTOP, + + TD_RAL_LAL, + TD_RAL_RGU, + TD_RCT_RSF, + + TD_FN_RCTL, + TD_LSFT_FN, +}; |