summaryrefslogtreecommitdiffstats
path: root/keyboards/planck/keymaps/narze/config.h
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/config.h
parent6ca29f2b9b02763aa3de607e8d08f14d5284918f (diff)
[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/config.h')
-rw-r--r--keyboards/planck/keymaps/narze/config.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/keyboards/planck/keymaps/narze/config.h b/keyboards/planck/keymaps/narze/config.h
index 19d784b2be..9c5876a13c 100644
--- a/keyboards/planck/keymaps/narze/config.h
+++ b/keyboards/planck/keymaps/narze/config.h
@@ -1,7 +1,4 @@
-#ifndef CONFIG_USER_H
-#define CONFIG_USER_H
-
-#include "../../config.h"
+#pragma once
/*
* MIDI options
@@ -26,7 +23,8 @@
/* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
//#define MIDI_TONE_KEYCODE_OCTAVES 2
-#define TAPPING_TERM 200
+#undef TAPPING_TERM
+#define TAPPING_TERM 100
#define COMBO_TERM 20
#define COMBO_COUNT 1
@@ -38,4 +36,11 @@
#define MOUSEKEY_DELAY 100
+#ifdef AUDIO_ENABLE
+ #define STARTUP_SONG SONG(PLANCK_SOUND)
+
+ #define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \
+ SONG(COLEMAK_SOUND), \
+ SONG(DVORAK_SOUND) \
+ }
#endif