aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax <17062872+westfoxtrot@users.noreply.github.com>2019-01-30 19:51:32 +0100
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-01-30 10:51:32 -0800
commit71164eee6abe3c998227670aebe5020973a577ad (patch)
tree7c8347ab401fecb9022c9b8e2542eb0d9725c886
parentd7ebdfb490f6872589aa02a3d6fe601fcdac5ca4 (diff)
downloadqmk_firmware-71164eee6abe3c998227670aebe5020973a577ad.tar.gz
qmk_firmware-71164eee6abe3c998227670aebe5020973a577ad.zip
added aanzee pcb support (#4962)
* added aanzee pcb support * Update keyboards/westfoxtrot/aanzee/config.h Co-Authored-By: westfoxtrot <17062872+westfoxtrot@users.noreply.github.com> * Update keyboards/westfoxtrot/aanzee/config.h Co-Authored-By: westfoxtrot <17062872+westfoxtrot@users.noreply.github.com> * Update keyboards/westfoxtrot/aanzee/config.h Co-Authored-By: westfoxtrot <17062872+westfoxtrot@users.noreply.github.com> * Update keyboards/westfoxtrot/aanzee/config.h Co-Authored-By: westfoxtrot <17062872+westfoxtrot@users.noreply.github.com> * Update keyboards/westfoxtrot/aanzee/aanzee.c Co-Authored-By: westfoxtrot <17062872+westfoxtrot@users.noreply.github.com> * Update keyboards/westfoxtrot/aanzee/aanzee.c Co-Authored-By: westfoxtrot <17062872+westfoxtrot@users.noreply.github.com> * Update keyboards/westfoxtrot/aanzee/aanzee.h Co-Authored-By: westfoxtrot <17062872+westfoxtrot@users.noreply.github.com> * Update keyboards/westfoxtrot/aanzee/keymaps/iso-default/keymap.c Co-Authored-By: westfoxtrot <17062872+westfoxtrot@users.noreply.github.com> * Update keyboards/westfoxtrot/aanzee/aanzee.c Co-Authored-By: westfoxtrot <17062872+westfoxtrot@users.noreply.github.com> * Update keyboards/westfoxtrot/aanzee/keymaps/iso-default/config.h Co-Authored-By: westfoxtrot <17062872+westfoxtrot@users.noreply.github.com> * Update keyboards/westfoxtrot/aanzee/aanzee.h Co-Authored-By: westfoxtrot <17062872+westfoxtrot@users.noreply.github.com> * Update keyboards/westfoxtrot/aanzee/config.h Co-Authored-By: westfoxtrot <17062872+westfoxtrot@users.noreply.github.com> * Update keyboards/westfoxtrot/aanzee/keymaps/default/keymap.c Co-Authored-By: westfoxtrot <17062872+westfoxtrot@users.noreply.github.com> * Update keyboards/westfoxtrot/aanzee/keymaps/iso-default/keymap.c Co-Authored-By: westfoxtrot <17062872+westfoxtrot@users.noreply.github.com> * Update keyboards/westfoxtrot/aanzee/aanzee.h Co-Authored-By: westfoxtrot <17062872+westfoxtrot@users.noreply.github.com> * Update keyboards/westfoxtrot/aanzee/keymaps/default/keymap.c Co-Authored-By: westfoxtrot <17062872+westfoxtrot@users.noreply.github.com> * Update keyboards/westfoxtrot/aanzee/keymaps/default/keymap.c Co-Authored-By: westfoxtrot <17062872+westfoxtrot@users.noreply.github.com> * Update keyboards/westfoxtrot/aanzee/keymaps/iso-default/keymap.c Co-Authored-By: westfoxtrot <17062872+westfoxtrot@users.noreply.github.com> * refactored keymaps * fixed typo
-rw-r--r--keyboards/westfoxtrot/aanzee/aanzee.c52
-rw-r--r--keyboards/westfoxtrot/aanzee/aanzee.h65
-rw-r--r--keyboards/westfoxtrot/aanzee/config.h142
-rw-r--r--keyboards/westfoxtrot/aanzee/info.json18
-rw-r--r--keyboards/westfoxtrot/aanzee/keymaps/default/config.h19
-rw-r--r--keyboards/westfoxtrot/aanzee/keymaps/default/keymap.c48
-rw-r--r--keyboards/westfoxtrot/aanzee/keymaps/default/readme.md1
-rw-r--r--keyboards/westfoxtrot/aanzee/keymaps/iso-default/config.h19
-rw-r--r--keyboards/westfoxtrot/aanzee/keymaps/iso-default/keymap.c48
-rw-r--r--keyboards/westfoxtrot/aanzee/keymaps/iso-default/readme.md1
-rw-r--r--keyboards/westfoxtrot/aanzee/keymaps/via/config.h19
-rw-r--r--keyboards/westfoxtrot/aanzee/keymaps/via/keymap.c48
-rw-r--r--keyboards/westfoxtrot/aanzee/keymaps/via/readme.md1
-rw-r--r--keyboards/westfoxtrot/aanzee/keymaps/via/rules.mk70
-rw-r--r--keyboards/westfoxtrot/aanzee/readme.md15
-rw-r--r--keyboards/westfoxtrot/aanzee/rules.mk65
16 files changed, 631 insertions, 0 deletions
diff --git a/keyboards/westfoxtrot/aanzee/aanzee.c b/keyboards/westfoxtrot/aanzee/aanzee.c
new file mode 100644
index 000000000..0dc1199be
--- /dev/null
+++ b/keyboards/westfoxtrot/aanzee/aanzee.c
@@ -0,0 +1,52 @@
1/* Copyright 2019 westfoxtrot
2
3*
4
5* This program is free software: you can redistribute it and/or modify
6
7* it under the terms of the GNU General Public License as published by
8
9* the Free Software Foundation, either version 2 of the License, or
10
11* (at your option) any later version.
12
13*
14
15* This program is distributed in the hope that it will be useful,
16
17* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
19* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
21* GNU General Public License for more details.
22
23*
24
25* You should have received a copy of the GNU General Public License
26
27* along with this program. If not, see <http://www.gnu.org/licenses/>.
28
29*/
30
31#include "aanzee.h"
32
33
34void led_set_kb(uint8_t usb_led) {
35
36if (usb_led & (1<<USB_LED_CAPS_LOCK)) {
37
38// Turn capslock on
39
40 writePinLow(B2);
41
42} else {
43
44// Turn capslock off
45
46 writePinHigh(B2);
47
48}
49
50led_set_user(usb_led);
51
52}
diff --git a/keyboards/westfoxtrot/aanzee/aanzee.h b/keyboards/westfoxtrot/aanzee/aanzee.h
new file mode 100644
index 000000000..b2a04a9d2
--- /dev/null
+++ b/keyboards/westfoxtrot/aanzee/aanzee.h
@@ -0,0 +1,65 @@
1/* Copyright 2019 westfoxtrot
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#ifndef AANZEE_H
17#define AANZEE_H
18
19#define ___ KC_NO
20
21#include "quantum.h"
22
23/* This a shortcut to help you visually see your layout.
24*
25* The first section contains all of the arguments representing the physical
26* layout of the board and position of the keys.
27*
28* The second converts the arguments into a two-dimensional array which
29* represents the switch matrix.
30*/
31// readability
32
33#define LAYOUT_ansi( \
34 K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0F, K0D, K0E, \
35 K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, \
36 K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2C, K2D, K2E, \
37 K30, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E, \
38 K40, K41, K42, K46, K49, K4A, K4B, K4C, K4D, K4E \
39) \
40{ \
41 {K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F}, \
42 {K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, ___}, \
43 {K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, ___, K2C, K2D, K2E, ___}, \
44 {K30, ___, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E, ___}, \
45 {K40, K41, K42, ___, ___, ___, K46, ___, ___, K49, K4A, K4B, K4C, K4D, K4E, ___} \
46}
47#define LAYOUT_iso( \
48 K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, \
49 K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1D, K1E, \
50 K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, \
51 K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E, \
52 K40, K41, K42, K46, K49, K4A, K4B, K4C, K4D, K4E \
53) \
54{ \
55 {K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, ___}, \
56 {K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, ___, K1D, K1E, ___}, \
57 {K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, ___}, \
58 {K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E, ___}, \
59 {K40, K41, K42, ___, ___, ___, K46, ___, ___, K49, K4A, K4B, K4C, K4D, K4E, ___} \
60}
61
62void matrix_init_user(void);
63void matrix_scan_user(void);
64
65#endif
diff --git a/keyboards/westfoxtrot/aanzee/config.h b/keyboards/westfoxtrot/aanzee/config.h
new file mode 100644
index 000000000..3959066b2
--- /dev/null
+++ b/keyboards/westfoxtrot/aanzee/config.h
@@ -0,0 +1,142 @@
1/*
2Copyright 2019 westfoxtrot
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 0x21FF
24#define PRODUCT_ID 0xAA01
25#define DEVICE_VER 0x0001
26#define MANUFACTURER westfoxtrot
27#define PRODUCT aanzee
28#define DESCRIPTION QMK Firmware for the Aanzee PCB
29
30/* key matrix size */
31#define MATRIX_ROWS 5
32#define MATRIX_COLS 16
33
34// ROWS: Top to bottom, COLS: Left to right
35
36#define MATRIX_ROW_PINS {B4,D7,D6,D4,B3}
37#define MATRIX_COL_PINS {D2,D1,D0,D3,D5,C7,C6,B6,B5,F0,F1,F4,F5,F6,F7,B0}
38#define UNUSED_PINS
39
40/* COL2ROW or ROW2COL */
41#define DIODE_DIRECTION COL2ROW
42
43#define BACKLIGHT_PIN B7
44#define BACKLIGHT_BREATHING
45#define BACKLIGHT_LEVELS 5
46
47#define RGB_DI_PIN E6
48#ifdef RGB_DI_PIN
49 #define RGBLED_NUM 9
50 #define RGBLIGHT_HUE_STEP 12
51 #define RGBLIGHT_SAT_STEP 25
52 #define RGBLIGHT_VAL_STEP 12
53 #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
54 #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
55/*== all animations enable ==*/
56 #define RGBLIGHT_ANIMATIONS
57/*== or choose animations ==*/
58// #define RGBLIGHT_EFFECT_BREATHING
59// #define RGBLIGHT_EFFECT_RAINBOW_MOOD
60// #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
61// #define RGBLIGHT_EFFECT_SNAKE
62// #define RGBLIGHT_EFFECT_KNIGHT
63// #define RGBLIGHT_EFFECT_CHRISTMAS
64// #define RGBLIGHT_EFFECT_STATIC_GRADIENT
65// #define RGBLIGHT_EFFECT_RGB_TEST
66// #define RGBLIGHT_EFFECT_ALTERNATING
67#endif
68#define RGBW
69
70/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
71#define DEBOUNCING_DELAY 5
72
73/* define if matrix has ghost (lacks anti-ghosting diodes) */
74//#define MATRIX_HAS_GHOST
75
76/* number of backlight levels */
77
78/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
79#define LOCKING_SUPPORT_ENABLE
80/* Locking resynchronize hack */
81#define LOCKING_RESYNC_ENABLE
82
83/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
84 * This is userful for the Windows task manager shortcut (ctrl+shift+esc).
85 */
86#define GRAVE_ESC_CTRL_OVERRIDE
87
88/*
89 * Force NKRO
90 *
91 * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
92 * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
93 * makefile for this to work.)
94 *
95 * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
96 * until the next keyboard reset.
97 *
98 * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
99 * fully operational during normal computer usage.
100 *
101 * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
102 * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
103 * bootmagic, NKRO mode will always be enabled until it is toggled again during a
104 * power-up.
105 *
106 */
107//#define FORCE_NKRO
108
109/*
110 * Magic Key Options
111 *
112 * Magic keys are hotkey commands that allow control over firmware functions of
113 * the keyboard. They are best used in combination with the HID Listen program,
114 * found here: https://www.pjrc.com/teensy/hid_listen.html
115 *
116 * The options below allow the magic key functionality to be changed. This is
117 * useful if your keyboard/keypad is missing keys and you want magic key support.
118 *
119 */
120
121
122//dynamic keymap and via support
123
124#define DYNAMIC_KEYMAP_LAYER_COUNT 4
125
126// EEPROM usage
127
128// TODO: refactor with new user EEPROM code (coming soon)
129#define EEPROM_MAGIC 0x451F
130#define EEPROM_MAGIC_ADDR 32
131// Bump this every time we change what we store
132// This will automatically reset the EEPROM with defaults
133// and avoid loading invalid data from the EEPROM
134#define EEPROM_VERSION 0x08
135#define EEPROM_VERSION_ADDR 34
136
137// Dynamic keymap starts after EEPROM version
138#define DYNAMIC_KEYMAP_EEPROM_ADDR 35
139// Dynamic macro starts after dynamic keymaps (35+(4*10*6*2)) = (35+480)
140#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 675 // **** CHANGE THIS BASED ON MATRIX_ROWS & MATRIX_COLS ****
141#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 349 // **** CHANGE THIS BASED ON 1024-DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR ****
142#define DYNAMIC_KEYMAP_MACRO_COUNT 16
diff --git a/keyboards/westfoxtrot/aanzee/info.json b/keyboards/westfoxtrot/aanzee/info.json
new file mode 100644
index 000000000..d6734d620
--- /dev/null
+++ b/keyboards/westfoxtrot/aanzee/info.json
@@ -0,0 +1,18 @@
1{
2 "keyboard_name": "aanzee",
3 "url": "",
4 "maintainer": "qmk",
5 "width": 16,
6 "height": 5,
7 "layouts": {
8 "LAYOUT_ansi": {
9 "key_count": 68,
10 "layout": [{"label":"Esc", "x":0, "y":0}, {"label":"!", "x":1, "y":0}, {"label":"@", "x":2, "y":0}, {"label":"#", "x":3, "y":0}, {"label":"$", "x":4, "y":0}, {"label":"%", "x":5, "y":0}, {"label":"^", "x":6, "y":0}, {"label":"&", "x":7, "y":0}, {"label":"*", "x":8, "y":0}, {"label":"(", "x":9, "y":0}, {"label":")", "x":10, "y":0}, {"label":"_", "x":11, "y":0}, {"label":"+", "x":12, "y":0}, {"x":13, "y":0}, {"x":14, "y":0}, {"label":"Home", "x":15, "y":0}, {"label":"Tab", "x":0, "y":1, "w":1.5}, {"label":"Q", "x":1.5, "y":1}, {"label":"W", "x":2.5, "y":1}, {"label":"E", "x":3.5, "y":1}, {"label":"R", "x":4.5, "y":1}, {"label":"T", "x":5.5, "y":1}, {"label":"Y", "x":6.5, "y":1}, {"label":"U", "x":7.5, "y":1}, {"label":"I", "x":8.5, "y":1}, {"label":"O", "x":9.5, "y":1}, {"label":"P", "x":10.5, "y":1}, {"label":"{", "x":11.5, "y":1}, {"label":"}", "x":12.5, "y":1}, {"label":"|", "x":13.5, "y":1, "w":1.5}, {"label":"PgUp", "x":15, "y":1}, {"label":"Caps Lock", "x":0, "y":2, "w":1.75}, {"label":"A", "x":1.75, "y":2}, {"label":"S", "x":2.75, "y":2}, {"label":"D", "x":3.75, "y":2}, {"label":"F", "x":4.75, "y":2}, {"label":"G", "x":5.75, "y":2}, {"label":"H", "x":6.75, "y":2}, {"label":"J", "x":7.75, "y":2}, {"label":"K", "x":8.75, "y":2}, {"label":"L", "x":9.75, "y":2}, {"label":":", "x":10.75, "y":2}, {"label":"\"", "x":11.75, "y":2}, {"label":"Enter", "x":12.75, "y":2, "w":2.25}, {"label":"PgDn", "x":15, "y":2}, {"label":"\u21e7 Shift", "x":0, "y":3, "w":2.25}, {"label":"Z", "x":2.25, "y":3}, {"label":"X", "x":3.25, "y":3}, {"label":"C", "x":4.25, "y":3}, {"label":"V", "x":5.25, "y":3}, {"label":"B", "x":6.25, "y":3}, {"label":"N", "x":7.25, "y":3}, {"label":"M", "x":8.25, "y":3}, {"label":"<", "x":9.25, "y":3}, {"label":">", "x":10.25, "y":3}, {"label":"?", "x":11.25, "y":3}, {"label":"Shift", "x":12.25, "y":3, "w":1.75}, {"label":"\u2191", "x":14, "y":3}, {"label":"Fn", "x":15, "y":3}, {"label":"Ctrl", "x":0, "y":4, "w":1.25}, {"label":"Win", "x":1.25, "y":4, "w":1.25}, {"label":"Alt", "x":2.5, "y":4, "w":1.25}, {"x":3.75, "y":4, "w":6.25}, {"label":"Alt", "x":10, "y":4, "w":1.25}, {"label":"Win", "x":11.25, "y":4, "w":1.25}, {"label":"\u2190", "x":13, "y":4}, {"label":"\u2193", "x":14, "y":4}, {"label":"\u2192", "x":15, "y":4}]
11 },
12 "LAYOUT_iso": {
13 "key_count": 68,
14 "layout": [{"label":"Esc", "x":0, "y":0}, {"label":"!", "x":1, "y":0}, {"label":"@", "x":2, "y":0}, {"label":"#", "x":3, "y":0}, {"label":"$", "x":4, "y":0}, {"label":"%", "x":5, "y":0}, {"label":"^", "x":6, "y":0}, {"label":"&", "x":7, "y":0}, {"label":"*", "x":8, "y":0}, {"label":"(", "x":9, "y":0}, {"label":")", "x":10, "y":0}, {"label":"_", "x":11, "y":0}, {"label":"+", "x":12, "y":0}, {"label":"Backspace", "x":13, "y":0, "w":2}, {"label":"Home", "x":15, "y":0}, {"label":"Tab", "x":0, "y":1, "w":1.5}, {"label":"Q", "x":1.5, "y":1}, {"label":"W", "x":2.5, "y":1}, {"label":"E", "x":3.5, "y":1}, {"label":"R", "x":4.5, "y":1}, {"label":"T", "x":5.5, "y":1}, {"label":"Y", "x":6.5, "y":1}, {"label":"U", "x":7.5, "y":1}, {"label":"I", "x":8.5, "y":1}, {"label":"O", "x":9.5, "y":1}, {"label":"P", "x":10.5, "y":1}, {"label":"{", "x":11.5, "y":1}, {"label":"}", "x":12.5, "y":1}, {"x":13.75, "y":1, "w":1.25, "h":2}, {"label":"PgUp", "x":15, "y":1}, {"label":"Caps Lock", "x":0, "y":2, "w":1.75}, {"label":"A", "x":1.75, "y":2}, {"label":"S", "x":2.75, "y":2}, {"label":"D", "x":3.75, "y":2}, {"label":"F", "x":4.75, "y":2}, {"label":"G", "x":5.75, "y":2}, {"label":"H", "x":6.75, "y":2}, {"label":"J", "x":7.75, "y":2}, {"label":"K", "x":8.75, "y":2}, {"label":"L", "x":9.75, "y":2}, {"label":":", "x":10.75, "y":2}, {"label":"\"", "x":11.75, "y":2}, {"x":12.75, "y":2}, {"label":"PgDn", "x":15, "y":2}, {"x":0, "y":3, "w":1.25}, {"x":1.25, "y":3}, {"label":"Z", "x":2.25, "y":3}, {"label":"X", "x":3.25, "y":3}, {"label":"C", "x":4.25, "y":3}, {"label":"V", "x":5.25, "y":3}, {"label":"B", "x":6.25, "y":3}, {"label":"N", "x":7.25, "y":3}, {"label":"M", "x":8.25, "y":3}, {"label":"<", "x":9.25, "y":3}, {"label":">", "x":10.25, "y":3}, {"label":"?", "x":11.25, "y":3}, {"label":"Shift", "x":12.25, "y":3, "w":1.75}, {"label":"\u2191", "x":14, "y":3}, {"label":"Fn", "x":15, "y":3}, {"label":"Ctrl", "x":0, "y":4, "w":1.25}, {"label":"Win", "x":1.25, "y":4, "w":1.25}, {"label":"Alt", "x":2.5, "y":4, "w":1.25}, {"x":3.75, "y":4, "w":6.25}, {"label":"Alt", "x":10, "y":4, "w":1.25}, {"label":"Win", "x":11.25, "y":4, "w":1.25}, {"label":"\u2190", "x":13, "y":4}, {"label":"\u2193", "x":14, "y":4}, {"label":"\u2192", "x":15, "y":4}]
15 },
16 }
17}
18}
diff --git a/keyboards/westfoxtrot/aanzee/keymaps/default/config.h b/keyboards/westfoxtrot/aanzee/keymaps/default/config.h
new file mode 100644
index 000000000..35ebb6871
--- /dev/null
+++ b/keyboards/westfoxtrot/aanzee/keymaps/default/config.h
@@ -0,0 +1,19 @@
1/* Copyright 2018 westfoxtrot
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// place overrides here
diff --git a/keyboards/westfoxtrot/aanzee/keymaps/default/keymap.c b/keyboards/westfoxtrot/aanzee/keymaps/default/keymap.c
new file mode 100644
index 000000000..4b7a9f208
--- /dev/null
+++ b/keyboards/westfoxtrot/aanzee/keymaps/default/keymap.c
@@ -0,0 +1,48 @@
1/* Copyright 2019 westfoxtrot
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
18#define _MA 0
19#define _F1 1
20
21const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
22
23 [_MA] = LAYOUT_ansi(
24 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, KC_DEL, KC_HOME,\
25 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_END, \
26 KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L,KC_SCLN,KC_QUOT, KC_ENT, KC_PGUP, \
27 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M,KC_COMM, KC_DOT,KC_SLSH,KC_RSFT, KC_UP, KC_PGDN, \
28 KC_LCTRL,KC_LGUI,KC_LALT, KC_SPC, KC_RALT,MO(_F1),KC_RCTL,KC_LEFT,KC_DOWN, KC_RGHT),
29
30 [_F1] = LAYOUT_ansi(
31 RESET, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,_______,_______,_______, \
32 _______,RGB_TOG,RGB_MOD,RGB_HUI,RGB_HUD,RGB_SAI,RGB_SAD,RGB_VAI,RGB_VAD,_______,_______,_______,_______,_______, _______, \
33 _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______, _______, \
34 _______, _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______, \
35 _______,_______,_______, _______, _______,_______,_______,_______,_______, _______)
36 };
37
38 void matrix_init_user(void) {
39 //user initialization
40 }
41
42 void matrix_scan_user(void) {
43 //user matrix
44 }
45
46 bool process_record_user(uint16_t keycode, keyrecord_t *record) {
47 return true;
48 }
diff --git a/keyboards/westfoxtrot/aanzee/keymaps/default/readme.md b/keyboards/westfoxtrot/aanzee/keymaps/default/readme.md
new file mode 100644
index 000000000..77137f2f0
--- /dev/null
+++ b/keyboards/westfoxtrot/aanzee/keymaps/default/readme.md
@@ -0,0 +1 @@
# The default keymap for aanzee \ No newline at end of file
diff --git a/keyboards/westfoxtrot/aanzee/keymaps/iso-default/config.h b/keyboards/westfoxtrot/aanzee/keymaps/iso-default/config.h
new file mode 100644
index 000000000..386a2fd57
--- /dev/null
+++ b/keyboards/westfoxtrot/aanzee/keymaps/iso-default/config.h
@@ -0,0 +1,19 @@
1/* Copyright 2019 westfoxtrot
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// place overrides here
diff --git a/keyboards/westfoxtrot/aanzee/keymaps/iso-default/keymap.c b/keyboards/westfoxtrot/aanzee/keymaps/iso-default/keymap.c
new file mode 100644
index 000000000..79628eb90
--- /dev/null
+++ b/keyboards/westfoxtrot/aanzee/keymaps/iso-default/keymap.c
@@ -0,0 +1,48 @@
1/* Copyright 2019 westfoxtrot
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
18#define _MA 0
19#define _F1 1
20
21const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
22
23 [_MA] = LAYOUT_iso(
24 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, KC_HOME,\
25 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_END, \
26 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_NUHS, KC_ENT, KC_PGUP, \
27 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, KC_PGDN, \
28 KC_LCTRL,KC_LGUI,KC_LALT, KC_SPC, KC_RALT,MO(_F1),KC_RCTL,KC_LEFT,KC_DOWN, KC_RGHT),
29
30 [_F1] = LAYOUT_iso(
31 RESET, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,_______,_______, \
32 _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______, \
33 _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, \
34 _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, \
35 _______,_______,_______, _______, _______,_______,_______,_______,_______,_______)
36 };
37
38 void matrix_init_user(void) {
39 //user initialization
40 }
41
42 void matrix_scan_user(void) {
43 //user matrix
44 }
45
46 bool process_record_user(uint16_t keycode, keyrecord_t *record) {
47 return true;
48 }
diff --git a/keyboards/westfoxtrot/aanzee/keymaps/iso-default/readme.md b/keyboards/westfoxtrot/aanzee/keymaps/iso-default/readme.md
new file mode 100644
index 000000000..77137f2f0
--- /dev/null
+++ b/keyboards/westfoxtrot/aanzee/keymaps/iso-default/readme.md
@@ -0,0 +1 @@
# The default keymap for aanzee \ No newline at end of file
diff --git a/keyboards/westfoxtrot/aanzee/keymaps/via/config.h b/keyboards/westfoxtrot/aanzee/keymaps/via/config.h
new file mode 100644
index 000000000..35ebb6871
--- /dev/null
+++ b/keyboards/westfoxtrot/aanzee/keymaps/via/config.h
@@ -0,0 +1,19 @@
1/* Copyright 2018 westfoxtrot
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// place overrides here
diff --git a/keyboards/westfoxtrot/aanzee/keymaps/via/keymap.c b/keyboards/westfoxtrot/aanzee/keymaps/via/keymap.c
new file mode 100644
index 000000000..4b7a9f208
--- /dev/null
+++ b/keyboards/westfoxtrot/aanzee/keymaps/via/keymap.c
@@ -0,0 +1,48 @@
1/* Copyright 2019 westfoxtrot
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
18#define _MA 0
19#define _F1 1
20
21const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
22
23 [_MA] = LAYOUT_ansi(
24 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, KC_DEL, KC_HOME,\
25 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_END, \
26 KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L,KC_SCLN,KC_QUOT, KC_ENT, KC_PGUP, \
27 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M,KC_COMM, KC_DOT,KC_SLSH,KC_RSFT, KC_UP, KC_PGDN, \
28 KC_LCTRL,KC_LGUI,KC_LALT, KC_SPC, KC_RALT,MO(_F1),KC_RCTL,KC_LEFT,KC_DOWN, KC_RGHT),
29
30 [_F1] = LAYOUT_ansi(
31 RESET, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,_______,_______,_______, \
32 _______,RGB_TOG,RGB_MOD,RGB_HUI,RGB_HUD,RGB_SAI,RGB_SAD,RGB_VAI,RGB_VAD,_______,_______,_______,_______,_______, _______, \
33 _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______, _______, \
34 _______, _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______, \
35 _______,_______,_______, _______, _______,_______,_______,_______,_______, _______)
36 };
37
38 void matrix_init_user(void) {
39 //user initialization
40 }
41
42 void matrix_scan_user(void) {
43 //user matrix
44 }
45
46 bool process_record_user(uint16_t keycode, keyrecord_t *record) {
47 return true;
48 }
diff --git a/keyboards/westfoxtrot/aanzee/keymaps/via/readme.md b/keyboards/westfoxtrot/aanzee/keymaps/via/readme.md
new file mode 100644
index 000000000..d5c8b708d
--- /dev/null
+++ b/keyboards/westfoxtrot/aanzee/keymaps/via/readme.md
@@ -0,0 +1 @@
# The default keymap for aanzee with via support
diff --git a/keyboards/westfoxtrot/aanzee/keymaps/via/rules.mk b/keyboards/westfoxtrot/aanzee/keymaps/via/rules.mk
new file mode 100644
index 000000000..efd8bd14d
--- /dev/null
+++ b/keyboards/westfoxtrot/aanzee/keymaps/via/rules.mk
@@ -0,0 +1,70 @@
1# MCU name
2#MCU = at90usb1287
3MCU = atmega32u4
4
5# Processor frequency.
6# This will define a symbol, F_CPU, in all source code files equal to the
7# processor frequency in Hz. You can then use this symbol in your source code to
8# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
9# automatically to create a 32-bit value in your source code.
10#
11# This will be an integer division of F_USB below, as it is sourced by
12# F_USB after it has run through any CPU prescalers. Note that this value
13# does not *change* the processor frequency - it should merely be updated to
14# reflect the processor speed set externally so that the code can use accurate
15# software delays.
16F_CPU = 16000000
17
18
19#
20# LUFA specific
21#
22# Target architecture (see library "Board Types" documentation).
23ARCH = AVR8
24
25# Input clock frequency.
26# This will define a symbol, F_USB, in all source code files equal to the
27# input clock frequency (before any prescaling is performed) in Hz. This value may
28# differ from F_CPU if prescaling is used on the latter, and is required as the
29# raw input clock is fed directly to the PLL sections of the AVR for high speed
30# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
31# at the end, this will be done automatically to create a 32-bit value in your
32# source code.
33#
34# If no clock division is performed on the input clock inside the AVR (via the
35# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
36F_USB = $(F_CPU)
37
38# Interrupt driven control endpoint task(+60)
39OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
40
41# Bootloader selection
42# Teensy halfkay
43# Pro Micro caterina
44# Atmel DFU atmel-dfu
45# LUFA DFU lufa-dfu
46# QMK DFU qmk-dfu
47# atmega32a bootloadHID
48BOOTLOADER = atmel-dfu
49
50# Build Options
51# comment out to disable the options.
52#
53BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
54MOUSEKEY_ENABLE = no # Mouse keys(+4700)
55EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
56CONSOLE_ENABLE = no # Console for debug(+400)
57COMMAND_ENABLE = no # Commands for debug and configuration
58NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
59RGBLIGHT_ENABLE = yes # Enable keyboard underlight functionality (+4870)
60BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality (+1150)
61MIDI_ENABLE = no # MIDI controls
62AUDIO_ENABLE = no
63UNICODE_ENABLE = no # Unicode
64BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
65
66#add files needed for via
67
68RAW_ENABLE = yes
69DYNAMIC_KEYMAP_ENABLE = yes
70SRC += keyboards/wilba_tech/wt_main.c
diff --git a/keyboards/westfoxtrot/aanzee/readme.md b/keyboards/westfoxtrot/aanzee/readme.md
new file mode 100644
index 000000000..b97f45863
--- /dev/null
+++ b/keyboards/westfoxtrot/aanzee/readme.md
@@ -0,0 +1,15 @@
1# aanzee
2
3![aanzee](https://cablecardesigns.co/portfolio-posts/aanzee)
4
5custom pcb for the aanzee keyboard
6
7 Keyboard Maintainer: [westfoxtrot](https://github.com/westfoxtrot)
8 Hardware Supported: aanzee PCB
9 Hardware Availability: with group buy
10
11Make example for this keyboard (after setting up your build environment):
12
13 make westfoxtrot/aanzee:default
14
15See 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/westfoxtrot/aanzee/rules.mk b/keyboards/westfoxtrot/aanzee/rules.mk
new file mode 100644
index 000000000..cdea2a265
--- /dev/null
+++ b/keyboards/westfoxtrot/aanzee/rules.mk
@@ -0,0 +1,65 @@
1# MCU name
2#MCU = at90usb1287
3MCU = atmega32u4
4
5# Processor frequency.
6# This will define a symbol, F_CPU, in all source code files equal to the
7# processor frequency in Hz. You can then use this symbol in your source code to
8# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
9# automatically to create a 32-bit value in your source code.
10#
11# This will be an integer division of F_USB below, as it is sourced by
12# F_USB after it has run through any CPU prescalers. Note that this value
13# does not *change* the processor frequency - it should merely be updated to
14# reflect the processor speed set externally so that the code can use accurate
15# software delays.
16F_CPU = 16000000
17
18
19#
20# LUFA specific
21#
22# Target architecture (see library "Board Types" documentation).
23ARCH = AVR8
24
25# Input clock frequency.
26# This will define a symbol, F_USB, in all source code files equal to the
27# input clock frequency (before any prescaling is performed) in Hz. This value may
28# differ from F_CPU if prescaling is used on the latter, and is required as the
29# raw input clock is fed directly to the PLL sections of the AVR for high speed
30# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
31# at the end, this will be done automatically to create a 32-bit value in your
32# source code.
33#
34# If no clock division is performed on the input clock inside the AVR (via the
35# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
36F_USB = $(F_CPU)
37
38# Interrupt driven control endpoint task(+60)
39OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
40
41# Bootloader selection
42# Teensy halfkay
43# Pro Micro caterina
44# Atmel DFU atmel-dfu
45# LUFA DFU lufa-dfu
46# QMK DFU qmk-dfu
47# atmega32a bootloadHID
48BOOTLOADER = atmel-dfu
49
50# Build Options
51# comment out to disable the options.
52#
53BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
54MOUSEKEY_ENABLE = no # Mouse keys(+4700)
55EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
56CONSOLE_ENABLE = no # Console for debug(+400)
57COMMAND_ENABLE = no # Commands for debug and configuration
58NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
59RGBLIGHT_ENABLE = yes # Enable keyboard underlight functionality (+4870)
60BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality (+1150)
61MIDI_ENABLE = no # MIDI controls
62AUDIO_ENABLE = no
63UNICODE_ENABLE = no # Unicode
64BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
65