From 01653a5f9611473045c48ee3fd2bf0e87bb1aed1 Mon Sep 17 00:00:00 2001 From: Yan-Fa Li Date: Mon, 9 Dec 2019 13:31:51 -0800 Subject: [PATCH] [Keymap] ergotravel updates (#7588) * Update rules.mk so it compiles again * Updates * Update keyboards/ergotravel/keymaps/yanfali/rules.mk * Update keyboards/ergotravel/keymaps/yanfali/rules.mk * Update keyboards/ergotravel/keymaps/yanfali/rules.mk --- keyboards/ergotravel/keymaps/yanfali/config.h | 2 +- keyboards/ergotravel/keymaps/yanfali/rules.mk | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) 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 . #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