aboutsummaryrefslogtreecommitdiff
path: root/keyboards/evyd13/quackfire
diff options
context:
space:
mode:
authorJames Young <18669334+noroadsleft@users.noreply.github.com>2020-11-28 12:02:18 -0800
committerGitHub <noreply@github.com>2020-11-28 12:02:18 -0800
commitc66df1664497546f32662409778731143e45a552 (patch)
treeda73a2d532a27685a31d932b3a44a707d4a3af81 /keyboards/evyd13/quackfire
parent15385d4113414d42bd062c60c9de5df797d3157f (diff)
downloadqmk_firmware-c66df1664497546f32662409778731143e45a552.tar.gz
qmk_firmware-c66df1664497546f32662409778731143e45a552.zip
2020 November 28 Breaking Changes Update (#11053)
* Branch point for 2020 November 28 Breaking Change * Remove matrix_col_t to allow MATRIX_ROWS > 32 (#10183) * Add support for soft serial to ATmega32U2 (#10204) * Change MIDI velocity implementation to allow direct control of velocity value (#9940) * Add ability to build a subset of all keyboards based on platform. * Actually use eeprom_driver_init(). * Make bootloader_jump weak for ChibiOS. (#10417) * Joystick 16-bit support (#10439) * Per-encoder resolutions (#10259) * Share button state from mousekey to pointing_device (#10179) * Add hotfix for chibios keyboards not wake (#10088) * Add advanced/efficient RGB Matrix Indicators (#8564) * Naming change. * Support for STM32 GPIOF,G,H,I,J,K (#10206) * Add milc as a dependency and remove the installed milc (#10563) * ChibiOS upgrade: early init conversions (#10214) * ChibiOS upgrade: configuration file migrator (#9952) * Haptic and solenoid cleanup (#9700) * XD75 cleanup (#10524) * OLED display update interval support (#10388) * Add definition based on currently-selected serial driver. (#10716) * New feature: Retro Tapping per key (#10622) * Allow for modification of output RGB values when using rgblight/rgb_matrix. (#10638) * Add housekeeping task callbacks so that keyboards/keymaps are capable of executing code for each main loop iteration. (#10530) * Rescale both ChibiOS and AVR backlighting. * Reduce Helix keyboard build variation (#8669) * Minor change to behavior allowing display updates to continue between task ticks (#10750) * Some GPIO manipulations in matrix.c change to atomic. (#10491) * qmk cformat (#10767) * [Keyboard] Update the Speedo firmware for v3.0 (#10657) * Maartenwut/Maarten namechange to evyd13/Evy (#10274) * [quantum] combine repeated lines of code (#10837) * Add step sequencer feature (#9703) * aeboards/ext65 refactor (#10820) * Refactor xelus/dawn60 for Rev2 later (#10584) * add DEBUG_MATRIX_SCAN_RATE_ENABLE to common_features.mk (#10824) * [Core] Added `add_oneshot_mods` & `del_oneshot_mods` (#10549) * update chibios os usb for the otg driver (#8893) * Remove HD44780 References, Part 4 (#10735) * [Keyboard] Add Valor FRL TKL (+refactor) (#10512) * Fix cursor position bug in oled_write_raw functions (#10800) * Fixup version.h writing when using SKIP_VERSION=yes (#10972) * Allow for certain code in the codebase assuming length of string. (#10974) * Add AT90USB support for serial.c (#10706) * Auto shift: support repeats and early registration (#9826) * Rename ledmatrix.h to match .c file (#7949) * Split RGB_MATRIX_ENABLE into _ENABLE and _DRIVER (#10231) * Split LED_MATRIX_ENABLE into _ENABLE and _DRIVER (#10840) * Merge point for 2020 Nov 28 Breaking Change
Diffstat (limited to 'keyboards/evyd13/quackfire')
-rw-r--r--keyboards/evyd13/quackfire/config.h147
-rw-r--r--keyboards/evyd13/quackfire/info.json212
-rw-r--r--keyboards/evyd13/quackfire/keymaps/default/keymap.c53
-rw-r--r--keyboards/evyd13/quackfire/keymaps/via/keymap.c46
-rw-r--r--keyboards/evyd13/quackfire/keymaps/via/rules.mk2
-rw-r--r--keyboards/evyd13/quackfire/quackfire.c44
-rw-r--r--keyboards/evyd13/quackfire/quackfire.h69
-rw-r--r--keyboards/evyd13/quackfire/readme.md19
-rw-r--r--keyboards/evyd13/quackfire/rules.mk24
9 files changed, 616 insertions, 0 deletions
diff --git a/keyboards/evyd13/quackfire/config.h b/keyboards/evyd13/quackfire/config.h
new file mode 100644
index 000000000..22083e811
--- /dev/null
+++ b/keyboards/evyd13/quackfire/config.h
@@ -0,0 +1,147 @@
1/*
2Copyright 2020 Evy Dekkers
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along 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 0x4705
24#define PRODUCT_ID 0x87C9
25#define DEVICE_VER 0x0001
26#define MANUFACTURER Evyd13
27#define PRODUCT Quackfire
28
29/* key matrix size */
30#define MATRIX_ROWS 8
31#define MATRIX_COLS 15
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#define MATRIX_ROW_PINS {D3,F5,F4,F0,B7,B2,E6,B0}
44#define MATRIX_COL_PINS {B3,F1,B1,D5,D2,D1,D0,D4,D6,D7,B4,B5,B6,C6,C7}
45#define UNUSED_PINS
46
47/* COL2ROW, ROW2COL*/
48#define DIODE_DIRECTION ROW2COL
49
50/*
51 * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
52 */
53//#define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6
54
55// #define BACKLIGHT_PIN B7
56// #define BACKLIGHT_BREATHING
57// #define BACKLIGHT_LEVELS 5
58
59// #define RGB_DI_PIN E2
60// #ifdef RGB_DI_PIN
61// #define RGBLED_NUM 16
62// #define RGBLIGHT_HUE_STEP 8
63// #define RGBLIGHT_SAT_STEP 8
64// #define RGBLIGHT_VAL_STEP 8
65// #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
66// #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
67// /*== all animations enable ==*/
68// #define RGBLIGHT_ANIMATIONS
69// /*== or choose animations ==*/
70// #define RGBLIGHT_EFFECT_BREATHING
71// #define RGBLIGHT_EFFECT_RAINBOW_MOOD
72// #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
73// #define RGBLIGHT_EFFECT_SNAKE
74// #define RGBLIGHT_EFFECT_KNIGHT
75// #define RGBLIGHT_EFFECT_CHRISTMAS
76// #define RGBLIGHT_EFFECT_STATIC_GRADIENT
77// #define RGBLIGHT_EFFECT_RGB_TEST
78// #define RGBLIGHT_EFFECT_ALTERNATING
79// /*== customize breathing effect ==*/
80// /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
81// #define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64
82// /*==== use exp() and sin() ====*/
83// #define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7
84// #define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255
85// #endif
86
87/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
88#define DEBOUNCE 5
89
90/* define if matrix has ghost (lacks anti-ghosting diodes) */
91//#define MATRIX_HAS_GHOST
92
93/* number of backlight levels */
94
95/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
96#define LOCKING_SUPPORT_ENABLE
97/* Locking resynchronize hack */
98#define LOCKING_RESYNC_ENABLE
99
100/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
101 * This is userful for the Windows task manager shortcut (ctrl+shift+esc).
102 */
103// #define GRAVE_ESC_CTRL_OVERRIDE
104
105/*
106 * Force NKRO
107 *
108 * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
109 * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
110 * makefile for this to work.)
111 *
112 * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
113 * until the next keyboard reset.
114 *
115 * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
116 * fully operational during normal computer usage.
117 *
118 * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
119 * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
120 * bootmagic, NKRO mode will always be enabled until it is toggled again during a
121 * power-up.
122 *
123 */
124//#define FORCE_NKRO
125/*
126 * Feature disable options
127 * These options are also useful to firmware size reduction.
128 */
129
130/* disable debug print */
131//#define NO_DEBUG
132
133/* disable print */
134//#define NO_PRINT
135
136/* disable action features */
137//#define NO_ACTION_LAYER
138//#define NO_ACTION_TAPPING
139//#define NO_ACTION_ONESHOT
140//#define NO_ACTION_MACRO
141//#define NO_ACTION_FUNCTION
142
143/* Bootmagic Lite key configuration */
144#define BOOTMAGIC_LITE_ROW 6
145#define BOOTMAGIC_LITE_COLUMN 5
146
147#define DYNAMIC_KEYMAP_LAYER_COUNT 3
diff --git a/keyboards/evyd13/quackfire/info.json b/keyboards/evyd13/quackfire/info.json
new file mode 100644
index 000000000..de7c9384c
--- /dev/null
+++ b/keyboards/evyd13/quackfire/info.json
@@ -0,0 +1,212 @@
1{
2 "keyboard_name": "Quackfire",
3 "url": "https://github.com/evyd13/quackfire-controller",
4 "maintainer": "evyd13",
5 "width": 18.5,
6 "height": 6.5,
7 "layouts": {
8 "LAYOUT_tkl_ansi": {
9 "layout": [
10 {"label":"Esc", "x":0, "y":0},
11 {"label":"F1", "x":2, "y":0},
12 {"label":"F2", "x":3, "y":0},
13 {"label":"F3", "x":4, "y":0},
14 {"label":"F4", "x":5, "y":0},
15 {"label":"F5", "x":6.5, "y":0},
16 {"label":"F6", "x":7.5, "y":0},
17 {"label":"F7", "x":8.5, "y":0},
18 {"label":"F8", "x":9.5, "y":0},
19 {"label":"F9", "x":11, "y":0},
20 {"label":"F10", "x":12, "y":0},
21 {"label":"F11", "x":13, "y":0},
22 {"label":"F12", "x":14, "y":0},
23
24 {"label":"PrtSc", "x":15.25, "y":0},
25 {"label":"Scroll Lock", "x":16.25, "y":0},
26 {"label":"Pause", "x":17.25, "y":0},
27
28 {"label":"~", "x":0, "y":1.5},
29 {"label":"1", "x":1, "y":1.5},
30 {"label":"2", "x":2, "y":1.5},
31 {"label":"3", "x":3, "y":1.5},
32 {"label":"4", "x":4, "y":1.5},
33 {"label":"5", "x":5, "y":1.5},
34 {"label":"6", "x":6, "y":1.5},
35 {"label":"7", "x":7, "y":1.5},
36 {"label":"8", "x":8, "y":1.5},
37 {"label":"9", "x":9, "y":1.5},
38 {"label":"0", "x":10, "y":1.5},
39 {"label":"_", "x":11, "y":1.5},
40 {"label":"+", "x":12, "y":1.5},
41 {"label":"Backspace", "x":13, "y":1.5, "w":2},
42
43 {"label":"Insert", "x":15.25, "y":1.5},
44 {"label":"Home", "x":16.25, "y":1.5},
45 {"label":"Page Up", "x":17.25, "y":1.5},
46
47 {"label":"Tab", "x":0, "y":2.5, "w":1.5},
48 {"label":"Q", "x":1.5, "y":2.5},
49 {"label":"W", "x":2.5, "y":2.5},
50 {"label":"E", "x":3.5, "y":2.5},
51 {"label":"R", "x":4.5, "y":2.5},
52 {"label":"T", "x":5.5, "y":2.5},
53 {"label":"Y", "x":6.5, "y":2.5},
54 {"label":"U", "x":7.5, "y":2.5},
55 {"label":"I", "x":8.5, "y":2.5},
56 {"label":"O", "x":9.5, "y":2.5},
57 {"label":"P", "x":10.5, "y":2.5},
58 {"label":"{", "x":11.5, "y":2.5},
59 {"label":"}", "x":12.5, "y":2.5},
60 {"label":"|", "x":13.5, "y":2.5, "w":1.5},
61
62 {"label":"Delete", "x":15.25, "y":2.5},
63 {"label":"End", "x":16.25, "y":2.5},
64 {"label":"PgDn", "x":17.25, "y":2.5},
65
66 {"label":"Caps Lock", "x":0, "y":3.5, "w":1.75},
67 {"label":"A", "x":1.75, "y":3.5},
68 {"label":"S", "x":2.75, "y":3.5},
69 {"label":"D", "x":3.75, "y":3.5},
70 {"label":"F", "x":4.75, "y":3.5},
71 {"label":"G", "x":5.75, "y":3.5},
72 {"label":"H", "x":6.75, "y":3.5},
73 {"label":"J", "x":7.75, "y":3.5},
74 {"label":"K", "x":8.75, "y":3.5},
75 {"label":"L", "x":9.75, "y":3.5},
76 {"label":":", "x":10.75, "y":3.5},
77 {"label":"\"", "x":11.75, "y":3.5},
78 {"label":"Enter", "x":12.75, "y":3.5, "w":2.25},
79
80 {"label":"Shift", "x":0, "y":4.5, "w":2.25},
81 {"label":"Z", "x":2.25, "y":4.5},
82 {"label":"X", "x":3.25, "y":4.5},
83 {"label":"C", "x":4.25, "y":4.5},
84 {"label":"V", "x":5.25, "y":4.5},
85 {"label":"B", "x":6.25, "y":4.5},
86 {"label":"N", "x":7.25, "y":4.5},
87 {"label":"M", "x":8.25, "y":4.5},
88 {"label":"<", "x":9.25, "y":4.5},
89 {"label":">", "x":10.25, "y":4.5},
90 {"label":"?", "x":11.25, "y":4.5},
91 {"label":"Shift", "x":12.25, "y":4.5, "w":2.75},
92
93 {"label":"\u2191", "x":16.25, "y":4.5},
94
95 {"label":"Ctrl", "x":0, "y":5.5, "w":1.25},
96 {"label":"Win", "x":1.25, "y":5.5, "w":1.25},
97 {"label":"Alt", "x":2.5, "y":5.5, "w":1.25},
98 {"x":3.75, "y":5.5, "w":6.25},
99 {"label":"Alt", "x":10, "y":5.5, "w":1.25},
100 {"label":"Win", "x":11.25, "y":5.5, "w":1.25},
101 {"label":"Menu", "x":12.5, "y":5.5, "w":1.25},
102 {"label":"Ctrl", "x":13.75, "y":5.5, "w":1.25},
103
104 {"label":"\u2190", "x":15.25, "y":5.5},
105 {"label":"\u2193", "x":16.25, "y":5.5},
106 {"label":"\u2192", "x":17.25, "y":5.5}
107 ]
108 },
109 "LAYOUT_tkl_iso": {
110 "layout": [
111 {"label":"Esc", "x":0, "y":0},
112 {"label":"F1", "x":2, "y":0},
113 {"label":"F2", "x":3, "y":0},
114 {"label":"F3", "x":4, "y":0},
115 {"label":"F4", "x":5, "y":0},
116 {"label":"F5", "x":6.5, "y":0},
117 {"label":"F6", "x":7.5, "y":0},
118 {"label":"F7", "x":8.5, "y":0},
119 {"label":"F8", "x":9.5, "y":0},
120 {"label":"F9", "x":11, "y":0},
121 {"label":"F10", "x":12, "y":0},
122 {"label":"F11", "x":13, "y":0},
123 {"label":"F12", "x":14, "y":0},
124
125 {"label":"PrtSc", "x":15.25, "y":0},
126 {"label":"Scroll Lock", "x":16.25, "y":0},
127 {"label":"Pause", "x":17.25, "y":0},
128
129 {"label":"\u00ac", "x":0, "y":1.5},
130 {"label":"!", "x":1, "y":1.5},
131 {"label":"\"", "x":2, "y":1.5},
132 {"label":"\u00a3", "x":3, "y":1.5},
133 {"label":"$", "x":4, "y":1.5},
134 {"label":"%", "x":5, "y":1.5},
135 {"label":"^", "x":6, "y":1.5},
136 {"label":"&", "x":7, "y":1.5},
137 {"label":"*", "x":8, "y":1.5},
138 {"label":"(", "x":9, "y":1.5},
139 {"label":")", "x":10, "y":1.5},
140 {"label":"_", "x":11, "y":1.5},
141 {"label":"+", "x":12, "y":1.5},
142 {"label":"Backspace", "x":13, "y":1.5, "w":2},
143
144 {"label":"Insert", "x":15.25, "y":1.5},
145 {"label":"Home", "x":16.25, "y":1.5},
146 {"label":"PgUp", "x":17.25, "y":1.5},
147
148 {"label":"Tab", "x":0, "y":2.5, "w":1.5},
149 {"label":"Q", "x":1.5, "y":2.5},
150 {"label":"W", "x":2.5, "y":2.5},
151 {"label":"E", "x":3.5, "y":2.5},
152 {"label":"R", "x":4.5, "y":2.5},
153 {"label":"T", "x":5.5, "y":2.5},
154 {"label":"Y", "x":6.5, "y":2.5},
155 {"label":"U", "x":7.5, "y":2.5},
156 {"label":"I", "x":8.5, "y":2.5},
157 {"label":"O", "x":9.5, "y":2.5},
158 {"label":"P", "x":10.5, "y":2.5},
159 {"label":"{", "x":11.5, "y":2.5},
160 {"label":"}", "x":12.5, "y":2.5},
161
162 {"label":"Delete", "x":15.25, "y":2.5},
163 {"label":"End", "x":16.25, "y":2.5},
164 {"label":"PgDn", "x":17.25, "y":2.5},
165
166 {"label":"Caps Lock", "x":0, "y":3.5, "w":1.75},
167 {"label":"A", "x":1.75, "y":3.5},
168 {"label":"S", "x":2.75, "y":3.5},
169 {"label":"D", "x":3.75, "y":3.5},
170 {"label":"F", "x":4.75, "y":3.5},
171 {"label":"G", "x":5.75, "y":3.5},
172 {"label":"H", "x":6.75, "y":3.5},
173 {"label":"J", "x":7.75, "y":3.5},
174 {"label":"K", "x":8.75, "y":3.5},
175 {"label":"L", "x":9.75, "y":3.5},
176 {"label":":", "x":10.75, "y":3.5},
177 {"label":"@", "x":11.75, "y":3.5},
178 {"label":"~", "x":12.75, "y":3.5},
179 {"label":"Enter", "x":13.75, "y":2.5, "w":1.25, "h":2},
180
181 {"label":"Shift", "x":0, "y":4.5, "w":1.25},
182 {"label":"|", "x":1.25, "y":4.5},
183 {"label":"Z", "x":2.25, "y":4.5},
184 {"label":"X", "x":3.25, "y":4.5},
185 {"label":"C", "x":4.25, "y":4.5},
186 {"label":"V", "x":5.25, "y":4.5},
187 {"label":"B", "x":6.25, "y":4.5},
188 {"label":"N", "x":7.25, "y":4.5},
189 {"label":"M", "x":8.25, "y":4.5},
190 {"label":"<", "x":9.25, "y":4.5},
191 {"label":">", "x":10.25, "y":4.5},
192 {"label":"?", "x":11.25, "y":4.5},
193 {"label":"Shift", "x":12.25, "y":4.5, "w":2.75},
194
195 {"label":"\u2191", "x":16.25, "y":4.5},
196
197 {"label":"Ctrl", "x":0, "y":5.5, "w":1.25},
198 {"label":"Win", "x":1.25, "y":5.5, "w":1.25},
199 {"label":"Alt", "x":2.5, "y":5.5, "w":1.25},
200 {"x":3.75, "y":5.5, "w":6.25},
201 {"label":"AltGr", "x":10, "y":5.5, "w":1.25},
202 {"label":"Win", "x":11.25, "y":5.5, "w":1.25},
203 {"label":"Menu", "x":12.5, "y":5.5, "w":1.25},
204 {"label":"Ctrl", "x":13.75, "y":5.5, "w":1.25},
205
206 {"label":"\u2190", "x":15.25, "y":5.5},
207 {"label":"\u2193", "x":16.25, "y":5.5},
208 {"label":"\u2192", "x":17.25, "y":5.5}
209 ]
210 }
211 }
212}
diff --git a/keyboards/evyd13/quackfire/keymaps/default/keymap.c b/keyboards/evyd13/quackfire/keymaps/default/keymap.c
new file mode 100644
index 000000000..79b0a7ebd
--- /dev/null
+++ b/keyboards/evyd13/quackfire/keymaps/default/keymap.c
@@ -0,0 +1,53 @@
1/* Copyright 2019 Evy Dekkers
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#include QMK_KEYBOARD_H
17
18const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
19 /*
20 * ┌───┐   ┌───┬───┬───┬───┐ ┌───┬───┬───┬───┐ ┌───┬───┬───┬───┐ ┌───┬───┬───┐
21 * │Esc│   │F1 │F2 │F3 │F4 │ │F5 │F6 │F7 │F8 │ │F9 │F10│F11│F12│ │PSc│Slk│Pse│
22 * └───┘   └───┴───┴───┴───┘ └───┴───┴───┴───┘ └───┴───┴───┴───┘ └───┴───┴───┘
23 * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐ ┌───┬───┬───┐
24 * │ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │ Backsp│ │Ins│Hom│PgU│
25 * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤ ├───┼───┼───┤
26 * │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │  \  │ │Del│End│PgD│
27 * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ └───┴───┴───┘
28 * │ Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │  Enter │
29 * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────────┤     ┌───┐
30 * │ Shift  │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │    Shift │     │ ↑ │
31 * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤ ┌───┼───┼───┐
32 * │Ctrl│GUI │Alt │                        │ Alt│ GUI│Menu│Ctrl│ │ ← │ ↓ │ → │
33 * └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘ └───┴───┴───┘
34 */
35 LAYOUT_tkl_ansi(
36 KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SLCK, KC_PAUS,
37
38 KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_INS, KC_HOME, KC_PGUP,
39 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_END, KC_PGDN,
40 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,
41 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,
42 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
43 ),
44 LAYOUT_tkl_ansi(
45 RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, BL_STEP, BL_TOGG, _______, _______, KC_MUTE,
46
47 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPLY, KC_MSTP, KC_VOLU,
48 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPRV, KC_MNXT, KC_VOLD,
49 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
50 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
51 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
52 )
53};
diff --git a/keyboards/evyd13/quackfire/keymaps/via/keymap.c b/keyboards/evyd13/quackfire/keymaps/via/keymap.c
new file mode 100644
index 000000000..623e8fdc2
--- /dev/null
+++ b/keyboards/evyd13/quackfire/keymaps/via/keymap.c
@@ -0,0 +1,46 @@
1/* Copyright 2019 Evy Dekkers
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#include QMK_KEYBOARD_H
17
18const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
19 [0] = LAYOUT_all(
20 KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SLCK, KC_PAUS,
21
22 KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_INS, KC_HOME, KC_PGUP,
23 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_DEL, KC_END, KC_PGDN,
24 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_BSLS, KC_ENT,
25 KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP,
26 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
27 ),
28 [1] = LAYOUT_all(
29 RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, BL_STEP, BL_TOGG, _______, _______, KC_MUTE,
30
31 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPLY, KC_MSTP, KC_VOLU,
32 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPRV, KC_MNXT, KC_VOLD,
33 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
34 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
35 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
36 ),
37 [2] = LAYOUT_all(
38 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
39
40 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
41 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
42 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
43 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
44 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
45 )
46};
diff --git a/keyboards/evyd13/quackfire/keymaps/via/rules.mk b/keyboards/evyd13/quackfire/keymaps/via/rules.mk
new file mode 100644
index 000000000..36b7ba9cb
--- /dev/null
+++ b/keyboards/evyd13/quackfire/keymaps/via/rules.mk
@@ -0,0 +1,2 @@
1VIA_ENABLE = yes
2LTO_ENABLE = yes
diff --git a/keyboards/evyd13/quackfire/quackfire.c b/keyboards/evyd13/quackfire/quackfire.c
new file mode 100644
index 000000000..ab233bd6d
--- /dev/null
+++ b/keyboards/evyd13/quackfire/quackfire.c
@@ -0,0 +1,44 @@
1/* Copyright 2020 Evy Dekkers
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#include "quackfire.h"
17
18// Optional override functions below.
19// You can leave any or all of these undefined.
20// These are only required if you want to perform custom actions.
21
22void matrix_init_kb(void) {
23 // put your keyboard start-up code here
24 // runs once when the firmware starts up
25
26 matrix_init_user();
27 led_init_ports();
28}
29
30void led_init_ports(void) {
31 setPinOutput(F6);
32 setPinOutput(F7);
33 writePinHigh(F6);
34 writePinHigh(F7);
35}
36
37bool led_update_kb(led_t led_state) {
38 if(led_update_user(led_state)) {
39 writePin(F7, !led_state.caps_lock);
40 writePin(F6, !led_state.scroll_lock);
41 }
42
43 return true;
44}
diff --git a/keyboards/evyd13/quackfire/quackfire.h b/keyboards/evyd13/quackfire/quackfire.h
new file mode 100644
index 000000000..8746f356f
--- /dev/null
+++ b/keyboards/evyd13/quackfire/quackfire.h
@@ -0,0 +1,69 @@
1/* Copyright 2020 Evy Dekkers
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#pragma once
17
18#include "quantum.h"
19
20#define XXX KC_NO
21
22/* This is a shortcut to help you visually see your layout.
23 *
24 * The first section contains all of the arguments representing the physical
25 * layout of the board and position of the keys.
26 *
27 * The second converts the arguments into a two-dimensional array which
28 * represents the switch matrix.
29 */
30
31#define LAYOUT_all LAYOUT_tkl_iso
32
33#define LAYOUT_tkl_ansi( \
34 k3e, k0d, k0b, k4b, k3b, k21, k36, k45, k05, k03, k23, k33, k63, k28, k18, k11, \
35 k0e, k2e, k2d, k2b, k29, k09, k07, k27, k26, k25, k24, k04, k06, k43, k02, k0a, k0c, \
36 k4e, k1e, k1d, k1b, k19, k49, k47, k17, k16, k15, k14, k44, k46, k73, k00, k2a, k2c, \
37 k4d, k7e, k7d, k7b, k79, k39, k37, k77, k76, k75, k74, k34, k53, \
38 k4c, k5e, k5d, k5b, k59, k69, k67, k57, k56, k55, k64, k7c, k3a, \
39 k01, k4a, k38, k30, k68, k71, k65, k51, k6a, k60, k62 \
40) \
41{ \
42 { k00, k01, k02, k03, k04, k05, k06, k07, XXX, k09, k0a, k0b, k0c, k0d, k0e }, \
43 { XXX, k11, XXX, XXX, k14, k15, k16, k17, k18, k19, XXX, k1b, XXX, k1d, k1e }, \
44 { XXX, k21, XXX, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e }, \
45 { k30, XXX, XXX, k33, k34, XXX, k36, k37, k38, k39, k3a, k3b, XXX, XXX, k3e }, \
46 { XXX, XXX, XXX, k43, k44, k45, k46, k47, XXX, k49, k4a, k4b, k4c, k4d, k4e }, \
47 { XXX, k51, XXX, k53, XXX, k55, k56, k57, XXX, k59, XXX, k5b, XXX, k5d, k5e }, \
48 { k60, XXX, k62, k63, k64, k65, XXX, k67, k68, k69, k6a, XXX, XXX, XXX, XXX }, \
49 { XXX, k71, XXX, k73, k74, k75, k76, k77, XXX, k79, XXX, k7b, k7c, k7d, k7e } \
50}
51
52#define LAYOUT_tkl_iso( \
53 k3e, k0d, k0b, k4b, k3b, k21, k36, k45, k05, k03, k23, k33, k63, k28, k18, k11, \
54 k0e, k2e, k2d, k2b, k29, k09, k07, k27, k26, k25, k24, k04, k06, k43, k02, k0a, k0c, \
55 k4e, k1e, k1d, k1b, k19, k49, k47, k17, k16, k15, k14, k44, k46, k00, k2a, k2c, \
56 k4d, k7e, k7d, k7b, k79, k39, k37, k77, k76, k75, k74, k34, k73, k53, \
57 k4c, k3d, k5e, k5d, k5b, k59, k69, k67, k57, k56, k55, k64, k7c, k3a, \
58 k01, k4a, k38, k30, k68, k71, k65, k51, k6a, k60, k62 \
59) \
60{ \
61 { k00, k01, k02, k03, k04, k05, k06, k07, XXX, k09, k0a, k0b, k0c, k0d, k0e }, \
62 { XXX, k11, XXX, XXX, k14, k15, k16, k17, k18, k19, XXX, k1b, XXX, k1d, k1e }, \
63 { XXX, k21, XXX, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e }, \
64 { k30, XXX, XXX, k33, k34, XXX, k36, k37, k38, k39, k3a, k3b, XXX, k3d, k3e }, \
65 { XXX, XXX, XXX, k43, k44, k45, k46, k47, XXX, k49, k4a, k4b, k4c, k4d, k4e }, \
66 { XXX, k51, XXX, k53, XXX, k55, k56, k57, XXX, k59, XXX, k5b, XXX, k5d, k5e }, \
67 { k60, XXX, k62, k63, k64, k65, XXX, k67, k68, k69, k6a, XXX, XXX, XXX, XXX }, \
68 { XXX, k71, XXX, k73, k74, k75, k76, k77, XXX, k79, XXX, k7b, k7c, k7d, k7e } \
69}
diff --git a/keyboards/evyd13/quackfire/readme.md b/keyboards/evyd13/quackfire/readme.md
new file mode 100644
index 000000000..384416962
--- /dev/null
+++ b/keyboards/evyd13/quackfire/readme.md
@@ -0,0 +1,19 @@
1# Quackfire
2
3A drop-in replacement controller for the CM Quickfire Rapid. Not for the Quickfire Rapid-I!
4
5* Keyboard Maintainer: [Evyd13](https://github.com/evyd13)
6* Hardware Supported: Quackfire controller
7* Hardware Availability: [Open source on GitHub](https://github.com/evyd13/quackfire-controller)
8
9## Flashing
10
11To get to the bootloader, hold Fn while plugging in the keyboard. You can also press Fn + Esc on the default layout.
12
13---
14
15Make example for this keyboard (after setting up your build environment):
16
17 make evyd13/quackfire:default
18
19See 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/evyd13/quackfire/rules.mk b/keyboards/evyd13/quackfire/rules.mk
new file mode 100644
index 000000000..f29136f74
--- /dev/null
+++ b/keyboards/evyd13/quackfire/rules.mk
@@ -0,0 +1,24 @@
1# MCU name
2MCU = atmega32u4
3
4# Bootloader selection
5BOOTLOADER = qmk-dfu
6
7# Build Options
8# change yes to no to disable
9#
10BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
11MOUSEKEY_ENABLE = no # Mouse keys
12EXTRAKEY_ENABLE = yes # Audio control and System control
13CONSOLE_ENABLE = no # Console for debug
14COMMAND_ENABLE = no # Commands for debug and configuration
15# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
16SLEEP_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
18NKRO_ENABLE = yes # USB Nkey Rollover
19BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
20RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
21BLUETOOTH_ENABLE = no # Enable Bluetooth
22AUDIO_ENABLE = no # Audio output
23
24LAYOUTS = tkl_ansi tkl_iso