-
-
Notifications
You must be signed in to change notification settings - Fork 39.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- keyboard now uses a layout macro - keymap now uses #include QMK_KEYBOARD_H
- Loading branch information
1 parent
81ce35c
commit 7146af6
Showing
2 changed files
with
14 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ) | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |