summaryrefslogtreecommitdiff
path: root/keyboards/ergotravel/keymaps
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ergotravel/keymaps')
-rw-r--r--keyboards/ergotravel/keymaps/yanfali/config.h2
-rw-r--r--keyboards/ergotravel/keymaps/yanfali/rules.mk6
2 files changed, 7 insertions, 1 deletions
diff --git a/keyboards/ergotravel/keymaps/yanfali/config.h b/keyboards/ergotravel/keymaps/yanfali/config.h
index eeca26ce1d..072554991f 100644
--- a/keyboards/ergotravel/keymaps/yanfali/config.h
+++ b/keyboards/ergotravel/keymaps/yanfali/config.h
@@ -35,4 +35,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
-
+#define IS_COMMAND() (get_mods() == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_LGUI)))
diff --git a/keyboards/ergotravel/keymaps/yanfali/rules.mk b/keyboards/ergotravel/keymaps/yanfali/rules.mk
index 0613ea8667..2964d73ab8 100644
--- a/keyboards/ergotravel/keymaps/yanfali/rules.mk
+++ b/keyboards/ergotravel/keymaps/yanfali/rules.mk
@@ -1 +1,7 @@
BOOTLOADER = qmk-dfu
+
+BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
+CONSOLE_ENABLE = yes # Console for debug
+COMMAND_ENABLE = yes # Commands for debug and configuration
+RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
+LTO_ENABLE = yes