diff options
| author | Domanic Calleja <82970232+Malevolti@users.noreply.github.com> | 2021-12-19 20:58:40 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-19 12:58:40 -0800 |
| commit | 0e18f03b79d9bf5274323d7049c25e16d9250a06 (patch) | |
| tree | 01ed12771ab141c9b694fcea5da60d461fb75632 | |
| parent | 98a82225aa82a5f9d4a2db80883661d3f34c9e7c (diff) | |
| download | qmk_firmware-0e18f03b79d9bf5274323d7049c25e16d9250a06.tar.gz qmk_firmware-0e18f03b79d9bf5274323d7049c25e16d9250a06.zip | |
Add Superlyra keyboard + group with Lyra under new directory (#14955)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
28 files changed, 991 insertions, 0 deletions
diff --git a/keyboards/malevolti/lyra/config.h b/keyboards/malevolti/lyra/config.h new file mode 100644 index 000000000..a4606507c --- /dev/null +++ b/keyboards/malevolti/lyra/config.h | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | /* Copyright 2021 Domanic Calleja | ||
| 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 | #pragma once | ||
| 17 | |||
| 18 | #include "config_common.h" | ||
| 19 | |||
diff --git a/keyboards/malevolti/lyra/keymaps/default/config.h b/keyboards/malevolti/lyra/keymaps/default/config.h new file mode 100644 index 000000000..9c4bacd36 --- /dev/null +++ b/keyboards/malevolti/lyra/keymaps/default/config.h | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | /* | ||
| 2 | This is the c configuration file for the keymap | ||
| 3 | |||
| 4 | Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
| 5 | Copyright 2015 Jack Humbert | ||
| 6 | |||
| 7 | This program is free software: you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation, either version 2 of the License, or | ||
| 10 | (at your option) any later version. | ||
| 11 | |||
| 12 | This program is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 19 | */ | ||
| 20 | |||
| 21 | #pragma once | ||
| 22 | |||
| 23 | /* Select hand configuration */ | ||
| 24 | |||
| 25 | #define MASTER_LEFT | ||
| 26 | // #define MASTER_RIGHT | ||
| 27 | // #define EE_HANDS | ||
| 28 | |||
| 29 | #define TAPPING_FORCE_HOLD | ||
| 30 | #define TAPPING_TERM 100 | ||
diff --git a/keyboards/malevolti/lyra/keymaps/default/keymap.c b/keyboards/malevolti/lyra/keymaps/default/keymap.c new file mode 100644 index 000000000..1d4bef03f --- /dev/null +++ b/keyboards/malevolti/lyra/keymaps/default/keymap.c | |||
| @@ -0,0 +1,48 @@ | |||
| 1 | /* Copyright 2021 Domanic Calleja | ||
| 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 | // Keymaps | ||
| 20 | // | ||
| 21 | enum lyra_layers { | ||
| 22 | /* _M_XYZ = Mac Os, _W_XYZ = Win/Linux */ | ||
| 23 | _QWERTY, | ||
| 24 | _FUNCTION | ||
| 25 | |||
| 26 | }; | ||
| 27 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 28 | |||
| 29 | // Layer 0 | ||
| 30 | [_QWERTY] = LAYOUT( | ||
| 31 | KC_ESC, 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, | ||
| 32 | KC_TAB, KC_LBRC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_NUHS, KC_DEL, | ||
| 33 | KC_CLCK, KC_RBRC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, | ||
| 34 | 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_UP, KC_RSFT, | ||
| 35 | KC_LCTL, KC_LGUI, KC_LALT, TT(1), KC_APP, KC_PGDN, KC_SPC, KC_SPC, KC_PGUP, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 36 | ), | ||
| 37 | |||
| 38 | // Layer 1 | ||
| 39 | [_FUNCTION] = LAYOUT( | ||
| 40 | KC_TRNS, 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_TRNS, | ||
| 41 | 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, | ||
| 42 | 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, | ||
| 43 | 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, | ||
| 44 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLD, KC_TRNS, KC_TRNS, KC_VOLU, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 45 | ) | ||
| 46 | |||
| 47 | }; | ||
| 48 | |||
diff --git a/keyboards/malevolti/lyra/keymaps/via/config.h b/keyboards/malevolti/lyra/keymaps/via/config.h new file mode 100644 index 000000000..9c4bacd36 --- /dev/null +++ b/keyboards/malevolti/lyra/keymaps/via/config.h | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | /* | ||
| 2 | This is the c configuration file for the keymap | ||
| 3 | |||
| 4 | Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
| 5 | Copyright 2015 Jack Humbert | ||
| 6 | |||
| 7 | This program is free software: you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation, either version 2 of the License, or | ||
| 10 | (at your option) any later version. | ||
| 11 | |||
| 12 | This program is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 19 | */ | ||
| 20 | |||
| 21 | #pragma once | ||
| 22 | |||
| 23 | /* Select hand configuration */ | ||
| 24 | |||
| 25 | #define MASTER_LEFT | ||
| 26 | // #define MASTER_RIGHT | ||
| 27 | // #define EE_HANDS | ||
| 28 | |||
| 29 | #define TAPPING_FORCE_HOLD | ||
| 30 | #define TAPPING_TERM 100 | ||
diff --git a/keyboards/malevolti/lyra/keymaps/via/keymap.c b/keyboards/malevolti/lyra/keymaps/via/keymap.c new file mode 100644 index 000000000..efc40d226 --- /dev/null +++ b/keyboards/malevolti/lyra/keymaps/via/keymap.c | |||
| @@ -0,0 +1,56 @@ | |||
| 1 | /* Copyright 2021 Domanic Calleja | ||
| 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 | // Keymaps | ||
| 19 | // | ||
| 20 | |||
| 21 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 22 | |||
| 23 | // Layer 0 | ||
| 24 | [0] = LAYOUT( | ||
| 25 | KC_ESC, 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, | ||
| 26 | KC_TAB, KC_LBRC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_NUHS, KC_DEL, | ||
| 27 | KC_CLCK, KC_RBRC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, | ||
| 28 | 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_UP, KC_RSFT, | ||
| 29 | KC_LCTL, KC_LGUI, KC_LALT, TT(1), KC_APP, KC_PGDN, KC_SPC, KC_SPC, KC_PGUP, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 30 | ), | ||
| 31 | |||
| 32 | // Layer 1 | ||
| 33 | [1] = LAYOUT( | ||
| 34 | KC_TRNS, 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_TRNS, | ||
| 35 | 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, | ||
| 36 | 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, | ||
| 37 | 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, | ||
| 38 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLD, KC_TRNS, KC_TRNS, KC_VOLU, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 39 | ), | ||
| 40 | // Layer 2 | ||
| 41 | [2] = LAYOUT( | ||
| 42 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLD, KC_TRNS, KC_TRNS, KC_VOLU, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 43 | 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, | ||
| 44 | 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, | ||
| 45 | 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, | ||
| 46 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLD, KC_TRNS, KC_TRNS, KC_VOLU, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 47 | ), | ||
| 48 | // Layer 3 | ||
| 49 | [3] = LAYOUT( | ||
| 50 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLD, KC_TRNS, KC_TRNS, KC_VOLU, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 51 | 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, | ||
| 52 | 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, | ||
| 53 | 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, | ||
| 54 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLD, KC_TRNS, KC_TRNS, KC_VOLU, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 55 | ) | ||
| 56 | }; | ||
diff --git a/keyboards/malevolti/lyra/keymaps/via/rules.mk b/keyboards/malevolti/lyra/keymaps/via/rules.mk new file mode 100644 index 000000000..036bd6d1c --- /dev/null +++ b/keyboards/malevolti/lyra/keymaps/via/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| VIA_ENABLE = yes \ No newline at end of file | |||
diff --git a/keyboards/malevolti/lyra/lyra.c b/keyboards/malevolti/lyra/lyra.c new file mode 100644 index 000000000..cd8d7c2e8 --- /dev/null +++ b/keyboards/malevolti/lyra/lyra.c | |||
| @@ -0,0 +1,84 @@ | |||
| 1 | /* Copyright 2021 Domanic Calleja | ||
| 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 "lyra.h" | ||
| 17 | |||
| 18 | #ifdef OLED_ENABLE | ||
| 19 | |||
| 20 | // 'lyralogooled', 32x128px | ||
| 21 | oled_rotation_t oled_init_kb(oled_rotation_t rotation) { | ||
| 22 | if (is_keyboard_master()) { | ||
| 23 | return OLED_ROTATION_270; | ||
| 24 | } | ||
| 25 | return rotation; | ||
| 26 | } | ||
| 27 | |||
| 28 | bool oled_task_kb(void) { | ||
| 29 | if (!oled_task_user()) { return false; } | ||
| 30 | if (is_keyboard_master()) { | ||
| 31 | oled_write_P(PSTR(" "), false); | ||
| 32 | # ifdef WPM_ENABLE | ||
| 33 | oled_write(get_u8_str(get_current_wpm(), ' '), false); | ||
| 34 | oled_write_ln_P(PSTR(" WPM"), false); | ||
| 35 | # else | ||
| 36 | oled_advance_page(true); | ||
| 37 | # endif | ||
| 38 | oled_advance_page(true); | ||
| 39 | led_t led_usb_state = host_keyboard_led_state(); | ||
| 40 | oled_write_ln_P(PSTR("CPSLK"), led_usb_state.caps_lock); | ||
| 41 | oled_advance_page(true); oled_advance_page(true); | ||
| 42 | oled_write_ln_P(PSTR("Lyra"), false); | ||
| 43 | oled_write_ln_P(PSTR("v1.1"), false); | ||
| 44 | oled_write_ln_P(PSTR("by"), false); | ||
| 45 | oled_write_P(PSTR("Dom C"), false); | ||
| 46 | } else { | ||
| 47 | static const char PROGMEM QMK_logo[] = { | ||
| 48 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xe0, 0x78, 0x18, 0x0c, 0x04, 0x06, 0x02, | ||
| 49 | 0x02, 0x82, 0xc0, 0xf0, 0x38, 0x8c, 0xf2, 0x3e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 50 | 0x80, 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 51 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x40, 0xc0, 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 52 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x40, 0x40, 0x40, 0x40, 0xc0, 0x80, | ||
| 53 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 54 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 55 | 0x00, 0x00, 0x00, 0x80, 0x40, 0xc0, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 56 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0x1f, 0x18, 0x30, 0x20, 0xa0, 0xe0, 0xf8, | ||
| 57 | 0x3e, 0x1f, 0x13, 0x0c, 0x06, 0xc3, 0xf0, 0x60, 0x00, 0x80, 0xf0, 0xe0, 0x00, 0x38, 0xfe, 0x67, | ||
| 58 | 0x7b, 0xa5, 0xf3, 0xf0, 0x70, 0x00, 0x00, 0x80, 0xc0, 0xc0, 0xe0, 0x70, 0x30, 0x20, 0x00, 0x00, | ||
| 59 | 0x00, 0x80, 0x00, 0x00, 0x00, 0x7f, 0xc0, 0xdd, 0xdd, 0xdd, 0xe3, 0x7e, 0x3c, 0x3e, 0x61, 0xdf, | ||
| 60 | 0xde, 0xde, 0x01, 0xff, 0xfe, 0x00, 0x80, 0x80, 0x80, 0xff, 0xc0, 0xdf, 0xdf, 0xdf, 0xe0, 0xff, | ||
| 61 | 0x7f, 0x3c, 0x62, 0xdd, 0xdd, 0xdd, 0xe3, 0x7e, 0x3c, 0xfe, 0xc1, 0xfd, 0x7d, 0xc3, 0xfd, 0x7d, | ||
| 62 | 0xc3, 0xfe, 0xfc, 0x30, 0xea, 0xd5, 0xd5, 0xd5, 0xc3, 0xff, 0xfe, 0x7e, 0xc1, 0xfd, 0x7d, 0x7d, | ||
| 63 | 0xc3, 0xfe, 0xfc, 0x3f, 0xe1, 0xff, 0xff, 0x3c, 0x62, 0xdd, 0xdd, 0xdd, 0xf7, 0xe6, 0x00, 0x00, | ||
| 64 | 0x00, 0x78, 0xc4, 0xc2, 0x82, 0x82, 0x82, 0x82, 0xc2, 0xe4, 0x74, 0x7c, 0x3f, 0x1f, 0x31, 0x60, | ||
| 65 | 0xe0, 0xc0, 0x80, 0x9c, 0xbf, 0xe7, 0xf1, 0x78, 0x3e, 0x1f, 0x0b, 0x04, 0x02, 0x01, 0x00, 0x1c, | ||
| 66 | 0x3e, 0x2f, 0x13, 0x10, 0x0c, 0x1e, 0x3f, 0x2f, 0x13, 0x09, 0x1c, 0x3e, 0x2f, 0x10, 0x08, 0x06, | ||
| 67 | 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x06, | ||
| 68 | 0x06, 0x06, 0x07, 0x03, 0x7f, 0xc1, 0xbe, 0xbe, 0xbe, 0xa6, 0xe7, 0xc7, 0x60, 0xd4, 0xaa, 0xaa, | ||
| 69 | 0xaa, 0x86, 0xfe, 0xfc, 0x7f, 0xc0, 0xff, 0xff, 0x7f, 0xc0, 0xff, 0xff, 0xc4, 0xaa, 0xaa, 0xaa, | ||
| 70 | 0xa6, 0xfc, 0xf8, 0xff, 0x02, 0xff, 0xff, 0x60, 0xd4, 0xaa, 0xaa, 0xaa, 0x86, 0xfe, 0xfc, 0x00, | ||
| 71 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 72 | 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x28, 0x24, | ||
| 73 | 0x32, 0x1b, 0x1f, 0x0f, 0x0f, 0x1f, 0x1f, 0x3c, 0x38, 0x38, 0x78, 0x70, 0x70, 0x70, 0x30, 0x38, | ||
| 74 | 0x1f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 75 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 76 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x01, 0x01, | ||
| 77 | 0x01, 0x01, 0x01, 0x01, 0x00, 0x01, 0x01, 0x01, 0x00, 0x01, 0x01, 0x01, 0x00, 0x01, 0x01, 0x01, | ||
| 78 | 0x01, 0x01, 0x07, 0x0d, 0x0e, 0x07, 0x03, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, | ||
| 79 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 | ||
| 80 | }; | ||
| 81 | oled_write_raw_P(QMK_logo, sizeof(QMK_logo)); | ||
| 82 | } | ||
| 83 | } | ||
| 84 | #endif | ||
diff --git a/keyboards/malevolti/lyra/lyra.h b/keyboards/malevolti/lyra/lyra.h new file mode 100644 index 000000000..941f292c9 --- /dev/null +++ b/keyboards/malevolti/lyra/lyra.h | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | /* Copyright 2021 Domanic Calleja | ||
| 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 | #pragma once | ||
| 17 | |||
| 18 | #include "quantum.h" | ||
| 19 | |||
| 20 | |||
| 21 | #ifdef KEYBOARD_malevolti_lyra_rev1 | ||
| 22 | #include "rev1.h" | ||
| 23 | #endif | ||
diff --git a/keyboards/malevolti/lyra/readme.md b/keyboards/malevolti/lyra/readme.md new file mode 100644 index 000000000..3939431fb --- /dev/null +++ b/keyboards/malevolti/lyra/readme.md | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | # Lyra Keyboard | ||
| 2 | By Domanic Calleja - https://github.com/Malevolti | ||
| 3 | |||
| 4 | Lyra is 7x5 keys column-staggered split keyboard. Based on Sofle, Lily58, Corne and Helix keyboards. | ||
| 5 | There is an open source PCB available via https://github.com/Malevolti/Lyra | ||
| 6 | Instructions for handwiring and hand-wire specific case STLs are available for home 3d printing | ||
| 7 | |||
| 8 | Make example for this keyboard (after setting up your build environment): | ||
| 9 | |||
| 10 | make malevolti/lyra:default | ||
| 11 | |||
| 12 | Flashing example for this keyboard: | ||
| 13 | |||
| 14 | make malevolti/lyra:default:flash | ||
| 15 | |||
| 16 | Press reset button on the keyboard when asked. | ||
| 17 | |||
| 18 | Disconnect the first half, connect the second one and repeat the process. | ||
| 19 | |||
| 20 | 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/malevolti/lyra/rev1/config.h b/keyboards/malevolti/lyra/rev1/config.h new file mode 100644 index 000000000..4e006c2bd --- /dev/null +++ b/keyboards/malevolti/lyra/rev1/config.h | |||
| @@ -0,0 +1,49 @@ | |||
| 1 | /* Copyright 2021 Domanic Calleja | ||
| 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 | #pragma once | ||
| 17 | |||
| 18 | /* USB Device descriptor parameter */ | ||
| 19 | #define VENDOR_ID 0x4443 //DC | ||
| 20 | #define PRODUCT_ID 0x4C43 //LC | ||
| 21 | #define DEVICE_VER 0x3031 //01 | ||
| 22 | #define MANUFACTURER Dom | ||
| 23 | #define PRODUCT Lyra | ||
| 24 | |||
| 25 | /* key matrix size */ | ||
| 26 | // Rows are doubled-up | ||
| 27 | #define MATRIX_ROWS 10 | ||
| 28 | #define MATRIX_COLS 7 | ||
| 29 | |||
| 30 | // wiring of each half | ||
| 31 | #define MATRIX_ROW_PINS { D4, C6, D7, E6, B4 } | ||
| 32 | #define MATRIX_COL_PINS { B2, B3, B1, F7, F6, F5, F4 } | ||
| 33 | |||
| 34 | #define DIODE_DIRECTION COL2ROW | ||
| 35 | |||
| 36 | #define TAPPING_TERM 100 | ||
| 37 | |||
| 38 | /* define if matrix has ghost */ | ||
| 39 | //#define MATRIX_HAS_GHOST | ||
| 40 | |||
| 41 | /* Set 0 if debouncing isn't needed */ | ||
| 42 | #define DEBOUNCE 5 | ||
| 43 | |||
| 44 | /* communication between sides */ | ||
| 45 | #define USE_SERIAL | ||
| 46 | #define SOFT_SERIAL_PIN D2 | ||
| 47 | |||
| 48 | #define NO_ACTION_MACRO | ||
| 49 | #define NO_ACTION_FUNCTION | ||
diff --git a/keyboards/malevolti/lyra/rev1/info.json b/keyboards/malevolti/lyra/rev1/info.json new file mode 100644 index 000000000..82dd811fd --- /dev/null +++ b/keyboards/malevolti/lyra/rev1/info.json | |||
| @@ -0,0 +1,90 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "lyra", | ||
| 3 | "url": "", | ||
| 4 | "maintainer": "malevolti", | ||
| 5 | "layouts": { | ||
| 6 | "LAYOUT": { | ||
| 7 | "layout": [ | ||
| 8 | {"x": 0, "y": 0.3}, | ||
| 9 | {"x": 1, "y": 0.4}, | ||
| 10 | {"x": 2, "y": 0.3}, | ||
| 11 | {"x": 3, "y": 0.1}, | ||
| 12 | {"x": 4, "y": 0}, | ||
| 13 | {"x": 5, "y": 0.1}, | ||
| 14 | {"x": 6, "y": 0.25}, | ||
| 15 | |||
| 16 | {"x": 8, "y": 0.25}, | ||
| 17 | {"x": 9, "y": 0.1}, | ||
| 18 | {"x": 10, "y": 0}, | ||
| 19 | {"x": 11, "y": 0.1}, | ||
| 20 | {"x": 12, "y": 0.3}, | ||
| 21 | {"x": 13, "y": 0.4}, | ||
| 22 | {"x": 14, "y": 0.3}, | ||
| 23 | |||
| 24 | {"x": 0, "y": 1.3}, | ||
| 25 | {"x": 1, "y": 1.4}, | ||
| 26 | {"x": 2, "y": 1.3}, | ||
| 27 | {"x": 3, "y": 1.1}, | ||
| 28 | {"x": 4, "y": 1}, | ||
| 29 | {"x": 5, "y": 1.1}, | ||
| 30 | {"x": 6, "y": 1.25}, | ||
| 31 | |||
| 32 | {"x": 8, "y": 1.25}, | ||
| 33 | {"x": 9, "y": 1.1}, | ||
| 34 | {"x": 10, "y": 1}, | ||
| 35 | {"x": 11, "y": 1.1}, | ||
| 36 | {"x": 12, "y": 1.3}, | ||
| 37 | {"x": 13, "y": 1.4}, | ||
| 38 | {"x": 14, "y": 1.3}, | ||
| 39 | |||
| 40 | {"x": 0, "y": 2.3}, | ||
| 41 | {"x": 1, "y": 2.4}, | ||
| 42 | {"x": 2, "y": 2.3}, | ||
| 43 | {"x": 3, "y": 2.1}, | ||
| 44 | {"x": 4, "y": 2}, | ||
| 45 | {"x": 5, "y": 2.1}, | ||
| 46 | {"x": 6, "y": 2.25}, | ||
| 47 | |||
| 48 | {"x": 8, "y": 2.25}, | ||
| 49 | {"x": 9, "y": 2.1}, | ||
| 50 | {"x": 10, "y": 2}, | ||
| 51 | {"x": 11, "y": 2.1}, | ||
| 52 | {"x": 12, "y": 2.3}, | ||
| 53 | {"x": 13, "y": 2.4}, | ||
| 54 | {"x": 14, "y": 2.3}, | ||
| 55 | |||
| 56 | {"x": 0, "y": 3.3}, | ||
| 57 | {"x": 1, "y": 3.4}, | ||
| 58 | {"x": 2, "y": 3.3}, | ||
| 59 | {"x": 3, "y": 3.1}, | ||
| 60 | {"x": 4, "y": 3}, | ||
| 61 | {"x": 5, "y": 3.1}, | ||
| 62 | {"x": 6, "y": 3.25}, | ||
| 63 | |||
| 64 | {"x": 8, "y": 3.25}, | ||
| 65 | {"x": 9, "y": 3.1}, | ||
| 66 | {"x": 10, "y": 3}, | ||
| 67 | {"x": 11, "y": 3.1}, | ||
| 68 | {"x": 12, "y": 3.3}, | ||
| 69 | {"x": 13, "y": 3.4}, | ||
| 70 | {"x": 14, "y": 3.3}, | ||
| 71 | |||
| 72 | {"x": 0, "y": 4.3}, | ||
| 73 | {"x": 1, "y": 4.4}, | ||
| 74 | {"x": 2, "y": 4.3}, | ||
| 75 | {"x": 3, "y": 4.1}, | ||
| 76 | {"x": 4, "y": 4}, | ||
| 77 | {"x": 5, "y": 4.1}, | ||
| 78 | {"x": 6.25, "y": 4.5}, | ||
| 79 | |||
| 80 | {"x": 7.75, "y": 4.5}, | ||
| 81 | {"x": 9, "y": 4.1}, | ||
| 82 | {"x": 10, "y": 4}, | ||
| 83 | {"x": 11, "y": 4.1}, | ||
| 84 | {"x": 12, "y": 4.3}, | ||
| 85 | {"x": 13, "y": 4.4}, | ||
| 86 | {"x": 14, "y": 4.3} | ||
| 87 | ] | ||
| 88 | } | ||
| 89 | } | ||
| 90 | } | ||
diff --git a/keyboards/malevolti/lyra/rev1/rev1.c b/keyboards/malevolti/lyra/rev1/rev1.c new file mode 100644 index 000000000..db31ea975 --- /dev/null +++ b/keyboards/malevolti/lyra/rev1/rev1.c | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | /* Copyright 2021 Domanic Calleja | ||
| 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 "rev1.h" | ||
| 18 | |||
| 19 | |||
diff --git a/keyboards/malevolti/lyra/rev1/rev1.h b/keyboards/malevolti/lyra/rev1/rev1.h new file mode 100644 index 000000000..81b862c5c --- /dev/null +++ b/keyboards/malevolti/lyra/rev1/rev1.h | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | /* Copyright 2021 Domanic Calleja | ||
| 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 | #include "lyra.h" | ||
| 19 | |||
| 20 | |||
| 21 | #define LAYOUT( \ | ||
| 22 | L00, L01, L02, L03, L04, L05, L06, R00, R01, R02, R03, R04, R05, R06, \ | ||
| 23 | L10, L11, L12, L13, L14, L15, L16, R10, R11, R12, R13, R14, R15, R16, \ | ||
| 24 | L20, L21, L22, L23, L24, L25, L26, R20, R21, R22, R23, R24, R25, R26, \ | ||
| 25 | L30, L31, L32, L33, L34, L35, L36, R30, R31, R32, R33, R34, R35, R36, \ | ||
| 26 | L40, L41, L42, L43, L44, L45, L46, R40, R41, R42, R43, R44, R45, R46 \ | ||
| 27 | ) \ | ||
| 28 | { \ | ||
| 29 | { L00, L01, L02, L03, L04, L05, L06 }, \ | ||
| 30 | { L10, L11, L12, L13, L14, L15, L16 }, \ | ||
| 31 | { L20, L21, L22, L23, L24, L25, L26 }, \ | ||
| 32 | { L30, L31, L32, L33, L34, L35, L36 }, \ | ||
| 33 | { L40, L41, L42, L43, L44, L45, L46 }, \ | ||
| 34 | { R06, R05, R04, R03, R02, R01, R00 }, \ | ||
| 35 | { R16, R15, R14, R13, R12, R11, R10 }, \ | ||
| 36 | { R26, R25, R24, R23, R22, R21, R20 }, \ | ||
| 37 | { R36, R35, R34, R33, R32, R31, R30 }, \ | ||
| 38 | { R46, R45, R44, R43, R42, R41, R40 } \ | ||
| 39 | } | ||
diff --git a/keyboards/malevolti/lyra/rev1/rules.mk b/keyboards/malevolti/lyra/rev1/rules.mk new file mode 100644 index 000000000..87f331ab6 --- /dev/null +++ b/keyboards/malevolti/lyra/rev1/rules.mk | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | BOOTLOADER = caterina | ||
| 6 | |||
| 7 | # Build Options | ||
| 8 | # change yes to no to disable | ||
| 9 | # | ||
| 10 | BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite | ||
| 11 | MOUSEKEY_ENABLE = yes # 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 | NKRO_ENABLE = no # Enable N-Key Rollover | ||
| 16 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 17 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
| 18 | AUDIO_ENABLE = no # Audio output | ||
| 19 | |||
| 20 | SPLIT_KEYBOARD = yes | ||
| 21 | LTO_ENABLE = yes \ No newline at end of file | ||
diff --git a/keyboards/malevolti/superlyra/config.h b/keyboards/malevolti/superlyra/config.h new file mode 100644 index 000000000..a4606507c --- /dev/null +++ b/keyboards/malevolti/superlyra/config.h | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | /* Copyright 2021 Domanic Calleja | ||
| 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 | #pragma once | ||
| 17 | |||
| 18 | #include "config_common.h" | ||
| 19 | |||
diff --git a/keyboards/malevolti/superlyra/keymaps/default/config.h b/keyboards/malevolti/superlyra/keymaps/default/config.h new file mode 100644 index 000000000..bbdf47463 --- /dev/null +++ b/keyboards/malevolti/superlyra/keymaps/default/config.h | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | /* | ||
| 2 | This is the c configuration file for the keymap | ||
| 3 | |||
| 4 | Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
| 5 | Copyright 2015 Jack Humbert | ||
| 6 | |||
| 7 | This program is free software: you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation, either version 2 of the License, or | ||
| 10 | (at your option) any later version. | ||
| 11 | |||
| 12 | This program is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 19 | */ | ||
| 20 | |||
| 21 | #pragma once | ||
| 22 | |||
| 23 | |||
| 24 | |||
| 25 | #define TAPPING_FORCE_HOLD | ||
| 26 | #define TAPPING_TERM 100 | ||
diff --git a/keyboards/malevolti/superlyra/keymaps/default/keymap.c b/keyboards/malevolti/superlyra/keymaps/default/keymap.c new file mode 100644 index 000000000..c266867f6 --- /dev/null +++ b/keyboards/malevolti/superlyra/keymaps/default/keymap.c | |||
| @@ -0,0 +1,43 @@ | |||
| 1 | /* Copyright 2021 Domanic Calleja | ||
| 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 | // Keymaps | ||
| 20 | // | ||
| 21 | |||
| 22 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 23 | |||
| 24 | // Layer 0 | ||
| 25 | [0] = LAYOUT( | ||
| 26 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_NLCK, KC_HOME, KC_END, KC_PSLS, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, | ||
| 27 | KC_TAB, KC_LBRC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_P7, KC_P8, KC_P9, KC_PAST, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_NUHS, KC_DEL, | ||
| 28 | KC_CLCK, KC_RBRC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_P4, KC_P5, KC_P6, KC_PMNS, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, | ||
| 29 | KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_P1, KC_P2, KC_P3, KC_PPLS, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_UP, KC_RSFT, | ||
| 30 | KC_LCTL, KC_LGUI, KC_LALT, TT(1), KC_APP, KC_PGDN, KC_SPC, KC_DEL, KC_P0, KC_PDOT, KC_ENT, KC_SPC, KC_PGUP, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 31 | ), | ||
| 32 | |||
| 33 | // Layer 1 | ||
| 34 | [1] = LAYOUT( | ||
| 35 | KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, | ||
| 36 | 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, | ||
| 37 | 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, | ||
| 38 | 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, | ||
| 39 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLU, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 40 | ) | ||
| 41 | |||
| 42 | }; | ||
| 43 | |||
diff --git a/keyboards/malevolti/superlyra/keymaps/via/config.h b/keyboards/malevolti/superlyra/keymaps/via/config.h new file mode 100644 index 000000000..bbdf47463 --- /dev/null +++ b/keyboards/malevolti/superlyra/keymaps/via/config.h | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | /* | ||
| 2 | This is the c configuration file for the keymap | ||
| 3 | |||
| 4 | Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
| 5 | Copyright 2015 Jack Humbert | ||
| 6 | |||
| 7 | This program is free software: you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation, either version 2 of the License, or | ||
| 10 | (at your option) any later version. | ||
| 11 | |||
| 12 | This program is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 19 | */ | ||
| 20 | |||
| 21 | #pragma once | ||
| 22 | |||
| 23 | |||
| 24 | |||
| 25 | #define TAPPING_FORCE_HOLD | ||
| 26 | #define TAPPING_TERM 100 | ||
diff --git a/keyboards/malevolti/superlyra/keymaps/via/keymap.c b/keyboards/malevolti/superlyra/keymaps/via/keymap.c new file mode 100644 index 000000000..8c29bed56 --- /dev/null +++ b/keyboards/malevolti/superlyra/keymaps/via/keymap.c | |||
| @@ -0,0 +1,56 @@ | |||
| 1 | /* Copyright 2021 Domanic Calleja | ||
| 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 | // Keymaps | ||
| 19 | // | ||
| 20 | |||
| 21 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 22 | |||
| 23 | // Layer 0 | ||
| 24 | [0] = LAYOUT( | ||
| 25 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_NLCK, KC_HOME, KC_END, KC_PSLS, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, | ||
| 26 | KC_TAB, KC_LBRC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_P7, KC_P8, KC_P9, KC_PAST, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_NUHS, KC_DEL, | ||
| 27 | KC_CLCK, KC_RBRC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_P4, KC_P5, KC_P6, KC_PMNS, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, | ||
| 28 | KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_P1, KC_P2, KC_P3, KC_PPLS, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_UP, KC_RSFT, | ||
| 29 | KC_LCTL, KC_LGUI, KC_LALT, TT(1), KC_APP, KC_PGDN, KC_SPC, KC_DEL, KC_P0, KC_PDOT, KC_ENT, KC_SPC, KC_PGUP, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 30 | ), | ||
| 31 | |||
| 32 | // Layer 1 | ||
| 33 | [1] = LAYOUT( | ||
| 34 | KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, | ||
| 35 | 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, | ||
| 36 | 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, | ||
| 37 | 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, | ||
| 38 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLU, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 39 | ), | ||
| 40 | // Layer 2 | ||
| 41 | [2] = LAYOUT( | ||
| 42 | KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, | ||
| 43 | 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, | ||
| 44 | 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, | ||
| 45 | 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, | ||
| 46 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLU, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 47 | ), | ||
| 48 | // Layer 3 | ||
| 49 | [3] = LAYOUT( | ||
| 50 | KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, | ||
| 51 | 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, | ||
| 52 | 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, | ||
| 53 | 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, | ||
| 54 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLU, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 55 | ) | ||
| 56 | }; | ||
diff --git a/keyboards/malevolti/superlyra/keymaps/via/rules.mk b/keyboards/malevolti/superlyra/keymaps/via/rules.mk new file mode 100644 index 000000000..036bd6d1c --- /dev/null +++ b/keyboards/malevolti/superlyra/keymaps/via/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| VIA_ENABLE = yes \ No newline at end of file | |||
diff --git a/keyboards/malevolti/superlyra/readme.md b/keyboards/malevolti/superlyra/readme.md new file mode 100644 index 000000000..b222f0f34 --- /dev/null +++ b/keyboards/malevolti/superlyra/readme.md | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | # SuperLyra Keyboard | ||
| 2 | By Domanic Calleja - https://github.com/Malevolti | ||
| 3 | |||
| 4 | SuperLyra is a 90 key column-staggered ergonomic keyboard. Based on the Lyra split with the addition of a centre numpad for ambidextorous use. | ||
| 5 | This version is a single pcb as opposed to a split, with the alphanumeric segments angled at 30 degrees to eachother. | ||
| 6 | There is an open source PCB available via https://github.com/Malevolti/SuperLyra | ||
| 7 | |||
| 8 | Make example for this keyboard (after setting up your build environment): | ||
| 9 | |||
| 10 | make malevolti/superlyra:default | ||
| 11 | |||
| 12 | Flashing example for this keyboard: | ||
| 13 | |||
| 14 | make malevolti/superlyra:default:flash | ||
| 15 | |||
| 16 | Press reset button on the keyboard when asked. | ||
| 17 | |||
| 18 | Disconnect the first half, connect the second one and repeat the process. | ||
| 19 | |||
| 20 | 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/malevolti/superlyra/rev1/config.h b/keyboards/malevolti/superlyra/rev1/config.h new file mode 100644 index 000000000..65c41392f --- /dev/null +++ b/keyboards/malevolti/superlyra/rev1/config.h | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | /* Copyright 2021 Domanic Calleja | ||
| 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 | #pragma once | ||
| 17 | |||
| 18 | /* USB Device descriptor parameter */ | ||
| 19 | #define VENDOR_ID 0x4443 //DC | ||
| 20 | #define PRODUCT_ID 0x4C53 //LS | ||
| 21 | #define DEVICE_VER 0x3031 //01 | ||
| 22 | #define MANUFACTURER Dom | ||
| 23 | #define PRODUCT SuperLyra | ||
| 24 | |||
| 25 | /* key matrix size */ | ||
| 26 | #define MATRIX_ROWS 5 | ||
| 27 | #define MATRIX_COLS 18 | ||
| 28 | |||
| 29 | // wiring of each half | ||
| 30 | #define MATRIX_ROW_PINS { B7, B3, B2, B1, B0 } | ||
| 31 | #define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4, B5, B6, C6, C7, F7, F6, F5, F4, F1 } | ||
| 32 | |||
| 33 | #define DIODE_DIRECTION COL2ROW | ||
| 34 | |||
| 35 | #define TAPPING_TERM 100 | ||
| 36 | |||
| 37 | /* define if matrix has ghost */ | ||
| 38 | //#define MATRIX_HAS_GHOST | ||
| 39 | |||
| 40 | /* Set 0 if debouncing isn't needed */ | ||
| 41 | #define DEBOUNCE 5 | ||
| 42 | |||
| 43 | #define NO_ACTION_MACRO | ||
| 44 | #define NO_ACTION_FUNCTION | ||
diff --git a/keyboards/malevolti/superlyra/rev1/info.json b/keyboards/malevolti/superlyra/rev1/info.json new file mode 100644 index 000000000..c7dce70de --- /dev/null +++ b/keyboards/malevolti/superlyra/rev1/info.json | |||
| @@ -0,0 +1,116 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "superlyra", | ||
| 3 | "url": "", | ||
| 4 | "maintainer": "malevolti", | ||
| 5 | "layouts": { | ||
| 6 | "LAYOUT": { | ||
| 7 | "layout": [ | ||
| 8 | { "x": 0, "y": 0.3 }, | ||
| 9 | { "x": 1, "y": 0.4 }, | ||
| 10 | { "x": 2, "y": 0.3 }, | ||
| 11 | { "x": 3, "y": 0.1 }, | ||
| 12 | { "x": 4, "y": 0 }, | ||
| 13 | { "x": 5, "y": 0.1 }, | ||
| 14 | { "x": 6, "y": 0.25 }, | ||
| 15 | |||
| 16 | { "x": 8, "y": 0.25 }, | ||
| 17 | { "x": 9, "y": 0.25 }, | ||
| 18 | { "x": 10, "y": 0.25 }, | ||
| 19 | { "x": 11, "y": 0.25 }, | ||
| 20 | |||
| 21 | { "x": 13, "y": 0.25 }, | ||
| 22 | { "x": 14, "y": 0.1 }, | ||
| 23 | { "x": 15, "y": 0 }, | ||
| 24 | { "x": 16, "y": 0.1 }, | ||
| 25 | { "x": 17, "y": 0.3 }, | ||
| 26 | { "x": 18, "y": 0.4 }, | ||
| 27 | { "x": 19, "y": 0.3 }, | ||
| 28 | |||
| 29 | { "x": 0, "y": 1.3 }, | ||
| 30 | { "x": 1, "y": 1.4 }, | ||
| 31 | { "x": 2, "y": 1.3 }, | ||
| 32 | { "x": 3, "y": 1.1 }, | ||
| 33 | { "x": 4, "y": 1 }, | ||
| 34 | { "x": 5, "y": 1.1 }, | ||
| 35 | { "x": 6, "y": 1.25 }, | ||
| 36 | |||
| 37 | { "x": 8, "y": 1.25 }, | ||
| 38 | { "x": 9, "y": 1.25 }, | ||
| 39 | { "x": 10, "y": 1.25 }, | ||
| 40 | { "x": 11, "y": 1.25 }, | ||
| 41 | |||
| 42 | { "x": 13, "y": 1.25 }, | ||
| 43 | { "x": 14, "y": 1.1 }, | ||
| 44 | { "x": 15, "y": 1 }, | ||
| 45 | { "x": 16, "y": 1.1 }, | ||
| 46 | { "x": 17, "y": 1.3 }, | ||
| 47 | { "x": 18, "y": 1.4 }, | ||
| 48 | { "x": 19, "y": 1.3 }, | ||
| 49 | |||
| 50 | { "x": 0, "y": 2.3 }, | ||
| 51 | { "x": 1, "y": 2.4 }, | ||
| 52 | { "x": 2, "y": 2.3 }, | ||
| 53 | { "x": 3, "y": 2.1 }, | ||
| 54 | { "x": 4, "y": 2 }, | ||
| 55 | { "x": 5, "y": 2.1 }, | ||
| 56 | { "x": 6, "y": 2.25 }, | ||
| 57 | |||
| 58 | { "x": 8, "y": 2.25 }, | ||
| 59 | { "x": 9, "y": 2.25 }, | ||
| 60 | { "x": 10, "y": 2.25 }, | ||
| 61 | { "x": 11, "y": 2.25 }, | ||
| 62 | |||
| 63 | { "x": 13, "y": 2.25 }, | ||
| 64 | { "x": 14, "y": 2.1 }, | ||
| 65 | { "x": 15, "y": 2 }, | ||
| 66 | { "x": 16, "y": 2.1 }, | ||
| 67 | { "x": 17, "y": 2.3 }, | ||
| 68 | { "x": 18, "y": 2.4 }, | ||
| 69 | { "x": 19, "y": 2.3 }, | ||
| 70 | |||
| 71 | { "x": 0, "y": 3.3 }, | ||
| 72 | { "x": 1, "y": 3.4 }, | ||
| 73 | { "x": 2, "y": 3.3 }, | ||
| 74 | { "x": 3, "y": 3.1 }, | ||
| 75 | { "x": 4, "y": 3 }, | ||
| 76 | { "x": 5, "y": 3.1 }, | ||
| 77 | { "x": 6, "y": 3.25 }, | ||
| 78 | |||
| 79 | { "x": 8, "y": 3.25 }, | ||
| 80 | { "x": 9, "y": 3.25 }, | ||
| 81 | { "x": 10, "y": 3.25 }, | ||
| 82 | { "x": 11, "y": 3.25 }, | ||
| 83 | |||
| 84 | { "x": 13, "y": 3.25 }, | ||
| 85 | { "x": 14, "y": 3.1 }, | ||
| 86 | { "x": 15, "y": 3 }, | ||
| 87 | { "x": 16, "y": 3.1 }, | ||
| 88 | { "x": 17, "y": 3.3 }, | ||
| 89 | { "x": 18, "y": 3.4 }, | ||
| 90 | { "x": 19, "y": 3.3 }, | ||
| 91 | |||
| 92 | { "x": 0, "y": 4.3 }, | ||
| 93 | { "x": 1, "y": 4.4 }, | ||
| 94 | { "x": 2, "y": 4.3 }, | ||
| 95 | { "x": 3, "y": 4.1 }, | ||
| 96 | { "x": 4, "y": 4 }, | ||
| 97 | { "x": 5, "y": 4.1 }, | ||
| 98 | { "x": 6.25, "y": 4.5, "w": 1.5 }, | ||
| 99 | |||
| 100 | { "x": 8, "y": 4.25 }, | ||
| 101 | { "x": 9, "y": 4.25 }, | ||
| 102 | { "x": 10, "y": 4.25 }, | ||
| 103 | { "x": 11, "y": 4.25 }, | ||
| 104 | |||
| 105 | { "x": 12.25, "y": 4.5, "w": 1.5 }, | ||
| 106 | { "x": 14, "y": 4.1 }, | ||
| 107 | { "x": 15, "y": 4 }, | ||
| 108 | { "x": 16, "y": 4.1 }, | ||
| 109 | { "x": 17, "y": 4.3 }, | ||
| 110 | { "x": 18, "y": 4.4 }, | ||
| 111 | { "x": 19, "y": 4.3 } | ||
| 112 | |||
| 113 | ] | ||
| 114 | } | ||
| 115 | } | ||
| 116 | } | ||
diff --git a/keyboards/malevolti/superlyra/rev1/rev1.c b/keyboards/malevolti/superlyra/rev1/rev1.c new file mode 100644 index 000000000..35b44aed1 --- /dev/null +++ b/keyboards/malevolti/superlyra/rev1/rev1.c | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | /* Copyright 2021 Domanic Calleja | ||
| 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 "rev1.h" | ||
diff --git a/keyboards/malevolti/superlyra/rev1/rev1.h b/keyboards/malevolti/superlyra/rev1/rev1.h new file mode 100644 index 000000000..8bc17d117 --- /dev/null +++ b/keyboards/malevolti/superlyra/rev1/rev1.h | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | /* Copyright 2021 Domanic Calleja | ||
| 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 | #include "superlyra.h" | ||
| 19 | |||
| 20 | |||
| 21 | #define LAYOUT( \ | ||
| 22 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K10, K11, K12, K13, K14, K15, K16, K17, \ | ||
| 23 | K18, K19, K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K30, K31, K32, K33, K34, K35, \ | ||
| 24 | K36, K37, K38, K39, K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K50, K51, K52, K53, \ | ||
| 25 | K54, K55, K56, K57, K58, K59, K60, K61, K62, K63, K64, K65, K66, K67, K68, K69, K70, K71, \ | ||
| 26 | K72, K73, K74, K75, K76, K77, K78, K79, K80, K81, K82, K83, K84, K85, K86, K87, K88, K89 \ | ||
| 27 | ) \ | ||
| 28 | { \ | ||
| 29 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K10, K11, K12, K13, K14, K15, K16, K17 }, \ | ||
| 30 | { K18, K19, K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K30, K31, K32, K33, K34, K35 }, \ | ||
| 31 | { K36, K37, K38, K39, K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K50, K51, K52, K53 }, \ | ||
| 32 | { K54, K55, K56, K57, K58, K59, K60, K61, K62, K63, K64, K65, K66, K67, K68, K69, K70, K71 }, \ | ||
| 33 | { K72, K73, K74, K75, K76, K77, K78, K79, K80, K81, K82, K83, K84, K85, K86, K87, K88, K89 } \ | ||
| 34 | } | ||
diff --git a/keyboards/malevolti/superlyra/rev1/rules.mk b/keyboards/malevolti/superlyra/rev1/rules.mk new file mode 100644 index 000000000..e3012714c --- /dev/null +++ b/keyboards/malevolti/superlyra/rev1/rules.mk | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | BOOTLOADER = caterina | ||
| 6 | |||
| 7 | # Build Options | ||
| 8 | # change yes to no to disable | ||
| 9 | # | ||
| 10 | BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite | ||
| 11 | MOUSEKEY_ENABLE = yes # 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 | NKRO_ENABLE = no # Enable N-Key Rollover | ||
| 16 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 17 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
| 18 | AUDIO_ENABLE = no # Audio output | ||
| 19 | |||
| 20 | LTO_ENABLE = yes | ||
diff --git a/keyboards/malevolti/superlyra/superlyra.c b/keyboards/malevolti/superlyra/superlyra.c new file mode 100644 index 000000000..045ec9a09 --- /dev/null +++ b/keyboards/malevolti/superlyra/superlyra.c | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | /* Copyright 2021 Domanic Calleja | ||
| 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 "superlyra.h" | ||
| 17 | |||
diff --git a/keyboards/malevolti/superlyra/superlyra.h b/keyboards/malevolti/superlyra/superlyra.h new file mode 100644 index 000000000..b3c0f16da --- /dev/null +++ b/keyboards/malevolti/superlyra/superlyra.h | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | /* Copyright 2021 Domanic Calleja | ||
| 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 | #pragma once | ||
| 17 | |||
| 18 | #include "quantum.h" | ||
| 19 | |||
| 20 | |||
| 21 | #ifdef KEYBOARD_malevolti_superlyra_rev1 | ||
| 22 | #include "rev1.h" | ||
| 23 | #endif | ||
