diff options
author | Akshay <[email protected]> | 2022-04-10 12:13:40 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2022-04-10 12:13:40 +0100 |
commit | dc90387ce7d8ba7b607d9c48540bf6d8b560f14d (patch) | |
tree | 4ccb8fa5886b66fa9d480edef74236c27f035e16 /keyboards/boardsource/technik_s |
Diffstat (limited to 'keyboards/boardsource/technik_s')
-rw-r--r-- | keyboards/boardsource/technik_s/config.h | 169 | ||||
-rw-r--r-- | keyboards/boardsource/technik_s/info.json | 56 | ||||
-rw-r--r-- | keyboards/boardsource/technik_s/keymaps/default/keymap.c | 53 | ||||
-rw-r--r-- | keyboards/boardsource/technik_s/keymaps/default/readme.md | 1 | ||||
-rw-r--r-- | keyboards/boardsource/technik_s/keymaps/via/keymap.c | 53 | ||||
-rw-r--r-- | keyboards/boardsource/technik_s/keymaps/via/readme.md | 1 | ||||
-rw-r--r-- | keyboards/boardsource/technik_s/keymaps/via/rules.mk | 1 | ||||
-rw-r--r-- | keyboards/boardsource/technik_s/readme.md | 22 | ||||
-rw-r--r-- | keyboards/boardsource/technik_s/rules.mk | 21 | ||||
-rw-r--r-- | keyboards/boardsource/technik_s/technik_s.c | 38 | ||||
-rw-r--r-- | keyboards/boardsource/technik_s/technik_s.h | 31 |
11 files changed, 446 insertions, 0 deletions
diff --git a/keyboards/boardsource/technik_s/config.h b/keyboards/boardsource/technik_s/config.h new file mode 100644 index 000000000..7b5f297c9 --- /dev/null +++ b/keyboards/boardsource/technik_s/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 0x0083 | ||
25 | #define DEVICE_VER 0x0001 | ||
26 | #define MANUFACTURER Boardsource | ||
27 | #define PRODUCT Technik-S | ||
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 55 | ||
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_s/info.json b/keyboards/boardsource/technik_s/info.json new file mode 100644 index 000000000..938501b61 --- /dev/null +++ b/keyboards/boardsource/technik_s/info.json | |||
@@ -0,0 +1,56 @@ | |||
1 | { | ||
2 | "keyboard_name": "Technik-S", | ||
3 | "url": "", | ||
4 | "maintainer": "Boardsource", | ||
5 | "layouts": { | ||
6 | "LAYOUT": { | ||
7 | "layout": [ | ||
8 | { "label": "1", "x": 0, "y": 0 }, | ||
9 | { "label": "2", "x": 1, "y": 0 }, | ||
10 | { "label": "3", "x": 2, "y": 0 }, | ||
11 | { "label": "4", "x": 3, "y": 0 }, | ||
12 | { "label": "5", "x": 4, "y": 0 }, | ||
13 | { "label": "6", "x": 5, "y": 0 }, | ||
14 | { "label": "7", "x": 6, "y": 0 }, | ||
15 | { "label": "8", "x": 7, "y": 0 }, | ||
16 | { "label": "9", "x": 8, "y": 0 }, | ||
17 | { "label": "10", "x": 9, "y": 0 }, | ||
18 | { "label": "11", "x": 10, "y": 0 }, | ||
19 | { "label": "12", "x": 11, "y": 0 }, | ||
20 | { "label": "13", "x": 0, "y": 1, "w": 1.5 }, | ||
21 | { "label": "14", "x": 1.5, "y": 1 }, | ||
22 | { "label": "15", "x": 2.5, "y": 1 }, | ||
23 | { "label": "16", "x": 3.5, "y": 1 }, | ||
24 | { "label": "17", "x": 4.5, "y": 1 }, | ||
25 | { "label": "18", "x": 5.5, "y": 1 }, | ||
26 | { "label": "19", "x": 6.5, "y": 1 }, | ||
27 | { "label": "20", "x": 7.5, "y": 1 }, | ||
28 | { "label": "21", "x": 8.5, "y": 1 }, | ||
29 | { "label": "22", "x": 9.5, "y": 1 }, | ||
30 | { "label": "23", "x": 10.5, "y": 1, "w": 1.5 }, | ||
31 | { "label": "24", "x": 0, "y": 2 }, | ||
32 | { "label": "25", "x": 1, "y": 2 }, | ||
33 | { "label": "26", "x": 2, "y": 2 }, | ||
34 | { "label": "27", "x": 3, "y": 2 }, | ||
35 | { "label": "28", "x": 4, "y": 2 }, | ||
36 | { "label": "29", "x": 5, "y": 2 }, | ||
37 | { "label": "30", "x": 6, "y": 2 }, | ||
38 | { "label": "31", "x": 7, "y": 2 }, | ||
39 | { "label": "32", "x": 8, "y": 2 }, | ||
40 | { "label": "33", "x": 9, "y": 2 }, | ||
41 | { "label": "34", "x": 10, "y": 2 }, | ||
42 | { "label": "35", "x": 11, "y": 2 }, | ||
43 | { "label": "36", "x": 0, "y": 3 }, | ||
44 | { "label": "37", "x": 1, "y": 3 }, | ||
45 | { "label": "38", "x": 2, "y": 3 }, | ||
46 | { "label": "39", "x": 3, "y": 3, "w": 1.5 }, | ||
47 | { "label": "40", "x": 4.5, "y": 3, "w": 1.5 }, | ||
48 | { "label": "41", "x": 6, "y": 3, "w": 1.5 }, | ||
49 | { "label": "42", "x": 7.5, "y": 3, "w": 1.5 }, | ||
50 | { "label": "43", "x": 9, "y": 3 }, | ||
51 | { "label": "44", "x": 10, "y": 3 }, | ||
52 | { "label": "45", "x": 11, "y": 3 } | ||
53 | ] | ||
54 | } | ||
55 | } | ||
56 | } | ||
diff --git a/keyboards/boardsource/technik_s/keymaps/default/keymap.c b/keyboards/boardsource/technik_s/keymaps/default/keymap.c new file mode 100644 index 000000000..89dfaa4ac --- /dev/null +++ b/keyboards/boardsource/technik_s/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( | ||
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, | ||
34 | KC_LSHIFT,KC_LSHIFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_UP, KC_ENT , | ||
35 | RGB_TOG, KC_LCTL, KC_LALT, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_RIGHT | ||
36 | ), | ||
37 | |||
38 | [_RAISE] = LAYOUT( | ||
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, | ||
41 | RGB_MOD, 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 | ||
43 | ), | ||
44 | |||
45 | [_LOWER] = LAYOUT( | ||
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, | ||
48 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NUHS, KC_NUBS, KC_PGUP, KC_PGDN, _______, | ||
49 | _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD | ||
50 | ) | ||
51 | |||
52 | }; | ||
53 | |||
diff --git a/keyboards/boardsource/technik_s/keymaps/default/readme.md b/keyboards/boardsource/technik_s/keymaps/default/readme.md new file mode 100644 index 000000000..0e6753504 --- /dev/null +++ b/keyboards/boardsource/technik_s/keymaps/default/readme.md | |||
@@ -0,0 +1 @@ | |||
# The default keymap for Technik-S | |||
diff --git a/keyboards/boardsource/technik_s/keymaps/via/keymap.c b/keyboards/boardsource/technik_s/keymaps/via/keymap.c new file mode 100644 index 000000000..89dfaa4ac --- /dev/null +++ b/keyboards/boardsource/technik_s/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( | ||
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, | ||
34 | KC_LSHIFT,KC_LSHIFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_UP, KC_ENT , | ||
35 | RGB_TOG, KC_LCTL, KC_LALT, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_RIGHT | ||
36 | ), | ||
37 | |||
38 | [_RAISE] = LAYOUT( | ||
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, | ||
41 | RGB_MOD, 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 | ||
43 | ), | ||
44 | |||
45 | [_LOWER] = LAYOUT( | ||
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, | ||
48 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NUHS, KC_NUBS, KC_PGUP, KC_PGDN, _______, | ||
49 | _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD | ||
50 | ) | ||
51 | |||
52 | }; | ||
53 | |||
diff --git a/keyboards/boardsource/technik_s/keymaps/via/readme.md b/keyboards/boardsource/technik_s/keymaps/via/readme.md new file mode 100644 index 000000000..54e975a5a --- /dev/null +++ b/keyboards/boardsource/technik_s/keymaps/via/readme.md | |||
@@ -0,0 +1 @@ | |||
# The via keymap for Technik-S | |||
diff --git a/keyboards/boardsource/technik_s/keymaps/via/rules.mk b/keyboards/boardsource/technik_s/keymaps/via/rules.mk new file mode 100644 index 000000000..1e5b99807 --- /dev/null +++ b/keyboards/boardsource/technik_s/keymaps/via/rules.mk | |||
@@ -0,0 +1 @@ | |||
VIA_ENABLE = yes | |||
diff --git a/keyboards/boardsource/technik_s/readme.md b/keyboards/boardsource/technik_s/readme.md new file mode 100644 index 000000000..9bc60d401 --- /dev/null +++ b/keyboards/boardsource/technik_s/readme.md | |||
@@ -0,0 +1,22 @@ | |||
1 | # Technik-S | ||
2 | |||
3 |  | ||
4 | |||
5 | The technik-s is a 40% staggard keyboard that is designed to fit in the same case as the technik-o a 4x12 ortho | ||
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_s:default | ||
14 | |||
15 | Flashing example for this keyboard: | ||
16 | |||
17 | make boardsource/technik_s: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 | Then run this command in your local qmk repo, or flash using qmk toolbox. | ||
21 | |||
22 | 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_s/rules.mk b/keyboards/boardsource/technik_s/rules.mk new file mode 100644 index 000000000..33488b9d3 --- /dev/null +++ b/keyboards/boardsource/technik_s/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 | LTO_ENABLE = yes | ||
diff --git a/keyboards/boardsource/technik_s/technik_s.c b/keyboards/boardsource/technik_s/technik_s.c new file mode 100644 index 000000000..bb7245c73 --- /dev/null +++ b/keyboards/boardsource/technik_s/technik_s.c | |||
@@ -0,0 +1,38 @@ | |||
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 "technik_s.h" | ||
18 | #ifdef RGB_MATRIX_ENABLE | ||
19 | led_config_t g_led_config = { { | ||
20 | {10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21}, | ||
21 | {22, NO_LED, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32}, | ||
22 | {33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44}, | ||
23 | {45, 46, 47, 48, NO_LED, 49, 50, NO_LED, 51, 52, 53, 54} | ||
24 | }, { | ||
25 | {220, 17}, {172, 17}, {112, 17}, { 50, 17}, { 4, 17}, { 4, 56}, { 50, 56}, {112, 56}, {172, 56}, {220, 56}, | ||
26 | { 0, 0}, { 20, 0}, { 40, 0}, { 61, 0}, { 81, 0}, {101, 0}, {122, 0}, {142, 0}, {162, 0}, {183, 0}, {203, 0}, {224, 0}, | ||
27 | { 10, 21}, { 30, 21}, { 51, 21}, { 71, 21}, { 91, 21}, {112, 21}, {132, 21}, {152, 21}, {173, 21}, {193, 21}, {214, 21}, | ||
28 | { 0, 42}, { 20, 42}, { 40, 42}, { 61, 42}, { 81, 42}, {101, 42}, {122, 42}, {142, 42}, {162, 42}, {183, 42}, {203, 42}, {224, 42}, | ||
29 | { 0, 64}, { 20, 64}, { 40, 64}, { 68, 64}, { 97, 64}, {126, 64}, {154, 64}, {183, 64}, {203, 64}, {224, 64} | ||
30 | }, { | ||
31 | 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, | ||
32 | 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, | ||
33 | 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, | ||
34 | 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, | ||
35 | 1, 1, 1, 1, 4, 4, 1, 1, 1, 1 | ||
36 | } }; | ||
37 | #endif | ||
38 | |||
diff --git a/keyboards/boardsource/technik_s/technik_s.h b/keyboards/boardsource/technik_s/technik_s.h new file mode 100644 index 000000000..97ee9a7f5 --- /dev/null +++ b/keyboards/boardsource/technik_s/technik_s.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( \ | ||
21 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K10, K11, \ | ||
22 | K12, 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 \ | ||
25 | ) { \ | ||
26 | {K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K10, K11}, \ | ||
27 | {K12, KC_NO, 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,KC_NO,K40, K41,KC_NO,K42, K43, K44, K45} \ | ||
30 | } | ||
31 | |||