forked from forks/qmk_firmware
9105bf2434
* 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
26 lines
403 B
C
26 lines
403 B
C
#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,
|
|
};
|