diff options
| author | QMK Bot <hello@qmk.fm> | 2021-07-04 01:06:32 +0000 |
|---|---|---|
| committer | QMK Bot <hello@qmk.fm> | 2021-07-04 01:06:32 +0000 |
| commit | ef7862280d73ae5697fa54e5cfb11f2cfe2e8d40 (patch) | |
| tree | 9ccb166fd8bc6ab81fdeea36e6f2e59a9ecb1048 /keyboards/boardsource | |
| parent | def12e22874318883191ce28444900a40901d2ef (diff) | |
| parent | 400844453a48c63c0eb06ae6b5d714a1ac3918f3 (diff) | |
| download | qmk_firmware-ef7862280d73ae5697fa54e5cfb11f2cfe2e8d40.tar.gz qmk_firmware-ef7862280d73ae5697fa54e5cfb11f2cfe2e8d40.zip | |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/boardsource')
22 files changed, 770 insertions, 0 deletions
diff --git a/keyboards/boardsource/beiwagon/beiwagon.c b/keyboards/boardsource/beiwagon/beiwagon.c new file mode 100644 index 000000000..f4ba170e6 --- /dev/null +++ b/keyboards/boardsource/beiwagon/beiwagon.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 "beiwagon.h" | ||
| 18 | #ifdef RGB_MATRIX_ENABLE | ||
| 19 | led_config_t g_led_config = { { | ||
| 20 | {7,8,9}, | ||
| 21 | {10,11,12}, | ||
| 22 | {13,14,15}, | ||
| 23 | {16,17,18} | ||
| 24 | }, { | ||
| 25 | {2, 0}, {1, 0}, {0, 0}, | ||
| 26 | {2, 1}, {1, 1}, {0, 1}, | ||
| 27 | {2, 2}, {1, 2}, {0, 2}, | ||
| 28 | {2, 3}, {1, 3}, {0, 3}, | ||
| 29 | }, { | ||
| 30 | 2, 2, 2, 2, 2, 2, | ||
| 31 | 1, 1, 1, | ||
| 32 | 1, 4, 1, | ||
| 33 | 1, 4, 1, | ||
| 34 | 1, 1, 1 | ||
| 35 | |||
| 36 | } }; | ||
| 37 | #endif | ||
| 38 | |||
diff --git a/keyboards/boardsource/beiwagon/beiwagon.h b/keyboards/boardsource/beiwagon/beiwagon.h new file mode 100644 index 000000000..ed5d51652 --- /dev/null +++ b/keyboards/boardsource/beiwagon/beiwagon.h | |||
| @@ -0,0 +1,32 @@ | |||
| 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 | |||
| 21 | #define LAYOUT( \ | ||
| 22 | K00, K01, K02, \ | ||
| 23 | K10, K11, K12, \ | ||
| 24 | K20, K21, K22, \ | ||
| 25 | K30, K31, K32\ | ||
| 26 | ) { \ | ||
| 27 | {K00, K01, K02 }, \ | ||
| 28 | {K10, K11, K12 }, \ | ||
| 29 | {K20, K21, K22 }, \ | ||
| 30 | {K30, K31, K32 } \ | ||
| 31 | } | ||
| 32 | |||
diff --git a/keyboards/boardsource/beiwagon/config.h b/keyboards/boardsource/beiwagon/config.h new file mode 100644 index 000000000..93856cbb8 --- /dev/null +++ b/keyboards/boardsource/beiwagon/config.h | |||
| @@ -0,0 +1,121 @@ | |||
| 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 0x0066 | ||
| 25 | #define DEVICE_VER 0x0001 | ||
| 26 | #define MANUFACTURER Boardsource | ||
| 27 | #define PRODUCT Beiwagon | ||
| 28 | |||
| 29 | /* key matrix size */ | ||
| 30 | #define MATRIX_ROWS 4 | ||
| 31 | #define MATRIX_COLS 3 | ||
| 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} | ||
| 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 | #ifdef RGBLIGHT_ENABLE | ||
| 57 | #define RGBLED_NUM 6 // Number of LEDs | ||
| 58 | #endif | ||
| 59 | |||
| 60 | #define DRIVER_LED_TOTAL 22 | ||
| 61 | |||
| 62 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 63 | #define DEBOUNCE 5 | ||
| 64 | |||
| 65 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
| 66 | //#define MATRIX_HAS_GHOST | ||
| 67 | |||
| 68 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 69 | #define LOCKING_SUPPORT_ENABLE | ||
| 70 | /* Locking resynchronize hack */ | ||
| 71 | #define LOCKING_RESYNC_ENABLE | ||
| 72 | |||
| 73 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
| 74 | * This is useful for the Windows task manager shortcut (ctrl+shift+esc). | ||
| 75 | */ | ||
| 76 | //#define GRAVE_ESC_CTRL_OVERRIDE | ||
| 77 | |||
| 78 | /* | ||
| 79 | * Force NKRO | ||
| 80 | * | ||
| 81 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
| 82 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
| 83 | * makefile for this to work.) | ||
| 84 | * | ||
| 85 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
| 86 | * until the next keyboard reset. | ||
| 87 | * | ||
| 88 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
| 89 | * fully operational during normal computer usage. | ||
| 90 | * | ||
| 91 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
| 92 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
| 93 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
| 94 | * power-up. | ||
| 95 | * | ||
| 96 | */ | ||
| 97 | //#define FORCE_NKRO | ||
| 98 | |||
| 99 | /* | ||
| 100 | * Feature disable options | ||
| 101 | * These options are also useful to firmware size reduction. | ||
| 102 | */ | ||
| 103 | |||
| 104 | /* disable debug print */ | ||
| 105 | //#define NO_DEBUG | ||
| 106 | |||
| 107 | /* disable print */ | ||
| 108 | //#define NO_PRINT | ||
| 109 | |||
| 110 | /* disable action features */ | ||
| 111 | //#define NO_ACTION_LAYER | ||
| 112 | //#define NO_ACTION_TAPPING | ||
| 113 | //#define NO_ACTION_ONESHOT | ||
| 114 | |||
| 115 | /* disable these deprecated features by default */ | ||
| 116 | #define NO_ACTION_MACRO | ||
| 117 | #define NO_ACTION_FUNCTION | ||
| 118 | |||
| 119 | /* Bootmagic Lite key configuration */ | ||
| 120 | //#define BOOTMAGIC_LITE_ROW 0 | ||
| 121 | //#define BOOTMAGIC_LITE_COLUMN 0 | ||
diff --git a/keyboards/boardsource/beiwagon/info.json b/keyboards/boardsource/beiwagon/info.json new file mode 100644 index 000000000..6b2c9a466 --- /dev/null +++ b/keyboards/boardsource/beiwagon/info.json | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "Beiwagon", | ||
| 3 | "url": "", | ||
| 4 | "maintainer": "Boardsource", | ||
| 5 | "width": 3, | ||
| 6 | "height": 4, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT": { | ||
| 9 | "layout": [ | ||
| 10 | { "label": "k00", "x": 0, "y": 0 }, | ||
| 11 | { "label": "k01", "x": 1, "y": 0 }, | ||
| 12 | { "label": "k02", "x": 2, "y": 0 }, | ||
| 13 | |||
| 14 | { "label": "k10", "x": 0, "y": 1 }, | ||
| 15 | { "label": "k11", "x": 1, "y": 1 }, | ||
| 16 | { "label": "k12", "x": 2, "y": 1 }, | ||
| 17 | |||
| 18 | { "label": "k20", "x": 0, "y": 2 }, | ||
| 19 | { "label": "k21", "x": 1, "y": 2 }, | ||
| 20 | { "label": "k22", "x": 2, "y": 2 }, | ||
| 21 | |||
| 22 | { "label": "k30", "x": 0, "y": 3 }, | ||
| 23 | { "label": "k31", "x": 1, "y": 3 }, | ||
| 24 | { "label": "k32", "x": 2, "y": 3 } | ||
| 25 | ] | ||
| 26 | } | ||
| 27 | } | ||
| 28 | } | ||
diff --git a/keyboards/boardsource/beiwagon/keymaps/default/keymap.c b/keyboards/boardsource/beiwagon/keymaps/default/keymap.c new file mode 100644 index 000000000..396a0c720 --- /dev/null +++ b/keyboards/boardsource/beiwagon/keymaps/default/keymap.c | |||
| @@ -0,0 +1,47 @@ | |||
| 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_7, KC_8, KC_9, | ||
| 33 | KC_4, KC_5, KC_6, | ||
| 34 | KC_1, KC_2, KC_3, | ||
| 35 | KC_0, KC_PENT,RAISE | ||
| 36 | ), | ||
| 37 | |||
| 38 | [_RAISE] = LAYOUT( | ||
| 39 | KC_7, KC_8, RGB_TOG, | ||
| 40 | KC_4, KC_5, RGB_MOD, | ||
| 41 | KC_1, KC_2, KC_3, | ||
| 42 | KC_0, KC_PENT,KC_TRNS | ||
| 43 | |||
| 44 | ) | ||
| 45 | |||
| 46 | }; | ||
| 47 | |||
diff --git a/keyboards/boardsource/beiwagon/keymaps/default/readme.md b/keyboards/boardsource/beiwagon/keymaps/default/readme.md new file mode 100644 index 000000000..95f466aa8 --- /dev/null +++ b/keyboards/boardsource/beiwagon/keymaps/default/readme.md | |||
| @@ -0,0 +1 @@ | |||
| # The default keymap for Beiwagon | |||
diff --git a/keyboards/boardsource/beiwagon/keymaps/via/keymap.c b/keyboards/boardsource/beiwagon/keymaps/via/keymap.c new file mode 100644 index 000000000..396a0c720 --- /dev/null +++ b/keyboards/boardsource/beiwagon/keymaps/via/keymap.c | |||
| @@ -0,0 +1,47 @@ | |||
| 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_7, KC_8, KC_9, | ||
| 33 | KC_4, KC_5, KC_6, | ||
| 34 | KC_1, KC_2, KC_3, | ||
| 35 | KC_0, KC_PENT,RAISE | ||
| 36 | ), | ||
| 37 | |||
| 38 | [_RAISE] = LAYOUT( | ||
| 39 | KC_7, KC_8, RGB_TOG, | ||
| 40 | KC_4, KC_5, RGB_MOD, | ||
| 41 | KC_1, KC_2, KC_3, | ||
| 42 | KC_0, KC_PENT,KC_TRNS | ||
| 43 | |||
| 44 | ) | ||
| 45 | |||
| 46 | }; | ||
| 47 | |||
diff --git a/keyboards/boardsource/beiwagon/keymaps/via/readme.md b/keyboards/boardsource/beiwagon/keymaps/via/readme.md new file mode 100644 index 000000000..f1b294c22 --- /dev/null +++ b/keyboards/boardsource/beiwagon/keymaps/via/readme.md | |||
| @@ -0,0 +1 @@ | |||
| # The via keymap for Beiwagon | |||
diff --git a/keyboards/boardsource/beiwagon/keymaps/via/rules.mk b/keyboards/boardsource/beiwagon/keymaps/via/rules.mk new file mode 100644 index 000000000..1e5b99807 --- /dev/null +++ b/keyboards/boardsource/beiwagon/keymaps/via/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| VIA_ENABLE = yes | |||
diff --git a/keyboards/boardsource/beiwagon/readme.md b/keyboards/boardsource/beiwagon/readme.md new file mode 100644 index 000000000..104c1a1f2 --- /dev/null +++ b/keyboards/boardsource/beiwagon/readme.md | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | # Beiwagon | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | The Beiwagon was designed to be a companion to the Technik keeping the same height and design it is a perfect match to sit along side. | ||
| 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/beiwagon:default | ||
| 14 | |||
| 15 | Flashing example for this keyboard: | ||
| 16 | |||
| 17 | make boardsource/beiwagon: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/beiwagon/rules.mk b/keyboards/boardsource/beiwagon/rules.mk new file mode 100644 index 000000000..1654fb4a6 --- /dev/null +++ b/keyboards/boardsource/beiwagon/rules.mk | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | BOOTLOADER = atmel-dfu | ||
| 6 | |||
| 7 | # Build Options | ||
| 8 | # change yes to no to disable | ||
| 9 | # | ||
| 10 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | ||
| 11 | MOUSEKEY_ENABLE = no # Mouse keys | ||
| 12 | EXTRAKEY_ENABLE = no # Audio control and System control | ||
| 13 | CONSOLE_ENABLE = no # Console for debug | ||
| 14 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 15 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 16 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 17 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 18 | NKRO_ENABLE = no # USB Nkey Rollover | ||
| 19 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 20 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
| 21 | BLUETOOTH_ENABLE = no # Enable Bluetooth | ||
| 22 | AUDIO_ENABLE = no # Audio output | ||
| 23 | RGB_MATRIX_ENABLE = yes | ||
| 24 | RGB_MATRIX_DRIVER = WS2812 | ||
diff --git a/keyboards/boardsource/technik_o/config.h b/keyboards/boardsource/technik_o/config.h new file mode 100644 index 000000000..0333ce180 --- /dev/null +++ b/keyboards/boardsource/technik_o/config.h | |||
| @@ -0,0 +1,121 @@ | |||
| 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 | #ifdef RGBLIGHT_ENABLE | ||
| 57 | #define RGBLED_NUM 10 // Number of LEDs | ||
| 58 | #endif | ||
| 59 | |||
| 60 | #define DRIVER_LED_TOTAL 58 | ||
| 61 | |||
| 62 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 63 | #define DEBOUNCE 5 | ||
| 64 | |||
| 65 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
| 66 | //#define MATRIX_HAS_GHOST | ||
| 67 | |||
| 68 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 69 | #define LOCKING_SUPPORT_ENABLE | ||
| 70 | /* Locking resynchronize hack */ | ||
| 71 | #define LOCKING_RESYNC_ENABLE | ||
| 72 | |||
| 73 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
| 74 | * This is useful for the Windows task manager shortcut (ctrl+shift+esc). | ||
| 75 | */ | ||
| 76 | //#define GRAVE_ESC_CTRL_OVERRIDE | ||
| 77 | |||
| 78 | /* | ||
| 79 | * Force NKRO | ||
| 80 | * | ||
| 81 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
| 82 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
| 83 | * makefile for this to work.) | ||
| 84 | * | ||
| 85 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
| 86 | * until the next keyboard reset. | ||
| 87 | * | ||
| 88 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
| 89 | * fully operational during normal computer usage. | ||
| 90 | * | ||
| 91 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
| 92 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
| 93 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
| 94 | * power-up. | ||
| 95 | * | ||
| 96 | */ | ||
| 97 | //#define FORCE_NKRO | ||
| 98 | |||
| 99 | /* | ||
| 100 | * Feature disable options | ||
| 101 | * These options are also useful to firmware size reduction. | ||
| 102 | */ | ||
| 103 | |||
| 104 | /* disable debug print */ | ||
| 105 | //#define NO_DEBUG | ||
| 106 | |||
| 107 | /* disable print */ | ||
| 108 | //#define NO_PRINT | ||
| 109 | |||
| 110 | /* disable action features */ | ||
| 111 | //#define NO_ACTION_LAYER | ||
| 112 | //#define NO_ACTION_TAPPING | ||
| 113 | //#define NO_ACTION_ONESHOT | ||
| 114 | |||
| 115 | /* disable these deprecated features by default */ | ||
| 116 | #define NO_ACTION_MACRO | ||
| 117 | #define NO_ACTION_FUNCTION | ||
| 118 | |||
| 119 | /* Bootmagic Lite key configuration */ | ||
| 120 | //#define BOOTMAGIC_LITE_ROW 0 | ||
| 121 | //#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..7b8a28d77 --- /dev/null +++ b/keyboards/boardsource/technik_o/info.json | |||
| @@ -0,0 +1,64 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "Technik-O", | ||
| 3 | "url": "https://boardsource.xyz", | ||
| 4 | "maintainer": "Boardsource", | ||
| 5 | "width": 12, | ||
| 6 | "height": 4, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT_ortho_4x12": { | ||
| 9 | "layout": [ | ||
| 10 | { "label": "K01", "x": 0, "y": 0 }, | ||
| 11 | { "label": "K02", "x": 1, "y": 0 }, | ||
| 12 | { "label": "K03", "x": 2, "y": 0 }, | ||
| 13 | { "label": "K04", "x": 3, "y": 0 }, | ||
| 14 | { "label": "K05", "x": 4, "y": 0 }, | ||
| 15 | { "label": "K06", "x": 5, "y": 0 }, | ||
| 16 | { "label": "K07", "x": 6, "y": 0 }, | ||
| 17 | { "label": "K08", "x": 7, "y": 0 }, | ||
| 18 | { "label": "K09", "x": 8, "y": 0 }, | ||
| 19 | { "label": "K010", "x": 9, "y": 0 }, | ||
| 20 | { "label": "K011", "x": 10, "y": 0 }, | ||
| 21 | { "label": "K012", "x": 11, "y": 0 }, | ||
| 22 | |||
| 23 | { "label": "K11", "x": 0, "y": 1 }, | ||
| 24 | { "label": "K12", "x": 1, "y": 1 }, | ||
| 25 | { "label": "K13", "x": 2, "y": 1 }, | ||
| 26 | { "label": "K14", "x": 3, "y": 1 }, | ||
| 27 | { "label": "K15", "x": 4, "y": 1 }, | ||
| 28 | { "label": "K16", "x": 5, "y": 1 }, | ||
| 29 | { "label": "K17", "x": 6, "y": 1 }, | ||
| 30 | { "label": "K18", "x": 7, "y": 1 }, | ||
| 31 | { "label": "K19", "x": 8, "y": 1 }, | ||
| 32 | { "label": "K110", "x": 9, "y": 1 }, | ||
| 33 | { "label": "K111", "x": 10, "y": 1 }, | ||
| 34 | { "label": "K112", "x": 11, "y": 1 }, | ||
| 35 | |||
| 36 | { "label": "K21", "x": 0, "y": 2 }, | ||
| 37 | { "label": "K22", "x": 1, "y": 2 }, | ||
| 38 | { "label": "K23", "x": 2, "y": 2 }, | ||
| 39 | { "label": "K24", "x": 3, "y": 2 }, | ||
| 40 | { "label": "K25", "x": 4, "y": 2 }, | ||
| 41 | { "label": "K26", "x": 5, "y": 2 }, | ||
| 42 | { "label": "K27", "x": 6, "y": 2 }, | ||
| 43 | { "label": "K28", "x": 7, "y": 2 }, | ||
| 44 | { "label": "K29", "x": 8, "y": 2 }, | ||
| 45 | { "label": "K210", "x": 9, "y": 2 }, | ||
| 46 | { "label": "K211", "x": 10, "y": 2 }, | ||
| 47 | { "label": "K212", "x": 11, "y": 2 }, | ||
| 48 | |||
| 49 | { "label": "K31", "x": 0, "y": 3 }, | ||
| 50 | { "label": "K32", "x": 1, "y": 3 }, | ||
| 51 | { "label": "K33", "x": 2, "y": 3 }, | ||
| 52 | { "label": "K34", "x": 3, "y": 3 }, | ||
| 53 | { "label": "K35", "x": 4, "y": 3 }, | ||
| 54 | { "label": "K36", "x": 5, "y": 3 }, | ||
| 55 | { "label": "K37", "x": 6, "y": 3 }, | ||
| 56 | { "label": "K38", "x": 7, "y": 3 }, | ||
| 57 | { "label": "K39", "x": 8, "y": 3 }, | ||
| 58 | { "label": "K310", "x": 9, "y": 3 }, | ||
| 59 | { "label": "K311", "x": 10, "y": 3 }, | ||
| 60 | { "label": "K312", "x": 11, "y": 3 } | ||
| 61 | ] | ||
| 62 | } | ||
| 63 | } | ||
| 64 | } | ||
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..3468a7101 --- /dev/null +++ b/keyboards/boardsource/technik_o/rules.mk | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | BOOTLOADER = atmel-dfu | ||
| 6 | |||
| 7 | # Build Options | ||
| 8 | # change yes to no to disable | ||
| 9 | # | ||
| 10 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | ||
| 11 | MOUSEKEY_ENABLE = no # Mouse keys | ||
| 12 | EXTRAKEY_ENABLE = no # Audio control and System control | ||
| 13 | CONSOLE_ENABLE = no # Console for debug | ||
| 14 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 15 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 16 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 17 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 18 | NKRO_ENABLE = no # USB Nkey Rollover | ||
| 19 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 20 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
| 21 | BLUETOOTH_ENABLE = no # Enable Bluetooth | ||
| 22 | AUDIO_ENABLE = no # Audio output | ||
| 23 | RGB_MATRIX_ENABLE = yes | ||
| 24 | RGB_MATRIX_DRIVER = WS2812 | ||
| 25 | 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..412a7b1ff --- /dev/null +++ b/keyboards/boardsource/technik_o/technik_o.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_o.h" | ||
| 18 | #ifdef RGB_MATRIX_ENABLE | ||
| 19 | led_config_t g_led_config = { { | ||
| 20 | {11,12,13,14,15,16,17,18,19,20,21,22}, | ||
| 21 | {23,24,25,26,27,28,29,30,31,32,33,34}, | ||
| 22 | {35,36,37,38,39,40,41,42,43,44,45,46}, | ||
| 23 | {47,48,49,50,51,52,53,54,55,56,57,58} | ||
| 24 | }, { | ||
| 25 | {11, 0}, {10, 0}, {9, 0}, {8, 0}, {7, 0}, {6, 0}, {5, 0}, {4, 0}, {3, 0}, {2, 0}, {1, 0}, {0, 0}, | ||
| 26 | {11, 1}, {10, 1}, {9, 1}, {8, 1}, {7, 1}, {6, 1}, {5, 1}, {4, 1}, {3, 1}, {2, 1}, {1, 1}, {0, 1}, | ||
| 27 | {11, 2}, {10, 2}, {9, 2}, {8, 2}, {7, 2}, {6, 2}, {5, 2}, {4, 2}, {3, 2}, {2, 2}, {1, 2}, {0, 2}, | ||
| 28 | {11, 3}, {10, 3}, {9, 3}, {8, 3}, {7, 3}, {6, 3}, {5, 3}, {4, 3}, {3, 3}, {2, 3}, {1, 3}, {0, 3}, | ||
| 29 | }, { | ||
| 30 | 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, | ||
| 31 | 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, | ||
| 32 | 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, | ||
| 33 | 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, | ||
| 34 | 1, 1, 1, 1, 1, 4, 4, 1, 1, 1, 1, 1 | ||
| 35 | |||
| 36 | } }; | ||
| 37 | #endif | ||
| 38 | |||
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 | |||
