summaryrefslogtreecommitdiffstats
path: root/keyboards
diff options
context:
space:
mode:
authornoroadsleft <18669334+noroadsleft@users.noreply.github.com>2018-12-10 06:43:24 +0100
committerDrashna Jaelre <drashna@live.com>2018-12-10 06:43:24 +0100
commit753f57ee0003c9adde5446e813e3a347d4b15a2a (patch)
tree379859e43edd536f71e4b9b2e381f54fc0c322cc /keyboards
parentfd3b0787ed4fc8d58158fa8c7136bc1d3b48ab16 (diff)
downloadqmk_firmware-753f57ee0003c9adde5446e813e3a347d4b15a2a.tar.gz
qmk_firmware-753f57ee0003c9adde5446e813e3a347d4b15a2a.tar.xz
handwired/nicekey Refactor and readme cleanup (#4588)
* handwired/nicekey: refactor Now uses a layout macro. * handwired/nicekey: readme cleanup - linked maintainer's GitHub account - updated Docs links
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/handwired/nicekey/keymaps/default/keymap.c2
-rw-r--r--keyboards/handwired/nicekey/nicekey.h13
-rw-r--r--keyboards/handwired/nicekey/readme.md4
3 files changed, 15 insertions, 4 deletions
diff --git a/keyboards/handwired/nicekey/keymaps/default/keymap.c b/keyboards/handwired/nicekey/keymaps/default/keymap.c
index 573237715..139ea6a3b 100644
--- a/keyboards/handwired/nicekey/keymaps/default/keymap.c
+++ b/keyboards/handwired/nicekey/keymaps/default/keymap.c
@@ -71,5 +71,5 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
};
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- {{ RANDOM_STRING_MACRO }}
+ LAYOUT( RANDOM_STRING_MACRO )
};
diff --git a/keyboards/handwired/nicekey/nicekey.h b/keyboards/handwired/nicekey/nicekey.h
index 7a4a4835e..ee5bcfd6b 100644
--- a/keyboards/handwired/nicekey/nicekey.h
+++ b/keyboards/handwired/nicekey/nicekey.h
@@ -1 +1,12 @@
-#include "quantum.h" \ No newline at end of file
+#ifndef NICEKEY_H
+#define NICEKEY_H
+
+#include "quantum.h"
+
+#define LAYOUT( \
+ k00 \
+ ) { \
+ { k00 } \
+}
+
+#endif
diff --git a/keyboards/handwired/nicekey/readme.md b/keyboards/handwired/nicekey/readme.md
index a867e907e..e108b38dd 100644
--- a/keyboards/handwired/nicekey/readme.md
+++ b/keyboards/handwired/nicekey/readme.md
@@ -5,7 +5,7 @@
Custom handwired nicekey, a one key keyboard that writes random compliments.
-Keyboard Maintainer: spydon
+Keyboard Maintainer: [spydon](https://github.com/spydon)
Hardware Supported: Custom handwired one key
Hardware Availability:
@@ -15,4 +15,4 @@ Make example for this keyboard (after setting up your build environment):
make handwired/nicekey:default
-See [build environment setup](https://docs.qmk.fm/build_environment_setup.html) then the [make instructions](https://docs.qmk.fm/make_instructions.html) for more information.
+See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).