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
This commit is contained in:
parent
ee96b7a89d
commit
9105bf2434
13 changed files with 400 additions and 169 deletions
25
users/konstantin/tap_dance.h
Normal file
25
users/konstantin/tap_dance.h
Normal file
|
@ -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,
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue