Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handwired/onekey Refactor and readme update #4590

Merged
merged 2 commits into from
Dec 10, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions keyboards/handwired/onekey/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "onekey.h"
#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
{{ KC_A }}
LAYOUT( KC_A )
};
13 changes: 12 additions & 1 deletion keyboards/handwired/onekey/onekey.h
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
#include "quantum.h"
#ifndef ONEKEY_H
#define ONEKEY_H

#include "quantum.h"

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

#endif
2 changes: 1 addition & 1 deletion keyboards/handwired/onekey/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ Make example for this keyboard (after setting up your build environment):

make handwired/onekey: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).