mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-25 18:06:34 +06:00
d633cf3ccb
* Enable Fn layer tap dances only if LAYER_FN is defined * Update KBD6X keymap spacing to match LAYOUT spacing * Add regular FNLK to userspace, update keymap comment labels * Rename KC_BRK → BREAK, KC_SYSR → SYSRQ in userspace * Change mousekey positions in KBD6X * Disable Console in KBD6X to reduce firmware size * Return false in process_record_* only when overriding existing keys * Fix Caps light not working after LSFT_FN * Refactor Fn/Caps light, fix sequencing issues
30 lines
448 B
C
30 lines
448 B
C
#pragma once
|
|
|
|
#include "quantum.h"
|
|
|
|
#define DST_A_R TD(TD_DST_A_R)
|
|
|
|
#define RAL_RGU TD(TD_RAL_RGU)
|
|
#define RCT_RSF TD(TD_RCT_RSF)
|
|
#define RSF_RCT TD(TD_RSF_RCT)
|
|
|
|
#ifdef LAYER_FN
|
|
#define LSFT_FN TD(TD_LSFT_FN)
|
|
#define RCTL_FN TD(TD_RCTL_FN)
|
|
#define FN_RCTL TD(TD_FN_RCTL)
|
|
#endif
|
|
|
|
enum tap_dance {
|
|
TD_DST_A_R,
|
|
|
|
TD_RAL_RGU,
|
|
TD_RCT_RSF,
|
|
TD_RSF_RCT,
|
|
|
|
#ifdef LAYER_FN
|
|
TD_LSFT_FN,
|
|
TD_RCTL_FN,
|
|
TD_FN_RCTL,
|
|
#endif
|
|
};
|