summaryrefslogtreecommitdiffstats
path: root/keyboards/jd45/keymaps/blakedietz/config.h
diff options
context:
space:
mode:
authornoroadsleft <xxiinophobia@yahoo.com>2018-10-26 08:38:45 +0200
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2018-10-26 16:03:46 +0200
commit899731679d262023a9e25eba805b3674b1ceb82e (patch)
treeccd0184936eebf8dae982dcab2d81f85ab9ce223 /keyboards/jd45/keymaps/blakedietz/config.h
parent39addf8bc99e6282e655298c2c24da07a5ef77f8 (diff)
downloadqmk_firmware-899731679d262023a9e25eba805b3674b1ceb82e.tar.gz
qmk_firmware-899731679d262023a9e25eba805b3674b1ceb82e.tar.xz
JD45: blakedietz keymap refactor
- config.h - updated to more-preferred format - layout macro LAYOUT_JD45 removed (identical to new macro LAYOUT) - keymap.c - updated to use macro LAYOUT - redundant KC_TRNS and KC_NO definitions removed
Diffstat (limited to 'keyboards/jd45/keymaps/blakedietz/config.h')
-rw-r--r--keyboards/jd45/keymaps/blakedietz/config.h19
1 files changed, 2 insertions, 17 deletions
diff --git a/keyboards/jd45/keymaps/blakedietz/config.h b/keyboards/jd45/keymaps/blakedietz/config.h
index 38d850ef6..eb4cf3bdf 100644
--- a/keyboards/jd45/keymaps/blakedietz/config.h
+++ b/keyboards/jd45/keymaps/blakedietz/config.h
@@ -1,19 +1,4 @@
-#include "../../config.h"
-
-/**
- *JD45 keymap definition macro
- */
-#define LAYOUT_JD45( \
- K01, K02, K03, K04, K05, K06, K07, K08, K09, K10, K11, K12, K13, \
- K14, K15, K16, K17, K18, K19, K20, K21, K22, K23, K24, K25, \
- K26, K27, K28, K29, K30, K31, K32, K33, K34, K35, K36, K37, \
- K38, K39, K40, K41, K42, K43, K44, K45, K46, K47 \
-) { \
- { K01, K02, K03, K04, K05, K06, K07, K08, K09, K10, K11, K12, K13 }, \
- { K14, K15, K16, K17, K18, K19, K20, K21, K22, K23, K24, K25, KC_NO }, \
- { K26, K27, K28, K29, K30, K31, K32, K33, K34, K35, K36, K37, KC_NO }, \
- { K38, K39, K40, K41, K42, KC_NO, K43, KC_NO, K44, K45, K46, K47, KC_NO } \
-}
+#pragma once
/**
* This makes it possible to do rolling combos (zx) with keys that convert to other keys on hold (z becomes ctrl when
@@ -28,4 +13,4 @@
#define MOUSEKEY_DELAY 0
#define MOUSEKEY_TIME_TO_MAX 5
#define MOUSEKEY_MAX_SPEED 2
-#define MOUSEKEY_WHEEL_DELAY 0 \ No newline at end of file
+#define MOUSEKEY_WHEEL_DELAY 0