diff options
| -rw-r--r-- | keyboards/7splus/7splus.c | 17 | ||||
| -rw-r--r-- | keyboards/7splus/7splus.h | 61 | ||||
| -rw-r--r-- | keyboards/7splus/config.h | 84 | ||||
| -rw-r--r-- | keyboards/7splus/info.json | 98 | ||||
| -rw-r--r-- | keyboards/7splus/keymaps/default/keymap.c | 81 | ||||
| -rw-r--r-- | keyboards/7splus/keymaps/salicylic/config.h | 22 | ||||
| -rw-r--r-- | keyboards/7splus/keymaps/salicylic/keymap.c | 147 | ||||
| -rw-r--r-- | keyboards/7splus/keymaps/salicylic/rules.mk | 2 | ||||
| -rw-r--r-- | keyboards/7splus/keymaps/via/config.h | 23 | ||||
| -rw-r--r-- | keyboards/7splus/keymaps/via/keymap.c | 71 | ||||
| -rw-r--r-- | keyboards/7splus/keymaps/via/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/7splus/readme.md | 17 | ||||
| -rw-r--r-- | keyboards/7splus/rules.mk | 24 |
13 files changed, 648 insertions, 0 deletions
diff --git a/keyboards/7splus/7splus.c b/keyboards/7splus/7splus.c new file mode 100644 index 000000000..ca94ab0ef --- /dev/null +++ b/keyboards/7splus/7splus.c | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 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 | #include "7splus.h" | ||
diff --git a/keyboards/7splus/7splus.h b/keyboards/7splus/7splus.h new file mode 100644 index 000000000..55b9c24f9 --- /dev/null +++ b/keyboards/7splus/7splus.h | |||
| @@ -0,0 +1,61 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 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 | R60 | | ||
| 25 | * |-------------------------------------- ------------------------------------------------------------+ | ||
| 26 | * | L10 | L11 | L12 | L13 | L14 | L15 | | R10 | R11 | R12 | R13 | R14 | R15 | R16 | R17 | R62 | | ||
| 27 | * |---------------------------------------------------------------------------------------------------+ | ||
| 28 | * | L20 | L21 | L22 | L23 | L24 | L25 | | R20 | R21 | R22 | R23 | R24 | R25 | R26 | R27 | R63 | | ||
| 29 | * |---------------------------------------- ---------------------------------------------------------+ | ||
| 30 | * | L30 | L31 | L32 | L33 | L34 | L35 | | R30 | R31 | R32 | R33 | R34 | R35 | R36 | R37 | | ||
| 31 | * |---------------------------------------------------------------------------------------------------+ | ||
| 32 | * | L40 | L41 | L42 | L43 | L44 | L45 | | R40 | R41 | R42 | R43 | R44 | R45 | R47 | R57 | | ||
| 33 | * |---------------------------------------------------------------------------------------------------+ | ||
| 34 | * | L50 | L51 | L52 | L53 | L54 | L55 | | R50 | R51 | R53 | R54 | R55 | R56 | R64 | | ||
| 35 | * |---------------------------------------- ------------------------------------------------------' | ||
| 36 | */ | ||
| 37 | |||
| 38 | #define LAYOUT( \ | ||
| 39 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, R06, R07, R60, \ | ||
| 40 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, R16, R17, R62, \ | ||
| 41 | L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, R26, R27, R63, \ | ||
| 42 | L30, L31, L32, L33, L34, L35, R30, R31, R32, R33, R34, R35, R36, R37, \ | ||
| 43 | L40, L41, L42, L43, L44, L45, R40, R41, R42, R43, R44, R45, R47, R57, \ | ||
| 44 | L50, L51, L52, L54, L55, R50, R51, R53, R54, R55, R56, R64 \ | ||
| 45 | ) \ | ||
| 46 | { \ | ||
| 47 | { L00, L01, L02, L03, L04, L05, KC_NO, KC_NO }, \ | ||
| 48 | { L10, L11, L12, L13, L14, L15, KC_NO, KC_NO }, \ | ||
| 49 | { L20, L21, L22, L23, L24, L25, KC_NO, KC_NO }, \ | ||
| 50 | { L30, L31, L32, L33, L34, L35, KC_NO, KC_NO }, \ | ||
| 51 | { L40, L41, L42, L43, L44, L45, KC_NO, KC_NO }, \ | ||
| 52 | { L50, L51, L52, KC_NO, L54, L55, KC_NO, KC_NO }, \ | ||
| 53 | {KC_NO,KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO }, \ | ||
| 54 | { R00, R01, R02, R03, R04, R05, R06, R07 }, \ | ||
| 55 | { R10, R11, R12, R13, R14, R15, R16, R17 }, \ | ||
| 56 | { R20, R21, R22, R23, R24, R25, R26, R27 }, \ | ||
| 57 | { R30, R31, R32, R33, R34, R35, R36, R37 }, \ | ||
| 58 | { R40, R41, R42, R43, R44, R45, KC_NO, R47 }, \ | ||
| 59 | { R50, R51, KC_NO, R53, R54, R55, R56, R57 }, \ | ||
| 60 | { R60, KC_NO, R62, R63, R64, KC_NO, KC_NO, KC_NO } \ | ||
| 61 | } | ||
diff --git a/keyboards/7splus/config.h b/keyboards/7splus/config.h new file mode 100644 index 000000000..8f3e32a52 --- /dev/null +++ b/keyboards/7splus/config.h | |||
| @@ -0,0 +1,84 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 Salicylic_acid3 | ||
| 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 0xEAE7 | ||
| 25 | #define DEVICE_VER 0x0001 | ||
| 26 | #define MANUFACTURER Salicylic_Acid | ||
| 27 | #define PRODUCT 7splus | ||
| 28 | |||
| 29 | /* key matrix size */ | ||
| 30 | #define MATRIX_ROWS 14 | ||
| 31 | #define MATRIX_COLS 8 | ||
| 32 | |||
| 33 | // wiring of each half | ||
| 34 | #define MATRIX_ROW_PINS { D1, D0, D4, C6, D7, E6, B4 } | ||
| 35 | #define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2, B5 } | ||
| 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 D2 | ||
| 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 31 | ||
| 56 | #define RGBLIGHT_SPLIT | ||
| 57 | #define RGBLED_SPLIT { 11, 20 } | ||
| 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/7splus/info.json b/keyboards/7splus/info.json new file mode 100644 index 000000000..55ead9976 --- /dev/null +++ b/keyboards/7splus/info.json | |||
| @@ -0,0 +1,98 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "7splus", | ||
| 3 | "url": "https://salicylic-acid3.hatenablog.com/", | ||
| 4 | "maintainer": "Salicylic_acid3", | ||
| 5 | "width": 17, | ||
| 6 | "height": 6.25, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT": { | ||
| 9 | "layout": [ | ||
| 10 | {"label":"Esc", "x":0, "y":0}, | ||
| 11 | {"label":"F1", "x":1.25, "y":0}, | ||
| 12 | {"label":"F2", "x":2.25, "y":0}, | ||
| 13 | {"label":"F3", "x":3.25, "y":0}, | ||
| 14 | {"label":"F4", "x":4.25, "y":0}, | ||
| 15 | {"label":"F5", "x":5.5, "y":0}, | ||
| 16 | {"label":"F6", "x":7.5, "y":0}, | ||
| 17 | {"label":"F7", "x":8.5, "y":0}, | ||
| 18 | {"label":"F8", "x":9.5, "y":0}, | ||
| 19 | {"label":"F9", "x":10.75, "y":0}, | ||
| 20 | {"label":"F10", "x":11.75, "y":0}, | ||
| 21 | {"label":"F11", "x":12.75, "y":0}, | ||
| 22 | {"label":"F12", "x":13.75, "y":0}, | ||
| 23 | {"label":"PrtScr", "x":15, "y":0}, | ||
| 24 | {"label":"Delete", "x":16, "y":0}, | ||
| 25 | {"label":"~", "x":0, "y":1.25}, | ||
| 26 | {"label":"1", "x":1, "y":1.25}, | ||
| 27 | {"label":"2", "x":2, "y":1.25}, | ||
| 28 | {"label":"3", "x":3, "y":1.25}, | ||
| 29 | {"label":"4", "x":4, "y":1.25}, | ||
| 30 | {"label":"5", "x":5, "y":1.25}, | ||
| 31 | {"label":"6", "x":7, "y":1.25}, | ||
| 32 | {"label":"7", "x":8, "y":1.25}, | ||
| 33 | {"label":"8", "x":9, "y":1.25}, | ||
| 34 | {"label":"9", "x":10, "y":1.25}, | ||
| 35 | {"label":"0", "x":11, "y":1.25}, | ||
| 36 | {"label":"-", "x":12, "y":1.25}, | ||
| 37 | {"label":"=", "x":13, "y":1.25}, | ||
| 38 | {"label":"Back Space", "x":14, "y":1.25, "w":2}, | ||
| 39 | {"label":"Home", "x":16, "y":1.25}, | ||
| 40 | {"label":"Tab", "x":0, "y":2.25, "w":1.5}, | ||
| 41 | {"label":"Q", "x":1.5, "y":2.25}, | ||
| 42 | {"label":"W", "x":2.5, "y":2.25}, | ||
| 43 | {"label":"E", "x":3.5, "y":2.25}, | ||
| 44 | {"label":"R", "x":4.5, "y":2.25}, | ||
| 45 | {"label":"T", "x":5.5, "y":2.25}, | ||
| 46 | {"label":"Y", "x":7.5, "y":2.25}, | ||
| 47 | {"label":"U", "x":8.5, "y":2.25}, | ||
| 48 | {"label":"I", "x":9.5, "y":2.25}, | ||
| 49 | {"label":"O", "x":10.5, "y":2.25}, | ||
| 50 | {"label":"P", "x":11.5, "y":2.25}, | ||
| 51 | {"label":"[", "x":12.5, "y":2.25}, | ||
| 52 | {"label":"]", "x":13.5, "y":2.25}, | ||
| 53 | {"label":"\"", "x":14.5, "y":2.25, "w":1.5}, | ||
| 54 | {"label":"Page Up", "x":16, "y":2.25}, | ||
| 55 | {"label":"Caps Lock", "x":0, "y":3.25, "w":1.75}, | ||
| 56 | {"label":"A", "x":1.75, "y":3.25}, | ||
| 57 | {"label":"S", "x":2.75, "y":3.25}, | ||
| 58 | {"label":"D", "x":3.75, "y":3.25}, | ||
| 59 | {"label":"F", "x":4.75, "y":3.25}, | ||
| 60 | {"label":"G", "x":5.75, "y":3.25}, | ||
| 61 | {"label":"H", "x":7.75, "y":3.25}, | ||
| 62 | {"label":"J", "x":8.75, "y":3.25}, | ||
| 63 | {"label":"K", "x":9.75, "y":3.25}, | ||
| 64 | {"label":"L", "x":10.75, "y":3.25}, | ||
| 65 | {"label":":", "x":11.75, "y":3.25}, | ||
| 66 | {"label":"'", "x":12.75, "y":3.25}, | ||
| 67 | {"label":"Enter", "x":13.75, "y":3.25, "w":2.25}, | ||
| 68 | {"label":"Page Down", "x":16, "y":3.25}, | ||
| 69 | {"label":"Shift", "x":0, "y":4.25, "w":2.25}, | ||
| 70 | {"label":"Z", "x":2.25, "y":4.25}, | ||
| 71 | {"label":"X", "x":3.25, "y":4.25}, | ||
| 72 | {"label":"C", "x":4.25, "y":4.25}, | ||
| 73 | {"label":"V", "x":5.25, "y":4.25}, | ||
| 74 | {"label":"B", "x":6.25, "y":4.25}, | ||
| 75 | {"label":"N", "x":8.25, "y":4.25}, | ||
| 76 | {"label":"M", "x":9.25, "y":4.25}, | ||
| 77 | {"label":"<", "x":10.25, "y":4.25}, | ||
| 78 | {"label":">", "x":11.25, "y":4.25}, | ||
| 79 | {"label":"?", "x":12.25, "y":4.25}, | ||
| 80 | {"label":"Shift","x":13.25, "y":4.25, "w":1.75}, | ||
| 81 | {"label":"Up", "x":15, "y":4.25}, | ||
| 82 | {"label":"End", "x":16, "y":4.25}, | ||
| 83 | {"label":"Ctrl", "x":0, "y":5.25, "w":1.25}, | ||
| 84 | {"label":"Win", "x":1.25, "y":5.25, "w":1.25}, | ||
| 85 | {"label":"Alt", "x":2.5, "y":5.25, "w":1.25}, | ||
| 86 | {"x":3.75, "y":5.25, "w":2}, | ||
| 87 | {"x":5.75, "y":5.25}, | ||
| 88 | {"x":7.75, "y":5.25}, | ||
| 89 | {"x":8.75, "y":5.25, "w":2.75}, | ||
| 90 | {"label":"Alt", "x":11.5, "y":5.25, "w":1.25}, | ||
| 91 | {"label":"App", "x":12.75, "y":5.25, "w":1.25}, | ||
| 92 | {"label":"Left", "x":14, "y":5.25}, | ||
| 93 | {"label":"Down", "x":15, "y":5.25}, | ||
| 94 | {"label":"Right", "x":16, "y":5.25} | ||
| 95 | ] | ||
| 96 | } | ||
| 97 | } | ||
| 98 | } | ||
diff --git a/keyboards/7splus/keymaps/default/keymap.c b/keyboards/7splus/keymaps/default/keymap.c new file mode 100644 index 000000000..282bfaf66 --- /dev/null +++ b/keyboards/7splus/keymaps/default/keymap.c | |||
| @@ -0,0 +1,81 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 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 | _ADJUST, | ||
| 27 | }; | ||
| 28 | |||
| 29 | enum custom_keycodes { | ||
| 30 | RGB_RST = SAFE_RANGE | ||
| 31 | }; | ||
| 32 | |||
| 33 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 34 | [_QWERTY] = LAYOUT( | ||
| 35 | //,-----------------------------------------------------| |--------------------------------------------------------------------------------. | ||
| 36 | KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_DEL, | ||
| 37 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 38 | LT(_ADJUST,KC_GRV),KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_HOME, | ||
| 39 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 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_PGUP, | ||
| 41 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 42 | 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_PGDN, | ||
| 43 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 44 | 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_END, | ||
| 45 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 46 | KC_LCTRL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_APP, KC_LEFT, KC_DOWN,KC_RIGHT | ||
| 47 | //`-----------------------------------------------------| |--------------------------------------------------------------------------------' | ||
| 48 | ), | ||
| 49 | [_ADJUST] = LAYOUT( /* Base */ | ||
| 50 | //,-----------------------------------------------------| |--------------------------------------------------------------------------------. | ||
| 51 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 52 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 53 | MO(_ADJUST), XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 54 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 55 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_RST, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 56 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 57 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_TOG, RGB_MOD, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 58 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 59 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_VAD, RGB_VAI, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, XXXXXXX, XXXXXXX, | ||
| 60 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 61 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX | ||
| 62 | //`-----------------------------------------------------| |--------------------------------------------------------------------------------' | ||
| 63 | ) | ||
| 64 | }; | ||
| 65 | |||
| 66 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||
| 67 | switch (keycode) { | ||
| 68 | #ifdef RGBLIGHT_ENABLE | ||
| 69 | case RGB_RST: | ||
| 70 | if (record->event.pressed) { | ||
| 71 | uint8_t mode = rgblight_get_mode(); | ||
| 72 | eeconfig_update_rgblight_default(); | ||
| 73 | rgblight_enable(); | ||
| 74 | rgblight_mode(mode); | ||
| 75 | } | ||
| 76 | break; | ||
| 77 | #endif | ||
| 78 | } | ||
| 79 | |||
| 80 | return true; | ||
| 81 | } | ||
diff --git a/keyboards/7splus/keymaps/salicylic/config.h b/keyboards/7splus/keymaps/salicylic/config.h new file mode 100644 index 000000000..81ee8ef78 --- /dev/null +++ b/keyboards/7splus/keymaps/salicylic/config.h | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | /* Copyright 2020 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/7splus/keymaps/salicylic/keymap.c b/keyboards/7splus/keymaps/salicylic/keymap.c new file mode 100644 index 000000000..4435bf98c --- /dev/null +++ b/keyboards/7splus/keymaps/salicylic/keymap.c | |||
| @@ -0,0 +1,147 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 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 | // 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 | _MOUSE, | ||
| 27 | _LOWER, | ||
| 28 | _RAISE, | ||
| 29 | _ADJUST, | ||
| 30 | }; | ||
| 31 | |||
| 32 | enum custom_keycodes { | ||
| 33 | RGB_RST = SAFE_RANGE | ||
| 34 | }; | ||
| 35 | |||
| 36 | enum tapdances{ | ||
| 37 | TD_ESMS = 0, | ||
| 38 | TD_ESAR, | ||
| 39 | }; | ||
| 40 | |||
| 41 | qk_tap_dance_action_t tap_dance_actions[] = { | ||
| 42 | [TD_ESMS] = ACTION_TAP_DANCE_DUAL_ROLE(KC_ESC, _MOUSE), | ||
| 43 | [TD_ESAR] = ACTION_TAP_DANCE_DUAL_ROLE(KC_ESC, _QWERTY), | ||
| 44 | }; | ||
| 45 | |||
| 46 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 47 | [_QWERTY] = LAYOUT( | ||
| 48 | //,-----------------------------------------------------| |--------------------------------------------------------------------------------. | ||
| 49 | TD(TD_ESMS), KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_DEL, | ||
| 50 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 51 | KC_ZKHK, 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, | ||
| 52 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 53 | 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, JP_BSLS, KC_PGUP, | ||
| 54 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 55 | KC_LCTRL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, JP_MINS, JP_QUOT, KC_ENT, KC_PGDN, | ||
| 56 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 57 | 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_END, | ||
| 58 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 59 | KC_ZKHK, KC_LGUI,ALT_T(KC_MHEN),LT(_LOWER,KC_ENT),KC_BSPC, KC_DEL,LT(_RAISE,KC_SPC), ALT_T(KC_HENK), KC_APP, KC_LEFT, KC_DOWN,KC_RIGHT | ||
| 60 | //`-----------------------------------------------------| |--------------------------------------------------------------------------------' | ||
| 61 | ), | ||
| 62 | |||
| 63 | [_MOUSE] = LAYOUT( | ||
| 64 | //,-----------------------------------------------------| |--------------------------------------------------------------------------------. | ||
| 65 | TD(TD_ESAR), _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 66 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 67 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 68 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 69 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, LCTL(KC_W), | ||
| 70 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 71 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, LCTL(LSFT(KC_T)), | ||
| 72 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 73 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_BTN1, KC_MS_U, KC_BTN2, | ||
| 74 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 75 | _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MS_L, KC_MS_D, KC_MS_R | ||
| 76 | //`-----------------------------------------------------| |--------------------------------------------------------------------------------' | ||
| 77 | ), | ||
| 78 | |||
| 79 | [_LOWER] = LAYOUT( | ||
| 80 | //,-----------------------------------------------------| |--------------------------------------------------------------------------------. | ||
| 81 | KC_ESC, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 82 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 83 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 84 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 85 | JP_QUOT, JP_EXLM, JP_QUES, JP_LBRC, JP_RBRC, JP_TILD, KC_P6, KC_P7, KC_P8, KC_P9, JP_ASTR, JP_SLSH, _______, _______, KC_HOME, | ||
| 86 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 87 | LCTL_T(JP_QUOT),JP_HASH, JP_DQT, JP_LPRN, JP_RPRN, JP_AT, XXXXXXX, KC_P4, KC_P5, KC_P6, JP_MINS, JP_EQL, _______, KC_END, | ||
| 88 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 89 | SFT_T(JP_CIRC),JP_PERC, JP_AMPR, JP_SCLN, JP_COLN, JP_PIPE, KC_P0, KC_P1, KC_P2, KC_P3, JP_PLUS, _______, KC_UP, KC_PGUP, | ||
| 90 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 91 | _______, _______, _______, MO(_LOWER), _______, _______,MO(_RAISE), _______, _______, KC_LEFT, KC_DOWN,KC_RIGHT | ||
| 92 | //`-----------------------------------------------------| |--------------------------------------------------------------------------------' | ||
| 93 | ), | ||
| 94 | |||
| 95 | [_RAISE] = LAYOUT( | ||
| 96 | //,-----------------------------------------------------| |--------------------------------------------------------------------------------. | ||
| 97 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 98 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 99 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 100 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 101 | KC_TAB, KC_1, KC_2, KC_3, KC_4, KC_5, XXXXXXX, XXXXXXX, KC_UP, XXXXXXX, KC_PGUP, XXXXXXX, _______, _______, KC_HOME, | ||
| 102 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 103 | LCTL_T(KC_F11),XXXXXXX, KC_F2, KC_F3, KC_F4, KC_F5, XXXXXXX, KC_LEFT, KC_DOWN,KC_RIGHT, XXXXXXX, XXXXXXX, _______, KC_END, | ||
| 104 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 105 | SFT_T(KC_F12), KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_PGDN, _______, KC_UP, KC_PGUP, | ||
| 106 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 107 | _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN,KC_RIGHT | ||
| 108 | //`-----------------------------------------------------| |--------------------------------------------------------------------------------' | ||
| 109 | ), | ||
| 110 | |||
| 111 | [_ADJUST] = LAYOUT( /* Base */ | ||
| 112 | //,-----------------------------------------------------| |--------------------------------------------------------------------------------. | ||
| 113 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 114 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 115 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 116 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 117 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_RST, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 118 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 119 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_TOG, RGB_MOD, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 120 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 121 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_VAD, RGB_VAI, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, XXXXXXX, XXXXXXX, | ||
| 122 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 123 | _______, _______, _______, _______, _______, _______, _______, _______, _______, XXXXXXX, XXXXXXX, XXXXXXX | ||
| 124 | //`-----------------------------------------------------| |--------------------------------------------------------------------------------' | ||
| 125 | ) | ||
| 126 | }; | ||
| 127 | |||
| 128 | //A description for expressing the layer position in LED mode. | ||
| 129 | layer_state_t layer_state_set_user(layer_state_t state) { | ||
| 130 | return update_tri_layer_state(state, _RAISE, _LOWER, _ADJUST); | ||
| 131 | } | ||
| 132 | |||
| 133 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||
| 134 | switch (keycode) { | ||
| 135 | #ifdef RGBLIGHT_ENABLE | ||
| 136 | case RGB_RST: | ||
| 137 | if (record->event.pressed) { | ||
| 138 | uint8_t mode = rgblight_get_mode(); | ||
| 139 | eeconfig_update_rgblight_default(); | ||
| 140 | rgblight_enable(); | ||
| 141 | rgblight_mode(mode); | ||
| 142 | } | ||
| 143 | break; | ||
| 144 | #endif | ||
| 145 | } | ||
| 146 | return true; | ||
| 147 | } | ||
diff --git a/keyboards/7splus/keymaps/salicylic/rules.mk b/keyboards/7splus/keymaps/salicylic/rules.mk new file mode 100644 index 000000000..0bcbf86d5 --- /dev/null +++ b/keyboards/7splus/keymaps/salicylic/rules.mk | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | TAP_DANCE_ENABLE = yes | ||
| 2 | MOUSEKEY_ENABLE = yes \ No newline at end of file | ||
diff --git a/keyboards/7splus/keymaps/via/config.h b/keyboards/7splus/keymaps/via/config.h new file mode 100644 index 000000000..8a89da2ea --- /dev/null +++ b/keyboards/7splus/keymaps/via/config.h | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | /* Copyright 2020 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 | ||
| 23 | #define DYNAMIC_KEYMAP_LAYER_COUNT 3 | ||
diff --git a/keyboards/7splus/keymaps/via/keymap.c b/keyboards/7splus/keymaps/via/keymap.c new file mode 100644 index 000000000..c17e1ce45 --- /dev/null +++ b/keyboards/7splus/keymaps/via/keymap.c | |||
| @@ -0,0 +1,71 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 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 | |||
| 25 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 26 | [0] = LAYOUT( | ||
| 27 | //,-----------------------------------------------------| |--------------------------------------------------------------------------------. | ||
| 28 | KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_DEL, | ||
| 29 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 30 | LT(1,KC_GRV), KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_HOME, | ||
| 31 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 32 | 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_PGUP, | ||
| 33 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 34 | 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_PGDN, | ||
| 35 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 36 | 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_END, | ||
| 37 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 38 | KC_LCTRL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_APP, KC_LEFT, KC_DOWN,KC_RIGHT | ||
| 39 | //`-----------------------------------------------------| |--------------------------------------------------------------------------------' | ||
| 40 | ), | ||
| 41 | [1] = LAYOUT( /* Base */ | ||
| 42 | //,-----------------------------------------------------| |--------------------------------------------------------------------------------. | ||
| 43 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 44 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 45 | MO(1), XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 46 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 47 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 48 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 49 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_TOG, RGB_MOD, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 50 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 51 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_VAD, RGB_VAI, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, XXXXXXX, XXXXXXX, | ||
| 52 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 53 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX | ||
| 54 | //`-----------------------------------------------------| |--------------------------------------------------------------------------------' | ||
| 55 | ), | ||
| 56 | [2] = LAYOUT( | ||
| 57 | //,-----------------------------------------------------| |--------------------------------------------------------------------------------. | ||
| 58 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 59 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 60 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 61 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 62 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 63 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 64 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 65 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 66 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 67 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 68 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX | ||
| 69 | //`-----------------------------------------------------| |--------------------------------------------------------------------------------' | ||
| 70 | ) | ||
| 71 | }; | ||
diff --git a/keyboards/7splus/keymaps/via/rules.mk b/keyboards/7splus/keymaps/via/rules.mk new file mode 100644 index 000000000..036bd6d1c --- /dev/null +++ b/keyboards/7splus/keymaps/via/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| VIA_ENABLE = yes \ No newline at end of file | |||
diff --git a/keyboards/7splus/readme.md b/keyboards/7splus/readme.md new file mode 100644 index 000000000..a73359524 --- /dev/null +++ b/keyboards/7splus/readme.md | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | # 7sPlus | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | This is 85 keys Custom keyboard. | ||
| 6 | |||
| 7 | * Keyboard Maintainer: [Salicylic_acid3](https://github.com/Salicylic-acid3) | ||
| 8 | * Hardware Supported: 7sPlus PCB, Pro Micro | ||
| 9 | * Hardware Availability: [PCB & Case Data](https://github.com/Salicylic-acid3/PCB_Data), [Booth Shop](https://salicylic-acid3.booth.pm/items/2425503) | ||
| 10 | |||
| 11 | Make example for this keyboard (after setting up your build environment): | ||
| 12 | |||
| 13 | make 7splus: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/7splus-build-guide) | ||
diff --git a/keyboards/7splus/rules.mk b/keyboards/7splus/rules.mk new file mode 100644 index 000000000..52da9f00e --- /dev/null +++ b/keyboards/7splus/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 = no # Mouse keys | ||
| 12 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 13 | CONSOLE_ENABLE = no # Console for debug | ||
| 14 | COMMAND_ENABLE = yes # 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 | ||
