aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/swiftrax/retropad/retropad.h
diff options
context:
space:
mode:
authorBrandon Claveria <48102030+swiftrax@users.noreply.github.com>2020-09-22 15:39:09 -0700
committerGitHub <noreply@github.com>2020-09-22 23:39:09 +0100
commit5faf5383ad4f651fd3d576a4d0932679f14c752e (patch)
tree79fbe4b5238c4d49752517e026dfa0a33a306d95 /keyboards/handwired/swiftrax/retropad/retropad.h
parent4bf5f9424ed167af5881f1c7087dc80321541f06 (diff)
downloadfirmware-5faf5383ad4f651fd3d576a4d0932679f14c752e.tar.gz
firmware-5faf5383ad4f651fd3d576a4d0932679f14c752e.tar.bz2
firmware-5faf5383ad4f651fd3d576a4d0932679f14c752e.zip
add handwired/swiftrax/retropad (#10331)
* add retropad * fix indicator leds * fix bootmagic * fix led indicators * fix keymap * fix keymap * fix keymap * fix keymap * fix license headers * Apply suggestions from code review Co-authored-by: Drashna Jaelre <drashna@live.com> * Apply suggestions from code review Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Swiftrax <swiftrax@gmail.com> Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/handwired/swiftrax/retropad/retropad.h')
-rw-r--r--keyboards/handwired/swiftrax/retropad/retropad.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/keyboards/handwired/swiftrax/retropad/retropad.h b/keyboards/handwired/swiftrax/retropad/retropad.h
new file mode 100644
index 000000000..e7527d5c0
--- /dev/null
+++ b/keyboards/handwired/swiftrax/retropad/retropad.h
@@ -0,0 +1,31 @@
+/* Copyright 2020 swiftrax
+ *
+ * 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"
+
+// readability
+#define XXX KC_NO
+
+#define LAYOUT( \
+ K001, \
+ K100, K101, \
+ K200, K201 \
+) { \
+ { XXX, K001, }, \
+ { K100, K101, }, \
+ { K200, K201, } \
+}