summaryrefslogtreecommitdiffstats
path: root/keyboards/fractal/fractal.h
diff options
context:
space:
mode:
authorMerlin04 <Merlin04@users.noreply.github.com>2018-07-21 21:14:32 +0200
committerDrashna Jaelre <drashna@live.com>2018-07-21 21:14:32 +0200
commit3fc5a05d663ae2ea960e16fa16e976f9dd70b0f2 (patch)
tree40d8ce346fe59f41e1cca3f609735fc6a2cd50da /keyboards/fractal/fractal.h
parent1147fc24adfe22eac6e67f9d7f0f1184f358f141 (diff)
downloadqmk_firmware-3fc5a05d663ae2ea960e16fa16e976f9dd70b0f2.tar.gz
qmk_firmware-3fc5a05d663ae2ea960e16fa16e976f9dd70b0f2.tar.xz
Keyboard: Added support for the Fractal keyboard (#3457)
* Added support for the Fractal keyboard * Try to fix the issue * Add support for the Fractal keyboard. * Fix errors with files
Diffstat (limited to 'keyboards/fractal/fractal.h')
-rwxr-xr-xkeyboards/fractal/fractal.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/keyboards/fractal/fractal.h b/keyboards/fractal/fractal.h
new file mode 100755
index 000000000..1eefcecd7
--- /dev/null
+++ b/keyboards/fractal/fractal.h
@@ -0,0 +1,36 @@
+#ifndef FRACTAL_H
+#define FRACTAL_H
+
+#include "quantum.h"
+
+#define LAYOUT_ortho_5x12( \
+ 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, \
+ K400, K401, K402, K403, K404, K405, K406, K407, K408, K409, K410, K411 \
+) { \
+ { 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 }, \
+ { K400, K401, K402, K403, K404, K405, K406, K407, K408, K409, K410, K411 } \
+}
+
+#define LAYOUT_preonic_mit( \
+ 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, \
+ K400, K401, K402, K403, K404, K406, K407, K408, K409, K410, K411 \
+) { \
+ { 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 }, \
+ { K400, K401, K402, K403, K404, KC_NO, K406, K407, K408, K409, K410, K411 } \
+}
+
+#define KEYMAP LAYOUT_preonic_mit
+
+#endif