diff options
Diffstat (limited to 'keyboards/boardsource/technik_o')
-rw-r--r-- | keyboards/boardsource/technik_o/config.h | 169 | ||||
-rw-r--r-- | keyboards/boardsource/technik_o/info.json | 62 | ||||
-rw-r--r-- | keyboards/boardsource/technik_o/keymaps/default/keymap.c | 53 | ||||
-rw-r--r-- | keyboards/boardsource/technik_o/keymaps/default/readme.md | 1 | ||||
-rw-r--r-- | keyboards/boardsource/technik_o/keymaps/via/keymap.c | 53 | ||||
-rw-r--r-- | keyboards/boardsource/technik_o/keymaps/via/readme.md | 1 | ||||
-rw-r--r-- | keyboards/boardsource/technik_o/keymaps/via/rules.mk | 1 | ||||
-rw-r--r-- | keyboards/boardsource/technik_o/readme.md | 21 | ||||
-rw-r--r-- | keyboards/boardsource/technik_o/rules.mk | 21 | ||||
-rw-r--r-- | keyboards/boardsource/technik_o/technik_o.c | 50 | ||||
-rw-r--r-- | keyboards/boardsource/technik_o/technik_o.h | 31 |
11 files changed, 463 insertions, 0 deletions
diff --git a/keyboards/boardsource/technik_o/config.h b/keyboards/boardsource/technik_o/config.h new file mode 100644 index 000000000..51c9529da --- /dev/null +++ b/keyboards/boardsource/technik_o/config.h | |||
@@ -0,0 +1,169 @@ | |||
1 | /* | ||
2 | Copyright 2020 Boardsource | ||
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 0x4273 | ||
24 | #define PRODUCT_ID 0x0079 | ||
25 | #define DEVICE_VER 0x0001 | ||
26 | #define MANUFACTURER Boardsource | ||
27 | #define PRODUCT Technik-O | ||
28 | |||
29 | /* key matrix size */ | ||
30 | #define MATRIX_ROWS 4 | ||
31 | #define MATRIX_COLS 12 | ||
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 {B0, B1, B2, B3} | ||
44 | #define MATRIX_COL_PINS {B5, B6, B7, F5, C7, D0, D1, D2, D3, D4, D5, D6} | ||
45 | #define UNUSED_PINS | ||
46 | |||
47 | /* COL2ROW, ROW2COL */ | ||
48 | #define DIODE_DIRECTION COL2ROW | ||
49 | |||
50 | //#define BACKLIGHT_PIN B7 | ||
51 | //#define BACKLIGHT_LEVELS 3 | ||
52 | #define BACKLIGHT_BREATHING | ||
53 | #define RGBLIGHT_ANIMATIONS | ||
54 | #define RGB_DI_PIN C6 | ||
55 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 120 | ||
56 | // RGB Matrix Animation modes. Explicitly enabled | ||
57 | // For full list of effects, see: | ||
58 | // https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects | ||
59 | #define ENABLE_RGB_MATRIX_ALPHAS_MODS | ||
60 | #define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN | ||
61 | #define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT | ||
62 | #define ENABLE_RGB_MATRIX_BREATHING | ||
63 | #define ENABLE_RGB_MATRIX_BAND_SAT | ||
64 | #define ENABLE_RGB_MATRIX_BAND_VAL | ||
65 | #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT | ||
66 | #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL | ||
67 | #define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT | ||
68 | #define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL | ||
69 | #define ENABLE_RGB_MATRIX_CYCLE_ALL | ||
70 | #define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT | ||
71 | #define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN | ||
72 | #define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON | ||
73 | #define ENABLE_RGB_MATRIX_CYCLE_OUT_IN | ||
74 | #define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL | ||
75 | #define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL | ||
76 | #define ENABLE_RGB_MATRIX_CYCLE_SPIRAL | ||
77 | #define ENABLE_RGB_MATRIX_DUAL_BEACON | ||
78 | #define ENABLE_RGB_MATRIX_RAINBOW_BEACON | ||
79 | #define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS | ||
80 | #define ENABLE_RGB_MATRIX_RAINDROPS | ||
81 | #define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS | ||
82 | #define ENABLE_RGB_MATRIX_HUE_BREATHING | ||
83 | #define ENABLE_RGB_MATRIX_HUE_PENDULUM | ||
84 | #define ENABLE_RGB_MATRIX_HUE_WAVE | ||
85 | #define ENABLE_RGB_MATRIX_PIXEL_RAIN | ||
86 | #define ENABLE_RGB_MATRIX_PIXEL_FLOW | ||
87 | #define ENABLE_RGB_MATRIX_PIXEL_FRACTAL | ||
88 | // enabled only if RGB_MATRIX_FRAMEBUFFER_EFFECTS is defined | ||
89 | #define ENABLE_RGB_MATRIX_TYPING_HEATMAP | ||
90 | #define ENABLE_RGB_MATRIX_DIGITAL_RAIN | ||
91 | // enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined | ||
92 | #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE | ||
93 | #define ENABLE_RGB_MATRIX_SOLID_REACTIVE | ||
94 | #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE | ||
95 | #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE | ||
96 | #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS | ||
97 | #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS | ||
98 | #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS | ||
99 | #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS | ||
100 | #define ENABLE_RGB_MATRIX_SPLASH | ||
101 | #define ENABLE_RGB_MATRIX_MULTISPLASH | ||
102 | #define ENABLE_RGB_MATRIX_SOLID_SPLASH | ||
103 | #define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH | ||
104 | #ifdef RGBLIGHT_ENABLE | ||
105 | # define RGBLED_NUM 10 // Number of LEDs | ||
106 | #endif | ||
107 | |||
108 | #define DRIVER_LED_TOTAL 58 | ||
109 | |||
110 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
111 | #define DEBOUNCE 5 | ||
112 | |||
113 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
114 | //#define MATRIX_HAS_GHOST | ||
115 | |||
116 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
117 | //#define LOCKING_SUPPORT_ENABLE | ||
118 | /* Locking resynchronize hack */ | ||
119 | //#define LOCKING_RESYNC_ENABLE | ||
120 | |||
121 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
122 | * This is useful for the Windows task manager shortcut (ctrl+shift+esc). | ||
123 | */ | ||
124 | //#define GRAVE_ESC_CTRL_OVERRIDE | ||
125 | |||
126 | /* | ||
127 | * Force NKRO | ||
128 | * | ||
129 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
130 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
131 | * makefile for this to work.) | ||
132 | * | ||
133 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
134 | * until the next keyboard reset. | ||
135 | * | ||
136 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
137 | * fully operational during normal computer usage. | ||
138 | * | ||
139 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
140 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
141 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
142 | * power-up. | ||
143 | * | ||
144 | */ | ||
145 | //#define FORCE_NKRO | ||
146 | |||
147 | /* | ||
148 | * Feature disable options | ||
149 | * These options are also useful to firmware size reduction. | ||
150 | */ | ||
151 | |||
152 | /* disable debug print */ | ||
153 | //#define NO_DEBUG | ||
154 | |||
155 | /* disable print */ | ||
156 | //#define NO_PRINT | ||
157 | |||
158 | /* disable action features */ | ||
159 | //#define NO_ACTION_LAYER | ||
160 | //#define NO_ACTION_TAPPING | ||
161 | //#define NO_ACTION_ONESHOT | ||
162 | |||
163 | /* disable these deprecated features by default */ | ||
164 | #define NO_ACTION_MACRO | ||
165 | #define NO_ACTION_FUNCTION | ||
166 | |||
167 | /* Bootmagic Lite key configuration */ | ||
168 | //#define BOOTMAGIC_LITE_ROW 0 | ||
169 | //#define BOOTMAGIC_LITE_COLUMN 0 | ||
diff --git a/keyboards/boardsource/technik_o/info.json b/keyboards/boardsource/technik_o/info.json new file mode 100644 index 000000000..0aa780ca7 --- /dev/null +++ b/keyboards/boardsource/technik_o/info.json | |||
@@ -0,0 +1,62 @@ | |||
1 | { | ||
2 | "keyboard_name": "Technik-O", | ||
3 | "url": "https://boardsource.xyz", | ||
4 | "maintainer": "Boardsource", | ||
5 | "layouts": { | ||
6 | "LAYOUT_ortho_4x12": { | ||
7 | "layout": [ | ||
8 | { "label": "K01", "x": 0, "y": 0 }, | ||
9 | { "label": "K02", "x": 1, "y": 0 }, | ||
10 | { "label": "K03", "x": 2, "y": 0 }, | ||
11 | { "label": "K04", "x": 3, "y": 0 }, | ||
12 | { "label": "K05", "x": 4, "y": 0 }, | ||
13 | { "label": "K06", "x": 5, "y": 0 }, | ||
14 | { "label": "K07", "x": 6, "y": 0 }, | ||
15 | { "label": "K08", "x": 7, "y": 0 }, | ||
16 | { "label": "K09", "x": 8, "y": 0 }, | ||
17 | { "label": "K010", "x": 9, "y": 0 }, | ||
18 | { "label": "K011", "x": 10, "y": 0 }, | ||
19 | { "label": "K012", "x": 11, "y": 0 }, | ||
20 | |||
21 | { "label": "K11", "x": 0, "y": 1 }, | ||
22 | { "label": "K12", "x": 1, "y": 1 }, | ||
23 | { "label": "K13", "x": 2, "y": 1 }, | ||
24 | { "label": "K14", "x": 3, "y": 1 }, | ||
25 | { "label": "K15", "x": 4, "y": 1 }, | ||
26 | { "label": "K16", "x": 5, "y": 1 }, | ||
27 | { "label": "K17", "x": 6, "y": 1 }, | ||
28 | { "label": "K18", "x": 7, "y": 1 }, | ||
29 | { "label": "K19", "x": 8, "y": 1 }, | ||
30 | { "label": "K110", "x": 9, "y": 1 }, | ||
31 | { "label": "K111", "x": 10, "y": 1 }, | ||
32 | { "label": "K112", "x": 11, "y": 1 }, | ||
33 | |||
34 | { "label": "K21", "x": 0, "y": 2 }, | ||
35 | { "label": "K22", "x": 1, "y": 2 }, | ||
36 | { "label": "K23", "x": 2, "y": 2 }, | ||
37 | { "label": "K24", "x": 3, "y": 2 }, | ||
38 | { "label": "K25", "x": 4, "y": 2 }, | ||
39 | { "label": "K26", "x": 5, "y": 2 }, | ||
40 | { "label": "K27", "x": 6, "y": 2 }, | ||
41 | { "label": "K28", "x": 7, "y": 2 }, | ||
42 | { "label": "K29", "x": 8, "y": 2 }, | ||
43 | { "label": "K210", "x": 9, "y": 2 }, | ||
44 | { "label": "K211", "x": 10, "y": 2 }, | ||
45 | { "label": "K212", "x": 11, "y": 2 }, | ||
46 | |||
47 | { "label": "K31", "x": 0, "y": 3 }, | ||
48 | { "label": "K32", "x": 1, "y": 3 }, | ||
49 | { "label": "K33", "x": 2, "y": 3 }, | ||
50 | { "label": "K34", "x": 3, "y": 3 }, | ||
51 | { "label": "K35", "x": 4, "y": 3 }, | ||
52 | { "label": "K36", "x": 5, "y": 3 }, | ||
53 | { "label": "K37", "x": 6, "y": 3 }, | ||
54 | { "label": "K38", "x": 7, "y": 3 }, | ||
55 | { "label": "K39", "x": 8, "y": 3 }, | ||
56 | { "label": "K310", "x": 9, "y": 3 }, | ||
57 | { "label": "K311", "x": 10, "y": 3 }, | ||
58 | { "label": "K312", "x": 11, "y": 3 } | ||
59 | ] | ||
60 | } | ||
61 | } | ||
62 | } | ||
diff --git a/keyboards/boardsource/technik_o/keymaps/default/keymap.c b/keyboards/boardsource/technik_o/keymaps/default/keymap.c new file mode 100644 index 000000000..44e2b86ac --- /dev/null +++ b/keyboards/boardsource/technik_o/keymaps/default/keymap.c | |||
@@ -0,0 +1,53 @@ | |||
1 | /* Copyright 2020 Boardsource | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | |||
17 | #include QMK_KEYBOARD_H | ||
18 | |||
19 | enum layers { | ||
20 | _MAIN, | ||
21 | _RAISE, | ||
22 | _LOWER, | ||
23 | }; | ||
24 | |||
25 | // Readability keycodes | ||
26 | #define LOWER MO(_LOWER) | ||
27 | #define RAISE MO(_RAISE) | ||
28 | |||
29 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
30 | |||
31 | [_MAIN] = LAYOUT_ortho_4x12( | ||
32 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, | ||
33 | KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, | ||
34 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , | ||
35 | RGB_TOG, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT | ||
36 | ), | ||
37 | |||
38 | [_RAISE] = LAYOUT_ortho_4x12( | ||
39 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, | ||
40 | KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, | ||
41 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, S(KC_NUHS), S(KC_NUBS), KC_HOME, KC_END, _______, | ||
42 | RESET, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY | ||
43 | ), | ||
44 | |||
45 | [_LOWER] = LAYOUT_ortho_4x12( | ||
46 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, | ||
47 | KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, | ||
48 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NUHS, KC_NUBS, KC_PGUP, KC_PGDN, _______, | ||
49 | RGB_MOD, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY | ||
50 | ) | ||
51 | |||
52 | }; | ||
53 | |||
diff --git a/keyboards/boardsource/technik_o/keymaps/default/readme.md b/keyboards/boardsource/technik_o/keymaps/default/readme.md new file mode 100644 index 000000000..e9427401d --- /dev/null +++ b/keyboards/boardsource/technik_o/keymaps/default/readme.md | |||
@@ -0,0 +1 @@ | |||
# The default keymap for Technik-O | |||
diff --git a/keyboards/boardsource/technik_o/keymaps/via/keymap.c b/keyboards/boardsource/technik_o/keymaps/via/keymap.c new file mode 100644 index 000000000..44e2b86ac --- /dev/null +++ b/keyboards/boardsource/technik_o/keymaps/via/keymap.c | |||
@@ -0,0 +1,53 @@ | |||
1 | /* Copyright 2020 Boardsource | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | |||
17 | #include QMK_KEYBOARD_H | ||
18 | |||
19 | enum layers { | ||
20 | _MAIN, | ||
21 | _RAISE, | ||
22 | _LOWER, | ||
23 | }; | ||
24 | |||
25 | // Readability keycodes | ||
26 | #define LOWER MO(_LOWER) | ||
27 | #define RAISE MO(_RAISE) | ||
28 | |||
29 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
30 | |||
31 | [_MAIN] = LAYOUT_ortho_4x12( | ||
32 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, | ||
33 | KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, | ||
34 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , | ||
35 | RGB_TOG, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT | ||
36 | ), | ||
37 | |||
38 | [_RAISE] = LAYOUT_ortho_4x12( | ||
39 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, | ||
40 | KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, | ||
41 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, S(KC_NUHS), S(KC_NUBS), KC_HOME, KC_END, _______, | ||
42 | RESET, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY | ||
43 | ), | ||
44 | |||
45 | [_LOWER] = LAYOUT_ortho_4x12( | ||
46 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, | ||
47 | KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, | ||
48 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NUHS, KC_NUBS, KC_PGUP, KC_PGDN, _______, | ||
49 | RGB_MOD, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY | ||
50 | ) | ||
51 | |||
52 | }; | ||
53 | |||
diff --git a/keyboards/boardsource/technik_o/keymaps/via/readme.md b/keyboards/boardsource/technik_o/keymaps/via/readme.md new file mode 100644 index 000000000..6ae03a917 --- /dev/null +++ b/keyboards/boardsource/technik_o/keymaps/via/readme.md | |||
@@ -0,0 +1 @@ | |||
# The via keymap for Technik-O | |||
diff --git a/keyboards/boardsource/technik_o/keymaps/via/rules.mk b/keyboards/boardsource/technik_o/keymaps/via/rules.mk new file mode 100644 index 000000000..1e5b99807 --- /dev/null +++ b/keyboards/boardsource/technik_o/keymaps/via/rules.mk | |||
@@ -0,0 +1 @@ | |||
VIA_ENABLE = yes | |||
diff --git a/keyboards/boardsource/technik_o/readme.md b/keyboards/boardsource/technik_o/readme.md new file mode 100644 index 000000000..90c3588f9 --- /dev/null +++ b/keyboards/boardsource/technik_o/readme.md | |||
@@ -0,0 +1,21 @@ | |||
1 | # Technik-O | ||
2 | |||
3 |  | ||
4 | |||
5 | The Technik is a low profile keyboard offered in two layout options. This one is the 4x12 ortho option. This keyboard offers per key and under glow lighting as well as hotswap. | ||
6 | |||
7 | * Keyboard Maintainer: [Boardsource](https://github.com/boardsource) | ||
8 | * Hardware Supported: V1 pcb | ||
9 | * Hardware Availability: [boardsource](https://boardsource.xyz/store/5ffb9b01edd0447f8023fdb2) | ||
10 | |||
11 | Make example for this keyboard (after setting up your build environment): | ||
12 | |||
13 | make boardsource/technik_o:default | ||
14 | |||
15 | Flashing example for this keyboard: | ||
16 | |||
17 | make boardsource/technik_o:default:flash | ||
18 | |||
19 | Reset keyboard by pushing reset button on back of pcb through access hole. Or hold down top left key while you plug in the usb cable. | ||
20 | |||
21 | 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/boardsource/technik_o/rules.mk b/keyboards/boardsource/technik_o/rules.mk new file mode 100644 index 000000000..c1a93c1f3 --- /dev/null +++ b/keyboards/boardsource/technik_o/rules.mk | |||
@@ -0,0 +1,21 @@ | |||
1 | # MCU name | ||
2 | MCU = atmega32u4 | ||
3 | |||
4 | # Bootloader selection | ||
5 | BOOTLOADER = atmel-dfu | ||
6 | |||
7 | # Build Options | ||
8 | # change yes to no to disable | ||
9 | # | ||
10 | BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite | ||
11 | MOUSEKEY_ENABLE = 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 | NKRO_ENABLE = no # Enable N-Key Rollover | ||
16 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
17 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
18 | AUDIO_ENABLE = no # Audio output | ||
19 | RGB_MATRIX_ENABLE = yes | ||
20 | RGB_MATRIX_DRIVER = WS2812 | ||
21 | LAYOUTS = ortho_4x12 | ||
diff --git a/keyboards/boardsource/technik_o/technik_o.c b/keyboards/boardsource/technik_o/technik_o.c new file mode 100644 index 000000000..1488d55f5 --- /dev/null +++ b/keyboards/boardsource/technik_o/technik_o.c | |||
@@ -0,0 +1,50 @@ | |||
1 | /* Copyright 2020 Boardsource | ||
2 | * Copyright 2021 @filterpaper | ||
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 | #include "technik_o.h" | ||
19 | |||
20 | #ifdef RGB_MATRIX_ENABLE | ||
21 | led_config_t g_led_config = { { | ||
22 | { 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21}, | ||
23 | { 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33}, | ||
24 | { 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45}, | ||
25 | { 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57} | ||
26 | }, { | ||
27 | {220, 17}, {172, 17}, {112, 17}, { 50, 17}, { 4, 17}, { 4, 56}, { 50, 56}, {112, 56}, {172, 56}, {220, 56}, | ||
28 | { 0, 0}, { 20, 0}, { 40, 0}, { 61, 0}, { 81, 0}, {101, 0}, {122, 0}, {142, 0}, {162, 0}, {183, 0}, {203, 0}, {224, 0}, | ||
29 | { 0, 21}, { 20, 21}, { 40, 21}, { 61, 21}, { 81, 21}, {101, 21}, {122, 21}, {142, 21}, {162, 21}, {183, 21}, {203, 21}, {224, 21}, | ||
30 | { 0, 42}, { 20, 42}, { 40, 42}, { 61, 42}, { 81, 42}, {101, 42}, {122, 42}, {142, 42}, {162, 42}, {183, 42}, {203, 42}, {224, 42}, | ||
31 | { 0, 64}, { 20, 64}, { 40, 64}, { 61, 64}, { 81, 64}, {101, 64}, {122, 64}, {142, 64}, {162, 64}, {183, 64}, {203, 64}, {224, 64} | ||
32 | }, { | ||
33 | 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, | ||
34 | 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, | ||
35 | 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, | ||
36 | 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, | ||
37 | 1, 1, 1, 1, 1, 4, 4, 1, 1, 1, 1, 1 | ||
38 | } }; | ||
39 | #endif | ||
40 | |||
41 | #ifdef SWAP_HANDS_ENABLE | ||
42 | __attribute__ ((weak)) | ||
43 | const keypos_t PROGMEM hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = { | ||
44 | {{11, 0}, {10, 0}, {9, 0}, {8, 0}, {7, 0}, {6, 0}, {5, 0}, {4, 0}, {3, 0}, {2, 0}, {1, 0}, {0, 0}}, | ||
45 | {{11, 1}, {10, 1}, {9, 1}, {8, 1}, {7, 1}, {6, 1}, {5, 1}, {4, 1}, {3, 1}, {2, 1}, {1, 1}, {0, 1}}, | ||
46 | {{11, 2}, {10, 2}, {9, 2}, {8, 2}, {7, 2}, {6, 2}, {5, 2}, {4, 2}, {3, 2}, {2, 2}, {1, 2}, {0, 2}}, | ||
47 | {{11, 3}, {10, 3}, {9, 3}, {8, 3}, {7, 3}, {6, 3}, {5, 3}, {4, 3}, {3, 3}, {2, 3}, {1, 3}, {0, 3}} | ||
48 | }; | ||
49 | #endif | ||
50 | |||
diff --git a/keyboards/boardsource/technik_o/technik_o.h b/keyboards/boardsource/technik_o/technik_o.h new file mode 100644 index 000000000..e2af9f834 --- /dev/null +++ b/keyboards/boardsource/technik_o/technik_o.h | |||
@@ -0,0 +1,31 @@ | |||
1 | /* Copyright 2020 Boardsource | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | |||
17 | #pragma once | ||
18 | |||
19 | #include "quantum.h" | ||
20 | #define LAYOUT_ortho_4x12( \ | ||
21 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K10, K11, \ | ||
22 | K12, K13, K14, K15, K16, K17, K18, K19, K20, K21, K22, K23, \ | ||
23 | K24, K25, K26, K27, K28, K29, K30, K31, K32, K33, K34, K35, \ | ||
24 | K36, K37, K38, K39, K40, K41, K42, K43, K44, K45, K46, K47 \ | ||
25 | ) { \ | ||
26 | {K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K10, K11}, \ | ||
27 | {K12, K13, K14, K15, K16, K17, K18, K19, K20, K21, K22, K23}, \ | ||
28 | {K24, K25, K26, K27, K28, K29, K30, K31, K32, K33, K34, K35}, \ | ||
29 | {K36, K37, K38, K39, K40, K41, K42, K43, K44, K45, K46, K47} \ | ||
30 | } | ||
31 | |||