diff options
| author | Salicylic-acid3 <46864619+Salicylic-acid3@users.noreply.github.com> | 2021-02-08 02:06:59 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-07 09:06:59 -0800 |
| commit | 60d76d6733b0a78e31a0ae4cbab7ba5aa60366cd (patch) | |
| tree | b2ff331f0140525213455a928deb176990d0a982 /keyboards | |
| parent | 72b0f494e7ee7d9bc4fca10bc6c53a592156e768 (diff) | |
| download | qmk_firmware-60d76d6733b0a78e31a0ae4cbab7ba5aa60366cd.tar.gz qmk_firmware-60d76d6733b0a78e31a0ae4cbab7ba5aa60366cd.zip | |
[Keyboard] Add nknl7en keyboard (#11590)
* Add nknl7en keyboard
A 70 keys ANSI Layout split keyboard.
Salicylic-acid3
* Update readme.md
The name, photo, and link were wrong, so they have been corrected.
* Update keyboards/nknl7en/keymaps/salicylic/keymap.c
Co-authored-by: Drashna Jaelre <drashna@live.com>
* Update keyboards/nknl7en/keymaps/salicylic/keymap.c
Co-authored-by: Drashna Jaelre <drashna@live.com>
* Update keyboards/nknl7en/keymaps/salicylic/keymap.c
Co-authored-by: Drashna Jaelre <drashna@live.com>
* Update keyboards/nknl7en/keymaps/salicylic/keymap.c
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards')
| -rw-r--r-- | keyboards/nknl7en/config.h | 84 | ||||
| -rw-r--r-- | keyboards/nknl7en/info.json | 82 | ||||
| -rw-r--r-- | keyboards/nknl7en/keymaps/default/config.h | 22 | ||||
| -rw-r--r-- | keyboards/nknl7en/keymaps/default/keymap.c | 58 | ||||
| -rw-r--r-- | keyboards/nknl7en/keymaps/salicylic/config.h | 22 | ||||
| -rw-r--r-- | keyboards/nknl7en/keymaps/salicylic/keymap.c | 147 | ||||
| -rw-r--r-- | keyboards/nknl7en/keymaps/via/config.h | 22 | ||||
| -rw-r--r-- | keyboards/nknl7en/keymaps/via/keymap.c | 86 | ||||
| -rw-r--r-- | keyboards/nknl7en/keymaps/via/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/nknl7en/nknl7en.c | 18 | ||||
| -rw-r--r-- | keyboards/nknl7en/nknl7en.h | 54 | ||||
| -rw-r--r-- | keyboards/nknl7en/readme.md | 17 | ||||
| -rw-r--r-- | keyboards/nknl7en/rules.mk | 24 |
13 files changed, 637 insertions, 0 deletions
diff --git a/keyboards/nknl7en/config.h b/keyboards/nknl7en/config.h new file mode 100644 index 000000000..997971bc9 --- /dev/null +++ b/keyboards/nknl7en/config.h | |||
| @@ -0,0 +1,84 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 Salicylic_Acid | ||
| 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 0x04D8 | ||
| 24 | #define PRODUCT_ID 0xEA56 | ||
| 25 | #define DEVICE_VER 0x0001 | ||
| 26 | #define MANUFACTURER Salicylic_Acid | ||
| 27 | #define PRODUCT nknl7en | ||
| 28 | |||
| 29 | /* key matrix size */ | ||
| 30 | #define MATRIX_ROWS 10 | ||
| 31 | #define MATRIX_COLS 9 | ||
| 32 | |||
| 33 | // wiring of each half | ||
| 34 | #define MATRIX_ROW_PINS { D4, C6, D7, E6, B4 } | ||
| 35 | #define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2, B5, D2 } | ||
| 36 | |||
| 37 | #define DIODE_DIRECTION COL2ROW | ||
| 38 | |||
| 39 | /* Set 0 if debouncing isn't needed */ | ||
| 40 | #define DEBOUNCE 5 | ||
| 41 | |||
| 42 | /* serial.c configuration for split keyboard */ | ||
| 43 | #define SOFT_SERIAL_PIN D0 | ||
| 44 | #define SPLIT_HAND_PIN B6 | ||
| 45 | |||
| 46 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 47 | #define LOCKING_SUPPORT_ENABLE | ||
| 48 | /* Locking resynchronize hack */ | ||
| 49 | #define LOCKING_RESYNC_ENABLE | ||
| 50 | |||
| 51 | /* ws2812 RGB LED */ | ||
| 52 | #define RGB_DI_PIN D3 | ||
| 53 | |||
| 54 | #ifndef RGBLED_NUM | ||
| 55 | #define RGBLED_NUM 21 | ||
| 56 | #define RGBLIGHT_SPLIT | ||
| 57 | #define RGBLED_SPLIT { 9, 12 } | ||
| 58 | #endif | ||
| 59 | |||
| 60 | #define RGBLIGHT_ANIMATIONS | ||
| 61 | |||
| 62 | #ifndef IOS_DEVICE_ENABLE | ||
| 63 | #define RGBLIGHT_LIMIT_VAL 180 | ||
| 64 | #define RGBLIGHT_VAL_STEP 17 | ||
| 65 | #else | ||
| 66 | #define RGBLIGHT_LIMIT_VAL 50 | ||
| 67 | #define RGBLIGHT_VAL_STEP 4 | ||
| 68 | #endif | ||
| 69 | #define RGBLIGHT_HUE_STEP 10 | ||
| 70 | #define RGBLIGHT_SAT_STEP 17 | ||
| 71 | |||
| 72 | #if defined(RGBLIGHT_ENABLE) && !defined(IOS_DEVICE_ENABLE) | ||
| 73 | // USB_MAX_POWER_CONSUMPTION value for naked48 keyboard | ||
| 74 | // 120 RGBoff, OLEDoff | ||
| 75 | // 120 OLED | ||
| 76 | // 330 RGB 6 | ||
| 77 | // 300 RGB 32 | ||
| 78 | // 310 OLED & RGB 32 | ||
| 79 | #define USB_MAX_POWER_CONSUMPTION 400 | ||
| 80 | #else | ||
| 81 | // fix iPhone and iPad power adapter issue | ||
| 82 | // iOS device need lessthan 100 | ||
| 83 | #define USB_MAX_POWER_CONSUMPTION 100 | ||
| 84 | #endif | ||
diff --git a/keyboards/nknl7en/info.json b/keyboards/nknl7en/info.json new file mode 100644 index 000000000..ab606e557 --- /dev/null +++ b/keyboards/nknl7en/info.json | |||
| @@ -0,0 +1,82 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "nknl7en", | ||
| 3 | "url": "https://salicylic-acid3.hatenablog.com/", | ||
| 4 | "maintainer": "Salicylic_acid3", | ||
| 5 | "width": 17.25, | ||
| 6 | "height": 5.25, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT": { | ||
| 9 | "layout": [ | ||
| 10 | {"label":"0,0", "x":0, "y":0}, | ||
| 11 | {"label":"0,1", "x":1, "y":0}, | ||
| 12 | {"label":"0,2", "x":2, "y":0}, | ||
| 13 | {"label":"0,3", "x":3, "y":0}, | ||
| 14 | {"label":"0,4", "x":4, "y":0}, | ||
| 15 | {"label":"0,5", "x":5, "y":0}, | ||
| 16 | {"label":"5,0", "x":6.75, "y":0}, | ||
| 17 | {"label":"5,1", "x":7.75, "y":0}, | ||
| 18 | {"label":"5,2", "x":8.75, "y":0}, | ||
| 19 | {"label":"5,3", "x":9.75, "y":0}, | ||
| 20 | {"label":"5,4", "x":10.75, "y":0}, | ||
| 21 | {"label":"5,5", "x":11.75, "y":0}, | ||
| 22 | {"label":"5,6", "x":12.75, "y":0}, | ||
| 23 | {"label":"5,7", "x":13.75, "y":0, "w":2}, | ||
| 24 | {"label":"5,8", "x":16.25, "y":0}, | ||
| 25 | {"label":"1,0", "x":0, "y":1, "w":1.5}, | ||
| 26 | {"label":"1,1", "x":1.5, "y":1}, | ||
| 27 | {"label":"1,2", "x":2.5, "y":1}, | ||
| 28 | {"label":"1,3", "x":3.5, "y":1}, | ||
| 29 | {"label":"1,4", "x":4.5, "y":1}, | ||
| 30 | {"label":"1,5", "x":5.5, "y":1}, | ||
| 31 | {"label":"6,0", "x":7.25, "y":1}, | ||
| 32 | {"label":"6,1", "x":8.25, "y":1}, | ||
| 33 | {"label":"6,2", "x":9.25, "y":1}, | ||
| 34 | {"label":"6,3", "x":10.25, "y":1}, | ||
| 35 | {"label":"6,4", "x":11.25, "y":1}, | ||
| 36 | {"label":"6,5", "x":12.25, "y":1}, | ||
| 37 | {"label":"6,6", "x":13.25, "y":1}, | ||
| 38 | {"label":"6,7", "x":14.25, "y":1, "w":1.5}, | ||
| 39 | {"label":"6,8", "x":16.25, "y":1}, | ||
| 40 | {"label":"2,0", "x":0, "y":2, "w":1.75}, | ||
| 41 | {"label":"2,1", "x":1.75, "y":2}, | ||
| 42 | {"label":"2,2", "x":2.75, "y":2}, | ||
| 43 | {"label":"2,3", "x":3.75, "y":2}, | ||
| 44 | {"label":"2,4", "x":4.75, "y":2}, | ||
| 45 | {"label":"2,5", "x":5.75, "y":2}, | ||
| 46 | {"label":"7,0", "x":7.5, "y":2}, | ||
| 47 | {"label":"7,1", "x":8.5, "y":2}, | ||
| 48 | {"label":"7,2", "x":9.5, "y":2}, | ||
| 49 | {"label":"7,3", "x":10.5, "y":2}, | ||
| 50 | {"label":"7,4", "x":11.5, "y":2}, | ||
| 51 | {"label":"7,5", "x":12.5, "y":2}, | ||
| 52 | {"label":"7,6", "x":13.5, "y":2, "w":2.25}, | ||
| 53 | {"label":"7,8", "x":16.25, "y":2}, | ||
| 54 | {"label":"3,0", "x":0, "y":3, "w":2.25}, | ||
| 55 | {"label":"3,1", "x":2.25, "y":3}, | ||
| 56 | {"label":"3,2", "x":3.25, "y":3}, | ||
| 57 | {"label":"3,3", "x":4.25, "y":3}, | ||
| 58 | {"label":"3,4", "x":5.25, "y":3}, | ||
| 59 | {"label":"3,5", "x":6.25, "y":3}, | ||
| 60 | {"label":"8,0", "x":8, "y":3}, | ||
| 61 | {"label":"8,1", "x":9, "y":3}, | ||
| 62 | {"label":"8,2", "x":10, "y":3}, | ||
| 63 | {"label":"8,3", "x":11, "y":3}, | ||
| 64 | {"label":"8,4", "x":12, "y":3}, | ||
| 65 | {"label":"8,5", "x":13, "y":3, "w":1.75}, | ||
| 66 | {"label":"8,8", "x":16.25, "y":3}, | ||
| 67 | {"label":"8,6", "x":15, "y":3.25}, | ||
| 68 | {"label":"4,0", "x":0, "y":4, "w":1.25}, | ||
| 69 | {"label":"4,1", "x":1.25, "y":4, "w":1.25}, | ||
| 70 | {"label":"4,2", "x":2.5, "y":4, "w":1.25}, | ||
| 71 | {"label":"4,3", "x":3.75, "y":4, "w":2}, | ||
| 72 | {"label":"4,4", "x":5.75, "y":4}, | ||
| 73 | {"label":"9,0", "x":7.5, "y":4, "w":2.75}, | ||
| 74 | {"label":"9,2", "x":10.25, "y":4, "w":1.25}, | ||
| 75 | {"label":"9,3", "x":11.5, "y":4, "w":1.25}, | ||
| 76 | {"label":"9,4", "x":12.75, "y":4}, | ||
| 77 | {"label":"9,6", "x":14, "y":4.25}, | ||
| 78 | {"label":"8,7", "x":15, "y":4.25}, | ||
| 79 | {"label":"9,7", "x":16, "y":4.25}] | ||
| 80 | } | ||
| 81 | } | ||
| 82 | } \ No newline at end of file | ||
diff --git a/keyboards/nknl7en/keymaps/default/config.h b/keyboards/nknl7en/keymaps/default/config.h new file mode 100644 index 000000000..fd96baa81 --- /dev/null +++ b/keyboards/nknl7en/keymaps/default/config.h | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | /* Copyright 2021 Salicylic_acid3 | ||
| 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 | /* Select hand configuration */ | ||
| 20 | |||
| 21 | #define TAPPING_FORCE_HOLD | ||
| 22 | #define TAPPING_TERM 180 | ||
diff --git a/keyboards/nknl7en/keymaps/default/keymap.c b/keyboards/nknl7en/keymaps/default/keymap.c new file mode 100644 index 000000000..f3ce52e91 --- /dev/null +++ b/keyboards/nknl7en/keymaps/default/keymap.c | |||
| @@ -0,0 +1,58 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 Salicylic_Acid | ||
| 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 | #include QMK_KEYBOARD_H | ||
| 19 | |||
| 20 | // Each layer gets a name for readability, which is then used in the keymap matrix below. | ||
| 21 | // The underscores don't mean anything - you can have a layer called STUFF or any other name. | ||
| 22 | // Layer names don't all need to be of the same length, obviously, and you can also skip them | ||
| 23 | // entirely and just use numbers. | ||
| 24 | enum layer_number { | ||
| 25 | _QWERTY = 0, | ||
| 26 | _FN, | ||
| 27 | }; | ||
| 28 | |||
| 29 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 30 | [_QWERTY] = LAYOUT( | ||
| 31 | //,-----------------------------------------------------| |--------------------------------------------------------------------------------. | ||
| 32 | 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_HOME, | ||
| 33 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 34 | 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_END, | ||
| 35 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 36 | 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_PGUP, | ||
| 37 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 38 | 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_PGDN, | ||
| 39 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 40 | KC_LCTRL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RGUI, MO(_FN), KC_LEFT,KC_DOWN, KC_RGHT | ||
| 41 | //|-----------------------------------------------------| |--------------------------------------------------------------------------------' | ||
| 42 | ), | ||
| 43 | |||
| 44 | [_FN] = LAYOUT( | ||
| 45 | //,-----------------------------------------------------| |--------------------------------------------------------------------------------. | ||
| 46 | RESET, 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_STOP, KC_PSCR, | ||
| 47 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 48 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_INS, | ||
| 49 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 50 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 51 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 52 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 53 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 54 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 55 | //|-----------------------------------------------------| |--------------------------------------------------------------------------------' | ||
| 56 | ) | ||
| 57 | }; | ||
| 58 | |||
diff --git a/keyboards/nknl7en/keymaps/salicylic/config.h b/keyboards/nknl7en/keymaps/salicylic/config.h new file mode 100644 index 000000000..fd96baa81 --- /dev/null +++ b/keyboards/nknl7en/keymaps/salicylic/config.h | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | /* Copyright 2021 Salicylic_acid3 | ||
| 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 | /* Select hand configuration */ | ||
| 20 | |||
| 21 | #define TAPPING_FORCE_HOLD | ||
| 22 | #define TAPPING_TERM 180 | ||
diff --git a/keyboards/nknl7en/keymaps/salicylic/keymap.c b/keyboards/nknl7en/keymaps/salicylic/keymap.c new file mode 100644 index 000000000..aff4b6e36 --- /dev/null +++ b/keyboards/nknl7en/keymaps/salicylic/keymap.c | |||
| @@ -0,0 +1,147 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 Salicylic_Acid | ||
| 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 | #include QMK_KEYBOARD_H | ||
| 19 | #include "keymap_jp.h" | ||
| 20 | |||
| 21 | |||
| 22 | |||
| 23 | extern uint8_t is_master; | ||
| 24 | |||
| 25 | // Each layer gets a name for readability, which is then used in the keymap matrix below. | ||
| 26 | // The underscores don't mean anything - you can have a layer called STUFF or any other name. | ||
| 27 | // Layer names don't all need to be of the same length, obviously, and you can also skip them | ||
| 28 | // entirely and just use numbers. | ||
| 29 | enum layer_number { | ||
| 30 | _QWERTY = 0, | ||
| 31 | _LOWER, | ||
| 32 | _RAISE, | ||
| 33 | _ADJUST, | ||
| 34 | }; | ||
| 35 | |||
| 36 | enum custom_keycodes { | ||
| 37 | RGB_RST = SAFE_RANGE | ||
| 38 | }; | ||
| 39 | |||
| 40 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 41 | [_QWERTY] = LAYOUT( | ||
| 42 | //,-----------------------------------------------------| |--------------------------------------------------------------------------------. | ||
| 43 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, JP_MINS, JP_EQL, KC_BSPC, KC_HOME, | ||
| 44 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 45 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, JP_LBRC, JP_RBRC, KC_BSLS, KC_END, | ||
| 46 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 47 | KC_LCTRL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, JP_MINS, JP_BSLS, KC_ENT, KC_PGUP, | ||
| 48 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 49 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, JP_SLSH, KC_RSFT, KC_UP, KC_PGDN, | ||
| 50 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 51 | KC_ZKHK, KC_LGUI, KC_MHEN,LT(_LOWER,KC_ENT), KC_BSPC, LT(_RAISE,KC_SPC), KC_HENK, KC_LALT, KC_APP, KC_LEFT,KC_DOWN, KC_RGHT | ||
| 52 | //|-----------------------------------------------------| |--------------------------------------------------------------------------------' | ||
| 53 | ), | ||
| 54 | |||
| 55 | [_LOWER] = LAYOUT( | ||
| 56 | //,-----------------------------------------------------| |--------------------------------------------------------------------------------. | ||
| 57 | _______, 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_DEL, KC_PSCR, | ||
| 58 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 59 | JP_DQUO, JP_EXLM, JP_QUES, JP_LBRC, JP_RBRC, JP_TILD, KC_P6, KC_P7, KC_P8, KC_P9, JP_ASTR, JP_SLSH, _______, _______, LALT(KC_PSCR), | ||
| 60 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 61 | JP_QUOT, JP_HASH, JP_DQT, JP_LPRN, JP_RPRN, JP_AT, XXXXXXX, KC_P4, KC_P5, KC_P6, JP_MINS, JP_EQL, _______, _______, | ||
| 62 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 63 | JP_CIRC, JP_PERC, JP_AMPR, JP_SCLN, JP_COLN, JP_PIPE, KC_P0, KC_P1, KC_P2, KC_P3, JP_PLUS, _______, _______, _______, | ||
| 64 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 65 | _______, _______, _______,MO(_LOWER),KC_DEL, MO(_RAISE), JP_DOT, _______, _______, _______, _______, _______ | ||
| 66 | //|-----------------------------------------------------| |--------------------------------------------------------------------------------' | ||
| 67 | ), | ||
| 68 | |||
| 69 | [_RAISE] = LAYOUT( | ||
| 70 | //,-----------------------------------------------------| |--------------------------------------------------------------------------------. | ||
| 71 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, | ||
| 72 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 73 | KC_TAB, KC_1, KC_2, KC_3, KC_4, KC_5, XXXXXXX, XXXXXXX, KC_UP, XXXXXXX, XXXXXXX, XXXXXXX, _______, _______, _______, | ||
| 74 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 75 | LCTL_T(KC_F11),XXXXXXX, KC_F2, KC_F3, KC_F4, KC_F5, XXXXXXX, KC_LEFT, KC_DOWN,KC_RIGHT, XXXXXXX, XXXXXXX, _______, _______, | ||
| 76 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 77 | SFT_T(KC_F12), KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______, _______, _______, | ||
| 78 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 79 | _______, _______, _______, _______, KC_DEL, _______, _______, _______, _______, _______, _______, _______ | ||
| 80 | //|-----------------------------------------------------| |--------------------------------------------------------------------------------' | ||
| 81 | ), | ||
| 82 | |||
| 83 | [_ADJUST] = LAYOUT( /* Base */ | ||
| 84 | //,-----------------------------------------------------| |--------------------------------------------------------------------------------. | ||
| 85 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______, | ||
| 86 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 87 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_RST, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______, | ||
| 88 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 89 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_TOG, RGB_MOD, XXXXXXX,LCA(KC_DEL),LALT(KC_PSCR),KC_PSCR, XXXXXXX, _______, | ||
| 90 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 91 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_VAD, RGB_VAI, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, _______, _______, | ||
| 92 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 93 | XXXXXXX, XXXXXXX, XXXXXXX, _______, RESET, _______, _______, _______, _______, _______, _______, _______ | ||
| 94 | //|-----------------------------------------------------| |--------------------------------------------------------------------------------' | ||
| 95 | ) | ||
| 96 | }; | ||
| 97 | |||
| 98 | //A description for expressing the layer position in LED mode. | ||
| 99 | layer_state_t layer_state_set_user(layer_state_t state) { | ||
| 100 | state = update_tri_layer_state(state, _RAISE, _LOWER, _ADJUST); | ||
| 101 | #ifdef RGBLIGHT_ENABLE | ||
| 102 | switch (get_highest_layer(state)) { | ||
| 103 | case _LOWER: | ||
| 104 | rgblight_sethsv_at(HSV_BLUE, 0); | ||
| 105 | break; | ||
| 106 | case _RAISE: | ||
| 107 | rgblight_sethsv_at(HSV_RED, 0); | ||
| 108 | break; | ||
| 109 | case _ADJUST: | ||
| 110 | rgblight_sethsv_at(HSV_PURPLE, 0); | ||
| 111 | break; | ||
| 112 | default: // for any other layers, or the default layer | ||
| 113 | rgblight_sethsv_at( 0, 0, 0, 0); | ||
| 114 | break; | ||
| 115 | } | ||
| 116 | rgblight_set_effect_range( 1, 11); | ||
| 117 | #endif | ||
| 118 | return state; | ||
| 119 | } | ||
| 120 | |||
| 121 | uint8_t RGB_current_mode; | ||
| 122 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||
| 123 | bool result = false; | ||
| 124 | switch (keycode) { | ||
| 125 | #ifdef RGBLIGHT_ENABLE | ||
| 126 | case RGB_MOD: | ||
| 127 | if (record->event.pressed) { | ||
| 128 | rgblight_mode(RGB_current_mode); | ||
| 129 | rgblight_step(); | ||
| 130 | RGB_current_mode = rgblight_get_mode(); | ||
| 131 | } | ||
| 132 | break; | ||
| 133 | case RGB_RST: | ||
| 134 | if (record->event.pressed) { | ||
| 135 | eeconfig_update_rgblight_default(); | ||
| 136 | rgblight_enable(); | ||
| 137 | RGB_current_mode = rgblight_get_mode(); | ||
| 138 | } | ||
| 139 | break; | ||
| 140 | #endif | ||
| 141 | default: | ||
| 142 | result = true; | ||
| 143 | break; | ||
| 144 | } | ||
| 145 | |||
| 146 | return result; | ||
| 147 | } | ||
diff --git a/keyboards/nknl7en/keymaps/via/config.h b/keyboards/nknl7en/keymaps/via/config.h new file mode 100644 index 000000000..fd96baa81 --- /dev/null +++ b/keyboards/nknl7en/keymaps/via/config.h | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | /* Copyright 2021 Salicylic_acid3 | ||
| 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 | /* Select hand configuration */ | ||
| 20 | |||
| 21 | #define TAPPING_FORCE_HOLD | ||
| 22 | #define TAPPING_TERM 180 | ||
diff --git a/keyboards/nknl7en/keymaps/via/keymap.c b/keyboards/nknl7en/keymaps/via/keymap.c new file mode 100644 index 000000000..f31d06a22 --- /dev/null +++ b/keyboards/nknl7en/keymaps/via/keymap.c | |||
| @@ -0,0 +1,86 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 Salicylic_Acid | ||
| 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 | #include QMK_KEYBOARD_H | ||
| 19 | // Each layer gets a name for readability, which is then used in the keymap matrix below. | ||
| 20 | // The underscores don't mean anything - you can have a layer called STUFF or any other name. | ||
| 21 | // Layer names don't all need to be of the same length, obviously, and you can also skip them | ||
| 22 | // entirely and just use numbers. | ||
| 23 | enum layer_number { | ||
| 24 | _BASE = 0, | ||
| 25 | _L1, | ||
| 26 | _L2, | ||
| 27 | _L3, | ||
| 28 | }; | ||
| 29 | |||
| 30 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 31 | [_BASE] = LAYOUT( | ||
| 32 | //,-----------------------------------------------------| |--------------------------------------------------------------------------------. | ||
| 33 | 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_HOME, | ||
| 34 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 35 | 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_END, | ||
| 36 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 37 | 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_PGUP, | ||
| 38 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 39 | 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_PGDN, | ||
| 40 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 41 | KC_LCTRL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RGUI, MO(_L1), KC_LEFT,KC_DOWN, KC_RGHT | ||
| 42 | //|-----------------------------------------------------| |--------------------------------------------------------------------------------' | ||
| 43 | ), | ||
| 44 | |||
| 45 | [_L1] = LAYOUT( | ||
| 46 | //,-----------------------------------------------------| |--------------------------------------------------------------------------------. | ||
| 47 | RESET, 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_STOP, KC_PSCR, | ||
| 48 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 49 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_INS, | ||
| 50 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 51 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 52 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 53 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 54 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 55 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 56 | //|-----------------------------------------------------| |--------------------------------------------------------------------------------' | ||
| 57 | ), | ||
| 58 | |||
| 59 | [_L2] = LAYOUT( | ||
| 60 | //,-----------------------------------------------------| |--------------------------------------------------------------------------------. | ||
| 61 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 62 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 63 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 64 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 65 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 66 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 67 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 68 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 69 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 70 | //|-----------------------------------------------------| |--------------------------------------------------------------------------------' | ||
| 71 | ), | ||
| 72 | |||
| 73 | [_L3] = LAYOUT( | ||
| 74 | //,-----------------------------------------------------| |--------------------------------------------------------------------------------. | ||
| 75 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 76 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 77 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 78 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 79 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 80 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 81 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 82 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 83 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 84 | //|-----------------------------------------------------| |--------------------------------------------------------------------------------' | ||
| 85 | ) | ||
| 86 | }; | ||
diff --git a/keyboards/nknl7en/keymaps/via/rules.mk b/keyboards/nknl7en/keymaps/via/rules.mk new file mode 100644 index 000000000..036bd6d1c --- /dev/null +++ b/keyboards/nknl7en/keymaps/via/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| VIA_ENABLE = yes \ No newline at end of file | |||
diff --git a/keyboards/nknl7en/nknl7en.c b/keyboards/nknl7en/nknl7en.c new file mode 100644 index 000000000..1f06cb733 --- /dev/null +++ b/keyboards/nknl7en/nknl7en.c | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 Salicylic_Acid | ||
| 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 | #include "nknl7en.h" | ||
diff --git a/keyboards/nknl7en/nknl7en.h b/keyboards/nknl7en/nknl7en.h new file mode 100644 index 000000000..945e42956 --- /dev/null +++ b/keyboards/nknl7en/nknl7en.h | |||
| @@ -0,0 +1,54 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 Salicylic_Acid | ||
| 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 "quantum.h" | ||
| 21 | |||
| 22 | /* | ||
| 23 | * ,------------------------------------ ------------------------------------------------------------. | ||
| 24 | * | L00 | L01 | L02 | L03 | L04 | L05 | | R00 | R01 | R02 | R03 | R04 | R05 | R06 | R07 | R08 | | ||
| 25 | * |---------------------------------------------------------------------------------------------------+ | ||
| 26 | * | L10 | L11 | L12 | L13 | L14 | L15 | | R10 | R11 | R12 | R13 | R14 | R15 | R16 | R17 | R18 | | ||
| 27 | * |---------------------------------------- ---------------------------------------------------------+ | ||
| 28 | * | L20 | L21 | L22 | L23 | L24 | L25 | | R20 | R21 | R22 | R23 | R24 | R25 | R26 | R28 | | ||
| 29 | * |---------------------------------------------------------------------------------------------------+ | ||
| 30 | * | L30 | L31 | L32 | L33 | L34 | L35 | | R30 | R31 | R32 | R33 | R34 | R35 | R36 | R38 | | ||
| 31 | * |------------------------------------------- -----------------------------------------------------+ | ||
| 32 | * | L40 | L41 | L42 | L43 | L44 | | R40 | R42 | R43 | R44 | R46 | R37 | R47 | | ||
| 33 | * |---------------------------------------- --------------------------------------------------------' | ||
| 34 | */ | ||
| 35 | |||
| 36 | #define LAYOUT( \ | ||
| 37 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, R06, R07, R08, \ | ||
| 38 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, R16, R17, R18, \ | ||
| 39 | L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, R26, R28, \ | ||
| 40 | L30, L31, L32, L33, L34, L35, R30, R31, R32, R33, R34, R35, R36, R38, \ | ||
| 41 | L40, L41, L42, L43, L44, R40, R42, R43, R44, R46, R37, R47 \ | ||
| 42 | ) \ | ||
| 43 | { \ | ||
| 44 | { L00, L01, L02, L03, L04, L05, KC_NO, KC_NO, KC_NO }, \ | ||
| 45 | { L10, L11, L12, L13, L14, L15, KC_NO, KC_NO, KC_NO }, \ | ||
| 46 | { L20, L21, L22, L23, L24, L25, KC_NO, KC_NO, KC_NO }, \ | ||
| 47 | { L30, L31, L32, L33, L34, L35, KC_NO, KC_NO, KC_NO }, \ | ||
| 48 | { L40, L41, L42, L43, L44, KC_NO, KC_NO, KC_NO, KC_NO }, \ | ||
| 49 | { R00, R01, R02, R03, R04, R05, R06, R07, R08 }, \ | ||
| 50 | { R10, R11, R12, R13, R14, R15, R16, R17, R18 }, \ | ||
| 51 | { R20, R21, R22, R23, R24, R25, R26, KC_NO, R28 }, \ | ||
| 52 | { R30, R31, R32, R33, R34, R35, R36, R37, R38 }, \ | ||
| 53 | { R40, KC_NO, R42, R43, R44, KC_NO, R46, R47, KC_NO } \ | ||
| 54 | } | ||
diff --git a/keyboards/nknl7en/readme.md b/keyboards/nknl7en/readme.md new file mode 100644 index 000000000..5cbffae30 --- /dev/null +++ b/keyboards/nknl7en/readme.md | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | # nknl7en | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | This is 70 keys Custom keyboard. | ||
| 6 | |||
| 7 | * Keyboard Maintainer: [Salicylic_acid3](https://github.com/Salicylic-acid3) | ||
| 8 | * Hardware Supported: nknl7 PCB, Pro Micro | ||
| 9 | * Hardware Availability: [PCB & Case Data](https://github.com/Salicylic-acid3/PCB_Data), [Booth Shop](https://salicylic-acid3.booth.pm/items/2672651) | ||
| 10 | |||
| 11 | Make example for this keyboard (after setting up your build environment): | ||
| 12 | |||
| 13 | make nknl7en:default | ||
| 14 | |||
| 15 | 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). | ||
| 16 | |||
| 17 | [Build guide](https://salicylic-acid3.hatenablog.com/entry/nknl7-build-guide) | ||
diff --git a/keyboards/nknl7en/rules.mk b/keyboards/nknl7en/rules.mk new file mode 100644 index 000000000..abffa14b3 --- /dev/null +++ b/keyboards/nknl7en/rules.mk | |||
| @@ -0,0 +1,24 @@ | |||
| 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 = 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 = yes # Enable keyboard RGB underglow | ||
| 21 | BLUETOOTH_ENABLE = no # Enable Bluetooth | ||
| 22 | AUDIO_ENABLE = no # Audio output | ||
| 23 | |||
| 24 | SPLIT_KEYBOARD = yes | ||
