summaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/narze/rules.mk
diff options
context:
space:
mode:
authorManassarn Manoonchai <manassarn@gmail.com>2019-09-07 22:06:30 +0700
committerDrashna Jaelre <drashna@live.com>2019-09-07 08:06:30 -0700
commitc21281c593d2eb9ef87053ef1d04d0b7d41be726 (patch)
tree22e7d04bd9f27e4bc481cf89791a0cf0ee4ef175 /keyboards/planck/keymaps/narze/rules.mk
parent6ca29f2b9b02763aa3de607e8d08f14d5284918f (diff)
downloadqmk_firmware-c21281c593d2eb9ef87053ef1d04d0b7d41be726.tar.gz
qmk_firmware-c21281c593d2eb9ef87053ef1d04d0b7d41be726.zip
[Keymap] Add narze userspace (#6652)
* Refactor & reimplement mod tap macros * Reduce tapping term * Update readme * Add narze userspace * Make use of narze userspace * Extract Superduper mode * Refactor Superduper mode * (Ergodox Infinity) Prevent stuck modifiers * Update ergodox_infinity/narze likewise * Add warning for building Infinity with docker * Fix include eeprom.h in superduper * Try enabling superduper mode with combo for ergodox infinity * Apply suggestions on #4546 * Convert to 4 spaces * Map backlight step key * Replace PLAY_NOTE_ARRAY * Fix superduper toggle * Re enable audio in planck rev4 * Use perform_space_cadet * Remove superduper mod tap triggers * Add readme for planck light firmware flashing command * Remove unused layers * Remove unused keycodes * Add backlight toggle * Remove unused songs & use DEFAULT_LAYER_SONGS * Update readme * Move includes to header file
Diffstat (limited to 'keyboards/planck/keymaps/narze/rules.mk')
-rw-r--r--keyboards/planck/keymaps/narze/rules.mk20
1 files changed, 11 insertions, 9 deletions
diff --git a/keyboards/planck/keymaps/narze/rules.mk b/keyboards/planck/keymaps/narze/rules.mk
index 286a2ffdc1..9b56dc18f9 100644
--- a/keyboards/planck/keymaps/narze/rules.mk
+++ b/keyboards/planck/keymaps/narze/rules.mk
@@ -1,23 +1,25 @@
-# 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
-#
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
-MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
CONSOLE_ENABLE = no # Console for debug(+400)
COMMAND_ENABLE = yes # Commands for debug and configuration
-NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
+NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-MIDI_ENABLE = no # MIDI controls
-AUDIO_ENABLE = no # Audio output on port C6
UNICODE_ENABLE = no # Unicode
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
-RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
+RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
+AUDIO_ENABLE = yes
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
COMBO_ENABLE = yes
+
+ifeq ($(strip $(KEYBOARD)), planck/rev4)
+ MOUSEKEY_ENABLE = no # Mouse keys(+4700)
+ MIDI_ENABLE = no
+else
+ MOUSEKEY_ENABLE = yes
+ MIDI_ENABLE = yes
+endif