summaryrefslogtreecommitdiffstats
path: root/keyboards/planck/keymaps/oeywil/config.h
diff options
context:
space:
mode:
authorØyvind Wilhelmsen <46304257+oeywil@users.noreply.github.com>2019-04-17 20:07:19 +0200
committerDrashna Jaelre <drashna@live.com>2019-04-17 20:07:19 +0200
commitf05927a2f0d688f8c4e9496ba995c454511b1a97 (patch)
tree5a8a3248183cd8c4313f377881d89e0af26b687b /keyboards/planck/keymaps/oeywil/config.h
parent4cd3afc7e95f8ae58b13be544310c44e1dd5a775 (diff)
downloadqmk_firmware-f05927a2f0d688f8c4e9496ba995c454511b1a97.tar.gz
qmk_firmware-f05927a2f0d688f8c4e9496ba995c454511b1a97.tar.xz
[Keymap] Update to oeywil's keymap (#5614)
* Switched to grid, added leader key and space cadet shift * renamed layer, removed sound * fixed comment * added comment * Added tap dance * Added comments * removed useless sound * removed useless comments * removed useless cases * changed to register_code16 function * renamed variables * fixed typo * fixed indentation
Diffstat (limited to 'keyboards/planck/keymaps/oeywil/config.h')
-rw-r--r--keyboards/planck/keymaps/oeywil/config.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/keyboards/planck/keymaps/oeywil/config.h b/keyboards/planck/keymaps/oeywil/config.h
index 215ea9f75..09b22e193 100644
--- a/keyboards/planck/keymaps/oeywil/config.h
+++ b/keyboards/planck/keymaps/oeywil/config.h
@@ -1,7 +1,4 @@
-#ifndef CONFIG_USER_H
-#define CONFIG_USER_H
-
-#include "config_common.h"
+#pragma once
#ifdef AUDIO_ENABLE
#define STARTUP_SONG SONG(PLANCK_SOUND)
@@ -32,7 +29,9 @@
/* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
//#define MIDI_TONE_KEYCODE_OCTAVES 2
-// Most tactile encoders have detents every 4 stages
-#define ENCODER_RESOLUTION 4
+// Leader Key
+#define LEADER_TIMEOUT 250
+#define LEADER_PER_KEY_TIMING
-#endif
+// Tap dance
+#define TAPPING_TERM 200