summaryrefslogtreecommitdiff
path: root/keyboards/ergotravel/keymaps
diff options
context:
space:
mode:
authorYan-Fa Li <yanfali@gmail.com>2019-12-09 13:31:51 -0800
committerJames Young <18669334+noroadsleft@users.noreply.github.com>2019-12-09 13:31:51 -0800
commit01653a5f9611473045c48ee3fd2bf0e87bb1aed1 (patch)
tree1dc92dba96815f9e6e13f91cc903e6139009fca4 /keyboards/ergotravel/keymaps
parent5acb7e37072d924cf38c8f43ec89aa9b8e2e8541 (diff)
[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
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