From a4fd5e2491aa7213d15ef2ff3615b8eb75660e93 Mon Sep 17 00:00:00 2001 From: Richard Baptist Date: Tue, 10 Mar 2020 07:40:27 +0100 Subject: [Keymap] Update personal keymap (#8354) --- keyboards/crkbd/keymaps/rpbaptist/rules.mk | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) (limited to 'keyboards/crkbd/keymaps/rpbaptist/rules.mk') 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 -- cgit v1.2.3