summaryrefslogtreecommitdiff
path: root/keyboards/katana60/katana60.h
diff options
context:
space:
mode:
authorBaris Tosun <me@baristosun.com>2017-12-05 17:14:10 +0100
committerJack Humbert <jack.humb@gmail.com>2017-12-05 11:14:10 -0500
commitdd05bf0d9602820bb9ba3bb1a8586b14c5504312 (patch)
tree74fbed0d52b374c3c7fa7014bb6683f2edda7760 /keyboards/katana60/katana60.h
parent95e68c4ae8d5e1858523e98bb9f90e645608a34e (diff)
downloadqmk_firmware-dd05bf0d9602820bb9ba3bb1a8586b14c5504312.tar.gz
qmk_firmware-dd05bf0d9602820bb9ba3bb1a8586b14c5504312.zip
Katana60 (#2068)
* Add files via upload * katana60 defaults, initial pull-request * removed icons from google drive * added simple readme files * pull-request updates * readme file updated * readme file formatting * improvements before live * colemak readme * updated readme files * removed makefiles and updated readme
Diffstat (limited to 'keyboards/katana60/katana60.h')
-rw-r--r--keyboards/katana60/katana60.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/keyboards/katana60/katana60.h b/keyboards/katana60/katana60.h
new file mode 100644
index 0000000000..2cd4a2f1f9
--- /dev/null
+++ b/keyboards/katana60/katana60.h
@@ -0,0 +1,40 @@
+/* Copyright 2017 Baris Tosun
+ *
+ * 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/>.
+ */
+#ifndef KATANA60_H
+#define KATANA60_H
+
+#include "quantum.h"
+
+// This a shortcut to help you visually see your layout.
+// The following is an example using the Planck MIT layout
+// The first section contains all of the arguments
+// The second converts the arguments into a two-dimensional array
+#define KEYMAP( \
+ k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b, k4c, k4d, k4e, \
+ k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, \
+ k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, \
+ k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e, \
+ k00, k01, k02, k03, k04, k05, k06, k09, k0a, k0b, k0c, k0d \
+) \
+{ \
+ { k00, k01, k02, k03, k04, k05, k06, KC_NO, KC_NO, k09, k0a, k0b, k0c, k0d, KC_NO }, \
+ { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e }, \
+ { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, KC_NO }, \
+ { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, KC_NO }, \
+ { k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b, k4c, k4d, k4e }, \
+}
+
+#endif