diff options
| author | Wolf Van Herreweghe <wolfvanh@gmail.com> | 2021-10-11 03:21:49 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-10 18:21:49 -0700 |
| commit | 5c034c43ab547b95847e7419b9a07e76f560dc16 (patch) | |
| tree | 2a21ebc99cf78b78a034505289ba5579a9508009 | |
| parent | c8d5988ba4496e78d4be796044992ac05f628a01 (diff) | |
| download | qmk_firmware-5c034c43ab547b95847e7419b9a07e76f560dc16.tar.gz qmk_firmware-5c034c43ab547b95847e7419b9a07e76f560dc16.zip | |
[Keyboard] Add firmware for the TS60 (#14157)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Wolf Van Herreweghe <wolfvh@getupgamesofficial.com>
| -rw-r--r-- | keyboards/wolf/ts60/config.h | 78 | ||||
| -rw-r--r-- | keyboards/wolf/ts60/info.json | 273 | ||||
| -rw-r--r-- | keyboards/wolf/ts60/keymaps/default/keymap.c | 39 | ||||
| -rw-r--r-- | keyboards/wolf/ts60/keymaps/via/keymap.c | 58 | ||||
| -rw-r--r-- | keyboards/wolf/ts60/keymaps/via/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/wolf/ts60/readme.md | 25 | ||||
| -rw-r--r-- | keyboards/wolf/ts60/rules.mk | 27 | ||||
| -rw-r--r-- | keyboards/wolf/ts60/ts60.c | 14 | ||||
| -rw-r--r-- | keyboards/wolf/ts60/ts60.h | 82 |
9 files changed, 597 insertions, 0 deletions
diff --git a/keyboards/wolf/ts60/config.h b/keyboards/wolf/ts60/config.h new file mode 100644 index 000000000..8074f6fc5 --- /dev/null +++ b/keyboards/wolf/ts60/config.h | |||
| @@ -0,0 +1,78 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 <me@homedrop.org> | ||
| 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 0x5453 // TS - ToastyStoemp | ||
| 24 | #define PRODUCT_ID 0x0050 // TS60 | ||
| 25 | #define DEVICE_VER 0x0001 // Version 1 | ||
| 26 | #define MANUFACTURER ToastyStoemp | ||
| 27 | #define PRODUCT TS60 | ||
| 28 | |||
| 29 | /* key matrix size */ | ||
| 30 | #define MATRIX_ROWS 10 | ||
| 31 | #define MATRIX_COLS 8 | ||
| 32 | |||
| 33 | /* | ||
| 34 | * Keyboard Matrix Assignments | ||
| 35 | * | ||
| 36 | * Change this to how you wired your keyboard | ||
| 37 | * COLS: AVR pins used for columns, left to right | ||
| 38 | * ROWS: AVR pins used for rows, top to bottom | ||
| 39 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
| 40 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
| 41 | * | ||
| 42 | */ | ||
| 43 | |||
| 44 | // Checked with Eagle Schematic | ||
| 45 | #define MATRIX_ROW_PINS { D2, D3, D6, D4, F6, F7, F5, F0, F4, F1 } | ||
| 46 | #define MATRIX_COL_PINS { D1, D5, C7, C6, B6, B5, B4, D7} | ||
| 47 | #define UNUSED_PINS | ||
| 48 | |||
| 49 | /* COL2ROW or ROW2COL */ | ||
| 50 | #define DIODE_DIRECTION COL2ROW | ||
| 51 | |||
| 52 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 53 | #define DEBOUNCE 5 | ||
| 54 | |||
| 55 | |||
| 56 | /* Define RGB Underglow */ | ||
| 57 | #define RGB_DI_PIN D0 | ||
| 58 | #define RGBLED_NUM 16 | ||
| 59 | #define RGBLIGHT_EFFECT_BREATHING | ||
| 60 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 61 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 62 | #define RGBLIGHT_EFFECT_SNAKE | ||
| 63 | #define RGBLIGHT_EFFECT_KNIGHT | ||
| 64 | #define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 65 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 66 | #define RGBLIGHT_EFFECT_RGB_TEST | ||
| 67 | #define RGBLIGHT_EFFECT_ALTERNATING | ||
| 68 | #define RGBLIGHT_EFFECT_TWINKLE | ||
| 69 | #define RGBLIGHT_SLEEP | ||
| 70 | #define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL | ||
| 71 | |||
| 72 | /* Define Per Key Backlight */ | ||
| 73 | #define BACKLIGHT_PIN B7 | ||
| 74 | #define BACKLIGHT_LEVELS 6 | ||
| 75 | #define BACKLIGHT_DEFAULT_LEVEL 6 | ||
| 76 | |||
| 77 | #define NO_ACTION_MACRO | ||
| 78 | #define NO_ACTION_FUNCTION \ No newline at end of file | ||
diff --git a/keyboards/wolf/ts60/info.json b/keyboards/wolf/ts60/info.json new file mode 100644 index 000000000..d7d3bfe49 --- /dev/null +++ b/keyboards/wolf/ts60/info.json | |||
| @@ -0,0 +1,273 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "TS60", | ||
| 3 | "url": "https://www.vwolf.be/", | ||
| 4 | "maintainer": "ToastyStoemp", | ||
| 5 | "layouts": { | ||
| 6 | "LAYOUT": { | ||
| 7 | "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":6, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0}, {"x":12, "y":0}, {"x":13, "y":0}, {"x":14, "y":0}, {"x":0, "y":1, "w":1.5}, {"x":1.5, "y":1}, {"x":2.5, "y":1}, {"x":3.5, "y":1}, {"x":4.5, "y":1}, {"x":5.5, "y":1}, {"x":6.5, "y":1}, {"x":7.5, "y":1}, {"x":8.5, "y":1}, {"x":9.5, "y":1}, {"x":10.5, "y":1}, {"x":11.5, "y":1}, {"x":12.5, "y":1}, {"x":13.5, "y":1, "w":1.5}, {"x":0, "y":2, "w":1.75}, {"x":1.75, "y":2}, {"x":2.75, "y":2}, {"x":3.75, "y":2}, {"x":4.75, "y":2}, {"x":5.75, "y":2}, {"x":6.75, "y":2}, {"x":7.75, "y":2}, {"x":8.75, "y":2}, {"x":9.75, "y":2}, {"x":10.75, "y":2}, {"x":11.75, "y":2}, {"x":12.75, "y":2, "w":2.25}, {"x":0, "y":3}, {"x":1, "y":3}, {"x":2, "y":3}, {"x":3, "y":3}, {"x":4, "y":3}, {"x":5, "y":3}, {"x":6, "y":3}, {"x":7, "y":3}, {"x":8, "y":3}, {"x":9, "y":3}, {"x":10, "y":3}, {"x":11, "y":3}, {"x":12, "y":3}, {"x":13, "y":3}, {"x":14, "y":3}, {"x":0, "y":4, "w":1.25}, {"x":1.25, "y":4, "w":1.25}, {"x":2.5, "y":4, "w":1.25}, {"x":3.75, "y":4, "w":2.25}, {"x":6, "y":4, "w":1.25}, {"x":7.25, "y":4, "w":2.75}, {"x":10, "y":4}, {"x":11, "y":4}, {"x":12, "y":4}, {"x":13, "y":4}, {"x":14, "y":4}] | ||
| 8 | }, | ||
| 9 | "LAYOUT_60_ansi": { | ||
| 10 | "layout": [ | ||
| 11 | { | ||
| 12 | "x": 0, | ||
| 13 | "y": 0 | ||
| 14 | }, | ||
| 15 | { | ||
| 16 | "x": 1, | ||
| 17 | "y": 0 | ||
| 18 | }, | ||
| 19 | { | ||
| 20 | "x": 2, | ||
| 21 | "y": 0 | ||
| 22 | }, | ||
| 23 | { | ||
| 24 | "x": 3, | ||
| 25 | "y": 0 | ||
| 26 | }, | ||
| 27 | { | ||
| 28 | "x": 4, | ||
| 29 | "y": 0 | ||
| 30 | }, | ||
| 31 | { | ||
| 32 | "x": 5, | ||
| 33 | "y": 0 | ||
| 34 | }, | ||
| 35 | { | ||
| 36 | "x": 6, | ||
| 37 | "y": 0 | ||
| 38 | }, | ||
| 39 | { | ||
| 40 | "x": 7, | ||
| 41 | "y": 0 | ||
| 42 | }, | ||
| 43 | { | ||
| 44 | "x": 8, | ||
| 45 | "y": 0 | ||
| 46 | }, | ||
| 47 | { | ||
| 48 | "x": 9, | ||
| 49 | "y": 0 | ||
| 50 | }, | ||
| 51 | { | ||
| 52 | "x": 10, | ||
| 53 | "y": 0 | ||
| 54 | }, | ||
| 55 | { | ||
| 56 | "x": 11, | ||
| 57 | "y": 0 | ||
| 58 | }, | ||
| 59 | { | ||
| 60 | "x": 12, | ||
| 61 | "y": 0 | ||
| 62 | }, | ||
| 63 | { | ||
| 64 | "x": 13, | ||
| 65 | "y": 0, | ||
| 66 | "w": 2 | ||
| 67 | }, | ||
| 68 | { | ||
| 69 | "x": 0, | ||
| 70 | "y": 1, | ||
| 71 | "w": 1.5 | ||
| 72 | }, | ||
| 73 | { | ||
| 74 | "x": 1.5, | ||
| 75 | "y": 1 | ||
| 76 | }, | ||
| 77 | { | ||
| 78 | "x": 2.5, | ||
| 79 | "y": 1 | ||
| 80 | }, | ||
| 81 | { | ||
| 82 | "x": 3.5, | ||
| 83 | "y": 1 | ||
| 84 | }, | ||
| 85 | { | ||
| 86 | "x": 4.5, | ||
| 87 | "y": 1 | ||
| 88 | }, | ||
| 89 | { | ||
| 90 | "x": 5.5, | ||
| 91 | "y": 1 | ||
| 92 | }, | ||
| 93 | { | ||
| 94 | "x": 6.5, | ||
| 95 | "y": 1 | ||
| 96 | }, | ||
| 97 | { | ||
| 98 | "x": 7.5, | ||
| 99 | "y": 1 | ||
| 100 | }, | ||
| 101 | { | ||
| 102 | "x": 8.5, | ||
| 103 | "y": 1 | ||
| 104 | }, | ||
| 105 | { | ||
| 106 | "x": 9.5, | ||
| 107 | "y": 1 | ||
| 108 | }, | ||
| 109 | { | ||
| 110 | "x": 10.5, | ||
| 111 | "y": 1 | ||
| 112 | }, | ||
| 113 | { | ||
| 114 | "x": 11.5, | ||
| 115 | "y": 1 | ||
| 116 | }, | ||
| 117 | { | ||
| 118 | "x": 12.5, | ||
| 119 | "y": 1 | ||
| 120 | }, | ||
| 121 | { | ||
| 122 | "x": 13.5, | ||
| 123 | "y": 1, | ||
| 124 | "w": 1.5 | ||
| 125 | }, | ||
| 126 | { | ||
| 127 | "x": 0, | ||
| 128 | "y": 2, | ||
| 129 | "w": 1.75 | ||
| 130 | }, | ||
| 131 | { | ||
| 132 | "x": 1.75, | ||
| 133 | "y": 2 | ||
| 134 | }, | ||
| 135 | { | ||
| 136 | "x": 2.75, | ||
| 137 | "y": 2 | ||
| 138 | }, | ||
| 139 | { | ||
| 140 | "x": 3.75, | ||
| 141 | "y": 2 | ||
| 142 | }, | ||
| 143 | { | ||
| 144 | "x": 4.75, | ||
| 145 | "y": 2 | ||
| 146 | }, | ||
| 147 | { | ||
| 148 | "x": 5.75, | ||
| 149 | "y": 2 | ||
| 150 | }, | ||
| 151 | { | ||
| 152 | "x": 6.75, | ||
| 153 | "y": 2 | ||
| 154 | }, | ||
| 155 | { | ||
| 156 | "x": 7.75, | ||
| 157 | "y": 2 | ||
| 158 | }, | ||
| 159 | { | ||
| 160 | "x": 8.75, | ||
| 161 | "y": 2 | ||
| 162 | }, | ||
| 163 | { | ||
| 164 | "x": 9.75, | ||
| 165 | "y": 2 | ||
| 166 | }, | ||
| 167 | { | ||
| 168 | "x": 10.75, | ||
| 169 | "y": 2 | ||
| 170 | }, | ||
| 171 | { | ||
| 172 | "x": 11.75, | ||
| 173 | "y": 2 | ||
| 174 | }, | ||
| 175 | { | ||
| 176 | "x": 12.75, | ||
| 177 | "y": 2, | ||
| 178 | "w": 2.25 | ||
| 179 | }, | ||
| 180 | { | ||
| 181 | "x": 0, | ||
| 182 | "y": 3, | ||
| 183 | "w": 2.25 | ||
| 184 | }, | ||
| 185 | { | ||
| 186 | "x": 2.25, | ||
| 187 | "y": 3 | ||
| 188 | }, | ||
| 189 | { | ||
| 190 | "x": 3.25, | ||
| 191 | "y": 3 | ||
| 192 | }, | ||
| 193 | { | ||
| 194 | "x": 4.25, | ||
| 195 | "y": 3 | ||
| 196 | }, | ||
| 197 | { | ||
| 198 | "x": 5.25, | ||
| 199 | "y": 3 | ||
| 200 | }, | ||
| 201 | { | ||
| 202 | "x": 6.25, | ||
| 203 | "y": 3 | ||
| 204 | }, | ||
| 205 | { | ||
| 206 | "x": 7.25, | ||
| 207 | "y": 3 | ||
| 208 | }, | ||
| 209 | { | ||
| 210 | "x": 8.25, | ||
| 211 | "y": 3 | ||
| 212 | }, | ||
| 213 | { | ||
| 214 | "x": 9.25, | ||
| 215 | "y": 3 | ||
| 216 | }, | ||
| 217 | { | ||
| 218 | "x": 10.25, | ||
| 219 | "y": 3 | ||
| 220 | }, | ||
| 221 | { | ||
| 222 | "x": 11.25, | ||
| 223 | "y": 3 | ||
| 224 | }, | ||
| 225 | { | ||
| 226 | "x": 12.25, | ||
| 227 | "y": 3, | ||
| 228 | "w": 2.75 | ||
| 229 | }, | ||
| 230 | { | ||
| 231 | "x": 0, | ||
| 232 | "y": 4, | ||
| 233 | "w": 1.25 | ||
| 234 | }, | ||
| 235 | { | ||
| 236 | "x": 1.25, | ||
| 237 | "y": 4, | ||
| 238 | "w": 1.25 | ||
| 239 | }, | ||
| 240 | { | ||
| 241 | "x": 2.5, | ||
| 242 | "y": 4, | ||
| 243 | "w": 1.25 | ||
| 244 | }, | ||
| 245 | { | ||
| 246 | "x": 3.75, | ||
| 247 | "y": 4, | ||
| 248 | "w": 6.25 | ||
| 249 | }, | ||
| 250 | { | ||
| 251 | "x": 10, | ||
| 252 | "y": 4, | ||
| 253 | "w": 1.25 | ||
| 254 | }, | ||
| 255 | { | ||
| 256 | "x": 11.25, | ||
| 257 | "y": 4, | ||
| 258 | "w": 1.25 | ||
| 259 | }, | ||
| 260 | { | ||
| 261 | "x": 12.5, | ||
| 262 | "y": 4, | ||
| 263 | "w": 1.25 | ||
| 264 | }, | ||
| 265 | { | ||
| 266 | "x": 13.75, | ||
| 267 | "y": 4, | ||
| 268 | "w": 1.25 | ||
| 269 | } | ||
| 270 | ] | ||
| 271 | } | ||
| 272 | } | ||
| 273 | } \ No newline at end of file | ||
diff --git a/keyboards/wolf/ts60/keymaps/default/keymap.c b/keyboards/wolf/ts60/keymaps/default/keymap.c new file mode 100644 index 000000000..fa2ac4696 --- /dev/null +++ b/keyboards/wolf/ts60/keymaps/default/keymap.c | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 <me@homedrop.org> | ||
| 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 | This program is distributed in the hope that it will be useful, | ||
| 8 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 10 | GNU General Public License for more details. | ||
| 11 | You should have received a copy of the GNU General Public License | ||
| 12 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 13 | */ | ||
| 14 | |||
| 15 | #include QMK_KEYBOARD_H | ||
| 16 | |||
| 17 | enum layers { | ||
| 18 | _LAYER0, | ||
| 19 | _LAYER1, | ||
| 20 | }; | ||
| 21 | |||
| 22 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 23 | |||
| 24 | [_LAYER0] = LAYOUT_60_ansi( | ||
| 25 | KC_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, | ||
| 26 | 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, | ||
| 27 | 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, | ||
| 28 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, | ||
| 29 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_APP, KC_RCTL | ||
| 30 | ), | ||
| 31 | |||
| 32 | [_LAYER1] = LAYOUT_60_ansi( | ||
| 33 | KC_GRV, 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, | ||
| 34 | _______, RGB_TOG, KC_UP, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, _______, _______, | ||
| 35 | _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, _______, _______, RESET, | ||
| 36 | _______, _______, _______, BL_DEC, BL_TOGG, BL_INC, _______, _______, _______, _______, _______, _______, | ||
| 37 | _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 38 | ) | ||
| 39 | }; | ||
diff --git a/keyboards/wolf/ts60/keymaps/via/keymap.c b/keyboards/wolf/ts60/keymaps/via/keymap.c new file mode 100644 index 000000000..9d1b9aab6 --- /dev/null +++ b/keyboards/wolf/ts60/keymaps/via/keymap.c | |||
| @@ -0,0 +1,58 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 <me@homedrop.org> | ||
| 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 | This program is distributed in the hope that it will be useful, | ||
| 8 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 10 | GNU General Public License for more details. | ||
| 11 | You should have received a copy of the GNU General Public License | ||
| 12 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 13 | */ | ||
| 14 | |||
| 15 | #include QMK_KEYBOARD_H | ||
| 16 | |||
| 17 | enum layers { | ||
| 18 | _LAYER0, | ||
| 19 | _LAYER1, | ||
| 20 | _LAYER2, | ||
| 21 | _LAYER3, | ||
| 22 | }; | ||
| 23 | |||
| 24 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 25 | |||
| 26 | [_LAYER0] = LAYOUT_60_ansi( | ||
| 27 | KC_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, | ||
| 28 | 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, | ||
| 29 | 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, | ||
| 30 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, | ||
| 31 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_APP, KC_RCTL | ||
| 32 | ), | ||
| 33 | |||
| 34 | [_LAYER1] = LAYOUT_60_ansi( | ||
| 35 | KC_GRV , 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, | ||
| 36 | _______, RGB_TOG, KC_UP, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, _______, _______, | ||
| 37 | _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, _______, _______, RESET, | ||
| 38 | _______, _______, _______, BL_DEC, BL_TOGG, BL_INC, _______, _______, _______, _______, _______, _______, | ||
| 39 | _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 40 | ), | ||
| 41 | |||
| 42 | [_LAYER2] = LAYOUT_60_ansi( | ||
| 43 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 44 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 45 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 46 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 47 | _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 48 | ), | ||
| 49 | |||
| 50 | [_LAYER3] = LAYOUT_60_ansi( | ||
| 51 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 52 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 53 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 54 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 55 | _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 56 | ) | ||
| 57 | |||
| 58 | }; \ No newline at end of file | ||
diff --git a/keyboards/wolf/ts60/keymaps/via/rules.mk b/keyboards/wolf/ts60/keymaps/via/rules.mk new file mode 100644 index 000000000..1e5b99807 --- /dev/null +++ b/keyboards/wolf/ts60/keymaps/via/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| VIA_ENABLE = yes | |||
diff --git a/keyboards/wolf/ts60/readme.md b/keyboards/wolf/ts60/readme.md new file mode 100644 index 000000000..6883617cb --- /dev/null +++ b/keyboards/wolf/ts60/readme.md | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | # Wolf - TS 60 | ||
| 2 | |||
| 3 | The following is the QMK Firmware for the TS60 PCB. | ||
| 4 | |||
| 5 | The PCB features: | ||
| 6 | * QMK & VIA compatibility | ||
| 7 | * RGB underglow | ||
| 8 | * Per-Key LEDs | ||
| 9 | |||
| 10 | --- | ||
| 11 | |||
| 12 | * Keyboard Maintainer: [ToastyStoemp](https://github.com/ToastyStoemp) | ||
| 13 | * Hardware Supported: TF60 ANSI SOLDER | ||
| 14 | |||
| 15 | |||
| 16 | Make example for this keyboard (after setting up your build environment): | ||
| 17 | |||
| 18 | make wolf/ts60:default | ||
| 19 | |||
| 20 | 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). | ||
| 21 | |||
| 22 | ## Bootloader Enter the bootloader in 3 ways: | ||
| 23 | * **Bootmagic reset**: Hold down the key ESC key and plug in the keyboard (Top Left most switch) | ||
| 24 | * **Physical reset button**: Briefly press the button on the back of the PCB | ||
| 25 | * **Keycode in layout**: Press the Enter key on layer 1 which is mapped to `RESET` \ No newline at end of file | ||
diff --git a/keyboards/wolf/ts60/rules.mk b/keyboards/wolf/ts60/rules.mk new file mode 100644 index 000000000..bd19f3c36 --- /dev/null +++ b/keyboards/wolf/ts60/rules.mk | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Processor frequency | ||
| 5 | F_CPU = 8000000 | ||
| 6 | |||
| 7 | # Bootloader selection | ||
| 8 | BOOTLOADER = atmel-dfu | ||
| 9 | |||
| 10 | # Build Options | ||
| 11 | # change yes to no to disable | ||
| 12 | # | ||
| 13 | BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite | ||
| 14 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
| 15 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 16 | CONSOLE_ENABLE = no # Console for debug | ||
| 17 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 18 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 19 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 20 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 21 | NKRO_ENABLE = yes # USB Nkey Rollover | ||
| 22 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | ||
| 23 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | ||
| 24 | AUDIO_ENABLE = no # Audio output | ||
| 25 | KEYBOARD_LOCK_ENABLE = yes | ||
| 26 | |||
| 27 | LAYOUTS = 60_ansi \ No newline at end of file | ||
diff --git a/keyboards/wolf/ts60/ts60.c b/keyboards/wolf/ts60/ts60.c new file mode 100644 index 000000000..199c79c94 --- /dev/null +++ b/keyboards/wolf/ts60/ts60.c | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 <contact@vwolf.be> | ||
| 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 | This program is distributed in the hope that it will be useful, | ||
| 8 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 10 | GNU General Public License for more details. | ||
| 11 | You should have received a copy of the GNU General Public License | ||
| 12 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 13 | */ | ||
| 14 | #include "ts60.h" | ||
diff --git a/keyboards/wolf/ts60/ts60.h b/keyboards/wolf/ts60/ts60.h new file mode 100644 index 000000000..a402d9548 --- /dev/null +++ b/keyboards/wolf/ts60/ts60.h | |||
| @@ -0,0 +1,82 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 <contact@vwolf.be> | ||
| 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 | This program is distributed in the hope that it will be useful, | ||
| 8 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 10 | GNU General Public License for more details. | ||
| 11 | You should have received a copy of the GNU General Public License | ||
| 12 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 13 | */ | ||
| 14 | |||
| 15 | #pragma once | ||
| 16 | |||
| 17 | #include "quantum.h" | ||
| 18 | |||
| 19 | /* LAYOUT | ||
| 20 | * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ | ||
| 21 | * │00 │01 │02 │03 │04 │05 │06 │07 │08 │09 │0a │0b │0c │0d │0e │ | ||
| 22 | * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ | ||
| 23 | * │10 │12 │13 │14 │15 │16 │17 │18 │19 │1a │1b │1c │1d │1e │ | ||
| 24 | * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ | ||
| 25 | * │20 │22 │23 │24 │25 │26 │27 │28 │29 │2a │2b │2c │2d │ | ||
| 26 | * ├───┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬───┬───┤ | ||
| 27 | * │30 │31 │32 │33 │34 │35 │36 │37 │38 │39 │3a │3b │3c │3d │3e │ | ||
| 28 | * ├───┴┬──┴─┬─┴──┬┴───┴───┼───┴┬──┴───┴───┼───┼───┼───┼───┼───┤ | ||
| 29 | * │40 │41 │42 │44 │46 │48 │4a │4b │4c │4d │4e │ | ||
| 30 | * └────┴────┴────┴────────┴────┴──────────┴───┴───┴───┴───┴───┘ | ||
| 31 | */ | ||
| 32 | #define LAYOUT( \ | ||
| 33 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0a, K0b, K0c, K0d, K0e, \ | ||
| 34 | K10, K12, K13, K14, K15, K16, K17, K18, K19, K1a, K1b, K1c, K1d, K1e, \ | ||
| 35 | K20, K22, K23, K24, K25, K26, K27, K28, K29, K2a, K2b, K2c, K2d, \ | ||
| 36 | K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3a, K3b, K3c, K3d, K3e, \ | ||
| 37 | K40, K41, K42, K44, K46, K48, K4a, K4b, K4c, K4d, K4e \ | ||
| 38 | ) { \ | ||
| 39 | { K00, K02, K04, K06, K08, K0a, K0c, K0d }, \ | ||
| 40 | { K01, K03, K05, K07, K09, K0b, KC_NO, K0e }, \ | ||
| 41 | { K10, K12, K14, K16, K18, K1a, K1c, K1d }, \ | ||
| 42 | { KC_NO, K13, K15, K17, K19, K1b, KC_NO, K1e }, \ | ||
| 43 | { K20, K22, K24, K26, K28, K2a, K2c, K2d }, \ | ||
| 44 | { KC_NO, K23, K25, K27, K29, K2b, KC_NO, K2e }, \ | ||
| 45 | { K30, K32, K34, K36, K38, K3a, K3c, K3d }, \ | ||
| 46 | { K31, K33, K35, K37, K39, K3b, KC_NO, K3e }, \ | ||
| 47 | { K40, K42, K44, K46, K48, K4a, K4c, K4d }, \ | ||
| 48 | { K41, KC_NO, KC_NO, KC_NO, KC_NO, K4b, KC_NO, K4e } \ | ||
| 49 | } | ||
| 50 | |||
| 51 | /* LAYOUT_60_ansi | ||
| 52 | * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐ | ||
| 53 | * │00 │01 │02 │03 │04 │05 │06 │07 │08 │09 │0a │0b │0c │0e │ | ||
| 54 | * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤ | ||
| 55 | * │10 │12 │13 │14 │15 │16 │17 │18 │19 │1a │1b │1c │1d │1e │ | ||
| 56 | * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ | ||
| 57 | * │20 │22 │23 │24 │25 │26 │27 │28 │29 │2a │2b │2c │2d │ | ||
| 58 | * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────────┤ | ||
| 59 | * │30 │32 │33 │34 │35 │36 │37 │38 │39 │3a │3b │3d │ | ||
| 60 | * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤ | ||
| 61 | * │40 │41 │42 │46 │4a │4b │4d │4e │ | ||
| 62 | * └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘ | ||
| 63 | */ | ||
| 64 | #define LAYOUT_60_ansi( \ | ||
| 65 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0a, K0b, K0c, K0e, \ | ||
| 66 | K10, K12, K13, K14, K15, K16, K17, K18, K19, K1a, K1b, K1c, K1d, K1e, \ | ||
| 67 | K20, K22, K23, K24, K25, K26, K27, K28, K29, K2a, K2b, K2c, K2d, \ | ||
| 68 | K30, K32, K33, K34, K35, K36, K37, K38, K39, K3a, K3b, K3d, \ | ||
| 69 | K40, K41, K42, K46, K4a, K4b, K4d, K4e \ | ||
| 70 | ) { \ | ||
| 71 | { K00, K02, K04, K06, K08, K0a, K0c, K0e }, \ | ||
| 72 | { K01, K03, K05, K07, K09, K0b, KC_NO, KC_NO }, \ | ||
| 73 | { K10, K12, K14, K16, K18, K1a, K1c, K1d }, \ | ||
| 74 | { KC_NO, K13, K15, K17, K19, K1b, KC_NO, K1e }, \ | ||
| 75 | { K20, K22, K24, K26, K28, K2a, K2c, KC_NO }, \ | ||
| 76 | { KC_NO, K23, K25, K27, K29, K2b, KC_NO, K2d }, \ | ||
| 77 | { K30, K32, K34, K36, K38, K3a, KC_NO, K3d }, \ | ||
| 78 | { KC_NO, K33, K35, K37, K39, K3b, KC_NO, KC_NO }, \ | ||
| 79 | { K40, K42, KC_NO, K46, KC_NO, K4a, KC_NO, K4d }, \ | ||
| 80 | { K41, KC_NO, KC_NO, KC_NO, KC_NO, K4b, KC_NO, K4e } \ | ||
| 81 | } | ||
| 82 | |||
