aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/clawsome/gamebuddy/gamebuddy.h
diff options
context:
space:
mode:
authorGravatar AlisGraveNil <63020540+AlisGraveNil@users.noreply.github.com>2020-06-18 23:31:51 -0400
committerGravatar GitHub <noreply@github.com>2020-06-18 20:31:51 -0700
commit60be8d9f245c03db60e6297e357fec516b31bc62 (patch)
tree96c2735583f21237ea252ff84909e4d3c0fe5971 /keyboards/clawsome/gamebuddy/gamebuddy.h
parent3f85e90126c37c5ee79be52ae5d764271d4a7734 (diff)
downloadqmk_firmware-60be8d9f245c03db60e6297e357fec516b31bc62.tar.gz
[Keyboard] GameBuddy macropad (#9391)
* GameBuddy macropad * Update config.h * Update keyboards/clawsome/gamebuddy/config.h * Update keyboards/clawsome/gamebuddy/readme.md * Update keyboards/clawsome/gamebuddy/readme.md * Update keyboards/clawsome/gamebuddy/readme.md * Update readme.md * Update keyboards/clawsome/gamebuddy/rules.mk * Update keyboards/clawsome/gamebuddy/readme.md
Diffstat (limited to 'keyboards/clawsome/gamebuddy/gamebuddy.h')
-rw-r--r--keyboards/clawsome/gamebuddy/gamebuddy.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/keyboards/clawsome/gamebuddy/gamebuddy.h b/keyboards/clawsome/gamebuddy/gamebuddy.h
new file mode 100644
index 000000000..f1ee9ab35
--- /dev/null
+++ b/keyboards/clawsome/gamebuddy/gamebuddy.h
@@ -0,0 +1,32 @@
+/* Copyright 2020 AAClawson (AlisGraveNil)
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+#pragma once
+
+#include "quantum.h"
+
+#define LAYOUT( \
+ K00, K01, K02, K03, K04, K05, \
+ K10, K11, K12, K13, K14, K15, \
+ K20, K22, K23, K24, K25, \
+ K30, K31, K32, K33, K34, K35, K46, \
+ K44, K45 \
+) { \
+ { K00, K01, K02, K03, K04, K05, KC_NO }, \
+ { K10, K11, K12, K13, K14, K15, KC_NO }, \
+ { K20, KC_NO, K22, K23, K24, K25, KC_NO }, \
+ { K30, K31, K32, K33, K34, K35, KC_NO }, \
+ { KC_NO, KC_NO, KC_NO, KC_NO, K44, K45, K46 }, \
+}