summaryrefslogtreecommitdiff
path: root/keyboards/crawlpad/crawlpad.h
diff options
context:
space:
mode:
authornoroadsleft <18669334+noroadsleft@users.noreply.github.com>2019-01-16 09:08:12 -0800
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-01-16 09:08:12 -0800
commit6630e4bb4156ec41f2a255dea4937f578cc62e06 (patch)
tree635d5b93b231da6ec38188e0b68dd533709e4cce /keyboards/crawlpad/crawlpad.h
parent57fbf072f145bcf560c812a7976ba0f4f702f946 (diff)
downloadqmk_firmware-6630e4bb4156ec41f2a255dea4937f578cc62e06.tar.gz
qmk_firmware-6630e4bb4156ec41f2a255dea4937f578cc62e06.zip
Crawlpad refactor (#4854)
* Crawlpad: delete kbfirmware JSON file * Crawlpad: refactor - config.h and crawlpad.h updated to use #pragma once method - layout macro renamed from KEYMAP to LAYOUT_ortho_4x4 - default keymap now uses #include QMK_KEYBOARD_H - deleted deprecated action_get_macro function - cleanup rules.mk file - add LAYOUTS = ortho_4x4 to rules.mk * Crawlpad: Configurator support * Crawlpad: readme update - update image link to direct link - fully update Docs link line - delete reference to deleted kbfirmware JSON file
Diffstat (limited to 'keyboards/crawlpad/crawlpad.h')
-rwxr-xr-xkeyboards/crawlpad/crawlpad.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/keyboards/crawlpad/crawlpad.h b/keyboards/crawlpad/crawlpad.h
index 74416c6b1a..572907c256 100755
--- a/keyboards/crawlpad/crawlpad.h
+++ b/keyboards/crawlpad/crawlpad.h
@@ -1,9 +1,8 @@
-#ifndef KB_H
-#define KB_H
+#pragma once
#include "quantum.h"
-#define KEYMAP( \
+#define LAYOUT_ortho_4x4( \
K00, K01, K02, K03, \
K10, K11, K12, K13, \
K20, K21, K22, K23, \
@@ -15,4 +14,3 @@
{ K30, K31, K32, K33 } \
}
-#endif \ No newline at end of file