36d3902504
* Update MODERN_DOLCH_RED color * Remove unused RAL_LAL tap dance * Disable Space Cadet on all boards * Rework SEND_STRING_CLEAN into CLEAN_MODS, fix DST_P_R/DST_N_A * Disable unnecessary underglow animations * Rearrange feature flags in rules.mk files * Change custom colors from structs to defines * Add some explicit initializers * Add MODERN_DOLCH_CYAN color * Add IS_LAYER_ON_STATE()/IS_LAYER_OFF_STATE() macros * Add led_set_keymap() template function * Change underglow color based on Caps/Fn state * Preserve val when changing underglow colors * Only trigger Fn light for Fn layer * Refactor fn_light() and caps_light() slightly * Add comments to fn_light() and caps_light()
28 lines
392 B
C
28 lines
392 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)
|
|
|
|
#define LSFT_FN TD(TD_LSFT_FN)
|
|
#define RCTL_FN TD(TD_RCTL_FN)
|
|
|
|
#define FN_RCTL TD(TD_FN_RCTL)
|
|
|
|
enum tap_dance {
|
|
TD_DST_A_R,
|
|
|
|
TD_RAL_RGU,
|
|
TD_RCT_RSF,
|
|
TD_RSF_RCT,
|
|
|
|
TD_LSFT_FN,
|
|
TD_RCTL_FN,
|
|
|
|
TD_FN_RCTL,
|
|
};
|