diff options
| author | minibois <themrminimario@gmail.com> | 2021-08-13 20:22:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-13 11:22:28 -0700 |
| commit | 8392729d7410246ab3228d47df272da5b0c72c99 (patch) | |
| tree | 6140739571f3350585d7fcc46d8fcbea6c0993f6 | |
| parent | 0014c3237556b8c94bbf6d287d53a7b55534fa69 (diff) | |
| download | qmk_firmware-8392729d7410246ab3228d47df272da5b0c72c99.tar.gz qmk_firmware-8392729d7410246ab3228d47df272da5b0c72c99.zip | |
[Keyboard] Add the mini_elixivy keyboard (#13960)
Co-authored-by: Drashna Jaelre <drashna@live.com>
| -rw-r--r-- | keyboards/mini_elixivy/config.h | 108 | ||||
| -rw-r--r-- | keyboards/mini_elixivy/info.json | 27 | ||||
| -rw-r--r-- | keyboards/mini_elixivy/keymaps/ansi/keymap.c | 66 | ||||
| -rw-r--r-- | keyboards/mini_elixivy/keymaps/ansi/readme.md | 2 | ||||
| -rw-r--r-- | keyboards/mini_elixivy/keymaps/default/keymap.c | 66 | ||||
| -rw-r--r-- | keyboards/mini_elixivy/keymaps/default/readme.md | 2 | ||||
| -rw-r--r-- | keyboards/mini_elixivy/keymaps/iso/keymap.c | 66 | ||||
| -rw-r--r-- | keyboards/mini_elixivy/keymaps/iso/readme.md | 2 | ||||
| -rw-r--r-- | keyboards/mini_elixivy/mini_elixivy.c | 28 | ||||
| -rw-r--r-- | keyboards/mini_elixivy/mini_elixivy.h | 78 | ||||
| -rw-r--r-- | keyboards/mini_elixivy/readme.md | 24 | ||||
| -rw-r--r-- | keyboards/mini_elixivy/rules.mk | 25 |
12 files changed, 494 insertions, 0 deletions
diff --git a/keyboards/mini_elixivy/config.h b/keyboards/mini_elixivy/config.h new file mode 100644 index 000000000..e0853c025 --- /dev/null +++ b/keyboards/mini_elixivy/config.h | |||
| @@ -0,0 +1,108 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 minibois | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #include "config_common.h" | ||
| 21 | |||
| 22 | /* USB Device descriptor parameter */ | ||
| 23 | #define VENDOR_ID 0xFEED | ||
| 24 | #define PRODUCT_ID 0x0000 | ||
| 25 | #define DEVICE_VER 0x0001 | ||
| 26 | #define MANUFACTURER minibois | ||
| 27 | #define PRODUCT mini_elixivy | ||
| 28 | |||
| 29 | /* key matrix size */ | ||
| 30 | #define MATRIX_ROWS 5 | ||
| 31 | #define MATRIX_COLS 15 | ||
| 32 | |||
| 33 | /* | ||
| 34 | * Keyboard Matrix Assignments | ||
| 35 | * | ||
| 36 | * Change this to how you wired your keyboard | ||
| 37 | * COLS: AVR pins used for columns, left to right | ||
| 38 | * ROWS: AVR pins used for rows, top to bottom | ||
| 39 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
| 40 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
| 41 | * | ||
| 42 | */ | ||
| 43 | #define MATRIX_ROW_PINS { B5, B6, E6, F6, C7 } | ||
| 44 | #define MATRIX_COL_PINS { F7, F5, F4, F1, F0, B7, D0, D1, D2, D3, D4, D6, D7, B4, C6 } | ||
| 45 | #define ENCODERS_PAD_A { B0 } | ||
| 46 | #define ENCODERS_PAD_B { D5 } | ||
| 47 | #define UNUSED_PINS | ||
| 48 | |||
| 49 | /* COL2ROW, ROW2COL */ | ||
| 50 | #define DIODE_DIRECTION COL2ROW | ||
| 51 | |||
| 52 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 53 | #define DEBOUNCE 5 | ||
| 54 | |||
| 55 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 56 | #define LOCKING_SUPPORT_ENABLE | ||
| 57 | /* Locking resynchronize hack */ | ||
| 58 | #define LOCKING_RESYNC_ENABLE | ||
| 59 | |||
| 60 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
| 61 | * This is useful for the Windows task manager shortcut (ctrl+shift+esc). | ||
| 62 | */ | ||
| 63 | //#define GRAVE_ESC_CTRL_OVERRIDE | ||
| 64 | |||
| 65 | /* | ||
| 66 | * Force NKRO | ||
| 67 | * | ||
| 68 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
| 69 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
| 70 | * makefile for this to work.) | ||
| 71 | * | ||
| 72 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
| 73 | * until the next keyboard reset. | ||
| 74 | * | ||
| 75 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
| 76 | * fully operational during normal computer usage. | ||
| 77 | * | ||
| 78 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
| 79 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
| 80 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
| 81 | * power-up. | ||
| 82 | * | ||
| 83 | */ | ||
| 84 | //#define FORCE_NKRO | ||
| 85 | |||
| 86 | /* | ||
| 87 | * Feature disable options | ||
| 88 | * These options are also useful to firmware size reduction. | ||
| 89 | */ | ||
| 90 | |||
| 91 | /* disable debug print */ | ||
| 92 | //#define NO_DEBUG | ||
| 93 | |||
| 94 | /* disable print */ | ||
| 95 | //#define NO_PRINT | ||
| 96 | |||
| 97 | /* disable action features */ | ||
| 98 | //#define NO_ACTION_LAYER | ||
| 99 | //#define NO_ACTION_TAPPING | ||
| 100 | //#define NO_ACTION_ONESHOT | ||
| 101 | |||
| 102 | /* disable these deprecated features by default */ | ||
| 103 | #define NO_ACTION_MACRO | ||
| 104 | #define NO_ACTION_FUNCTION | ||
| 105 | |||
| 106 | /* Bootmagic Lite key configuration */ | ||
| 107 | //#define BOOTMAGIC_LITE_ROW 0 | ||
| 108 | //#define BOOTMAGIC_LITE_COLUMN 0 \ No newline at end of file | ||
diff --git a/keyboards/mini_elixivy/info.json b/keyboards/mini_elixivy/info.json new file mode 100644 index 000000000..7f452a9b7 --- /dev/null +++ b/keyboards/mini_elixivy/info.json | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "mini_elixivy", | ||
| 3 | "url": "https://github.com/minibois/elixivy", | ||
| 4 | "maintainer": "minibois", | ||
| 5 | "width": 16, | ||
| 6 | "height": 5, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT_65_ansi": { | ||
| 9 | "layout":[ | ||
| 10 | {"label":"Esc", "x":0, "y":0},{"label":"1", "x":1, "y":0},{"label":"2", "x":2, "y":0},{"label":"3", "x":3, "y":0},{"label":"4", "x":4, "y":0},{"label":"5", "x":5, "y":0},{"label":"6", "x":6, "y":0},{"label":"7", "x":7, "y":0},{"label":"8", "x":8, "y":0},{"label":"9", "x":9, "y":0},{"label":"0", "x":10, "y":0},{"label":"Dash", "x":11, "y":0},{"label":"Equals", "x":12, "y":0},{"label":"Backspace", "x":13, "y":0, "w":2.00},{"label":"PrintScr", "x":15, "y":0}, | ||
| 11 | {"label":"Tab", "x":0, "y":1, "w":1.5},{"label":"Q", "x":1.5, "y":0},{"label":"W", "x":2.5, "y":1},{"label":"E", "x":3.5, "y":1},{"label":"R", "x":4.5, "y":1},{"label":"T", "x":5.5, "y":1},{"label":"Y", "x":6.5, "y":1},{"label":"U", "x":7.5, "y":1},{"label":"I", "x":8.5, "y":1},{"label":"O", "x":9.5, "y":1},{"label":"P", "x":10.5, "y":1},{"label":"[", "x":11.5, "y":1},{"label":"]", "x":12.5, "y":1},{"label":"BackSlash", "x":13.5, "y":1, "w":1.5},{"label":"Del", "x":15, "y":1}, | ||
| 12 | {"label":"Caps", "x":0, "y":2, "w":1.75},{"label":"A", "x":1.75, "y":2},{"label":"S", "x":2.75, "y":2},{"label":"D", "x":3.75, "y":2},{"label":"F", "x":4.75, "y":2},{"label":"G", "x":5.75, "y":2},{"label":"H", "x":6.75, "y":2},{"label":"J", "x":7.75, "y":2},{"label":"K", "x":8.75, "y":2},{"label":"L", "x":9.75, "y":2},{"label":";", "x":10.75, "y":2},{"label":"'", "x":11.75, "y":2},{"label":"Enter", "x":12.75, "y":2, "w":2.25},{"label":"Ins", "x":15, "y":2}, | ||
| 13 | {"label":"Shift", "x":0, "y":3, "w":2.25},{"label":"Z", "x":2.25, "y":3},{"label":"X", "x":3.25, "y":3},{"label":"C", "x":4.25, "y":3},{"label":"V", "x":5.25, "y":3},{"label":"B", "x":6.25, "y":3},{"label":"N", "x":7.25, "y":3},{"label":"M", "x":8.25, "y":3},{"label":",", "x":9.25, "y":3},{"label":".", "x":10.25, "y":3},{"label":"/", "x":11.25, "y":3},{"label":"Shift", "x":12.25, "y":3, "w":1.75},{"label":"Up", "x":14, "y":3},{"label":"F5", "x":15, "y":3}, | ||
| 14 | {"label":"Ctrl", "x":0, "y":4, "w":1.25},{"label":"Win", "x":1.25, "y":4, "w":1.25},{"label":"Alt", "x":2.50, "y":4, "w":1.25},{"label":"", "x":3.75, "y":4, "w":6.25},{"label":"Alt", "x":10, "y":4},{"label":"Fn", "x":11, "y":4},{"label":"Ctrl", "x":12, "y":4},{"label":"Left", "x":13, "y":4},{"label":"Down", "x":14, "y":4},{"label":"Right", "x":15, "y":4} | ||
| 15 | ] | ||
| 16 | }, | ||
| 17 | "LAYOUT_65_iso": { | ||
| 18 | "layout":[ | ||
| 19 | {"label":"Esc", "x":0, "y":0},{"label":"1", "x":1, "y":0},{"label":"2", "x":2, "y":0},{"label":"3", "x":3, "y":0},{"label":"4", "x":4, "y":0},{"label":"5", "x":5, "y":0},{"label":"6", "x":6, "y":0},{"label":"7", "x":7, "y":0},{"label":"8", "x":8, "y":0},{"label":"9", "x":9, "y":0},{"label":"0", "x":10, "y":0},{"label":"Dash", "x":11, "y":0},{"label":"Equals", "x":12, "y":0},{"label":"Backspace", "x":13, "y":0, "w":2.00},{"label":"PrintScr", "x":15, "y":0}, | ||
| 20 | {"label":"Tab", "x":0, "y":1, "w":1.5},{"label":"Q", "x":1.5, "y":0},{"label":"W", "x":2.5, "y":1},{"label":"E", "x":3.5, "y":1},{"label":"R", "x":4.5, "y":1},{"label":"T", "x":5.5, "y":1},{"label":"Y", "x":6.5, "y":1},{"label":"U", "x":7.5, "y":1},{"label":"I", "x":8.5, "y":1},{"label":"O", "x":9.5, "y":1},{"label":"P", "x":10.5, "y":1},{"label":"[", "x":11.5, "y":1},{"label":"]", "x":12.5, "y":1},{"label":"Enter", "x":13.5, "y":1, "w":1.5, "h":2},{"label":"Del", "x":15, "y":1}, | ||
| 21 | {"label":"Caps", "x":0, "y":2, "w":1.75},{"label":"A", "x":1.75, "y":2},{"label":"S", "x":2.75, "y":2},{"label":"D", "x":3.75, "y":2},{"label":"F", "x":4.75, "y":2},{"label":"G", "x":5.75, "y":2},{"label":"H", "x":6.75, "y":2},{"label":"J", "x":7.75, "y":2},{"label":"K", "x":8.75, "y":2},{"label":"L", "x":9.75, "y":2},{"label":";", "x":10.75, "y":2},{"label":"'", "x":11.75, "y":2},{"label":"BackSlash", "x":12.75, "y":2},{"label":"Ins", "x":15, "y":2}, | ||
| 22 | {"label":"Shift", "x":0, "y":3, "w":1.75},{"label":"BackSlash", "x":1.75, "y":3},{"label":"Z", "x":2.25, "y":3},{"label":"X", "x":3.25, "y":3},{"label":"C", "x":4.25, "y":3},{"label":"V", "x":5.25, "y":3},{"label":"B", "x":6.25, "y":3},{"label":"N", "x":7.25, "y":3},{"label":"M", "x":8.25, "y":3},{"label":",", "x":9.25, "y":3},{"label":".", "x":10.25, "y":3},{"label":"/", "x":11.25, "y":3},{"label":"Shift", "x":12.25, "y":3, "w":1.75},{"label":"Up", "x":14, "y":3},{"label":"F5", "x":15, "y":3}, | ||
| 23 | {"label":"Ctrl", "x":0, "y":4, "w":1.25},{"label":"Win", "x":1.25, "y":4, "w":1.25},{"label":"Alt", "x":2.50, "y":4, "w":1.25},{"label":"", "x":3.75, "y":4, "w":6.25},{"label":"Alt", "x":10, "y":4},{"label":"Fn", "x":11, "y":4},{"label":"Ctrl", "x":12, "y":4},{"label":"Left", "x":13, "y":4},{"label":"Down", "x":14, "y":4},{"label":"Right", "x":15, "y":4} | ||
| 24 | ] | ||
| 25 | } | ||
| 26 | } | ||
| 27 | } | ||
diff --git a/keyboards/mini_elixivy/keymaps/ansi/keymap.c b/keyboards/mini_elixivy/keymaps/ansi/keymap.c new file mode 100644 index 000000000..84328ebc4 --- /dev/null +++ b/keyboards/mini_elixivy/keymaps/ansi/keymap.c | |||
| @@ -0,0 +1,66 @@ | |||
| 1 | /* Copyright 2021 minibois | ||
| 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 | // Defines names for use in layer keycodes and the keymap | ||
| 19 | enum layer_names { | ||
| 20 | _BASE, | ||
| 21 | _FN | ||
| 22 | }; | ||
| 23 | |||
| 24 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 25 | /* Keymap _BASE: (Base Layer) Default Layer | ||
| 26 | * ,----------------------------------------------------------------. | ||
| 27 | * |Esc | 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backsp |Mute| | ||
| 28 | * |----------------------------------------------------------------| | ||
| 29 | * |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \ |Prts| | ||
| 30 | * |----------------------------------------------------------------| | ||
| 31 | * |CAPS | A| S| D| F| G| H| J| K| L| ;| '|Enter |Del | | ||
| 32 | * |----------------------------------------------------------------| | ||
| 33 | * |Shift | Z| X| C| V| B| N| M| ,| .| /|Shift | Up|‘ ~ | | ||
| 34 | * |----------------------------------------------------------------| | ||
| 35 | * |Ctrl|Win |Alt | Space |Alt|FN |Ctrl|Lef|Dow|Rig | | ||
| 36 | * `----------------------------------------------------------------' | ||
| 37 | */ | ||
| 38 | [_BASE] = LAYOUT_65_ansi( | ||
| 39 | 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, KC_MUTE, | ||
| 40 | 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_PSCR, | ||
| 41 | 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_ENT, KC_DEL, | ||
| 42 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_GRAVE, | ||
| 43 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(_FN), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 44 | ), | ||
| 45 | |||
| 46 | /* Keymap _FN: Function Layer | ||
| 47 | * ,----------------------------------------------------------------. | ||
| 48 | * | | F1|F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12| | | | ||
| 49 | * |----------------------------------------------------------------| | ||
| 50 | * | | | | | | | | | | | | | | |PgUp| | ||
| 51 | * |----------------------------------------------------------------| | ||
| 52 | * | | | | | | | | | | | | | |PgDn| | ||
| 53 | * |----------------------------------------------------------------| | ||
| 54 | * | | | | | | | | | | | | | |Ins | | ||
| 55 | * |----------------------------------------------------------------| | ||
| 56 | * | | | | | | | | | | | | ||
| 57 | * `----------------------------------------------------------------' | ||
| 58 | */ | ||
| 59 | [_FN] = LAYOUT_65_ansi( | ||
| 60 | _______, KC_F1 , KC_F2 , KC_F3 , KC_F4 , KC_F5 , KC_F6 , KC_F7 , KC_F8 , KC_F9 , KC_F10 , KC_F11 , KC_F12 , _______, _______, | ||
| 61 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PGUP, | ||
| 62 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PGDN, | ||
| 63 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_INS, | ||
| 64 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 65 | ), | ||
| 66 | }; | ||
diff --git a/keyboards/mini_elixivy/keymaps/ansi/readme.md b/keyboards/mini_elixivy/keymaps/ansi/readme.md new file mode 100644 index 000000000..021d2891b --- /dev/null +++ b/keyboards/mini_elixivy/keymaps/ansi/readme.md | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | # The ANSI keymap for mini_elixivy | ||
| 2 | This is an ANSI keymap, with three 1u modifiers between the spacebar/arrow keys and (optionally) a rotary encoder. \ No newline at end of file | ||
diff --git a/keyboards/mini_elixivy/keymaps/default/keymap.c b/keyboards/mini_elixivy/keymaps/default/keymap.c new file mode 100644 index 000000000..680a57e4f --- /dev/null +++ b/keyboards/mini_elixivy/keymaps/default/keymap.c | |||
| @@ -0,0 +1,66 @@ | |||
| 1 | /* Copyright 2021 minibois | ||
| 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 | // Defines names for use in layer keycodes and the keymap | ||
| 19 | enum layer_names { | ||
| 20 | _BASE, | ||
| 21 | _FN | ||
| 22 | }; | ||
| 23 | |||
| 24 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 25 | /* Keymap _BASE: (Base Layer) Default Layer | ||
| 26 | * ,----------------------------------------------------------------. | ||
| 27 | * |Esc | 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backsp |Mute| | ||
| 28 | * |----------------------------------------------------------------| | ||
| 29 | * |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \ |Prts| | ||
| 30 | * |----------------------------------------------------------------| | ||
| 31 | * |CAPS | A| S| D| F| G| H| J| K| L| ;| '|Enter |Del | | ||
| 32 | * |----------------------------------------------------------------| | ||
| 33 | * |Shift | Z| X| C| V| B| N| M| ,| .| /|Shift | Up|‘ ~ | | ||
| 34 | * |----------------------------------------------------------------| | ||
| 35 | * |Ctrl|Win |Alt | Space |Alt|FN |Ctrl|Lef|Dow|Rig | | ||
| 36 | * `----------------------------------------------------------------' | ||
| 37 | */ | ||
| 38 | [_BASE] = LAYOUT_65_ansi( | ||
| 39 | 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, KC_MUTE, | ||
| 40 | 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_PSCR, | ||
| 41 | 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_ENT, KC_DEL, | ||
| 42 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_GRAVE, | ||
| 43 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(_FN), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 44 | ), | ||
| 45 | |||
| 46 | /* Keymap _FN: Function Layer | ||
| 47 | * ,----------------------------------------------------------------. | ||
| 48 | * | | F1|F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12| | | | ||
| 49 | * |----------------------------------------------------------------| | ||
| 50 | * | | | | | | | | | | | | | | | | | ||
| 51 | * |----------------------------------------------------------------| | ||
| 52 | * | | | | | | | | | | | | | | | | ||
| 53 | * |----------------------------------------------------------------| | ||
| 54 | * | | | | | | | | | | | | | | | | ||
| 55 | * |----------------------------------------------------------------| | ||
| 56 | * | | | | | | | | | | | | ||
| 57 | * `----------------------------------------------------------------' | ||
| 58 | */ | ||
| 59 | [_FN] = LAYOUT_65_ansi( | ||
| 60 | _______, KC_F1 , KC_F2 , KC_F3 , KC_F4 , KC_F5 , KC_F6 , KC_F7 , KC_F8 , KC_F9 , KC_F10 , KC_F11 , KC_F12 , _______, _______, | ||
| 61 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 62 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 63 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 64 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 65 | ), | ||
| 66 | }; | ||
diff --git a/keyboards/mini_elixivy/keymaps/default/readme.md b/keyboards/mini_elixivy/keymaps/default/readme.md new file mode 100644 index 000000000..717b2c30a --- /dev/null +++ b/keyboards/mini_elixivy/keymaps/default/readme.md | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | # The default keymap for mini_elixivy | ||
| 2 | This is an ANSI keymap, with three 1u modifiers between the spacebar/arrow keys and (optionally) a rotary encoder. \ No newline at end of file | ||
diff --git a/keyboards/mini_elixivy/keymaps/iso/keymap.c b/keyboards/mini_elixivy/keymaps/iso/keymap.c new file mode 100644 index 000000000..c595e6b0a --- /dev/null +++ b/keyboards/mini_elixivy/keymaps/iso/keymap.c | |||
| @@ -0,0 +1,66 @@ | |||
| 1 | /* Copyright 2021 minibois | ||
| 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 | // Defines names for use in layer keycodes and the keymap | ||
| 19 | enum layer_names { | ||
| 20 | _BASE, | ||
| 21 | _FN | ||
| 22 | }; | ||
| 23 | |||
| 24 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 25 | /* Keymap _BASE: (Base Layer) Default Layer | ||
| 26 | * ,----------------------------------------------------------------. | ||
| 27 | * |Esc | 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backsp |Mute| | ||
| 28 | * |----------------------------------------------------------------| | ||
| 29 | * |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| |Prts| | ||
| 30 | * |------------------------------------------------------Enter-----| | ||
| 31 | * |CAPS | A| S| D| F| G| H| J| K| L| ;| '| \| |Del | | ||
| 32 | * |----------------------------------------------------------------| | ||
| 33 | * |Shift| \| Z| X| C| V| B| N| M| ,| .| /|Shift | Up|‘ ~ | | ||
| 34 | * |----------------------------------------------------------------| | ||
| 35 | * |Ctrl|Win |Alt | Space |Alt|FN |Ctrl|Lef|Dow|Rig | | ||
| 36 | * `----------------------------------------------------------------' | ||
| 37 | */ | ||
| 38 | [_BASE] = LAYOUT_65_iso( | ||
| 39 | 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, KC_MUTE, | ||
| 40 | 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_ENT, KC_PSCR, | ||
| 41 | 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_BSLS, KC_DEL, | ||
| 42 | KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_GRAVE, | ||
| 43 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(_FN), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 44 | ), | ||
| 45 | |||
| 46 | /* Keymap _FN: Function Layer | ||
| 47 | * ,----------------------------------------------------------------. | ||
| 48 | * | | F1|F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12| | | | ||
| 49 | * |----------------------------------------------------------------| | ||
| 50 | * | | | | | | | | | | | | | | |PgUp| | ||
| 51 | * |----------------------------------------------------------------| | ||
| 52 | * | | | | | | | | | | | | | |PgDn| | ||
| 53 | * |----------------------------------------------------------------| | ||
| 54 | * | | | | | | | | | | | | | |Ins | | ||
| 55 | * |----------------------------------------------------------------| | ||
| 56 | * | | | | | | | | | | | | ||
| 57 | * `----------------------------------------------------------------' | ||
| 58 | */ | ||
| 59 | [_FN] = LAYOUT_65_iso( | ||
| 60 | _______, KC_F1 , KC_F2 , KC_F3 , KC_F4 , KC_F5 , KC_F6 , KC_F7 , KC_F8 , KC_F9 , KC_F10 , KC_F11 , KC_F12 , _______, _______, | ||
| 61 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PGUP, | ||
| 62 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PGDN, | ||
| 63 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_INS, | ||
| 64 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 65 | ), | ||
| 66 | }; | ||
diff --git a/keyboards/mini_elixivy/keymaps/iso/readme.md b/keyboards/mini_elixivy/keymaps/iso/readme.md new file mode 100644 index 000000000..d67bd3232 --- /dev/null +++ b/keyboards/mini_elixivy/keymaps/iso/readme.md | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | # The ISO keymap for mini_elixivy | ||
| 2 | This is an ISO keymap, with three 1u modifiers between the spacebar/arrow keys and (optionally) a rotary encoder. \ No newline at end of file | ||
diff --git a/keyboards/mini_elixivy/mini_elixivy.c b/keyboards/mini_elixivy/mini_elixivy.c new file mode 100644 index 000000000..a8d9c931c --- /dev/null +++ b/keyboards/mini_elixivy/mini_elixivy.c | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | /* Copyright 2021 minibois | ||
| 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 "mini_elixivy.h" | ||
| 18 | |||
| 19 | /* Rotary Encoder's function (currently volume up/down) */ | ||
| 20 | bool encoder_update_kb(uint8_t index, bool clockwise) { | ||
| 21 | if (!encoder_update_user(index, clockwise)) { return false; } | ||
| 22 | if (clockwise) { | ||
| 23 | tap_code(KC_VOLU); | ||
| 24 | } else { | ||
| 25 | tap_code(KC_VOLD); | ||
| 26 | } | ||
| 27 | return true; | ||
| 28 | } | ||
diff --git a/keyboards/mini_elixivy/mini_elixivy.h b/keyboards/mini_elixivy/mini_elixivy.h new file mode 100644 index 000000000..154a1d74e --- /dev/null +++ b/keyboards/mini_elixivy/mini_elixivy.h | |||
| @@ -0,0 +1,78 @@ | |||
| 1 | /* Copyright 2021 minibois | ||
| 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 | // Easier reading of layouts | ||
| 22 | #define ___ KC_NO | ||
| 23 | |||
| 24 | /* ANSI | ||
| 25 | * ,-------------------------------------------------------------. | ||
| 26 | * |00 |01 |02 |03 |04 |05 |06 |07 |08 |09 |0a |0b |0c | 0d|0e | | ||
| 27 | * |-------------------------------------------------------------| | ||
| 28 | * |10 |11 |12 |13 |14 |15 |16 |17 |18 |19 |1a |1b |1c | 1d|1e | | ||
| 29 | * |-------------------------------------------------------------| | ||
| 30 | * |20 |21 |22 |23 |24 |25 |26 |27 |28 |29 |2a |2b |2c ||2e | | ||
| 31 | * |-------------------------------------------------------------| | ||
| 32 | * |30 ||32 |33 |34 |35 |36 |37 |38 |39 |3a |3b |3b |3c | | ||
| 33 | * |-------------------------------------------------------------| | ||
| 34 | * |40 |41 |42 | 46 |49 |4a |4b |4c |4d |4e | | ||
| 35 | * `-------------------------------------------------------------' | ||
| 36 | */ | ||
| 37 | #define LAYOUT_65_ansi( \ | ||
| 38 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e , \ | ||
| 39 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e , \ | ||
| 40 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2e , \ | ||
| 41 | k30, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e , \ | ||
| 42 | k40, k41, k42, k46, k49, k4a, k4b, k4c, k4d, k4e \ | ||
| 43 | ) \ | ||
| 44 | { \ | ||
| 45 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e }, \ | ||
| 46 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e }, \ | ||
| 47 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, ___, k2e }, \ | ||
| 48 | { k30, ___, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e }, \ | ||
| 49 | { k40, k41, k42, ___, ___, ___, k46, ___, ___, k49, k4a, k4b, k4c, k4d, k4e } \ | ||
| 50 | } | ||
| 51 | |||
| 52 | /* ISO | ||
| 53 | * ,-------------------------------------------------------------. | ||
| 54 | * |00 |01 |02 |03 |04 |05 |06 |07 |08 |09 |0a |0b |0c | 0d|0e | | ||
| 55 | * |-------------------------------------------------------------| | ||
| 56 | * |10 |11 |12 |13 |14 |15 |16 |17 |18 |19 |1a |1b |1c | |1e | | ||
| 57 | * |-----------------------------------------------------| 1d|---| | ||
| 58 | * |20 |21 |22 |23 |24 |25 |26 |27 |28 |29 |2a |2b |2c | |2e | | ||
| 59 | * |-------------------------------------------------------------| | ||
| 60 | * |30 |31 |32 |33 |34 |35 |36 |37 |38 |39 |3a |3b |3b |3c | | ||
| 61 | * |-------------------------------------------------------------| | ||
| 62 | * |40 |41 |42 | 46 |49 |4a |4b |4c |4d |4e | | ||
| 63 | * `-------------------------------------------------------------' | ||
| 64 | */ | ||
| 65 | #define LAYOUT_65_iso( \ | ||
| 66 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e , \ | ||
| 67 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e , \ | ||
| 68 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2e , \ | ||
| 69 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e , \ | ||
| 70 | k40, k41, k42, k46, k49, k4a, k4b, k4c, k4d, k4e \ | ||
| 71 | ) \ | ||
| 72 | { \ | ||
| 73 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e }, \ | ||
| 74 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e }, \ | ||
| 75 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, ___, k2e }, \ | ||
| 76 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e }, \ | ||
| 77 | { k40, k41, k42, ___, ___, ___, k46, ___, ___, k49, k4a, k4b, k4c, k4d, k4e } \ | ||
| 78 | } | ||
diff --git a/keyboards/mini_elixivy/readme.md b/keyboards/mini_elixivy/readme.md new file mode 100644 index 000000000..6047a1734 --- /dev/null +++ b/keyboards/mini_elixivy/readme.md | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | # mini_elixivy | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | A 65% ANSI/ISO keyboard PCB, with a rotary encoder option | ||
| 6 | |||
| 7 | * Keyboard Maintainer: [minibois](https://github.com/minibois) | ||
| 8 | * Hardware Supported: mini_eLiXiVy PCB, KBDFans' 65% plate and case, PCB mount stabilizers | ||
| 9 | * Hardware Availability: PCB: https://github.com/minibois, BOM: https://octopart.com/bom-tool/allQRgda | ||
| 10 | |||
| 11 | Make example for this keyboard (after setting up your build environment): | ||
| 12 | |||
| 13 | make mini_elixivy:default | ||
| 14 | |||
| 15 | Flashing example for this keyboard: | ||
| 16 | |||
| 17 | make mini_elixivy:default:flash | ||
| 18 | |||
| 19 | 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). | ||
| 20 | |||
| 21 | ## Bootloader | ||
| 22 | |||
| 23 | Enter the bootloader: | ||
| 24 | * **Physical reset button**: Briefly press the button on the back of the PCB (or short the reset/ground pads, should a tactile button not be installed) \ No newline at end of file | ||
diff --git a/keyboards/mini_elixivy/rules.mk b/keyboards/mini_elixivy/rules.mk new file mode 100644 index 000000000..1ee18fe88 --- /dev/null +++ b/keyboards/mini_elixivy/rules.mk | |||
| @@ -0,0 +1,25 @@ | |||
| 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 = 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 | # 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 = no # USB Nkey Rollover | ||
| 19 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 20 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
| 21 | BLUETOOTH_ENABLE = no # Enable Bluetooth | ||
| 22 | AUDIO_ENABLE = no # Audio output | ||
| 23 | ENCODER_ENABLE = yes | ||
| 24 | |||
| 25 | LAYOUTS = 65_ansi 65_iso | ||
