From 9105bf2434c54c40362173e1734a24485cfbe702 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20=C4=90or=C4=91evi=C4=87?= Date: Mon, 14 Jan 2019 18:09:47 +0100 Subject: 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 --- users/konstantin/tap_dance.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 users/konstantin/tap_dance.h (limited to 'users/konstantin/tap_dance.h') 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, +}; -- cgit v1.2.3