Skip to content

Commit

Permalink
handwired/nicekey Refactor and readme cleanup (qmk#4588)
Browse files Browse the repository at this point in the history
* handwired/nicekey: refactor

Now uses a layout macro.

* handwired/nicekey: readme cleanup

- linked maintainer's GitHub account
- updated Docs links
  • Loading branch information
noroadsleft authored and ishtob committed Jan 1, 2019
1 parent af61b9d commit e3380d3
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
2 changes: 1 addition & 1 deletion keyboards/handwired/nicekey/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
};
13 changes: 12 additions & 1 deletion keyboards/handwired/nicekey/nicekey.h
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
#include "quantum.h"
#ifndef NICEKEY_H
#define NICEKEY_H

#include "quantum.h"

#define LAYOUT( \
k00 \
) { \
{ k00 } \
}

#endif
4 changes: 2 additions & 2 deletions keyboards/handwired/nicekey/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -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).

0 comments on commit e3380d3

Please sign in to comment.