diff options
| -rw-r--r-- | keyboards/spiderisland/winry25tc/config.h | 41 | ||||
| -rw-r--r-- | keyboards/spiderisland/winry25tc/info.json | 36 | ||||
| -rw-r--r-- | keyboards/spiderisland/winry25tc/keymaps/default/keymap.c | 39 | ||||
| -rw-r--r-- | keyboards/spiderisland/winry25tc/readme.md | 14 | ||||
| -rw-r--r-- | keyboards/spiderisland/winry25tc/rules.mk | 22 | ||||
| -rw-r--r-- | keyboards/spiderisland/winry25tc/winry25tc.c | 17 | ||||
| -rw-r--r-- | keyboards/spiderisland/winry25tc/winry25tc.h | 33 |
7 files changed, 202 insertions, 0 deletions
diff --git a/keyboards/spiderisland/winry25tc/config.h b/keyboards/spiderisland/winry25tc/config.h new file mode 100644 index 000000000..1e7ff4c63 --- /dev/null +++ b/keyboards/spiderisland/winry25tc/config.h | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | /* Copyright 2021 Andrzej Ressel (andrzej.ressel@gmail.com) | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #include "config_common.h" | ||
| 20 | |||
| 21 | /* USB Device descriptor parameter */ | ||
| 22 | #define VENDOR_ID 0xFEED | ||
| 23 | #define PRODUCT_ID 0x0000 | ||
| 24 | #define DEVICE_VER 0x0001 | ||
| 25 | #define MANUFACTURER SpiderIsland | ||
| 26 | #define PRODUCT Winry 25tc | ||
| 27 | |||
| 28 | #define MATRIX_ROWS 5 | ||
| 29 | #define MATRIX_COLS 5 | ||
| 30 | |||
| 31 | #define MATRIX_ROW_PINS { E6, F0, D6, D2, B6 } | ||
| 32 | #define MATRIX_COL_PINS { F5, C7, B7, B2, B4 } | ||
| 33 | |||
| 34 | #define DIODE_DIRECTION COL2ROW | ||
| 35 | |||
| 36 | #define RGB_DI_PIN D5 | ||
| 37 | #define RGBLED_NUM 40 | ||
| 38 | #define RGBLIGHT_HUE_STEP 8 | ||
| 39 | #define RGBLIGHT_SAT_STEP 8 | ||
| 40 | #define RGBLIGHT_VAL_STEP 8 | ||
| 41 | #define RGBLIGHT_LIMIT_VAL 150 /* The maximum brightness level */ | ||
diff --git a/keyboards/spiderisland/winry25tc/info.json b/keyboards/spiderisland/winry25tc/info.json new file mode 100644 index 000000000..8e503bc74 --- /dev/null +++ b/keyboards/spiderisland/winry25tc/info.json | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "Winry 25tc", | ||
| 3 | "url": "", | ||
| 4 | "maintainer": "qmk", | ||
| 5 | "layouts": { | ||
| 6 | "LAYOUT": { | ||
| 7 | "layout": [ | ||
| 8 | {"label":"K00 (E6,F5)", "x":0, "y":0}, | ||
| 9 | {"label":"K01 (E6,C7)", "x":1, "y":0}, | ||
| 10 | {"label":"K02 (E6,B7)", "x":2, "y":0}, | ||
| 11 | {"label":"K03 (E6,B2)", "x":3, "y":0}, | ||
| 12 | {"label":"K04 (E6,B4)", "x":4, "y":0}, | ||
| 13 | {"label":"K10 (F0,F5)", "x":0, "y":1}, | ||
| 14 | {"label":"K11 (F0,C7)", "x":1, "y":1}, | ||
| 15 | {"label":"K12 (F0,B7)", "x":2, "y":1}, | ||
| 16 | {"label":"K13 (F0,B2)", "x":3, "y":1}, | ||
| 17 | {"label":"K14 (F0,B4)", "x":4, "y":1}, | ||
| 18 | {"label":"K20 (D6,F5)", "x":0, "y":2}, | ||
| 19 | {"label":"K21 (D6,C7)", "x":1, "y":2}, | ||
| 20 | {"label":"K22 (D6,B7)", "x":2, "y":2}, | ||
| 21 | {"label":"K23 (D6,B2)", "x":3, "y":2}, | ||
| 22 | {"label":"K24 (D6,B4)", "x":4, "y":2}, | ||
| 23 | {"label":"K30 (D2,F5)", "x":0, "y":3}, | ||
| 24 | {"label":"K31 (D2,C7)", "x":1, "y":3}, | ||
| 25 | {"label":"K32 (D2,B7)", "x":2, "y":3}, | ||
| 26 | {"label":"K33 (D2,B2)", "x":3, "y":3}, | ||
| 27 | {"label":"K34 (D2,B4)", "x":4, "y":3}, | ||
| 28 | {"label":"K40 (B6,F5)", "x":0, "y":4}, | ||
| 29 | {"label":"K41 (B6,C7)", "x":1, "y":4}, | ||
| 30 | {"label":"K42 (B6,B7)", "x":2, "y":4}, | ||
| 31 | {"label":"K43 (B6,B2)", "x":3, "y":4}, | ||
| 32 | {"label":"K44 (B6,B4)", "x":4, "y":4} | ||
| 33 | ] | ||
| 34 | } | ||
| 35 | } | ||
| 36 | } | ||
diff --git a/keyboards/spiderisland/winry25tc/keymaps/default/keymap.c b/keyboards/spiderisland/winry25tc/keymaps/default/keymap.c new file mode 100644 index 000000000..ec1d0f42e --- /dev/null +++ b/keyboards/spiderisland/winry25tc/keymaps/default/keymap.c | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | /* Copyright 2021 Andrzej Ressel (andrzej.ressel@gmail.com) | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #include QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | enum my_layers { | ||
| 20 | _FIRST_LAYER, | ||
| 21 | _SECOND_LAYER | ||
| 22 | }; | ||
| 23 | |||
| 24 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 25 | [_FIRST_LAYER] = LAYOUT( | ||
| 26 | KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS, KC_ESC, | ||
| 27 | KC_P7, KC_P8, KC_P9, KC_PPLS, RGB_TOG, | ||
| 28 | KC_P4, KC_P5, KC_P6, KC_PENT, RGB_MOD, | ||
| 29 | KC_P1, KC_P2, KC_P3, KC_UP, MO(_SECOND_LAYER), | ||
| 30 | KC_P0, KC_PDOT, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 31 | ), | ||
| 32 | [_SECOND_LAYER] = LAYOUT( | ||
| 33 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, | ||
| 34 | KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, | ||
| 35 | KC_F11, KC_F12, KC_MUTE, KC_VOLD, KC_VOLU, | ||
| 36 | KC_MPLY, KC_MSTP, KC_MPRV, KC_MNXT, _______, | ||
| 37 | KC_RSFT, KC_RALT, KC_RGUI, KC_APP, KC_RCTL | ||
| 38 | ), | ||
| 39 | }; | ||
diff --git a/keyboards/spiderisland/winry25tc/readme.md b/keyboards/spiderisland/winry25tc/readme.md new file mode 100644 index 000000000..45ba0bd5a --- /dev/null +++ b/keyboards/spiderisland/winry25tc/readme.md | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | # SpiderIsland 25-key RGB Backlight Hot Swap Mechanical Keyboard | ||
| 2 | |||
| 3 | Keyboard from [SpiderIsland on AliExpress](https://a.aliexpress.com/_dVJsSpR). Seller provides [kbfirmware](https://kbfirmware.com/) JSON config that was converted to QMK. | ||
| 4 | |||
| 5 | * Keyboard Maintainer: [andrzejressel](https://github.com/andrzejressel) | ||
| 6 | * Hardware Availability: https://aliexpress.com/item/1005001523579896.html | ||
| 7 | |||
| 8 | Make example for this keyboard (after setting up your build environment): | ||
| 9 | |||
| 10 | make spiderisland/winry25tc:default | ||
| 11 | |||
| 12 | **Reset Key**: Located on the other side of the keyboard. | ||
| 13 | |||
| 14 | 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). \ No newline at end of file | ||
diff --git a/keyboards/spiderisland/winry25tc/rules.mk b/keyboards/spiderisland/winry25tc/rules.mk new file mode 100644 index 000000000..4eb00f740 --- /dev/null +++ b/keyboards/spiderisland/winry25tc/rules.mk | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | BOOTLOADER = atmel-dfu | ||
| 6 | |||
| 7 | # Build Options | ||
| 8 | # change yes to no to disable | ||
| 9 | # | ||
| 10 | BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite | ||
| 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 = 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 | |||
| 22 | KEY_LOCK_ENABLE = yes # Enable KC_LOCK support | ||
diff --git a/keyboards/spiderisland/winry25tc/winry25tc.c b/keyboards/spiderisland/winry25tc/winry25tc.c new file mode 100644 index 000000000..938dadaf8 --- /dev/null +++ b/keyboards/spiderisland/winry25tc/winry25tc.c | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | /* Copyright 2021 Andrzej Ressel (andrzej.ressel@gmail.com) | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #include "winry25tc.h" | ||
diff --git a/keyboards/spiderisland/winry25tc/winry25tc.h b/keyboards/spiderisland/winry25tc/winry25tc.h new file mode 100644 index 000000000..5498dd8d6 --- /dev/null +++ b/keyboards/spiderisland/winry25tc/winry25tc.h | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | /* Copyright 2021 Andrzej Ressel (andrzej.ressel@gmail.com) | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #include "quantum.h" | ||
| 20 | |||
| 21 | #define LAYOUT( \ | ||
| 22 | K00, K01, K02, K03, K04, \ | ||
| 23 | K10, K11, K12, K13, K14, \ | ||
| 24 | K20, K21, K22, K23, K24, \ | ||
| 25 | K30, K31, K32, K33, K34, \ | ||
| 26 | K40, K41, K42, K43, K44 \ | ||
| 27 | ) { \ | ||
| 28 | { K00, K01, K02, K03, K04 }, \ | ||
| 29 | { K10, K11, K12, K13, K14 }, \ | ||
| 30 | { K20, K21, K22, K23, K24 }, \ | ||
| 31 | { K30, K31, K32, K33, K34 }, \ | ||
| 32 | { K40, K41, K42, K43, K44 }, \ | ||
| 33 | } | ||
