diff options
| author | mrT1ddl3s <60518619+mrT1ddl3s@users.noreply.github.com> | 2021-01-24 23:25:50 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-24 22:25:50 -0800 |
| commit | bd5d3c879ef1bc019776d6736be76f98c12dd0fd (patch) | |
| tree | 042e378209a22c37a9c591743ca0ee7fcfbf3269 /keyboards/knobgoblin/knobgoblin.h | |
| parent | c1e1166991579066672c73a42ce21f8d23d96f4c (diff) | |
| download | qmk_firmware-bd5d3c879ef1bc019776d6736be76f98c12dd0fd.tar.gz qmk_firmware-bd5d3c879ef1bc019776d6736be76f98c12dd0fd.zip | |
[Keyboard] Knobgoblin keyboard initial commit (#11664)
* Knobgoblin keyboard initial commit
New macropad initial commit. Keyboard and keymap
* corrected bracket and layout name
* attempting info file fix again
* info file line 33 hanging comma fix
* Update keyboards/knobgoblin/config.h
per fauxpark review
Co-authored-by: Ryan <fauxpark@gmail.com>
* Update keyboards/knobgoblin/readme.md
per fauxpark review
Co-authored-by: Ryan <fauxpark@gmail.com>
* Update keyboards/knobgoblin/readme.md
per fauxpark review
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/knobgoblin/knobgoblin.h')
| -rw-r--r-- | keyboards/knobgoblin/knobgoblin.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/keyboards/knobgoblin/knobgoblin.h b/keyboards/knobgoblin/knobgoblin.h new file mode 100644 index 000000000..b5b2cf7e5 --- /dev/null +++ b/keyboards/knobgoblin/knobgoblin.h | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | /* Copyright 2020 MrT1ddl3s | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | #include "quantum.h" | ||
| 19 | |||
| 20 | #define LAYOUT_ortho( \ | ||
| 21 | K01, K02, K03, K04, \ | ||
| 22 | K11, K12, K13, K14, \ | ||
| 23 | K21, K22, K23, K24, \ | ||
| 24 | K30, K31, K32, K33, K34, \ | ||
| 25 | K40, K41, K42, K43, K44 \ | ||
| 26 | ) { \ | ||
| 27 | { KC_NO, K01, K02, K03, K04 }, \ | ||
| 28 | { KC_NO, K11, K12, K13, K14 }, \ | ||
| 29 | { KC_NO, K21, K22, K23, K24 }, \ | ||
| 30 | { K30, K31, K32, K33, K34 }, \ | ||
| 31 | { K40, K41, K42, K43, K44 } \ | ||
| 32 | } | ||
