diff options
author | lokher <lokher@gmail.com> | 2022-12-06 17:10:48 +0800 |
---|---|---|
committer | lokher <lokher@gmail.com> | 2022-12-07 15:50:49 +0800 |
commit | a336c2c5005251e4cb0f3a62ccabdb4cfccad915 (patch) | |
tree | 3c948b631a5e3b6f940dabe02fad3c7487e6f350 /keyboards/jacky_studio | |
parent | 27fc28fd2ff52e079a5bc58d6aaea4c752420615 (diff) |
Merge upstream master to 2022 Q4 breaking change
Diffstat (limited to 'keyboards/jacky_studio')
-rw-r--r-- | keyboards/jacky_studio/bear_65/config.h | 76 | ||||
-rw-r--r-- | keyboards/jacky_studio/piggy60/info.json | 259 | ||||
-rw-r--r-- | keyboards/jacky_studio/s7_elephant/rev1/config.h | 64 | ||||
-rw-r--r-- | keyboards/jacky_studio/s7_elephant/rev1/keymaps/default/keymap.c | 81 | ||||
-rw-r--r-- | keyboards/jacky_studio/s7_elephant/rev2/config.h | 76 | ||||
-rw-r--r-- | keyboards/jacky_studio/s7_elephant/rev2/keymaps/default/keymap.c | 81 |
6 files changed, 0 insertions, 637 deletions
diff --git a/keyboards/jacky_studio/bear_65/config.h b/keyboards/jacky_studio/bear_65/config.h deleted file mode 100644 index c2ff9c38c8..0000000000 --- a/keyboards/jacky_studio/bear_65/config.h +++ /dev/null @@ -1,76 +0,0 @@ -/* Copyright 2020 MudkipMao - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#pragma once - -#include "config_common.h" - -/* key matrix size */ -#define MATRIX_ROWS 5 -#define MATRIX_COLS 15 - -/* - * Keyboard Matrix Assignments - * - * Change this to how you wired your keyboard - * COLS: AVR pins used for columns, left to right - * ROWS: AVR pins used for rows, top to bottom - * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) - * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) - * - */ -#define MATRIX_ROW_PINS { B0, B1, B2, B3, B7 } -#define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4, F7, F6, F5, F4, F1, F0 } - -/* Setting the matrix value of top left key for bootmagic lite */ -#define BOOTMAGIC_LITE_ROW 3 -#define BOOTMAGIC_LITE_COLUMN 1 - -#define DIODE_DIRECTION ROW2COL - -#define LED_CAPS_LOCK_PIN C7 - -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 4 - -#define RGB_DI_PIN E2 -#ifdef RGB_DI_PIN - #define RGBLED_NUM 15 - #define RGBLIGHT_HUE_STEP 8 - #define RGBLIGHT_SAT_STEP 8 - #define RGBLIGHT_VAL_STEP 8 - #define RGBLIGHT_LIMIT_VAL 139 /* The maximum brightness level */ - #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ -#define RGBLIGHT_EFFECT_BREATHING -#define RGBLIGHT_EFFECT_RAINBOW_MOOD -#define RGBLIGHT_EFFECT_RAINBOW_SWIRL -#define RGBLIGHT_EFFECT_SNAKE -#define RGBLIGHT_EFFECT_KNIGHT -#define RGBLIGHT_EFFECT_CHRISTMAS -#define RGBLIGHT_EFFECT_STATIC_GRADIENT -#define RGBLIGHT_EFFECT_RGB_TEST -#define RGBLIGHT_EFFECT_ALTERNATING -#define RGBLIGHT_EFFECT_TWINKLE -#endif - -/* RGB matrix support */ -#ifdef RGB_MATRIX_ENABLE -#define RGB_MATRIX_KEYPRESSES -#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 220 -#define RGB_MATRIX_FRAMEBUFFER_EFFECTS -#define RGB_MATRIX_LED_COUNT 12 // Number of LEDs -#endif diff --git a/keyboards/jacky_studio/piggy60/info.json b/keyboards/jacky_studio/piggy60/info.json deleted file mode 100644 index a3c7f5eb41..0000000000 --- a/keyboards/jacky_studio/piggy60/info.json +++ /dev/null @@ -1,259 +0,0 @@ -{ - "manufacturer": "Jacky", - "keyboard_name": "Piggy60", - "maintainer": "qmk", - "bootloader": "atmel-dfu", - "build": { - "lto": true - }, - "features": { - "bootmagic": true, - "command": false, - "console": false, - "caps_word": true, - "debug": false, - "extrakey": true, - "mousekey": true, - "rgblight": true, - "nkro": true - }, - "matrix_pins": { - "cols": ["F0", "F1", "E6", "C7", "C6", "B6", "D4", "B1", "F7", "B5", "B4", "D7", "D6", "B3", "B2"], - "rows": ["D0", "D1", "D2", "D3", "D5"] - }, - "processor": "atmega32u4", - "url": "https://www.notion.so/Piggy-60-Everything-You-Should-Know-7308d056551d4edabdbcc95748e9dabc", - "usb": { - "device_version": "1.0.0", - "vid": "0xA13B", - "pid": "0x1001" - }, - "indicators": { - "caps_lock": "F4", - "on_state": 0 - }, - "rgblight": { - "led_count": 14, - "pin": "E2", - "animations": { - "alternating": true, - "breathing": true, - "christmas": true, - "knight": true, - "rainbow_mood": true, - "rainbow_swirl": true, - "rgb_test": true, - "snake": true, - "static_gradient": true, - "twinkle": true - }, - "sleep": true, - "max_brightness": 255 - }, - "tapping": { - "tap_keycode_delay": 10, - "tap_capslock_delay": 10, - "term": 170 - }, - "layouts": { - "LAYOUT_all": { - "layout": [ - { "label": "Esc", "matrix": [0, 0], "x": 0, "y": 0 }, - { "label": "1!", "matrix": [0, 1], "x": 1, "y": 0 }, - { "label": "2@", "matrix": [0, 2], "x": 2, "y": 0 }, - { "label": "3#", "matrix": [0, 3], "x": 3, "y": 0 }, - { "label": "4$", "matrix": [0, 4], "x": 4, "y": 0 }, - { "label": "5%", "matrix": [0, 5], "x": 5, "y": 0 }, - { "label": "6^", "matrix": [0, 6], "x": 6, "y": 0 }, - { "label": "7&", "matrix": [0, 7], "x": 7, "y": 0 }, - { "label": "8*", "matrix": [0, 8], "x": 8, "y": 0 }, - { "label": "9(", "matrix": [0, 9], "x": 9, "y": 0 }, - { "label": "0)", "matrix": [0, 10], "x": 10, "y": 0 }, - { "label": "-_", "matrix": [0, 11], "x": 11, "y": 0 }, - { "label": "=+", "matrix": [0, 12], "x": 12, "y": 0 }, - { "label": "Backspace", "matrix": [0, 13], "x": 13, "y": 0 }, - { "label": "Del", "matrix": [0, 14], "x": 14, "y": 0 }, - { "label": "Tab", "matrix": [1, 0], "w": 1.5, "x": 0, "y": 1 }, - { "label": "Q", "matrix": [1, 1], "x": 1.5, "y": 1 }, - { "label": "W", "matrix": [1, 2], "x": 2.5, "y": 1 }, - { "label": "E", "matrix": [1, 3], "x": 3.5, "y": 1 }, - { "label": "R", "matrix": [1, 4], "x": 4.5, "y": 1 }, - { "label": "T", "matrix": [1, 5], "x": 5.5, "y": 1 }, - { "label": "Y", "matrix": [1, 6], "x": 6.5, "y": 1 }, - { "label": "U", "matrix": [1, 7], "x": 7.5, "y": 1 }, - { "label": "I", "matrix": [1, 8], "x": 8.5, "y": 1 }, - { "label": "O", "matrix": [1, 9], "x": 9.5, "y": 1 }, - { "label": "P", "matrix": [1, 10], "x": 10.5, "y": 1 }, - { "label": "[{", "matrix": [1, 11], "x": 11.5, "y": 1 }, - { "label": "]}", "matrix": [1, 12], "x": 12.5, "y": 1 }, - { "label": "\\|", "matrix": [1, 13], "w": 1.5, "x": 13.5, "y": 1 }, - { "label": "Caps Lock", "matrix": [2, 0], "w": 1.75, "x": 0, "y": 2 }, - { "label": "A", "matrix": [2, 1], "x": 1.75, "y": 2 }, - { "label": "S", "matrix": [2, 2], "x": 2.75, "y": 2 }, - { "label": "D", "matrix": [2, 3], "x": 3.75, "y": 2 }, - { "label": "F", "matrix": [2, 4], "x": 4.75, "y": 2 }, - { "label": "G", "matrix": [2, 5], "x": 5.75, "y": 2 }, - { "label": "H", "matrix": [2, 6], "x": 6.75, "y": 2 }, - { "label": "J", "matrix": [2, 7], "x": 7.75, "y": 2 }, - { "label": "K", "matrix": [2, 8], "x": 8.75, "y": 2 }, - { "label": "L", "matrix": [2, 9], "x": 9.75, "y": 2 }, - { "label": ";:", "matrix": [2, 10], "x": 10.75, "y": 2 }, - { "label": "'\"", "matrix": [2, 11], "x": 11.75, "y": 2 }, - { "label": "#~", "matrix": [2, 12], "x": 12.75, "y": 2 }, - { "label": "Enter", "matrix": [2, 13], "w": 1.25, "x": 13.75, "y": 2 }, - { "label": "Shift", "matrix": [3, 0], "w": 1.25, "x": 0, "y": 3 }, - { "label": "|\\", "matrix": [3, 1], "x": 1.25, "y": 3 }, - { "label": "Z", "matrix": [3, 2], "x": 2.25, "y": 3 }, - { "label": "X", "matrix": [3, 3], "x": 3.25, "y": 3 }, - { "label": "C", "matrix": [3, 4], "x": 4.25, "y": 3 }, - { "label": "V", "matrix": [3, 5], "x": 5.25, "y": 3 }, - { "label": "B", "matrix": [3, 6], "x": 6.25, "y": 3 }, - { "label": "N", "matrix": [3, 7], "x": 7.25, "y": 3 }, - { "label": "M", "matrix": [3, 8], "x": 8.25, "y": 3 }, - { "label": ",<", "matrix": [3, 9], "x": 9.25, "y": 3 }, - { "label": ".>", "matrix": [3, 10], "x": 10.25, "y": 3 }, - { "label": "/?", "matrix": [3, 11], "x": 11.25, "y": 3 }, - { "label": "Shift", "matrix": [3, 13], "w": 1.75, "x": 12.25, "y": 3 }, - { "label": "Fn", "matrix": [3, 14], "x": 14, "y": 3 }, - { "label": "Ctrl", "matrix": [4, 0], "w": 1.25, "x": 0, "y": 4 }, - { "label": "GUI", "matrix": [4, 1], "w": 1.25, "x": 1.25, "y": 4 }, - { "label": "Alt", "matrix": [4, 2], "w": 1.25, "x": 2.5, "y": 4 }, - { "label": "Space", "matrix": [4, 7], "w": 6.25, "x": 3.75, "y": 4 }, - { "label": "Menu", "matrix": [4, 9], "w": 1.25, "x": 10, "y": 4 }, - { "label": "Alt", "matrix": [4, 10], "w": 1.25, "x": 11.25, "y": 4 }, - { "label": "GUI", "matrix": [4, 12], "w": 1.25, "x": 12.5, "y": 4 }, - { "label": "Ctrl", "matrix": [4, 13], "w": 1.25, "x": 13.75, "y": 4 } - ] - }, - "LAYOUT_60_hhkb": { - "layout": [ - { "label": "Esc", "matrix": [0, 0], "x": 0, "y": 0 }, - { "label": "1!", "matrix": [0, 1], "x": 1, "y": 0 }, - { "label": "2@", "matrix": [0, 2], "x": 2, "y": 0 }, - { "label": "3#", "matrix": [0, 3], "x": 3, "y": 0 }, - { "label": "4$", "matrix": [0, 4], "x": 4, "y": 0 }, - { "label": "5%", "matrix": [0, 5], "x": 5, "y": 0 }, - { "label": "6^", "matrix": [0, 6], "x": 6, "y": 0 }, - { "label": "7&", "matrix": [0, 7], "x": 7, "y": 0 }, - { "label": "8*", "matrix": [0, 8], "x": 8, "y": 0 }, - { "label": "9(", "matrix": [0, 9], "x": 9, "y": 0 }, - { "label": "0)", "matrix": [0, 10], "x": 10, "y": 0 }, - { "label": "-_", "matrix": [0, 11], "x": 11, "y": 0 }, - { "label": "=+", "matrix": [0, 12], "x": 12, "y": 0 }, - { "label": "Backspace", "matrix": [0, 13], "x": 13, "y": 0 }, - { "label": "Del", "matrix": [0, 14], "x": 14, "y": 0 }, - { "label": "Tab", "matrix": [1, 0], "w": 1.5, "x": 0, "y": 1 }, - { "label": "Q", "matrix": [1, 1], "x": 1.5, "y": 1 }, - { "label": "W", "matrix": [1, 2], "x": 2.5, "y": 1 }, - { "label": "E", "matrix": [1, 3], "x": 3.5, "y": 1 }, - { "label": "R", "matrix": [1, 4], "x": 4.5, "y": 1 }, - { "label": "T", "matrix": [1, 5], "x": 5.5, "y": 1 }, - { "label": "Y", "matrix": [1, 6], "x": 6.5, "y": 1 }, - { "label": "U", "matrix": [1, 7], "x": 7.5, "y": 1 }, - { "label": "I", "matrix": [1, 8], "x": 8.5, "y": 1 }, - { "label": "O", "matrix": [1, 9], "x": 9.5, "y": 1 }, - { "label": "P", "matrix": [1, 10], "x": 10.5, "y": 1 }, - { "label": "[{", "matrix": [1, 11], "x": 11.5, "y": 1 }, - { "label": "]}", "matrix": [1, 12], "x": 12.5, "y": 1 }, - { "label": "\\|", "matrix": [1, 13], "w": 1.5, "x": 13.5, "y": 1 }, - { "label": "Control", "matrix": [2, 0], "w": 1.75, "x": 0, "y": 2 }, - { "label": "A", "matrix": [2, 1], "x": 1.75, "y": 2 }, - { "label": "S", "matrix": [2, 2], "x": 2.75, "y": 2 }, - { "label": "D", "matrix": [2, 3], "x": 3.75, "y": 2 }, - { "label": "F", "matrix": [2, 4], "x": 4.75, "y": 2 }, - { "label": "G", "matrix": [2, 5], "x": 5.75, "y": 2 }, - { "label": "H", "matrix": [2, 6], "x": 6.75, "y": 2 }, - { "label": "J", "matrix": [2, 7], "x": 7.75, "y": 2 }, - { "label": "K", "matrix": [2, 8], "x": 8.75, "y": 2 }, - { "label": "L", "matrix": [2, 9], "x": 9.75, "y": 2 }, - { "label": ";:", "matrix": [2, 10], "x": 10.75, "y": 2 }, - { "label": "'\"", "matrix": [2, 11], "x": 11.75, "y": 2 }, - { "label": "Enter", "matrix": [2, 13], "w": 2.25, "x": 12.75, "y": 2 }, - { "label": "Shift", "matrix": [3, 0], "w": 2.25, "x": 0, "y": 3 }, - { "label": "Z", "matrix": [3, 2], "x": 2.25, "y": 3 }, - { "label": "X", "matrix": [3, 3], "x": 3.25, "y": 3 }, - { "label": "C", "matrix": [3, 4], "x": 4.25, "y": 3 }, - { "label": "V", "matrix": [3, 5], "x": 5.25, "y": 3 }, - { "label": "B", "matrix": [3, 6], "x": 6.25, "y": 3 }, - { "label": "N", "matrix": [3, 7], "x": 7.25, "y": 3 }, - { "label": "M", "matrix": [3, 8], "x": 8.25, "y": 3 }, - { "label": ",<", "matrix": [3, 9], "x": 9.25, "y": 3 }, - { "label": ".>", "matrix": [3, 10], "x": 10.25, "y": 3 }, - { "label": "/?", "matrix": [3, 11], "x": 11.25, "y": 3 }, - { "label": "Shift", "matrix": [3, 13], "w": 1.75, "x": 12.25, "y": 3 }, - { "label": "Fn", "matrix": [3, 14], "x": 14, "y": 3 }, - { "label": "Alt", "matrix": [4, 1], "x": 1.5, "y": 4 }, - { "label": "GUI", "matrix": [4, 2], "w": 1.5, "x": 2.5, "y": 4 }, - { "label": "Space", "matrix": [4, 7], "w": 7, "x": 4, "y": 4 }, - { "label": "GUI", "matrix": [4, 10], "w": 1.5, "x": 11, "y": 4 }, - { "label": "Alt", "matrix": [4, 12], "x": 12.5, "y": 4 } - ] - }, - "LAYOUT_60_tsangan_hhkb": { - "layout": [ - { "label": "Esc", "matrix": [0, 0], "x": 0, "y": 0 }, - { "label": "1!", "matrix": [0, 1], "x": 1, "y": 0 }, - { "label": "2@", "matrix": [0, 2], "x": 2, "y": 0 }, - { "label": "3#", "matrix": [0, 3], "x": 3, "y": 0 }, - { "label": "4$", "matrix": [0, 4], "x": 4, "y": 0 }, - { "label": "5%", "matrix": [0, 5], "x": 5, "y": 0 }, - { "label": "6^", "matrix": [0, 6], "x": 6, "y": 0 }, - { "label": "7&", "matrix": [0, 7], "x": 7, "y": 0 }, - { "label": "8*", "matrix": [0, 8], "x": 8, "y": 0 }, - { "label": "9(", "matrix": [0, 9], "x": 9, "y": 0 }, - { "label": "0)", "matrix": [0, 10], "x": 10, "y": 0 }, - { "label": "-_", "matrix": [0, 11], "x": 11, "y": 0 }, - { "label": "=+", "matrix": [0, 12], "x": 12, "y": 0 }, - { "label": "Backspace", "matrix": [0, 13], "x": 13, "y": 0 }, - { "label": "Del", "matrix": [0, 14], "x": 14, "y": 0 }, - { "label": "Tab", "matrix": [1, 0], "w": 1.5, "x": 0, "y": 1 }, - { "label": "Q", "matrix": [1, 1], "x": 1.5, "y": 1 }, - { "label": "W", "matrix": [1, 2], "x": 2.5, "y": 1 }, - { "label": "E", "matrix": [1, 3], "x": 3.5, "y": 1 }, - { "label": "R", "matrix": [1, 4], "x": 4.5, "y": 1 }, - { "label": "T", "matrix": [1, 5], "x": 5.5, "y": 1 }, - { "label": "Y", "matrix": [1, 6], "x": 6.5, "y": 1 }, - { "label": "U", "matrix": [1, 7], "x": 7.5, "y": 1 }, - { "label": "I", "matrix": [1, 8], "x": 8.5, "y": 1 }, - { "label": "O", "matrix": [1, 9], "x": 9.5, "y": 1 }, - { "label": "P", "matrix": [1, 10], "x": 10.5, "y": 1 }, - { "label": "[{", "matrix": [1, 11], "x": 11.5, "y": 1 }, - { "label": "]}", "matrix": [1, 12], "x": 12.5, "y": 1 }, - { "label": "\\|", "matrix": [1, 13], "w": 1.5, "x": 13.5, "y": 1 }, - { "label": "Caps Lock", "matrix": [2, 0], "w": 1.75, "x": 0, "y": 2 }, - { "label": "A", "matrix": [2, 1], "x": 1.75, "y": 2 }, - { "label": "S", "matrix": [2, 2], "x": 2.75, "y": 2 }, - { "label": "D", "matrix": [2, 3], "x": 3.75, "y": 2 }, - { "label": "F", "matrix": [2, 4], "x": 4.75, "y": 2 }, - { "label": "G", "matrix": [2, 5], "x": 5.75, "y": 2 }, - { "label": "H", "matrix": [2, 6], "x": 6.75, "y": 2 }, - { "label": "J", "matrix": [2, 7], "x": 7.75, "y": 2 }, - { "label": "K", "matrix": [2, 8], "x": 8.75, "y": 2 }, - { "label": "L", "matrix": [2, 9], "x": 9.75, "y": 2 }, - { "label": ";:", "matrix": [2, 10], "x": 10.75, "y": 2 }, - { "label": "'\"", "matrix": [2, 11], "x": 11.75, "y": 2 }, - { "label": "Enter", "matrix": [2, 13], "w": 2.25, "x": 12.75, "y": 2 }, - { "label": "Shift", "matrix": [3, 0], "w": 2.25, "x": 0, "y": 3 }, - { "label": "Z", "matrix": [3, 2], "x": 2.25, "y": 3 }, - { "label": "X", "matrix": [3, 3], "x": 3.25, "y": 3 }, - { "label": "C", "matrix": [3, 4], "x": 4.25, "y": 3 }, - { "label": "V", "matrix": [3, 5], "x": 5.25, "y": 3 }, - { "label": "B", "matrix": [3, 6], "x": 6.25, "y": 3 }, - { "label": "N", "matrix": [3, 7], "x": 7.25, "y": 3 }, - { "label": "M", "matrix": [3, 8], "x": 8.25, "y": 3 }, - { "label": ",<", "matrix": [3, 9], "x": 9.25, "y": 3 }, - { "label": ".>", "matrix": [3, 10], "x": 10.25, "y": 3 }, - { "label": "/?", "matrix": [3, 11], "x": 11.25, "y": 3 }, - { "label": "Shift", "matrix": [3, 13], "w": 1.75, "x": 12.25, "y": 3 }, - { "label": "Fn", "matrix": [3, 14], "x": 14, "y": 3 }, - { "label": "Ctrl", "matrix": [4, 0], "w": 1.5, "x": 0, "y": 4 }, - { "label": "GUI", "matrix": [4, 1], "x": 1.5, "y": 4 }, - { "label": "Alt", "matrix": [4, 2], "w": 1.5, "x": 2.5, "y": 4 }, - { "label": "Space", "matrix": [4, 7], "w": 7, "x": 4, "y": 4 }, - { "label": "Alt", "matrix": [4, 10], "w": 1.5, "x": 11, "y": 4 }, - { "label": "GUI", "matrix": [4, 12], "x": 12.5, "y": 4 }, - { "label": "Ctrl", "matrix": [4, 13], "w": 1.5, "x": 13.5, "y": 4 } - ] - } - } -} diff --git a/keyboards/jacky_studio/s7_elephant/rev1/config.h b/keyboards/jacky_studio/s7_elephant/rev1/config.h deleted file mode 100644 index ccef8fb63d..0000000000 --- a/keyboards/jacky_studio/s7_elephant/rev1/config.h +++ /dev/null @@ -1,64 +0,0 @@ -/* Copyright 2020 MudkipMao - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#pragma once - -#include "config_common.h" - -/* key matrix size */ -#define MATRIX_ROWS 5 -#define MATRIX_COLS 16 - -/* key matrix pins */ -#define MATRIX_ROW_PINS { B0, B1, B2, B3, B4 } -#define MATRIX_COL_PINS { B6, D0, D1, D2, D3, D4, D5, D6, D7, C6, C7, F4, F5, F6, F7, F1 } - -/* COL2ROW or ROW2COL */ -#define DIODE_DIRECTION COL2ROW - -/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ -#define LOCKING_SUPPORT_ENABLE - -/* Locking resynchronize hack */ -#define LOCKING_RESYNC_ENABLE - -#define RGB_DI_PIN E6 -#ifdef RGB_DI_PIN -#define RGBLIGHT_EFFECT_BREATHING -#define RGBLIGHT_EFFECT_RAINBOW_MOOD -#define RGBLIGHT_EFFECT_RAINBOW_SWIRL -#define RGBLIGHT_EFFECT_SNAKE -#define RGBLIGHT_EFFECT_KNIGHT -#define RGBLIGHT_EFFECT_CHRISTMAS -#define RGBLIGHT_EFFECT_STATIC_GRADIENT -#define RGBLIGHT_EFFECT_RGB_TEST -#define RGBLIGHT_EFFECT_ALTERNATING -#define RGBLIGHT_EFFECT_TWINKLE -#define RGBLED_NUM 2 -#define RGBLIGHT_HUE_STEP 8 -#define RGBLIGHT_SAT_STEP 8 -#define RGBLIGHT_VAL_STEP 8 -#define RGBLIGHT_SLEEP -#endif - -/* Set 0 if debouncing isn't needed */ -#define DEBOUNCE 5 - -/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ -#define LOCKING_SUPPORT_ENABLE - -/* Locking resynchronize hack */ -#define LOCKING_RESYNC_ENABLE diff --git a/keyboards/jacky_studio/s7_elephant/rev1/keymaps/default/keymap.c b/keyboards/jacky_studio/s7_elephant/rev1/keymaps/default/keymap.c deleted file mode 100644 index b4261696ad..0000000000 --- a/keyboards/jacky_studio/s7_elephant/rev1/keymaps/default/keymap.c +++ /dev/null @@ -1,81 +0,0 @@ -/* Copyright 2020 MudkipMao - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#include QMK_KEYBOARD_H - -enum custom_layers { - _QWERTY, - _FN -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - -/* Qwerty - * ,------. ,-------------------------------------------------------------------------------------------------. - * | F1 | | Esc`~ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | Bkspc |Home | - * |------| |-------------------------------------------------------------------------------------------------| - * | F2 | | Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ | End | - * |------| |-------------------------------------------------------------------------------------------------| - * | F3 | | Caps | A | S | D | F | G | H | J | K | L | ; | ' | Enter | Ins | - * |------| |-------------------------------------------------------------------------------------------------| - * | F4 | | Shift | Z | X | C | V | B | N | M | , | . | / | RShift | U | Del | - * |------| |-------------------------------------------------------------------------------------------------| - * | F5 | | Ctrl | Gui | Alt | Space | FN | RCtrl | L | D | R | - * `------' `-------------------------------------------------------------------------------------------------' - */ - -[_QWERTY] = LAYOUT_ansi( -KC_F1, QK_GESC, 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_INS, -KC_F2, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, -KC_F3, 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_HOME, -KC_F4, 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, -KC_F5, KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(_FN), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT -), - -/* FN - * ,------. ,-------------------------------------------------------------------------------------------------. - * |Reset | | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | PScr | ScrLck |Pause| - * |------| |-------------------------------------------------------------------------------------------------| - * | | | | | | | | | | | | | | | | | | - * |------| |-------------------------------------------------------------------------------------------------| - * | | | |Prev |Play |Next | | | | |VolD |Mute |VolU | | |PgUp | - * |------| |-------------------------------------------------------------------------------------------------| - * | | | | | | | | | | | | | | | |PgDn | - * |------| |-------------------------------------------------------------------------------------------------| - * |EEPRST| | | | | | | | | | | - * `------' `-------------------------------------------------------------------------------------------------' - */ - -[_FN] = LAYOUT_ansi( -QK_BOOT, 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_SCRL, KC_PAUS, -_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, -_______, _______, KC_MPRV, KC_MPLY, KC_MNXT, _______, _______, _______, _______, KC_VOLD, KC_MUTE, KC_VOLU, _______, _______, KC_PGUP, -_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PGDN, -EE_CLR, _______, _______, _______, _______, _______, _______, _______, _______, _______ -), -}; - -bool led_update_user(led_t led_state) { - // Turn LEDs On/Off for Caps Lock - if (led_state.caps_lock) { - rgblight_enable_noeeprom(); - rgblight_sethsv_noeeprom(0, 0, 80); - } else { - rgblight_sethsv_noeeprom(0, 0, 80); - rgblight_disable_noeeprom(); - } - return false; -} diff --git a/keyboards/jacky_studio/s7_elephant/rev2/config.h b/keyboards/jacky_studio/s7_elephant/rev2/config.h deleted file mode 100644 index cbddf31674..0000000000 --- a/keyboards/jacky_studio/s7_elephant/rev2/config.h +++ /dev/null @@ -1,76 +0,0 @@ -/* Copyright 2020 MudkipMao - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#pragma once - -#include "config_common.h" - -/* key matrix size */ -#define MATRIX_ROWS 5 -#define MATRIX_COLS 16 - -/* - * Keyboard Matrix Assignments - * - * Change this to how you wired your keyboard - * COLS: AVR pins used for columns, left to right - * ROWS: AVR pins used for rows, top to bottom - * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) - * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) - * - * - * 0 1 2 3 4 5 6 7 8 9 A B C D E F */ -#define MATRIX_ROW_PINS { B0, B1, B2, B3, B7 } -#define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4, F7, F6, F5, F4, F1, F0, E6 } - -/* Setting the matrix value of top left key for bootmagic lite */ -#define BOOTMAGIC_LITE_ROW 0 -#define BOOTMAGIC_LITE_COLUMN 15 - -#define DIODE_DIRECTION ROW2COL - -#define BACKLIGHT_PIN B6 -// #define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 15 - -#define RGB_DI_PIN E2 -#ifdef RGB_DI_PIN -#define RGBLIGHT_EFFECT_BREATHING -#define RGBLIGHT_EFFECT_RAINBOW_MOOD -#define RGBLIGHT_EFFECT_RAINBOW_SWIRL -#define RGBLIGHT_EFFECT_SNAKE -#define RGBLIGHT_EFFECT_KNIGHT -#define RGBLIGHT_EFFECT_CHRISTMAS -#define RGBLIGHT_EFFECT_STATIC_GRADIENT -#define RGBLIGHT_EFFECT_RGB_TEST -#define RGBLIGHT_EFFECT_ALTERNATING -#define RGBLIGHT_EFFECT_TWINKLE -#define RGBLED_NUM 2 -#define RGBLIGHT_HUE_STEP 8 -#define RGBLIGHT_SAT_STEP 8 -#define RGBLIGHT_VAL_STEP 8 -#define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ -#define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ -#endif // RGB_DI_PIN - -/* Set 0 if debouncing isn't needed */ -#define DEBOUNCE 5 - -/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ -#define LOCKING_SUPPORT_ENABLE - -/* Locking resynchronize hack */ -#define LOCKING_RESYNC_ENABLE diff --git a/keyboards/jacky_studio/s7_elephant/rev2/keymaps/default/keymap.c b/keyboards/jacky_studio/s7_elephant/rev2/keymaps/default/keymap.c deleted file mode 100644 index 4a4b37151d..0000000000 --- a/keyboards/jacky_studio/s7_elephant/rev2/keymaps/default/keymap.c +++ /dev/null @@ -1,81 +0,0 @@ -/* Copyright 2020 MudkipMao - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#include QMK_KEYBOARD_H - -enum custom_layers { - _QWERTY, - _FN -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - -/* Qwerty - * ,------. ,-------------------------------------------------------------------------------------------------. - * | F1 | | Esc`~ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | Bkspc | Ins | - * |------| |-------------------------------------------------------------------------------------------------| - * | F2 | | Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ | Del | - * |------| |-------------------------------------------------------------------------------------------------| - * | F3 | | Caps | A | S | D | F | G | H | J | K | L | ; | ' | Enter | Home| - * |------| |-------------------------------------------------------------------------------------------------| - * | F4 | | Shift | Z | X | C | V | B | N | M | , | . | / | RShift | U | End | - * |------| |-------------------------------------------------------------------------------------------------| - * | F5 | | Ctrl | Gui | Alt | Space | RAlt | FN | RCtrl | L | D | R | - * `------' `-------------------------------------------------------------------------------------------------' - */ - - [_QWERTY] = LAYOUT_ansi_1u( - KC_F1, QK_GESC, 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_INS, - KC_F2, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, - KC_F3, 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_HOME, - KC_F4, 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, - KC_F5, KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(_FN), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - -/* FN - * ,------. ,-------------------------------------------------------------------------------------------------. - * |Reset | | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | PScr | ScrLck |Pause| - * |------| |-------------------------------------------------------------------------------------------------| - * | | | | | | | | | | | | | | | | | | - * |------| |-------------------------------------------------------------------------------------------------| - * | | | |Prev |Play |Next | | | | |VolD |Mute |VolU | | |PgUp | - * |------| |-------------------------------------------------------------------------------------------------| - * | | | | | | | | | | | | | | | |PgDn | - * |------| |-------------------------------------------------------------------------------------------------| - * |EEPRST| | | | | | | | | | | | - * `------' `-------------------------------------------------------------------------------------------------' - */ - - [_FN] = LAYOUT_ansi_1u( - QK_BOOT, 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_SCRL, KC_PAUS, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, KC_MPRV, KC_MPLY, KC_MNXT, _______, _______, _______, _______, KC_VOLD, KC_MUTE, KC_VOLU, _______, _______, KC_PGUP, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PGDN, - EE_CLR, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), -}; - -bool led_update_user(led_t led_state) { - // Turn LEDs On/Off for Caps Lock - if (led_state.caps_lock) { - rgblight_enable_noeeprom(); - rgblight_sethsv_noeeprom(0, 0, 80); - } else { - rgblight_sethsv_noeeprom(0, 0, 80); - rgblight_disable_noeeprom(); - } - return false; -} |