aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/crkbd/keymaps/rpbaptist/rules.mk
diff options
context:
space:
mode:
authorGravatar Richard Baptist <rpbaptist@users.noreply.github.com>2020-03-10 07:40:27 +0100
committerGravatar GitHub <noreply@github.com>2020-03-09 23:40:27 -0700
commita4fd5e2491aa7213d15ef2ff3615b8eb75660e93 (patch)
tree1da00bb7b00f8e9df612ac87aac48b44caaa3751 /keyboards/crkbd/keymaps/rpbaptist/rules.mk
parent5e3951b361e6d173b705bd3b2b6df0c543258d98 (diff)
downloadqmk_firmware-a4fd5e2491aa7213d15ef2ff3615b8eb75660e93.tar.gz
[Keymap] Update personal keymap (#8354)
Diffstat (limited to 'keyboards/crkbd/keymaps/rpbaptist/rules.mk')
-rw-r--r--keyboards/crkbd/keymaps/rpbaptist/rules.mk29
1 files changed, 19 insertions, 10 deletions
diff --git a/keyboards/crkbd/keymaps/rpbaptist/rules.mk b/keyboards/crkbd/keymaps/rpbaptist/rules.mk
index 0eed4f997..d9e8b701e 100644
--- a/keyboards/crkbd/keymaps/rpbaptist/rules.mk
+++ b/keyboards/crkbd/keymaps/rpbaptist/rules.mk
@@ -1,15 +1,16 @@
-# This enables Link Time Optimization. This can save a good chunk of space (several KB for me), but the macro and function ... functions cause it to error out.
+#This enables Link Time Optimization.This can save a good chunk of space(several KB for me), but the macro and function... functions cause it to error out.
LINK_TIME_OPTIMIZATION_ENABLE = yes
-# Build Options
-# change to "no" to disable the options, or define them in the Makefile in
-# the appropriate keymap folder that will get included automatically
+#Build Options
+#change to "no" to disable the options, or define them in the Makefile in
+#the appropriate keymap folder that will get included automatically
#
-MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
+# DYNAMIC_MACRO_ENABLE = yes
-RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
+MOUSEKEY_ENABLE = no # Mouse keys(+4700)
+RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
CONSOLE_ENABLE = no # Console for debug(+400)
COMMAND_ENABLE = no # Commands for debug and configuration
@@ -22,13 +23,21 @@ SWAP_HANDS_ENABLE = no # Enable one-hand typing
RGB_MATRIX_ENABLE = WS2812
-# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
+#Do not enable SLEEP_LED_ENABLE.it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
BOOTLOADER = qmk-dfu
OLED_DRIVER_ENABLE = yes
-# ifneq ($(strip $(OLED_DRIVER_ENABLE)), yes)
-# RGB_MATRIX_SPLIT_RIGHT=yes
-# endif
+ifeq ($(strip $(THEME)), godspeed)
+ OPT_DEFS += -DTHEME_GODSPEED
+endif
+
+ifeq ($(strip $(THEME)), pulse)
+ OPT_DEFS += -DTHEME_PULSE
+endif
+
+ifeq ($(strip $(THEME)), laser)
+ OPT_DEFS += -DTHEME_LASER
+endif