From 7e14f85dd50e3d0ec04fd6a7a5dc6549b79c0767 Mon Sep 17 00:00:00 2001 From: nopunin10did Date: Thu, 27 May 2021 01:22:04 -0400 Subject: [Keyboard] Add Jabberwocky Keyboard (#12500) Co-authored-by: Drashna Jaelre Co-authored-by: Ryan Co-authored-by: Rossman360 --- keyboards/nopunin10did/jabberwocky/jabberwocky.h | 65 ++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 keyboards/nopunin10did/jabberwocky/jabberwocky.h (limited to 'keyboards/nopunin10did/jabberwocky/jabberwocky.h') diff --git a/keyboards/nopunin10did/jabberwocky/jabberwocky.h b/keyboards/nopunin10did/jabberwocky/jabberwocky.h new file mode 100644 index 0000000000..901b1e23ab --- /dev/null +++ b/keyboards/nopunin10did/jabberwocky/jabberwocky.h @@ -0,0 +1,65 @@ +/* Copyright 2021 W. Alex Ronke, a.k.a. NoPunIn10Did (w.alex.ronke@gmail.com) + * + * 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 . + */ + +#pragma once + +#include "quantum.h" + +#define LAYOUT_rh_any( \ + K0007, K0101, K0100, K0201, K0200, K0301, K0300, K0400, K0401, K0500, K0501, K0600, K0601, K0700, K0701, K0000, K0001, K0800, K0801, K0900, K0901, \ + K0004, K0102, K0103, K0202, K0203, K0302, K0402, K0403, K0502, K0503, K0602, K0603, K0702, K0703, K0002, K0802, K0803, K0902, K0903, \ + K0006, K0104, K0105, K0204, K0205, K0304, K0404, K0405, K0504, K0505, K0604, K0605, K0704, K0705, K0804, K0805, K0904, K0905, \ + K0107, K0106, K0207, K0206, K0307, K0306, K0406, K0407, K0506, K0507, K0606, K0607, K0706, K0707, K0806, K0807, K0906, K0907, \ + K0008, K0009, K0108, K0109, K0208, K0209, K0308, K0309, K0410, K0408, K0409, K0508, K0509, K0608, K0609, K0708, K0709, K0808, K0809, K0908, K0909, \ + K0010, K0110, K0210, K0310, K0311, K0411, K0510, K0511, K0610, K0611, K0710, K0711, K0810, K0811, K0910, K0911 \ +) \ +{ \ + { K0000, K0100, K0200, K0300, K0400, K0500, K0600, K0700, K0800, K0900 }, \ + { K0001, K0101, K0201, K0301, K0401, K0501, K0601, K0701, K0801, K0901 }, \ + { K0002, K0102, K0202, K0302, K0402, K0502, K0602, K0702, K0802, K0902 }, \ + { KC_NO, K0103, K0203, KC_NO, K0403, K0503, K0603, K0703, K0803, K0903 }, \ + { K0004, K0104, K0204, K0304, K0404, K0504, K0604, K0704, K0804, K0904 }, \ + { KC_NO, K0105, K0205, KC_NO, K0405, K0505, K0605, K0705, K0805, K0905 }, \ + { K0006, K0106, K0206, K0306, K0406, K0506, K0606, K0706, K0806, K0906 }, \ + { K0007, K0107, K0207, K0307, K0407, K0507, K0607, K0707, K0807, K0907 }, \ + { K0008, K0108, K0208, K0308, K0408, K0508, K0608, K0708, K0808, K0908 }, \ + { K0009, K0109, K0209, K0309, K0409, K0509, K0609, K0709, K0809, K0909 }, \ + { K0010, K0110, K0210, K0310, K0410, K0510, K0610, K0710, K0810, K0910 }, \ + { KC_NO, KC_NO, KC_NO, K0311, K0411, K0511, K0611, K0711, K0811, K0911 } \ +} + +#define LAYOUT_lh_any( \ + K0800, K0801, K0900, K0901, K0007, K0101, K0100, K0201, K0200, K0301, K0300, K0400, K0401, K0500, K0501, K0600, K0601, K0700, K0701, K0000, K0001, \ + K0802, K0803, K0902, K0903, K0004, K0102, K0103, K0202, K0203, K0302, K0402, K0403, K0502, K0503, K0602, K0603, K0702, K0703, K0002, \ + K0804, K0805, K0904, K0905, K0006, K0104, K0105, K0204, K0205, K0304, K0404, K0405, K0504, K0505, K0604, K0605, K0704, K0705, \ + K0806, K0807, K0906, K0907, K0107, K0106, K0207, K0206, K0307, K0306, K0406, K0407, K0506, K0507, K0606, K0607, K0706, K0707, \ + K0808, K0809, K0908, K0909, K0008, K0009, K0108, K0109, K0208, K0209, K0308, K0309, K0410, K0408, K0409, K0508, K0509, K0608, K0609, K0708, K0709, \ + K0810, K0811, K0910, K0911, K0010, K0110, K0210, K0310, K0311, K0411, K0510, K0511, K0610, K0611, K0710, K0711 \ +) \ +{ \ + { K0000, K0100, K0200, K0300, K0400, K0500, K0600, K0700, K0800, K0900 }, \ + { K0001, K0101, K0201, K0301, K0401, K0501, K0601, K0701, K0801, K0901 }, \ + { K0002, K0102, K0202, K0302, K0402, K0502, K0602, K0702, K0802, K0902 }, \ + { KC_NO, K0103, K0203, KC_NO, K0403, K0503, K0603, K0703, K0803, K0903 }, \ + { K0004, K0104, K0204, K0304, K0404, K0504, K0604, K0704, K0804, K0904 }, \ + { KC_NO, K0105, K0205, KC_NO, K0405, K0505, K0605, K0705, K0805, K0905 }, \ + { K0006, K0106, K0206, K0306, K0406, K0506, K0606, K0706, K0806, K0906 }, \ + { K0007, K0107, K0207, K0307, K0407, K0507, K0607, K0707, K0807, K0907 }, \ + { K0008, K0108, K0208, K0308, K0408, K0508, K0608, K0708, K0808, K0908 }, \ + { K0009, K0109, K0209, K0309, K0409, K0509, K0609, K0709, K0809, K0909 }, \ + { K0010, K0110, K0210, K0310, K0410, K0510, K0610, K0710, K0810, K0910 }, \ + { KC_NO, KC_NO, KC_NO, K0311, K0411, K0511, K0611, K0711, K0811, K0911 } \ +} -- cgit v1.2.3