diff options
| -rw-r--r-- | keyboards/linworks/fave87/config.h | 55 | ||||
| -rw-r--r-- | keyboards/linworks/fave87/fave87.c | 16 | ||||
| -rw-r--r-- | keyboards/linworks/fave87/fave87.h | 85 | ||||
| -rw-r--r-- | keyboards/linworks/fave87/info.json | 299 | ||||
| -rw-r--r-- | keyboards/linworks/fave87/keymaps/default/keymap.c | 35 | ||||
| -rw-r--r-- | keyboards/linworks/fave87/keymaps/via/keymap.c | 35 | ||||
| -rw-r--r-- | keyboards/linworks/fave87/keymaps/via/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/linworks/fave87/readme.md | 18 | ||||
| -rw-r--r-- | keyboards/linworks/fave87/rules.mk | 20 |
9 files changed, 564 insertions, 0 deletions
diff --git a/keyboards/linworks/fave87/config.h b/keyboards/linworks/fave87/config.h new file mode 100644 index 000000000..d6d5ab5cf --- /dev/null +++ b/keyboards/linworks/fave87/config.h | |||
| @@ -0,0 +1,55 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 Moritz Plattner | ||
| 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 | This program is distributed in the hope that it will be useful, | ||
| 8 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 10 | GNU General Public License for more details. | ||
| 11 | You should have received a copy of the GNU General Public License | ||
| 12 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 13 | */ | ||
| 14 | |||
| 15 | #pragma once | ||
| 16 | |||
| 17 | #include "config_common.h" | ||
| 18 | |||
| 19 | /* USB Device descriptor parameter */ | ||
| 20 | #define VENDOR_ID 0x4C58 //"LX" | ||
| 21 | #define PRODUCT_ID 0x0002 | ||
| 22 | #define DEVICE_VER 0x0001 | ||
| 23 | #define MANUFACTURER Lx3 | ||
| 24 | #define PRODUCT FAVE-87 | ||
| 25 | |||
| 26 | /* Set 1 kHz polling rate and force USB NKRO */ | ||
| 27 | #define USB_POLLING_INTERVAL_MS 1 | ||
| 28 | #define FORCE_NKRO | ||
| 29 | |||
| 30 | /* key matrix size */ | ||
| 31 | #define MATRIX_ROWS 12 | ||
| 32 | #define MATRIX_COLS 9 | ||
| 33 | |||
| 34 | #define MATRIX_ROW_PINS { D3, D5, D1, D2, D4, D0, F5, F4, F7, F6, B5, B4 } | ||
| 35 | #define MATRIX_COL_PINS { F1, F0, E6, B0, B1, B2, B3, D6, D7 } | ||
| 36 | #define UNUSED_PINS { B6, C6, C7 } | ||
| 37 | |||
| 38 | /* COL2ROW or ROW2COL */ | ||
| 39 | #define DIODE_DIRECTION ROW2COL | ||
| 40 | |||
| 41 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 42 | #define DEBOUNCE 5 | ||
| 43 | |||
| 44 | /* Backlight */ | ||
| 45 | #define BACKLIGHT_PIN B7 // Timer 1 on mega32u4 | ||
| 46 | #define BACKLIGHT_BREATHING | ||
| 47 | #define BACKLIGHT_ON_STATE 1 | ||
| 48 | |||
| 49 | /* Underglow */ | ||
| 50 | #define RGB_DI_PIN E2 | ||
| 51 | #define RGBLED_NUM 40 | ||
| 52 | #define RGBLIGHT_SLEEP // Turns LEDs off if the PC goes to sleep/shutdown | ||
| 53 | #define RGBLIGHT_EFFECT_BREATHING | ||
| 54 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 55 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
diff --git a/keyboards/linworks/fave87/fave87.c b/keyboards/linworks/fave87/fave87.c new file mode 100644 index 000000000..49272baf5 --- /dev/null +++ b/keyboards/linworks/fave87/fave87.c | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | /* Copyright 2021 Moritz Plattner | ||
| 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 | #include "fave87.h" | ||
diff --git a/keyboards/linworks/fave87/fave87.h b/keyboards/linworks/fave87/fave87.h new file mode 100644 index 000000000..400755774 --- /dev/null +++ b/keyboards/linworks/fave87/fave87.h | |||
| @@ -0,0 +1,85 @@ | |||
| 1 | /* Copyright 2021 Moritz Plattner | ||
| 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 | #pragma once | ||
| 18 | |||
| 19 | #include "quantum.h" | ||
| 20 | |||
| 21 | #define LAYOUT_all( \ | ||
| 22 | K000, K001, K011, K002, K012, K003, K013, K004, K014, K005, K015, K006, K016, K017, K008, K018, \ | ||
| 23 | K020, K030, K021, K031, K022, K032, K023, K033, K024, K034, K025, K035, K026, K036, K027, K037, K028, K038, \ | ||
| 24 | K040, K050, K041, K051, K042, K052, K043, K053, K044, K054, K045, K055, K046, K056, K057, K048, K058, \ | ||
| 25 | K060, K070, K061, K071, K062, K072, K063, K073, K064, K074, K065, K075, K066, K076, \ | ||
| 26 | K080, K090, K081, K091, K082, K092, K083, K093, K084, K094, K085, K095, K086, K096, K088, \ | ||
| 27 | K100, K110, K101, K103, K105, K115, K106, K116, K117, K108, K118 \ | ||
| 28 | ) { \ | ||
| 29 | { K000, K001, K002, K003, K004, K005, K006, KC_NO, K008 }, \ | ||
| 30 | { KC_NO, K011, K012, K013, K014, K015, K016, K017, K018 }, \ | ||
| 31 | { K020, K021, K022, K023, K024, K025, K026, K027, K028 }, \ | ||
| 32 | { K030, K031, K032, K033, K034, K035, K036, K037, K038 }, \ | ||
| 33 | { K040, K041, K042, K043, K044, K045, K046, KC_NO, K048 }, \ | ||
| 34 | { K050, K051, K052, K053, K054, K055, K056, K057, K058 }, \ | ||
| 35 | { K060, K061, K062, K063, K064, K065, K066, KC_NO, KC_NO }, \ | ||
| 36 | { K070, K071, K072, K073, K074, K075, K076, KC_NO, KC_NO }, \ | ||
| 37 | { K080, K081, K082, K083, K084, K085, K086, KC_NO, K088 }, \ | ||
| 38 | { K090, K091, K092, K093, K094, K095, K096, KC_NO, KC_NO }, \ | ||
| 39 | { K100, K101, KC_NO, K103, KC_NO, K105, K106, KC_NO, K108 }, \ | ||
| 40 | { K110, KC_NO, KC_NO, KC_NO, KC_NO, K115, K116, K117, K118 } \ | ||
| 41 | } | ||
| 42 | |||
| 43 | #define LAYOUT_tkl_ansi( \ | ||
| 44 | K000, K001, K011, K002, K012, K003, K013, K004, K014, K005, K015, K006, K016, K017, K008, K018, \ | ||
| 45 | K020, K030, K021, K031, K022, K032, K023, K033, K024, K034, K025, K035, K026, K036, K027, K037, K028, K038, \ | ||
| 46 | K040, K050, K041, K051, K042, K052, K043, K053, K044, K054, K045, K055, K046, K056, K057, K048, K058, \ | ||
| 47 | K060, K070, K061, K071, K062, K072, K063, K073, K064, K074, K065, K075, K076, \ | ||
| 48 | K080, K081, K091, K082, K092, K083, K093, K084, K094, K085, K095, K086, K096, K088, \ | ||
| 49 | K100, K110, K101, K103, K105, K115, K106, K116, K117, K108, K118 \ | ||
| 50 | ) { \ | ||
| 51 | { K000, K001, K002, K003, K004, K005, K006, KC_NO, K008 }, \ | ||
| 52 | { KC_NO, K011, K012, K013, K014, K015, K016, K017, K018 }, \ | ||
| 53 | { K020, K021, K022, K023, K024, K025, K026, K027, K028 }, \ | ||
| 54 | { K030, K031, K032, K033, K034, K035, K036, K037, K038 }, \ | ||
| 55 | { K040, K041, K042, K043, K044, K045, K046, KC_NO, K048 }, \ | ||
| 56 | { K050, K051, K052, K053, K054, K055, K056, K057, K058 }, \ | ||
| 57 | { K060, K061, K062, K063, K064, K065, KC_NO, KC_NO, KC_NO }, \ | ||
| 58 | { K070, K071, K072, K073, K074, K075, K076, KC_NO, KC_NO }, \ | ||
| 59 | { K080, K081, K082, K083, K084, K085, K086, KC_NO, K088 }, \ | ||
| 60 | { KC_NO, K091, K092, K093, K094, K095, K096, KC_NO, KC_NO }, \ | ||
| 61 | { K100, K101, KC_NO, K103, KC_NO, K105, K106, KC_NO, K108 }, \ | ||
| 62 | { K110, KC_NO, KC_NO, KC_NO, KC_NO, K115, K116, K117, K118 } \ | ||
| 63 | } | ||
| 64 | |||
| 65 | #define LAYOUT_tkl_iso( \ | ||
| 66 | K000, K001, K011, K002, K012, K003, K013, K004, K014, K005, K015, K006, K016, K017, K008, K018, \ | ||
| 67 | K020, K030, K021, K031, K022, K032, K023, K033, K024, K034, K025, K035, K026, K036, K027, K037, K028, K038, \ | ||
| 68 | K040, K050, K041, K051, K042, K052, K043, K053, K044, K054, K045, K055, K046, K057, K048, K058, \ | ||
| 69 | K060, K070, K061, K071, K062, K072, K063, K073, K064, K074, K065, K075, K066, K076, \ | ||
| 70 | K080, K090, K081, K091, K082, K092, K083, K093, K084, K094, K085, K095, K086, K096, K088, \ | ||
| 71 | K100, K110, K101, K103, K105, K115, K106, K116, K117, K108, K118 \ | ||
| 72 | ) { \ | ||
| 73 | { K000, K001, K002, K003, K004, K005, K006, KC_NO, K008 }, \ | ||
| 74 | { KC_NO, K011, K012, K013, K014, K015, K016, K017, K018 }, \ | ||
| 75 | { K020, K021, K022, K023, K024, K025, K026, K027, K028 }, \ | ||
| 76 | { K030, K031, K032, K033, K034, K035, K036, K037, K038 }, \ | ||
| 77 | { K040, K041, K042, K043, K044, K045, K046, KC_NO, K048 }, \ | ||
| 78 | { K050, K051, K052, K053, K054, K055, KC_NO, K057, K058 }, \ | ||
| 79 | { K060, K061, K062, K063, K064, K065, K066, KC_NO, KC_NO }, \ | ||
| 80 | { K070, K071, K072, K073, K074, K075, K076, KC_NO, KC_NO }, \ | ||
| 81 | { K080, K081, K082, K083, K084, K085, K086, KC_NO, K088 }, \ | ||
| 82 | { K090, K091, K092, K093, K094, K095, K096, KC_NO, KC_NO }, \ | ||
| 83 | { K100, K101, KC_NO, K103, KC_NO, K105, K106, KC_NO, K108 }, \ | ||
| 84 | { K110, KC_NO, KC_NO, KC_NO, KC_NO, K115, K116, K117, K118 } \ | ||
| 85 | } | ||
diff --git a/keyboards/linworks/fave87/info.json b/keyboards/linworks/fave87/info.json new file mode 100644 index 000000000..0612ca91f --- /dev/null +++ b/keyboards/linworks/fave87/info.json | |||
| @@ -0,0 +1,299 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "Lx3 Fave 87", | ||
| 3 | "maintainer": "ebastler", | ||
| 4 | "width": 18.25, | ||
| 5 | "height": 6.25, | ||
| 6 | "layouts": { | ||
| 7 | "LAYOUT_all": { | ||
| 8 | "layout": [ | ||
| 9 | {"label":"Esc", "x":0, "y":0}, | ||
| 10 | {"label":"F1", "x":2, "y":0}, | ||
| 11 | {"label":"F2", "x":3, "y":0}, | ||
| 12 | {"label":"F3", "x":4, "y":0}, | ||
| 13 | {"label":"F4", "x":5, "y":0}, | ||
| 14 | {"label":"F5", "x":6.5, "y":0}, | ||
| 15 | {"label":"F6", "x":7.5, "y":0}, | ||
| 16 | {"label":"F7", "x":8.5, "y":0}, | ||
| 17 | {"label":"F8", "x":9.5, "y":0}, | ||
| 18 | {"label":"F9", "x":11, "y":0}, | ||
| 19 | {"label":"F10", "x":12, "y":0}, | ||
| 20 | {"label":"F11", "x":13, "y":0}, | ||
| 21 | {"label":"F12", "x":14, "y":0}, | ||
| 22 | {"label":"PrtSc", "x":15.25, "y":0}, | ||
| 23 | {"label":"Scroll Lock", "x":16.25, "y":0}, | ||
| 24 | {"label":"Pause", "x":17.25, "y":0}, | ||
| 25 | |||
| 26 | {"label":"~", "x":0, "y":1.25}, | ||
| 27 | {"label":"!", "x":1, "y":1.25}, | ||
| 28 | {"label":"@", "x":2, "y":1.25}, | ||
| 29 | {"label":"#", "x":3, "y":1.25}, | ||
| 30 | {"label":"$", "x":4, "y":1.25}, | ||
| 31 | {"label":"%", "x":5, "y":1.25}, | ||
| 32 | {"label":"^", "x":6, "y":1.25}, | ||
| 33 | {"label":"&", "x":7, "y":1.25}, | ||
| 34 | {"label":"*", "x":8, "y":1.25}, | ||
| 35 | {"label":"(", "x":9, "y":1.25}, | ||
| 36 | {"label":")", "x":10, "y":1.25}, | ||
| 37 | {"label":"_", "x":11, "y":1.25}, | ||
| 38 | {"label":"+", "x":12, "y":1.25}, | ||
| 39 | {"x":13, "y":1.25}, | ||
| 40 | {"label":"Bksp", "x":14, "y":1.25}, | ||
| 41 | {"label":"Insert", "x":15.25, "y":1.25}, | ||
| 42 | {"label":"Home", "x":16.25, "y":1.25}, | ||
| 43 | {"label":"PgUp", "x":17.25, "y":1.25}, | ||
| 44 | |||
| 45 | {"label":"Tab", "x":0, "y":2.25, "w":1.5}, | ||
| 46 | {"label":"Q", "x":1.5, "y":2.25}, | ||
| 47 | {"label":"W", "x":2.5, "y":2.25}, | ||
| 48 | {"label":"E", "x":3.5, "y":2.25}, | ||
| 49 | {"label":"R", "x":4.5, "y":2.25}, | ||
| 50 | {"label":"T", "x":5.5, "y":2.25}, | ||
| 51 | {"label":"Y", "x":6.5, "y":2.25}, | ||
| 52 | {"label":"U", "x":7.5, "y":2.25}, | ||
| 53 | {"label":"I", "x":8.5, "y":2.25}, | ||
| 54 | {"label":"O", "x":9.5, "y":2.25}, | ||
| 55 | {"label":"P", "x":10.5, "y":2.25}, | ||
| 56 | {"label":"{", "x":11.5, "y":2.25}, | ||
| 57 | {"label":"}", "x":12.5, "y":2.25}, | ||
| 58 | {"label":"|", "x":13.5, "y":2.25, "w":1.5}, | ||
| 59 | {"label":"Delete", "x":15.25, "y":2.25}, | ||
| 60 | {"label":"End", "x":16.25, "y":2.25}, | ||
| 61 | {"label":"PgDn", "x":17.25, "y":2.25}, | ||
| 62 | |||
| 63 | {"label":"Caps Lock", "x":0, "y":3.25, "w":1.75}, | ||
| 64 | {"label":"A", "x":1.75, "y":3.25}, | ||
| 65 | {"label":"S", "x":2.75, "y":3.25}, | ||
| 66 | {"label":"D", "x":3.75, "y":3.25}, | ||
| 67 | {"label":"F", "x":4.75, "y":3.25}, | ||
| 68 | {"label":"G", "x":5.75, "y":3.25}, | ||
| 69 | {"label":"H", "x":6.75, "y":3.25}, | ||
| 70 | {"label":"J", "x":7.75, "y":3.25}, | ||
| 71 | {"label":"K", "x":8.75, "y":3.25}, | ||
| 72 | {"label":"L", "x":9.75, "y":3.25}, | ||
| 73 | {"label":":", "x":10.75, "y":3.25}, | ||
| 74 | {"label":"\"", "x":11.75, "y":3.25}, | ||
| 75 | {"x":12.75, "y":3.25}, | ||
| 76 | {"label":"Enter", "x":13.75, "y":3.25, "w":1.25}, | ||
| 77 | |||
| 78 | {"label":"Shift", "x":0, "y":4.25, "w":1.25}, | ||
| 79 | {"x":1.25, "y":4.25}, | ||
| 80 | {"label":"Z", "x":2.25, "y":4.25}, | ||
| 81 | {"label":"X", "x":3.25, "y":4.25}, | ||
| 82 | {"label":"C", "x":4.25, "y":4.25}, | ||
| 83 | {"label":"V", "x":5.25, "y":4.25}, | ||
| 84 | {"label":"B", "x":6.25, "y":4.25}, | ||
| 85 | {"label":"N", "x":7.25, "y":4.25}, | ||
| 86 | {"label":"M", "x":8.25, "y":4.25}, | ||
| 87 | {"label":"<", "x":9.25, "y":4.25}, | ||
| 88 | {"label":">", "x":10.25, "y":4.25}, | ||
| 89 | {"label":"?", "x":11.25, "y":4.25}, | ||
| 90 | {"label":"Shift", "x":12.25, "y":4.25, "w":1.75}, | ||
| 91 | {"x":14, "y":4.25}, | ||
| 92 | {"label":"\u2191", "x":16.25, "y":4.25}, | ||
| 93 | |||
| 94 | {"label":"Ctrl", "x":0, "y":5.25, "w":1.25}, | ||
| 95 | {"label":"Win", "x":1.25, "y":5.25, "w":1.25}, | ||
| 96 | {"label":"Alt", "x":2.5, "y":5.25, "w":1.25}, | ||
| 97 | {"x":3.75, "y":5.25, "w":6.25}, | ||
| 98 | {"label":"Alt", "x":10, "y":5.25, "w":1.25}, | ||
| 99 | {"label":"Win", "x":11.25, "y":5.25, "w":1.25}, | ||
| 100 | {"label":"Menu", "x":12.5, "y":5.25, "w":1.25}, | ||
| 101 | {"label":"Ctrl", "x":13.75, "y":5.25, "w":1.25}, | ||
| 102 | {"label":"\u2190", "x":15.25, "y":5.25}, | ||
| 103 | {"label":"\u2193", "x":16.25, "y":5.25}, | ||
| 104 | {"label":"\u2192", "x":17.25, "y":5.25}] | ||
| 105 | }, | ||
| 106 | |||
| 107 | "LAYOUT_tkl_ansi": { | ||
| 108 | "layout": [ | ||
| 109 | {"label":"Esc", "x":0, "y":0}, | ||
| 110 | {"label":"F1", "x":2, "y":0}, | ||
| 111 | {"label":"F2", "x":3, "y":0}, | ||
| 112 | {"label":"F3", "x":4, "y":0}, | ||
| 113 | {"label":"F4", "x":5, "y":0}, | ||
| 114 | {"label":"F5", "x":6.5, "y":0}, | ||
| 115 | {"label":"F6", "x":7.5, "y":0}, | ||
| 116 | {"label":"F7", "x":8.5, "y":0}, | ||
| 117 | {"label":"F8", "x":9.5, "y":0}, | ||
| 118 | {"label":"F9", "x":11, "y":0}, | ||
| 119 | {"label":"F10", "x":12, "y":0}, | ||
| 120 | {"label":"F11", "x":13, "y":0}, | ||
| 121 | {"label":"F12", "x":14, "y":0}, | ||
| 122 | {"label":"PrtSc", "x":15.25, "y":0}, | ||
| 123 | {"label":"Scroll Lock", "x":16.25, "y":0}, | ||
| 124 | {"label":"Pause", "x":17.25, "y":0}, | ||
| 125 | |||
| 126 | {"label":"~", "x":0, "y":1.5}, | ||
| 127 | {"label":"!", "x":1, "y":1.5}, | ||
| 128 | {"label":"@", "x":2, "y":1.5}, | ||
| 129 | {"label":"#", "x":3, "y":1.5}, | ||
| 130 | {"label":"$", "x":4, "y":1.5}, | ||
| 131 | {"label":"%", "x":5, "y":1.5}, | ||
| 132 | {"label":"^", "x":6, "y":1.5}, | ||
| 133 | {"label":"&", "x":7, "y":1.5}, | ||
| 134 | {"label":"*", "x":8, "y":1.5}, | ||
| 135 | {"label":"(", "x":9, "y":1.5}, | ||
| 136 | {"label":")", "x":10, "y":1.5}, | ||
| 137 | {"label":"_", "x":11, "y":1.5}, | ||
| 138 | {"label":"+", "x":12, "y":1.5}, | ||
| 139 | {"label":"Bksp", "x":13, "y":1.5, "w":2}, | ||
| 140 | {"label":"Insert", "x":15.25, "y":1.5}, | ||
| 141 | {"label":"Home", "x":16.25, "y":1.5}, | ||
| 142 | {"label":"PgUp", "x":17.25, "y":1.5}, | ||
| 143 | |||
| 144 | {"label":"Tab", "x":0, "y":2.25, "w":1.5}, | ||
| 145 | {"label":"Q", "x":1.5, "y":2.25}, | ||
| 146 | {"label":"W", "x":2.5, "y":2.25}, | ||
| 147 | {"label":"E", "x":3.5, "y":2.25}, | ||
| 148 | {"label":"R", "x":4.5, "y":2.25}, | ||
| 149 | {"label":"T", "x":5.5, "y":2.25}, | ||
| 150 | {"label":"Y", "x":6.5, "y":2.25}, | ||
| 151 | {"label":"U", "x":7.5, "y":2.25}, | ||
| 152 | {"label":"I", "x":8.5, "y":2.25}, | ||
| 153 | {"label":"O", "x":9.5, "y":2.25}, | ||
| 154 | {"label":"P", "x":10.5, "y":2.25}, | ||
| 155 | {"label":"{", "x":11.5, "y":2.25}, | ||
| 156 | {"label":"}", "x":12.5, "y":2.25}, | ||
| 157 | {"label":"|", "x":13.5, "y":2.25, "w":1.5}, | ||
| 158 | {"label":"Delete", "x":15.25, "y":2.25}, | ||
| 159 | {"label":"End", "x":16.25, "y":2.25}, | ||
| 160 | {"label":"PgDn", "x":17.25, "y":2.25}, | ||
| 161 | |||
| 162 | {"label":"Caps Lock", "x":0, "y":3.25, "w":1.75}, | ||
| 163 | {"label":"A", "x":1.75, "y":3.25}, | ||
| 164 | {"label":"S", "x":2.75, "y":3.25}, | ||
| 165 | {"label":"D", "x":3.75, "y":3.25}, | ||
| 166 | {"label":"F", "x":4.75, "y":3.25}, | ||
| 167 | {"label":"G", "x":5.75, "y":3.25}, | ||
| 168 | {"label":"H", "x":6.75, "y":3.25}, | ||
| 169 | {"label":"J", "x":7.75, "y":3.25}, | ||
| 170 | {"label":"K", "x":8.75, "y":3.25}, | ||
| 171 | {"label":"L", "x":9.75, "y":3.25}, | ||
| 172 | {"label":":", "x":10.75, "y":3.25}, | ||
| 173 | {"label":"\"", "x":11.75, "y":3.25}, | ||
| 174 | {"label":"Enter", "x":12.75, "y":3.25, "w":2.25}, | ||
| 175 | |||
| 176 | {"label":"Shift", "x":0, "y":4.25, "w":2.25}, | ||
| 177 | {"label":"Z", "x":2.25, "y":4.25}, | ||
| 178 | {"label":"X", "x":3.25, "y":4.25}, | ||
| 179 | {"label":"C", "x":4.25, "y":4.25}, | ||
| 180 | {"label":"V", "x":5.25, "y":4.25}, | ||
| 181 | {"label":"B", "x":6.25, "y":4.25}, | ||
| 182 | {"label":"N", "x":7.25, "y":4.25}, | ||
| 183 | {"label":"M", "x":8.25, "y":4.25}, | ||
| 184 | {"label":"<", "x":9.25, "y":4.25}, | ||
| 185 | {"label":">", "x":10.25, "y":4.25}, | ||
| 186 | {"label":"?", "x":11.25, "y":4.25}, | ||
| 187 | {"label":"Shift", "x":12.25, "y":4.25, "w":2.75}, | ||
| 188 | {"label":"\u2191", "x":16.25, "y":4.25}, | ||
| 189 | |||
| 190 | {"label":"Ctrl", "x":0, "y":5.25, "w":1.25}, | ||
| 191 | {"label":"Win", "x":1.25, "y":5.25, "w":1.25}, | ||
| 192 | {"label":"Alt", "x":2.5, "y":5.25, "w":1.25}, | ||
| 193 | {"x":3.75, "y":5.25, "w":6.25}, | ||
| 194 | {"label":"Alt", "x":10, "y":5.25, "w":1.25}, | ||
| 195 | {"label":"Win", "x":11.25, "y":5.25, "w":1.25}, | ||
| 196 | {"label":"Menu", "x":12.5, "y":5.25, "w":1.25}, | ||
| 197 | {"label":"Ctrl", "x":13.75, "y":5.25, "w":1.25}, | ||
| 198 | {"label":"\u2190", "x":15.25, "y":5.25}, | ||
| 199 | {"label":"\u2193", "x":16.25, "y":5.25}, | ||
| 200 | {"label":"\u2192", "x":17.25, "y":5.25}] | ||
| 201 | }, | ||
| 202 | "LAYOUT_tkl_iso": { | ||
| 203 | "layout": [ | ||
| 204 | {"label":"Esc", "x":0, "y":0}, | ||
| 205 | {"label":"F1", "x":2, "y":0}, | ||
| 206 | {"label":"F2", "x":3, "y":0}, | ||
| 207 | {"label":"F3", "x":4, "y":0}, | ||
| 208 | {"label":"F4", "x":5, "y":0}, | ||
| 209 | {"label":"F5", "x":6.5, "y":0}, | ||
| 210 | {"label":"F6", "x":7.5, "y":0}, | ||
| 211 | {"label":"F7", "x":8.5, "y":0}, | ||
| 212 | {"label":"F8", "x":9.5, "y":0}, | ||
| 213 | {"label":"F9", "x":11, "y":0}, | ||
| 214 | {"label":"F10", "x":12, "y":0}, | ||
| 215 | {"label":"F11", "x":13, "y":0}, | ||
| 216 | {"label":"F12", "x":14, "y":0}, | ||
| 217 | {"label":"PrtSc", "x":15.25, "y":0}, | ||
| 218 | {"label":"Scroll Lock", "x":16.25, "y":0}, | ||
| 219 | {"label":"Pause", "x":17.25, "y":0}, | ||
| 220 | |||
| 221 | {"label":"~", "x":0, "y":1.25}, | ||
| 222 | {"label":"!", "x":1, "y":1.25}, | ||
| 223 | {"label":"@", "x":2, "y":1.25}, | ||
| 224 | {"label":"#", "x":3, "y":1.25}, | ||
| 225 | {"label":"$", "x":4, "y":1.25}, | ||
| 226 | {"label":"%", "x":5, "y":1.25}, | ||
| 227 | {"label":"^", "x":6, "y":1.25}, | ||
| 228 | {"label":"&", "x":7, "y":1.25}, | ||
| 229 | {"label":"*", "x":8, "y":1.25}, | ||
| 230 | {"label":"(", "x":9, "y":1.25}, | ||
| 231 | {"label":")", "x":10, "y":1.25}, | ||
| 232 | {"label":"_", "x":11, "y":1.25}, | ||
| 233 | {"label":"+", "x":12, "y":1.25}, | ||
| 234 | {"label":"Bksp", "x":13, "y":1.25, "w":2}, | ||
| 235 | {"label":"Insert", "x":15.25, "y":1.25}, | ||
| 236 | {"label":"Home", "x":16.25, "y":1.25}, | ||
| 237 | {"label":"PgUp", "x":17.25, "y":1.25}, | ||
| 238 | |||
| 239 | {"label":"Tab", "x":0, "y":2.25, "w":1.5}, | ||
| 240 | {"label":"Q", "x":1.5, "y":2.25}, | ||
| 241 | {"label":"W", "x":2.5, "y":2.25}, | ||
| 242 | {"label":"E", "x":3.5, "y":2.25}, | ||
| 243 | {"label":"R", "x":4.5, "y":2.25}, | ||
| 244 | {"label":"T", "x":5.5, "y":2.25}, | ||
| 245 | {"label":"Y", "x":6.5, "y":2.25}, | ||
| 246 | {"label":"U", "x":7.5, "y":2.25}, | ||
| 247 | {"label":"I", "x":8.5, "y":2.25}, | ||
| 248 | {"label":"O", "x":9.5, "y":2.25}, | ||
| 249 | {"label":"P", "x":10.5, "y":2.25}, | ||
| 250 | {"label":"{", "x":11.5, "y":2.25}, | ||
| 251 | {"label":"}", "x":12.5, "y":2.25}, | ||
| 252 | {"label":"Delete", "x":15.25, "y":2.25}, | ||
| 253 | {"label":"End", "x":16.25, "y":2.25}, | ||
| 254 | {"label":"PgDn", "x":17.25, "y":2.25}, | ||
| 255 | |||
| 256 | {"label":"Caps Lock", "x":0, "y":3.25, "w":1.75}, | ||
| 257 | {"label":"A", "x":1.75, "y":3.25}, | ||
| 258 | {"label":"S", "x":2.75, "y":3.25}, | ||
| 259 | {"label":"D", "x":3.75, "y":3.25}, | ||
| 260 | {"label":"F", "x":4.75, "y":3.25}, | ||
| 261 | {"label":"G", "x":5.75, "y":3.25}, | ||
| 262 | {"label":"H", "x":6.75, "y":3.25}, | ||
| 263 | {"label":"J", "x":7.75, "y":3.25}, | ||
| 264 | {"label":"K", "x":8.75, "y":3.25}, | ||
| 265 | {"label":"L", "x":9.75, "y":3.25}, | ||
| 266 | {"label":":", "x":10.75, "y":3.25}, | ||
| 267 | {"label":"\"", "x":11.75, "y":3.25}, | ||
| 268 | {"label":"#", "x":12.75, "y":3.25}, | ||
| 269 | {"label":"Enter", "x": 13.75, "y":2.25, "w":1.25, "h":2}, | ||
| 270 | |||
| 271 | {"label":"Shift", "x":0, "y":4.25, "w":1.25}, | ||
| 272 | {"x":1.25, "y":4.25}, | ||
| 273 | {"label":"Z", "x":2.25, "y":4.25}, | ||
| 274 | {"label":"X", "x":3.25, "y":4.25}, | ||
| 275 | {"label":"C", "x":4.25, "y":4.25}, | ||
| 276 | {"label":"V", "x":5.25, "y":4.25}, | ||
| 277 | {"label":"B", "x":6.25, "y":4.25}, | ||
| 278 | {"label":"N", "x":7.25, "y":4.25}, | ||
| 279 | {"label":"M", "x":8.25, "y":4.25}, | ||
| 280 | {"label":"<", "x":9.25, "y":4.25}, | ||
| 281 | {"label":">", "x":10.25, "y":4.25}, | ||
| 282 | {"label":"?", "x":11.25, "y":4.25}, | ||
| 283 | {"label":"Shift", "x":12.25, "y":4.25, "w":2.75}, | ||
| 284 | {"label":"\u2191", "x":16.25, "y":4.25}, | ||
| 285 | |||
| 286 | {"label":"Ctrl", "x":0, "y":5.25, "w":1.25}, | ||
| 287 | {"label":"Win", "x":1.25, "y":5.25, "w":1.25}, | ||
| 288 | {"label":"Alt", "x":2.5, "y":5.25, "w":1.25}, | ||
| 289 | {"x":3.75, "y":5.25, "w":6.25}, | ||
| 290 | {"label":"Alt", "x":10, "y":5.25, "w":1.25}, | ||
| 291 | {"label":"Win", "x":11.25, "y":5.25, "w":1.25}, | ||
| 292 | {"label":"Menu", "x":12.5, "y":5.25, "w":1.25}, | ||
| 293 | {"label":"Ctrl", "x":13.75, "y":5.25, "w":1.25}, | ||
| 294 | {"label":"\u2190", "x":15.25, "y":5.25}, | ||
| 295 | {"label":"\u2193", "x":16.25, "y":5.25}, | ||
| 296 | {"label":"\u2192", "x":17.25, "y":5.25}] | ||
| 297 | } | ||
| 298 | } | ||
| 299 | } | ||
diff --git a/keyboards/linworks/fave87/keymaps/default/keymap.c b/keyboards/linworks/fave87/keymaps/default/keymap.c new file mode 100644 index 000000000..fc56046e8 --- /dev/null +++ b/keyboards/linworks/fave87/keymaps/default/keymap.c | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | /* Copyright 2021 Moritz Plattner | ||
| 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 | #include QMK_KEYBOARD_H | ||
| 17 | |||
| 18 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 19 | |||
| 20 | [0] = LAYOUT_all( | ||
| 21 | KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SLCK, KC_PAUS, | ||
| 22 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_BSPC, KC_INS, KC_HOME, KC_PGUP, | ||
| 23 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, KC_END, KC_PGDN, | ||
| 24 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, | ||
| 25 | KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_TRNS, KC_UP, | ||
| 26 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), | ||
| 27 | |||
| 28 | [1] = LAYOUT_all( | ||
| 29 | RGB_TOG, RGB_VAD, RGB_VAI, BL_DEC, BL_INC, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, RGB_RMOD, RGB_MOD, RGB_SPI, RGB_SPI, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 30 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 31 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RESET, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 32 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 33 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLU, | ||
| 34 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPRV, KC_VOLD, KC_MNXT), | ||
| 35 | }; \ No newline at end of file | ||
diff --git a/keyboards/linworks/fave87/keymaps/via/keymap.c b/keyboards/linworks/fave87/keymaps/via/keymap.c new file mode 100644 index 000000000..fc56046e8 --- /dev/null +++ b/keyboards/linworks/fave87/keymaps/via/keymap.c | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | /* Copyright 2021 Moritz Plattner | ||
| 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 | #include QMK_KEYBOARD_H | ||
| 17 | |||
| 18 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 19 | |||
| 20 | [0] = LAYOUT_all( | ||
| 21 | KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SLCK, KC_PAUS, | ||
| 22 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_BSPC, KC_INS, KC_HOME, KC_PGUP, | ||
| 23 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, KC_END, KC_PGDN, | ||
| 24 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, | ||
| 25 | KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_TRNS, KC_UP, | ||
| 26 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), | ||
| 27 | |||
| 28 | [1] = LAYOUT_all( | ||
| 29 | RGB_TOG, RGB_VAD, RGB_VAI, BL_DEC, BL_INC, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, RGB_RMOD, RGB_MOD, RGB_SPI, RGB_SPI, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 30 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 31 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RESET, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 32 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 33 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLU, | ||
| 34 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPRV, KC_VOLD, KC_MNXT), | ||
| 35 | }; \ No newline at end of file | ||
diff --git a/keyboards/linworks/fave87/keymaps/via/rules.mk b/keyboards/linworks/fave87/keymaps/via/rules.mk new file mode 100644 index 000000000..036bd6d1c --- /dev/null +++ b/keyboards/linworks/fave87/keymaps/via/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| VIA_ENABLE = yes \ No newline at end of file | |||
diff --git a/keyboards/linworks/fave87/readme.md b/keyboards/linworks/fave87/readme.md new file mode 100644 index 000000000..b673c312a --- /dev/null +++ b/keyboards/linworks/fave87/readme.md | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | # Fave 87 | ||
| 2 | |||
| 3 | |||
| 4 | The Fave 87 is the default PCB used by linworks/LX3 for TKL-boards. This is the latest pcb iteration, featuring QMK, VIA, single-color 3 mm LED backlight and RGB underglow. | ||
| 5 | |||
| 6 | * Keyboard maintainer: [ebastler](https://github.com/ebastler) | ||
| 7 | * Hardware supported: Fave 87 PCBs (the latest rev designed by ebastler - can be recognized by a name badge + "`e`" logo on the bottom) | ||
| 8 | * Hardware availability: Groupbuys. Check the ongoing ones on [the Linworks Discord](https://discord.gg/UC8gTdVnsj) | ||
| 9 | |||
| 10 | Make example for this keyboard (after setting up your build environment): | ||
| 11 | |||
| 12 | make linworks/fave87:default | ||
| 13 | |||
| 14 | Flash example for this keyboard: | ||
| 15 | |||
| 16 | make linworks/fave87:default:flash | ||
| 17 | |||
| 18 | See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). | ||
diff --git a/keyboards/linworks/fave87/rules.mk b/keyboards/linworks/fave87/rules.mk new file mode 100644 index 000000000..5f671bed8 --- /dev/null +++ b/keyboards/linworks/fave87/rules.mk | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | BOOTLOADER = atmel-dfu | ||
| 6 | |||
| 7 | # Build Options | ||
| 8 | # change yes to no to disable | ||
| 9 | # | ||
| 10 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | ||
| 11 | MOUSEKEY_ENABLE = no # Mouse keys | ||
| 12 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 13 | CONSOLE_ENABLE = no # Console for debug | ||
| 14 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 15 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 16 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 17 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 18 | NKRO_ENABLE = yes # USB Nkey Rollover | ||
| 19 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | ||
| 20 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | ||
