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.pull/4592/head
parent
753f57ee00
commit
090c30212e
@ -1,5 +1,5 @@
|
|||||||
#include "onekey.h"
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
{{ KC_A }}
|
LAYOUT( KC_A )
|
||||||
};
|
};
|
||||||
|
@ -1 +1,12 @@
|
|||||||
#include "quantum.h"
|
#ifndef ONEKEY_H
|
||||||
|
#define ONEKEY_H
|
||||||
|
|
||||||
|
#include "quantum.h"
|
||||||
|
|
||||||
|
#define LAYOUT( \
|
||||||
|
k00 \
|
||||||
|
) { \
|
||||||
|
{ k00 } \
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
Loading…
Reference in new issue