summaryrefslogtreecommitdiffstats
path: root/keyboards/zlant/zlant.h
diff options
context:
space:
mode:
authorFelipe Coury <felipe.coury@gmail.com>2018-05-23 05:53:11 +0200
committerDrashna Jaelre <drashna@live.com>2018-05-23 05:53:11 +0200
commit575b2a66df2d75fa6cf689912b0c1a0816f3fe66 (patch)
tree141f804997e4d01f20d45e450050830de00fa017 /keyboards/zlant/zlant.h
parent0026da1414a3660064f976f4fb47abee4b16ed45 (diff)
downloadqmk_firmware-575b2a66df2d75fa6cf689912b0c1a0816f3fe66.tar.gz
qmk_firmware-575b2a66df2d75fa6cf689912b0c1a0816f3fe66.tar.xz
Adds Zlant keyboard support (#3028)
* Added Zlant support * Uses LAYOUT and identifies individual layers * Removed deprecated =? usage on rules.mk * Adds readme for Zlant keyboard and its default layout * Fixed LAYOUT constant * Minor zlant readme formatting fix
Diffstat (limited to 'keyboards/zlant/zlant.h')
-rwxr-xr-xkeyboards/zlant/zlant.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/keyboards/zlant/zlant.h b/keyboards/zlant/zlant.h
new file mode 100755
index 000000000..48c7b3f40
--- /dev/null
+++ b/keyboards/zlant/zlant.h
@@ -0,0 +1,18 @@
+#ifndef KB_H
+#define KB_H
+
+#include "quantum.h"
+
+#define LAYOUT( \
+ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, \
+ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, \
+ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, \
+ K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311 \
+) { \
+ { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011 }, \
+ { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111 }, \
+ { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211 }, \
+ { K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311 } \
+}
+
+#endif