diff options
| author | Brandon Claveria <48102030+swiftrax@users.noreply.github.com> | 2021-04-20 10:50:06 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-20 10:50:06 -0700 |
| commit | 2bccb7132da24fa9d3a3a74a6c9e578b6d1960c8 (patch) | |
| tree | 8aedef1ee2c433213f509da9fbbfb20671561d30 /keyboards/ffkeebs | |
| parent | 0d5458a7ad4fa8a36692711160d558b0522bc66a (diff) | |
| download | qmk_firmware-2bccb7132da24fa9d3a3a74a6c9e578b6d1960c8.tar.gz qmk_firmware-2bccb7132da24fa9d3a3a74a6c9e578b6d1960c8.zip | |
[Keyboard] Siris (#12415)
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Swiftrax <swiftrax@gmail.com>
Diffstat (limited to 'keyboards/ffkeebs')
| -rw-r--r-- | keyboards/ffkeebs/siris/config.h | 48 | ||||
| -rw-r--r-- | keyboards/ffkeebs/siris/info.json | 293 | ||||
| -rw-r--r-- | keyboards/ffkeebs/siris/keymaps/default/keymap.c | 61 | ||||
| -rw-r--r-- | keyboards/ffkeebs/siris/keymaps/via/keymap.c | 61 | ||||
| -rw-r--r-- | keyboards/ffkeebs/siris/keymaps/via/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/ffkeebs/siris/readme.md | 13 | ||||
| -rw-r--r-- | keyboards/ffkeebs/siris/rules.mk | 23 | ||||
| -rw-r--r-- | keyboards/ffkeebs/siris/siris.c | 17 | ||||
| -rw-r--r-- | keyboards/ffkeebs/siris/siris.h | 37 |
9 files changed, 554 insertions, 0 deletions
diff --git a/keyboards/ffkeebs/siris/config.h b/keyboards/ffkeebs/siris/config.h new file mode 100644 index 000000000..6b7733b36 --- /dev/null +++ b/keyboards/ffkeebs/siris/config.h | |||
| @@ -0,0 +1,48 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 Swiftrax <swiftrax@gmail.com> | ||
| 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 0xE96C | ||
| 25 | #define DEVICE_VER 0x0001 | ||
| 26 | #define MANUFACTURER Swiftrax | ||
| 27 | #define PRODUCT Siris | ||
| 28 | |||
| 29 | /* key matrix size */ | ||
| 30 | #define MATRIX_ROWS 5 | ||
| 31 | #define MATRIX_COLS 12 | ||
| 32 | |||
| 33 | // ROWS: Top to bottom, COLS: Left to right | ||
| 34 | |||
| 35 | #define MATRIX_ROW_PINS { B5, B4, D7, D6, D4 } | ||
| 36 | #define MATRIX_COL_PINS { D2, D1, D0, B7, B3, B2, F0, F1, F4, F5, F6, F7 } | ||
| 37 | |||
| 38 | /* COL2ROW or ROW2COL */ | ||
| 39 | #define DIODE_DIRECTION COL2ROW | ||
| 40 | |||
| 41 | /* define if matrix has ghost */ | ||
| 42 | //#define MATRIX_HAS_GHOST | ||
| 43 | |||
| 44 | #define ENCODERS_PAD_A { D3, C6 } | ||
| 45 | #define ENCODERS_PAD_B { D5, B6 } | ||
| 46 | |||
| 47 | /* Set 0 if debouncing isn't needed */ | ||
| 48 | #define DEBOUNCE 5 | ||
diff --git a/keyboards/ffkeebs/siris/info.json b/keyboards/ffkeebs/siris/info.json new file mode 100644 index 000000000..f81d216ad --- /dev/null +++ b/keyboards/ffkeebs/siris/info.json | |||
| @@ -0,0 +1,293 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name":"Siris", | ||
| 3 | "url":"https://github.com/swiftrax", | ||
| 4 | "maintainer":"Swiftrax", | ||
| 5 | "width":17.75, | ||
| 6 | "height":5.5, | ||
| 7 | "layouts":{ | ||
| 8 | "LAYOUT":{ | ||
| 9 | "layout":[ | ||
| 10 | { | ||
| 11 | "label":"0,3", | ||
| 12 | "x":3.5, | ||
| 13 | "y":0 | ||
| 14 | }, | ||
| 15 | { | ||
| 16 | "label":"0,8", | ||
| 17 | "x":13.75, | ||
| 18 | "y":0 | ||
| 19 | }, | ||
| 20 | { | ||
| 21 | "label":"0,2", | ||
| 22 | "x":2.5, | ||
| 23 | "y":0.125 | ||
| 24 | }, | ||
| 25 | { | ||
| 26 | "label":"0,4", | ||
| 27 | "x":4.5, | ||
| 28 | "y":0.125 | ||
| 29 | }, | ||
| 30 | { | ||
| 31 | "label":"0,7", | ||
| 32 | "x":12.75, | ||
| 33 | "y":0.13 | ||
| 34 | }, | ||
| 35 | { | ||
| 36 | "label":"0,9", | ||
| 37 | "x":14.75, | ||
| 38 | "y":0.13 | ||
| 39 | }, | ||
| 40 | { | ||
| 41 | "label":"0,5", | ||
| 42 | "x":5.5, | ||
| 43 | "y":0.25 | ||
| 44 | }, | ||
| 45 | { | ||
| 46 | "label":"0,6", | ||
| 47 | "x":11.75, | ||
| 48 | "y":0.25 | ||
| 49 | }, | ||
| 50 | { | ||
| 51 | "label":"0,1", | ||
| 52 | "x":1.5, | ||
| 53 | "y":0.375 | ||
| 54 | }, | ||
| 55 | { | ||
| 56 | "label":"0,0", | ||
| 57 | "x":0.5, | ||
| 58 | "y":0.38 | ||
| 59 | }, | ||
| 60 | { | ||
| 61 | "label":"0,10", | ||
| 62 | "x":15.75, | ||
| 63 | "y":0.38 | ||
| 64 | }, | ||
| 65 | { | ||
| 66 | "label":"0,11", | ||
| 67 | "x":16.75, | ||
| 68 | "y":0.38 | ||
| 69 | }, | ||
| 70 | { | ||
| 71 | "label":"1,3", | ||
| 72 | "x":3.5, | ||
| 73 | "y":1.0 | ||
| 74 | }, | ||
| 75 | { | ||
| 76 | "label":"1,8", | ||
| 77 | "x":13.75, | ||
| 78 | "y":1.0 | ||
| 79 | }, | ||
| 80 | { | ||
| 81 | "label":"1,2", | ||
| 82 | "x":2.5, | ||
| 83 | "y":1.125 | ||
| 84 | }, | ||
| 85 | { | ||
| 86 | "label":"1,4", | ||
| 87 | "x":4.5, | ||
| 88 | "y":1.125 | ||
| 89 | }, | ||
| 90 | { | ||
| 91 | "label":"1,7", | ||
| 92 | "x":12.75, | ||
| 93 | "y":1.13 | ||
| 94 | }, | ||
| 95 | { | ||
| 96 | "label":"1,9", | ||
| 97 | "x":14.75, | ||
| 98 | "y":1.13 | ||
| 99 | }, | ||
| 100 | { | ||
| 101 | "label":"1,5", | ||
| 102 | "x":5.5, | ||
| 103 | "y":1.25 | ||
| 104 | }, | ||
| 105 | { | ||
| 106 | "label":"1,6", | ||
| 107 | "x":11.75, | ||
| 108 | "y":1.25 | ||
| 109 | }, | ||
| 110 | { | ||
| 111 | "label":"1,1", | ||
| 112 | "x":1.5, | ||
| 113 | "y":1.375 | ||
| 114 | }, | ||
| 115 | { | ||
| 116 | "label":"1,0", | ||
| 117 | "x":0.5, | ||
| 118 | "y":1.38 | ||
| 119 | }, | ||
| 120 | { | ||
| 121 | "label":"1,10", | ||
| 122 | "x":15.75, | ||
| 123 | "y":1.38 | ||
| 124 | }, | ||
| 125 | { | ||
| 126 | "label":"1,11", | ||
| 127 | "x":16.75, | ||
| 128 | "y":1.38 | ||
| 129 | }, | ||
| 130 | { | ||
| 131 | "label":"2,3", | ||
| 132 | "x":3.5, | ||
| 133 | "y":2 | ||
| 134 | }, | ||
| 135 | { | ||
| 136 | "label":"2,8", | ||
| 137 | "x":13.75, | ||
| 138 | "y":2 | ||
| 139 | }, | ||
| 140 | { | ||
| 141 | "label":"2,2", | ||
| 142 | "x":2.5, | ||
| 143 | "y":2.125 | ||
| 144 | }, | ||
| 145 | { | ||
| 146 | "label":"2,4", | ||
| 147 | "x":4.5, | ||
| 148 | "y":2.125 | ||
| 149 | }, | ||
| 150 | { | ||
| 151 | "label":"2,7", | ||
| 152 | "x":12.75, | ||
| 153 | "y":2.13 | ||
| 154 | }, | ||
| 155 | { | ||
| 156 | "label":"2,9", | ||
| 157 | "x":14.75, | ||
| 158 | "y":2.13 | ||
| 159 | }, | ||
| 160 | { | ||
| 161 | "label":"2,5", | ||
| 162 | "x":5.5, | ||
| 163 | "y":2.25 | ||
| 164 | }, | ||
| 165 | { | ||
| 166 | "label":"2,6", | ||
| 167 | "x":11.75, | ||
| 168 | "y":2.25 | ||
| 169 | }, | ||
| 170 | { | ||
| 171 | "label":"2,1", | ||
| 172 | "x":1.5, | ||
| 173 | "y":2.375 | ||
| 174 | }, | ||
| 175 | { | ||
| 176 | "label":"2,0", | ||
| 177 | "x":0.5, | ||
| 178 | "y":2.38 | ||
| 179 | }, | ||
| 180 | { | ||
| 181 | "label":"2,10", | ||
| 182 | "x":15.75, | ||
| 183 | "y":2.38 | ||
| 184 | }, | ||
| 185 | { | ||
| 186 | "label":"2,11", | ||
| 187 | "x":16.75, | ||
| 188 | "y":2.38 | ||
| 189 | }, | ||
| 190 | { | ||
| 191 | "label":"4,5", | ||
| 192 | "x":6.75, | ||
| 193 | "y":2.63 | ||
| 194 | }, | ||
| 195 | { | ||
| 196 | "label":"4,6", | ||
| 197 | "x":10.5, | ||
| 198 | "y":2.63 | ||
| 199 | }, | ||
| 200 | { | ||
| 201 | "label":"3,3", | ||
| 202 | "x":3.5, | ||
| 203 | "y":3 | ||
| 204 | }, | ||
| 205 | { | ||
| 206 | "label":"3,8", | ||
| 207 | "x":13.75, | ||
| 208 | "y":3 | ||
| 209 | }, | ||
| 210 | { | ||
| 211 | "label":"3,2", | ||
| 212 | "x":2.5, | ||
| 213 | "y":3.125 | ||
| 214 | }, | ||
| 215 | { | ||
| 216 | "label":"3,4", | ||
| 217 | "x":4.5, | ||
| 218 | "y":3.125 | ||
| 219 | }, | ||
| 220 | { | ||
| 221 | "label":"3,7", | ||
| 222 | "x":12.75, | ||
| 223 | "y":3.13 | ||
| 224 | }, | ||
| 225 | { | ||
| 226 | "label":"3,9", | ||
| 227 | "x":14.75, | ||
| 228 | "y":3.13 | ||
| 229 | }, | ||
| 230 | { | ||
| 231 | "label":"3,5", | ||
| 232 | "x":5.5, | ||
| 233 | "y":3.25 | ||
| 234 | }, | ||
| 235 | { | ||
| 236 | "label":"3,6", | ||
| 237 | "x":11.75, | ||
| 238 | "y":3.25 | ||
| 239 | }, | ||
| 240 | { | ||
| 241 | "label":"3,1", | ||
| 242 | "x":1.5, | ||
| 243 | "y":3.375 | ||
| 244 | }, | ||
| 245 | { | ||
| 246 | "label":"3,0", | ||
| 247 | "x":0.5, | ||
| 248 | "y":3.38 | ||
| 249 | }, | ||
| 250 | { | ||
| 251 | "label":"3,10", | ||
| 252 | "x":15.75, | ||
| 253 | "y":3.38 | ||
| 254 | }, | ||
| 255 | { | ||
| 256 | "label":"3,11", | ||
| 257 | "x":16.75, | ||
| 258 | "y":3.38 | ||
| 259 | }, | ||
| 260 | { | ||
| 261 | "label":"4,2", | ||
| 262 | "x":4.25, | ||
| 263 | "y":4.15 | ||
| 264 | }, | ||
| 265 | { | ||
| 266 | "label":"4,0", | ||
| 267 | "x":13, | ||
| 268 | "y":4.15 | ||
| 269 | }, | ||
| 270 | { | ||
| 271 | "label":"4,3", | ||
| 272 | "x":5.25, | ||
| 273 | "y":4.25 | ||
| 274 | }, | ||
| 275 | { | ||
| 276 | "label":"4,8", | ||
| 277 | "x":12, | ||
| 278 | "y":4.25 | ||
| 279 | }, | ||
| 280 | { | ||
| 281 | "x":6.5, | ||
| 282 | "y":4.5, | ||
| 283 | "w":1.5 | ||
| 284 | }, | ||
| 285 | { | ||
| 286 | "x":10.25, | ||
| 287 | "y":4.5, | ||
| 288 | "w":1.5 | ||
| 289 | } | ||
| 290 | ] | ||
| 291 | } | ||
| 292 | } | ||
| 293 | } | ||
diff --git a/keyboards/ffkeebs/siris/keymaps/default/keymap.c b/keyboards/ffkeebs/siris/keymaps/default/keymap.c new file mode 100644 index 000000000..2096f812b --- /dev/null +++ b/keyboards/ffkeebs/siris/keymaps/default/keymap.c | |||
| @@ -0,0 +1,61 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 Swiftrax <swiftrax@gmail.com> | ||
| 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 QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 20 | |||
| 21 | [0] = LAYOUT( | ||
| 22 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_GRV, | ||
| 23 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_MINS, | ||
| 24 | KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, | ||
| 25 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_BSLS, | ||
| 26 | KC_LGUI, MO(1), KC_SPC, KC_LBRC, KC_RBRC, KC_ENT, MO(2), KC_BSPC), | ||
| 27 | [1] = LAYOUT( | ||
| 28 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 29 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 30 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 31 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 32 | _______, _______, _______, _______, _______, _______, _______, _______), | ||
| 33 | [2] = LAYOUT( | ||
| 34 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 35 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 36 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 37 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 38 | _______, _______, _______, _______, _______, _______, _______, _______), | ||
| 39 | [3] = LAYOUT( | ||
| 40 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 41 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 42 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 43 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 44 | _______, _______, _______, _______, _______, _______, _______, _______), | ||
| 45 | }; | ||
| 46 | |||
| 47 | void encoder_update_user(uint8_t index, bool clockwise) { | ||
| 48 | if (index == 0) { /* First encoder */ | ||
| 49 | if (clockwise) { | ||
| 50 | tap_code(KC_PGDN); | ||
| 51 | } else { | ||
| 52 | tap_code(KC_PGUP); | ||
| 53 | } | ||
| 54 | } else if (index == 1) { /* Second encoder */ | ||
| 55 | if (clockwise) { | ||
| 56 | tap_code(KC_DOWN); | ||
| 57 | } else { | ||
| 58 | tap_code(KC_UP); | ||
| 59 | } | ||
| 60 | } | ||
| 61 | } \ No newline at end of file | ||
diff --git a/keyboards/ffkeebs/siris/keymaps/via/keymap.c b/keyboards/ffkeebs/siris/keymaps/via/keymap.c new file mode 100644 index 000000000..2096f812b --- /dev/null +++ b/keyboards/ffkeebs/siris/keymaps/via/keymap.c | |||
| @@ -0,0 +1,61 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 Swiftrax <swiftrax@gmail.com> | ||
| 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 QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 20 | |||
| 21 | [0] = LAYOUT( | ||
| 22 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_GRV, | ||
| 23 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_MINS, | ||
| 24 | KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, | ||
| 25 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_BSLS, | ||
| 26 | KC_LGUI, MO(1), KC_SPC, KC_LBRC, KC_RBRC, KC_ENT, MO(2), KC_BSPC), | ||
| 27 | [1] = LAYOUT( | ||
| 28 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 29 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 30 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 31 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 32 | _______, _______, _______, _______, _______, _______, _______, _______), | ||
| 33 | [2] = LAYOUT( | ||
| 34 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 35 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 36 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 37 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 38 | _______, _______, _______, _______, _______, _______, _______, _______), | ||
| 39 | [3] = LAYOUT( | ||
| 40 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 41 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 42 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 43 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 44 | _______, _______, _______, _______, _______, _______, _______, _______), | ||
| 45 | }; | ||
| 46 | |||
| 47 | void encoder_update_user(uint8_t index, bool clockwise) { | ||
| 48 | if (index == 0) { /* First encoder */ | ||
| 49 | if (clockwise) { | ||
| 50 | tap_code(KC_PGDN); | ||
| 51 | } else { | ||
| 52 | tap_code(KC_PGUP); | ||
| 53 | } | ||
| 54 | } else if (index == 1) { /* Second encoder */ | ||
| 55 | if (clockwise) { | ||
| 56 | tap_code(KC_DOWN); | ||
| 57 | } else { | ||
| 58 | tap_code(KC_UP); | ||
| 59 | } | ||
| 60 | } | ||
| 61 | } \ No newline at end of file | ||
diff --git a/keyboards/ffkeebs/siris/keymaps/via/rules.mk b/keyboards/ffkeebs/siris/keymaps/via/rules.mk new file mode 100644 index 000000000..036bd6d1c --- /dev/null +++ b/keyboards/ffkeebs/siris/keymaps/via/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| VIA_ENABLE = yes \ No newline at end of file | |||
diff --git a/keyboards/ffkeebs/siris/readme.md b/keyboards/ffkeebs/siris/readme.md new file mode 100644 index 000000000..355dc591a --- /dev/null +++ b/keyboards/ffkeebs/siris/readme.md | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | # Siris | ||
| 2 | |||
| 3 | Hotswap fixed split keyboard | ||
| 4 | |||
| 5 | * Keyboard Maintainer: Swiftrax | ||
| 6 | * Hardware Supported: Siris | ||
| 7 | * Hardware Availability: https://ffkeebs.com/ | ||
| 8 | |||
| 9 | Make example for this keyboard (after setting up your build environment): | ||
| 10 | |||
| 11 | make ffkeebs/siris:default | ||
| 12 | |||
| 13 | 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). | ||
diff --git a/keyboards/ffkeebs/siris/rules.mk b/keyboards/ffkeebs/siris/rules.mk new file mode 100644 index 000000000..912413f26 --- /dev/null +++ b/keyboards/ffkeebs/siris/rules.mk | |||
| @@ -0,0 +1,23 @@ | |||
| 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 = lite # Virtual DIP switch configuration | ||
| 11 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
| 12 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 13 | CONSOLE_ENABLE = no # Console for debug | ||
| 14 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 15 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 16 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 17 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 18 | NKRO_ENABLE = no # USB Nkey Rollover | ||
| 19 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 20 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
| 21 | BLUETOOTH_ENABLE = no # Enable Bluetooth | ||
| 22 | AUDIO_ENABLE = no # Audio output | ||
| 23 | ENCODER_ENABLE = yes # Rotary Encoder \ No newline at end of file | ||
diff --git a/keyboards/ffkeebs/siris/siris.c b/keyboards/ffkeebs/siris/siris.c new file mode 100644 index 000000000..cfd505773 --- /dev/null +++ b/keyboards/ffkeebs/siris/siris.c | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 Swiftrax <swiftrax@gmail.com> | ||
| 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 "siris.h" | ||
diff --git a/keyboards/ffkeebs/siris/siris.h b/keyboards/ffkeebs/siris/siris.h new file mode 100644 index 000000000..1c355e8a5 --- /dev/null +++ b/keyboards/ffkeebs/siris/siris.h | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 Swiftrax <swiftrax@gmail.com> | ||
| 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 | // readability | ||
| 23 | #define XXX KC_NO | ||
| 24 | |||
| 25 | #define LAYOUT( \ | ||
| 26 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \ | ||
| 27 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \ | ||
| 28 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, \ | ||
| 29 | K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, \ | ||
| 30 | K42, K43, K44, K45, K46, K47, K48, K49 \ | ||
| 31 | ) { \ | ||
| 32 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \ | ||
| 33 | { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B }, \ | ||
| 34 | { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B }, \ | ||
| 35 | { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B }, \ | ||
| 36 | { XXX, XXX, K42, K43, K44, K45, K46, K47, K48, K49, XXX, XXX } \ | ||
| 37 | } | ||
