From 3fc5a05d663ae2ea960e16fa16e976f9dd70b0f2 Mon Sep 17 00:00:00 2001 From: Merlin04 Date: Sat, 21 Jul 2018 12:14:32 -0700 Subject: 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 --- keyboards/fractal/fractal.h | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100755 keyboards/fractal/fractal.h (limited to 'keyboards/fractal/fractal.h') 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 -- cgit v1.2.3-24-g4f1b