diff options
Diffstat (limited to 'keyboards')
| -rw-r--r-- | keyboards/lazydesigners/the40/info.json | 66 | ||||
| -rw-r--r-- | keyboards/lazydesigners/the40/keymaps/ortho/keymap.c | 41 | ||||
| -rw-r--r-- | keyboards/lazydesigners/the40/readme.md | 9 | ||||
| -rw-r--r-- | keyboards/lazydesigners/the40/the40.h | 26 |
4 files changed, 98 insertions, 44 deletions
diff --git a/keyboards/lazydesigners/the40/info.json b/keyboards/lazydesigners/the40/info.json index a02a88a04..6e145bbb7 100644 --- a/keyboards/lazydesigners/the40/info.json +++ b/keyboards/lazydesigners/the40/info.json | |||
| @@ -51,7 +51,7 @@ | |||
| 51 | {"label":"K310 (F5,D2)", "x":10.75, "y":3, "w":1.25} | 51 | {"label":"K310 (F5,D2)", "x":10.75, "y":3, "w":1.25} |
| 52 | ] | 52 | ] |
| 53 | }, | 53 | }, |
| 54 | "LAYOUT_hhkb": { | 54 | "LAYOUT_ortho": { |
| 55 | "layout": [ | 55 | "layout": [ |
| 56 | {"label":"K000 (D0,F4)", "x":0, "y":0}, | 56 | {"label":"K000 (D0,F4)", "x":0, "y":0}, |
| 57 | {"label":"K001 (D0,F6)", "x":1, "y":0}, | 57 | {"label":"K001 (D0,F6)", "x":1, "y":0}, |
| @@ -65,34 +65,42 @@ | |||
| 65 | {"label":"K009 (D0,D3)", "x":9, "y":0}, | 65 | {"label":"K009 (D0,D3)", "x":9, "y":0}, |
| 66 | {"label":"K010 (D0,D2)", "x":10, "y":0}, | 66 | {"label":"K010 (D0,D2)", "x":10, "y":0}, |
| 67 | {"label":"K011 (D0,B0)", "x":11, "y":0}, | 67 | {"label":"K011 (D0,B0)", "x":11, "y":0}, |
| 68 | {"label":"K100 (D1,F4)", "x":0, "y":1, "w":1.25}, | 68 | {"label":"K100 (D1,F4)", "x":0, "y":1}, |
| 69 | {"label":"K101 (D1,F6)", "x":1.25, "y":1}, | 69 | {"label":"K101 (D1,F6)", "x":1, "y":1}, |
| 70 | {"label":"K102 (D1,F7)", "x":2.25, "y":1}, | 70 | {"label":"K102 (D1,F7)", "x":2, "y":1}, |
| 71 | {"label":"K103 (D1,B5)", "x":3.25, "y":1}, | 71 | {"label":"K103 (D1,B5)", "x":3, "y":1}, |
| 72 | {"label":"K104 (D1,B4)", "x":4.25, "y":1}, | 72 | {"label":"K104 (D1,B4)", "x":4, "y":1}, |
| 73 | {"label":"K105 (D1,D7)", "x":5.25, "y":1}, | 73 | {"label":"K105 (D1,D7)", "x":5, "y":1}, |
| 74 | {"label":"K106 (D1,D6)", "x":6.25, "y":1}, | 74 | {"label":"K106 (D1,D6)", "x":6, "y":1}, |
| 75 | {"label":"K107 (D1,D4)", "x":7.25, "y":1}, | 75 | {"label":"K107 (D1,D4)", "x":7, "y":1}, |
| 76 | {"label":"K108 (D1,D5)", "x":8.25, "y":1}, | 76 | {"label":"K108 (D1,D5)", "x":8, "y":1}, |
| 77 | {"label":"K109 (D1,D3)", "x":9.25, "y":1}, | 77 | {"label":"K109 (D1,D3)", "x":9, "y":1}, |
| 78 | {"label":"K110 (D1,D2)", "x":10.25, "y":1, "w":1.75}, | 78 | {"label":"K110 (D1,D2)", "x":10, "y":1}, |
| 79 | {"label":"K200 (B6,F4)", "x":0, "y":2, "w":1.75}, | 79 | {"label":"K111 (D1,B0)", "x":11, "y":1}, |
| 80 | {"label":"K201 (B6,F6)", "x":1.75, "y":2}, | 80 | {"label":"K200 (B6,F4)", "x":0, "y":2}, |
| 81 | {"label":"K202 (B6,F7)", "x":2.75, "y":2}, | 81 | {"label":"K201 (B6,F6)", "x":1, "y":2}, |
| 82 | {"label":"K203 (B6,B5)", "x":3.75, "y":2}, | 82 | {"label":"K202 (B6,F7)", "x":2, "y":2}, |
| 83 | {"label":"K204 (B6,B4)", "x":4.75, "y":2}, | 83 | {"label":"K203 (B6,B5)", "x":3, "y":2}, |
| 84 | {"label":"K205 (B6,D7)", "x":5.75, "y":2}, | 84 | {"label":"K204 (B6,B4)", "x":4, "y":2}, |
| 85 | {"label":"K206 (B6,D6)", "x":6.75, "y":2}, | 85 | {"label":"K205 (B6,D7)", "x":5, "y":2}, |
| 86 | {"label":"K207 (B6,D4)", "x":7.75, "y":2}, | 86 | {"label":"K206 (B6,D6)", "x":6, "y":2}, |
| 87 | {"label":"K208 (B6,D5)", "x":8.75, "y":2}, | 87 | {"label":"K207 (B6,D4)", "x":7, "y":2}, |
| 88 | {"label":"K209 (B6,D3)", "x":9.75, "y":2}, | 88 | {"label":"K208 (B6,D5)", "x":8, "y":2}, |
| 89 | {"label":"K210 (B6,D2)", "x":10.75, "y":2, "w":1.25}, | 89 | {"label":"K209 (B6,D3)", "x":9, "y":2}, |
| 90 | {"label":"K301 (F5,F6)", "x":1.25, "y":3}, | 90 | {"label":"K210 (B6,D2)", "x":10, "y":2}, |
| 91 | {"label":"K302 (F5,F7)", "x":2.25, "y":3, "w":1.25}, | 91 | {"label":"K211 (B6,B0)", "x":11, "y":2}, |
| 92 | {"label":"K304 (F5,B4)", "x":3.5, "y":3, "w":2.25}, | 92 | {"label":"K300 (F5,F4)", "x":0, "y":3}, |
| 93 | {"label":"K306 (F5,D6)", "x":5.75, "y":3, "w":2.75}, | 93 | {"label":"K301 (F5,F6)", "x":1, "y":3}, |
| 94 | {"label":"K308 (F5,D5)", "x":8.5, "y":3, "w":1.25}, | 94 | {"label":"K302 (F5,F7)", "x":2, "y":3}, |
| 95 | {"label":"K309 (F5,D3)", "x":9.75, "y":3} | 95 | {"label":"K303 (F5,B5)", "x":3, "y":3}, |
| 96 | {"label":"K304 (F5,B4)", "x":4, "y":3}, | ||
| 97 | {"label":"K305 (F5,D7)", "x":5, "y":3}, | ||
| 98 | {"label":"K306 (F5,D6)", "x":6, "y":3}, | ||
| 99 | {"label":"K307 (F5,D4)", "x":7, "y":3}, | ||
| 100 | {"label":"K308 (F5,D5)", "x":8, "y":3}, | ||
| 101 | {"label":"K309 (F5,D3)", "x":9, "y":3}, | ||
| 102 | {"label":"K310 (F5,D2)", "x":10, "y":3}, | ||
| 103 | {"label":"K311 (F5,B0)", "x":11, "y":3} | ||
| 96 | ] | 104 | ] |
| 97 | }, | 105 | }, |
| 98 | "LAYOUT_wkl": { | 106 | "LAYOUT_wkl": { |
diff --git a/keyboards/lazydesigners/the40/keymaps/ortho/keymap.c b/keyboards/lazydesigners/the40/keymaps/ortho/keymap.c new file mode 100644 index 000000000..e81bdaa1c --- /dev/null +++ b/keyboards/lazydesigners/the40/keymaps/ortho/keymap.c | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | /* Copyright 2020 LAZYDESIGNERS | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #include QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | #define LT2_TAB LT(2, KC_TAB) | ||
| 20 | #define LT1_SPC LT(1, KC_SPC) | ||
| 21 | |||
| 22 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 23 | [0] = LAYOUT_ortho( | ||
| 24 | KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, | ||
| 25 | LT2_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCOLON, KC_ENT, | ||
| 26 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMMA, KC_DOT, KC_QUOTE, MO(2), | ||
| 27 | KC_LCTL, KC_LGUI, KC_RALT, KC_LSFT, LT1_SPC, KC_SPC, KC_SPC, KC_SPC, KC_UP, KC_DOWN, KC_LEFT, KC_RGHT | ||
| 28 | ), | ||
| 29 | [1] = LAYOUT_ortho( | ||
| 30 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_NO, | ||
| 31 | RESET, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_NO, | ||
| 32 | KC_NO, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
| 33 | KC_VOLD, KC_MUTE, KC_VOLU, KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO | ||
| 34 | ), | ||
| 35 | [2] = LAYOUT_ortho( | ||
| 36 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
| 37 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
| 38 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
| 39 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO | ||
| 40 | ), | ||
| 41 | }; | ||
diff --git a/keyboards/lazydesigners/the40/readme.md b/keyboards/lazydesigners/the40/readme.md index db31c288a..e61896756 100644 --- a/keyboards/lazydesigners/the40/readme.md +++ b/keyboards/lazydesigners/the40/readme.md | |||
| @@ -1,9 +1,14 @@ | |||
| 1 | # THE40 | 1 | # THE40 |
| 2 | 2 | ||
| 3 |  | ||
| 4 | |||
| 5 | A 40% keyboard designed and produced by [LAZYDESIGNERS](http://lazydesigners.cn). | 3 | A 40% keyboard designed and produced by [LAZYDESIGNERS](http://lazydesigners.cn). |
| 6 | 4 | ||
| 5 | Regular Layout | ||
| 6 |  | ||
| 7 | WKL Layout | ||
| 8 |  | ||
| 9 | Ortho Layout | ||
| 10 |  | ||
| 11 | |||
| 7 | * Keyboard Maintainer: [LAZYDESIGNERS](https://github.com/jackytrabbit) | 12 | * Keyboard Maintainer: [LAZYDESIGNERS](https://github.com/jackytrabbit) |
| 8 | * Hardware Supported: THE40 | 13 | * Hardware Supported: THE40 |
| 9 | * Hardware Availability: Check [LAZYDESIGNERS's homepage.](http://lazydesigners.cn) | 14 | * Hardware Availability: Check [LAZYDESIGNERS's homepage.](http://lazydesigners.cn) |
diff --git a/keyboards/lazydesigners/the40/the40.h b/keyboards/lazydesigners/the40/the40.h index 38da7bdfb..91e712060 100644 --- a/keyboards/lazydesigners/the40/the40.h +++ b/keyboards/lazydesigners/the40/the40.h | |||
| @@ -32,28 +32,28 @@ | |||
| 32 | { K300, K301, K302, KC_NO, K304, KC_NO, K306, KC_NO, K308, K309, K310, KC_NO }, \ | 32 | { K300, K301, K302, KC_NO, K304, KC_NO, K306, KC_NO, K308, K309, K310, KC_NO }, \ |
| 33 | } | 33 | } |
| 34 | 34 | ||
| 35 | #define LAYOUT_hhkb( \ | 35 | #define LAYOUT_ortho( \ |
| 36 | K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, \ | 36 | K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, \ |
| 37 | K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, \ | 37 | K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, \ |
| 38 | K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, \ | 38 | K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, \ |
| 39 | K301, K302, K304, K306, K308, K309 \ | 39 | K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311 \ |
| 40 | ) \ | 40 | ) \ |
| 41 | { \ | 41 | { \ |
| 42 | { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011 }, \ | 42 | { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011 }, \ |
| 43 | { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, KC_NO }, \ | 43 | { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111 }, \ |
| 44 | { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, KC_NO }, \ | 44 | { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211 }, \ |
| 45 | { KC_NO, K301, K302, KC_NO, K304, KC_NO, K306, KC_NO, K308, K309, KC_NO, KC_NO }, \ | 45 | { K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311 }, \ |
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | #define LAYOUT_wkl( \ | 48 | #define LAYOUT_wkl( \ |
| 49 | K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, \ | 49 | K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, \ |
| 50 | K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, \ | 50 | K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, \ |
| 51 | K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, \ | 51 | K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, \ |
| 52 | K300, K302, K304, K306, K308, K310 \ | 52 | K300, K302, K304, K306, K308, K310 \ |
| 53 | ) \ | 53 | ) \ |
| 54 | { \ | 54 | { \ |
| 55 | { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011 }, \ | 55 | { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011 }, \ |
| 56 | { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, KC_NO }, \ | 56 | { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, KC_NO }, \ |
| 57 | { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, KC_NO }, \ | 57 | { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, KC_NO }, \ |
| 58 | { K300, KC_NO, K302, KC_NO, K304, KC_NO, K306, KC_NO, K308, KC_NO, K310, KC_NO }, \ | 58 | { K300, K301, K302, KC_NO, K304, KC_NO, K306, KC_NO, K308, K309, K310, KC_NO }, \ |
| 59 | } | 59 | } |
