diff options
author | noroadsleft <18669334+noroadsleft@users.noreply.github.com> | 2018-12-10 09:22:50 -0800 |
---|---|---|
committer | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2018-12-10 09:22:50 -0800 |
commit | 090c30212e13b5c21d78f600425a28b4b7ff0e37 (patch) | |
tree | 3dfd3bf65be8857f0af7ccf9269371026bff3b10 /keyboards/handwired/onekey/keymaps/default/keymap.c | |
parent | 753f57ee0003c9adde5446e813e3a347d4b15a2a (diff) | |
download | firmware-090c30212e13b5c21d78f600425a28b4b7ff0e37.tar.gz firmware-090c30212e13b5c21d78f600425a28b4b7ff0e37.tar.bz2 firmware-090c30212e13b5c21d78f600425a28b4b7ff0e37.zip |
handwired/onekey Refactor and readme update (#4590)
* handwired/onekey: refactor
- keyboard now uses a layout macro
- keymap now uses #include QMK_KEYBOARD_H
* handwired/onekey: readme update
Updated Docs links.
Diffstat (limited to 'keyboards/handwired/onekey/keymaps/default/keymap.c')
-rw-r--r-- | keyboards/handwired/onekey/keymaps/default/keymap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/handwired/onekey/keymaps/default/keymap.c b/keyboards/handwired/onekey/keymaps/default/keymap.c index 10c486718..dd64f9fa5 100644 --- a/keyboards/handwired/onekey/keymaps/default/keymap.c +++ b/keyboards/handwired/onekey/keymaps/default/keymap.c @@ -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 ) }; |