From e31ce6f91a09b0796324a4a583eeef4cd8428ec3 Mon Sep 17 00:00:00 2001 From: Jared G Date: Thu, 26 Aug 2021 19:08:34 -0500 Subject: [PATCH] Added 45-ATS-ortho board definition and Vial keymap --- .../checkerboards/45_ats_ortho/45_ats_ortho.c | 1 + .../checkerboards/45_ats_ortho/45_ats_ortho.h | 32 +++++ keyboards/checkerboards/45_ats_ortho/config.h | 64 +++++++++ .../checkerboards/45_ats_ortho/info.json | 12 ++ .../45_ats_ortho/keymaps/default/config.h | 19 +++ .../45_ats_ortho/keymaps/default/keymap.c | 85 ++++++++++++ .../45_ats_ortho/keymaps/default/readme.md | 2 + .../45_ats_ortho/keymaps/vial/config.h | 23 ++++ .../45_ats_ortho/keymaps/vial/keymap.c | 125 ++++++++++++++++++ .../45_ats_ortho/keymaps/vial/readme.md | 2 + .../45_ats_ortho/keymaps/vial/rules.mk | 5 + .../45_ats_ortho/keymaps/vial/vial.json | 17 +++ .../checkerboards/45_ats_ortho/readme.md | 16 +++ keyboards/checkerboards/45_ats_ortho/rules.mk | 29 ++++ 14 files changed, 432 insertions(+) create mode 100644 keyboards/checkerboards/45_ats_ortho/45_ats_ortho.c create mode 100644 keyboards/checkerboards/45_ats_ortho/45_ats_ortho.h create mode 100644 keyboards/checkerboards/45_ats_ortho/config.h create mode 100644 keyboards/checkerboards/45_ats_ortho/info.json create mode 100644 keyboards/checkerboards/45_ats_ortho/keymaps/default/config.h create mode 100644 keyboards/checkerboards/45_ats_ortho/keymaps/default/keymap.c create mode 100644 keyboards/checkerboards/45_ats_ortho/keymaps/default/readme.md create mode 100644 keyboards/checkerboards/45_ats_ortho/keymaps/vial/config.h create mode 100644 keyboards/checkerboards/45_ats_ortho/keymaps/vial/keymap.c create mode 100644 keyboards/checkerboards/45_ats_ortho/keymaps/vial/readme.md create mode 100644 keyboards/checkerboards/45_ats_ortho/keymaps/vial/rules.mk create mode 100644 keyboards/checkerboards/45_ats_ortho/keymaps/vial/vial.json create mode 100644 keyboards/checkerboards/45_ats_ortho/readme.md create mode 100644 keyboards/checkerboards/45_ats_ortho/rules.mk diff --git a/keyboards/checkerboards/45_ats_ortho/45_ats_ortho.c b/keyboards/checkerboards/45_ats_ortho/45_ats_ortho.c new file mode 100644 index 00000000000..528edeae0c7 --- /dev/null +++ b/keyboards/checkerboards/45_ats_ortho/45_ats_ortho.c @@ -0,0 +1 @@ +#include "45_ats_ortho.h" diff --git a/keyboards/checkerboards/45_ats_ortho/45_ats_ortho.h b/keyboards/checkerboards/45_ats_ortho/45_ats_ortho.h new file mode 100644 index 00000000000..af0881662b2 --- /dev/null +++ b/keyboards/checkerboards/45_ats_ortho/45_ats_ortho.h @@ -0,0 +1,32 @@ +/* +Copyright 2020 Nathan Spears + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#pragma once + +#include "quantum.h" + +#define LAYOUT_ortho_mod_4x14( \ + K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, \ + K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, \ + K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, \ + K300, K301, K302, K303, K304, K305, K306, K307, K308, K309 \ +) { \ + { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013 }, \ + { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113 }, \ + { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213 }, \ + { K300, K301, K302, KC_NO, K303, KC_NO, K304, KC_NO, K305, KC_NO, K306, K307, K308, K309 } \ +} diff --git a/keyboards/checkerboards/45_ats_ortho/config.h b/keyboards/checkerboards/45_ats_ortho/config.h new file mode 100644 index 00000000000..726bc43103b --- /dev/null +++ b/keyboards/checkerboards/45_ats_ortho/config.h @@ -0,0 +1,64 @@ +/* +Copyright 2020 Nathan Spears + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#ifndef CONFIG_H +#define CONFIG_H + +#include "config_common.h" + +/* USB Device descriptor parameter */ +#define VENDOR_ID 0x7070 +#define PRODUCT_ID 0x4511 +#define DEVICE_VER 0x0002 +#define MANUFACTURER Nasp +#define PRODUCT 45-ATS-Ortho + +/* key matrix size */ +#define MATRIX_ROWS 4 +#define MATRIX_COLS 14 + +/* key matrix pins */ +#define MATRIX_ROW_PINS { B5, B6, C7, C6 } +#define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, B4, D7, D6, D4, D5, B7, D2, D3 } + +#define UNUSED_PINS + +/* COL2ROW or ROW2COL */ +#define DIODE_DIRECTION COL2ROW + + +/* Set 0 if debouncing isn't needed */ +#define DEBOUNCE 5 + +/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ +#define LOCKING_SUPPORT_ENABLE + +/* Locking resynchronize hack */ +#define LOCKING_RESYNC_ENABLE + +#define RGB_DI_PIN D1 + +#ifdef RGB_DI_PIN +#define RGBLIGHT_ANIMATIONS +#define RGBLED_NUM 3 +#define RGBLIGHT_HUE_STEP 8 +#define RGBLIGHT_SAT_STEP 8 +#define RGBLIGHT_VAL_STEP 8 +#endif + + +#endif diff --git a/keyboards/checkerboards/45_ats_ortho/info.json b/keyboards/checkerboards/45_ats_ortho/info.json new file mode 100644 index 00000000000..6d8b903ae91 --- /dev/null +++ b/keyboards/checkerboards/45_ats_ortho/info.json @@ -0,0 +1,12 @@ +{ + "keyboard_name": "45_ATS_Ortho", + "url": "", + "maintainer": "Nasp", + "width": 14.75, + "height": 4.5, + "layouts": { + "LAYOUT_ortho_mod_4x14": { + "layout": [{"label":"1", "x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":6, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"label":"12", "x":11, "y":0}, {"x":12, "y":0}, {"x":13.75, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}, {"x":4, "y":1}, {"x":5, "y":1}, {"x":6, "y":1}, {"x":7, "y":1}, {"x":8, "y":1}, {"x":9, "y":1}, {"x":10, "y":1}, {"x":11, "y":1}, {"x":12, "y":1}, {"x":13.75, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}, {"x":3, "y":2}, {"x":4, "y":2}, {"x":5, "y":2}, {"x":6, "y":2}, {"x":7, "y":2}, {"x":8, "y":2}, {"x":9, "y":2}, {"x":10, "y":2}, {"x":11, "y":2}, {"x":13.75, "y":2}, {"x":12.25, "y":2.5}, {"x":0, "y":3, "w":1.5}, {"x":1.5, "y":3}, {"x":2.5, "y":3, "w":1.25}, {"x":3.75, "y":3, "w":2.25}, {"x":6, "y":3, "w":2.25}, {"x":8.25, "y":3, "w":1.25}, {"x":9.5, "y":3, "w":1.5}, {"x":11.25, "y":3.5}, {"x":12.25, "y":3.5}, {"x":13.25, "y":3.5}] + } + } +} \ No newline at end of file diff --git a/keyboards/checkerboards/45_ats_ortho/keymaps/default/config.h b/keyboards/checkerboards/45_ats_ortho/keymaps/default/config.h new file mode 100644 index 00000000000..4dd83c553a2 --- /dev/null +++ b/keyboards/checkerboards/45_ats_ortho/keymaps/default/config.h @@ -0,0 +1,19 @@ +/* +Copyright 2020 Nathan Spears + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#define TAPPING_TOGGLE 2 +#define TAPPING_TERM 200 diff --git a/keyboards/checkerboards/45_ats_ortho/keymaps/default/keymap.c b/keyboards/checkerboards/45_ats_ortho/keymaps/default/keymap.c new file mode 100644 index 00000000000..25faa436d0d --- /dev/null +++ b/keyboards/checkerboards/45_ats_ortho/keymaps/default/keymap.c @@ -0,0 +1,85 @@ +/* +Copyright 2020 Nathan Spears + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include QMK_KEYBOARD_H + + +// Defines for task manager and such +#define CALTDEL LCTL(LALT(KC_DEL)) +#define TSKMGR LCTL(LSFT(KC_ESC)) + + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + /* Default QWERTY layer + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ ┌───┐ + * │Esc│ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │Del│BkS│ │PgU│ + * ├───┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴───┤ ├───┤ + * │Tab │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ' │Enter │ │PgD│ + * ├────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴──┬───┘ ├───┤ + * │LShift│ Z │ X │ C │ V │ B │ N │ M │ , │ . │Sft/│ ┌───┐ │CAP│ + * ├────┬─┴─┬─┴──┬┴───┴───┴─┬─┴───┴──┬┴───┼───┴┬───┘ │ ↑ │ └───┘ + * │LCtl│OS │LAlt│ Fn │ Space │RAlt│ Ln │ ┌───┼───┼───┐ + * └────┴───┴────┴──────────┴────────┴────┴────┘ │ ← │ ↓ │ → │ + * └───┴───┴───┘ + */ +[0] = LAYOUT_ortho_mod_4x14( \ + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, KC_DEL, KC_PGUP, \ + CTL_T(KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_QUOTE, KC_SLSH, _______, KC_PGDN, \ + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_ENT, KC_UP, _______, KC_CAPS, \ + KC_LGUI, KC_GRV, KC_LALT, TT(1), LT(2, KC_SPC), KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT \ +), + +/* Main Numbers, Symbols & Function Layer (MOMENTARY) + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ ┌───┐ + * │ │ ! │ @ │ # │ $ │ % │ ^ │ & │ * │ [ │ ] │ \ │ │ │Hme│ + * ├───┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴───┤ ├───┤ + * │ │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ │ │End│ + * ├────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴──┬───┘ ├───┤ + * │ │ ( │ ) │ ; │ . │ │ - │ + │ * │ / │ = │ ┌───┐ │ │ + * ├────┬─┴─┬─┴──┬┴───┴───┴─┬─┴───┴──┬┴───┼───┴┬───┘ │ │ └───┘ + * │ │ │ │ │ │ │ │ ┌───┼───┼───┐ + * └────┴───┴────┴──────────┴────────┴────┴────┘ │ │ │ │ + * └───┴───┴───┘ + */ +[1] = LAYOUT_ortho_mod_4x14( \ + KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, _______, KC_HOME, \ + KC_SLSH, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSLS, _______, KC_END, \ + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PPLS, KC_EQL, _______, _______, _______, _______, _______, \ + CALTDEL, TSKMGR, _______, _______, _______, KC_GRV, _______, _______, _______, _______ \ +), + +/* ALTERNATE Function layer (MOMENTARY) + * ┌────┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ ┌───┐ + * │ PWR│F1 │F2 │F3 │F4 │F5 │F6 │ │ │ │ │PRV│NXT│ │VL+│ + * ├────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴───┤ ├───┤ + * │ SLP │F7 │F8 │F9 │F10│F11│F12│ │ │ │ │ PLAY │ │VL-│ + * ├─────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴──┬───┘ ├───┤ + * │ WAKE │ │ │ │ │ │ │ │ │ │ │ ┌───┐ │ │ + * ├────┬──┴─┬─┴──┬┴───┴───┴─┬─┴───┴──┬┴───┼───┴┬───┘ │ │ └───┘ + * │RSET│ │ │ │ │ │ │ ┌───┼───┼───┐ + * └────┴────┴────┴──────────┴────────┴────┴────┘ │ │ │ │ + * └───┴───┴───┘ + */ +[2] = LAYOUT_ortho_mod_4x14( \ + RGB_HUI, RGB_SAI, _______, KC_UP, _______, _______, _______, KC_UNDS, _______, KC_LBRC, KC_RBRC, RGB_VAI, _______, _______, \ + RGB_HUD, RGB_SAD, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, KC_MINS, _______, KC_LCBR, KC_RCBR, RGB_VAD, _______, _______, \ + KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, \ + RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______ \ +), + +}; diff --git a/keyboards/checkerboards/45_ats_ortho/keymaps/default/readme.md b/keyboards/checkerboards/45_ats_ortho/keymaps/default/readme.md new file mode 100644 index 00000000000..04946be3807 --- /dev/null +++ b/keyboards/checkerboards/45_ats_ortho/keymaps/default/readme.md @@ -0,0 +1,2 @@ +# The Default 45_ATS_Ortho Layout + diff --git a/keyboards/checkerboards/45_ats_ortho/keymaps/vial/config.h b/keyboards/checkerboards/45_ats_ortho/keymaps/vial/config.h new file mode 100644 index 00000000000..ba092ab500a --- /dev/null +++ b/keyboards/checkerboards/45_ats_ortho/keymaps/vial/config.h @@ -0,0 +1,23 @@ +#define VIAL_KEYBOARD_UID {0x84, 0xEF, 0xF7, 0x8A, 0x46, 0x5E, 0xF8, 0x8D} + +#define VIAL_UNLOCK_COMBO_ROWS { 0, 3 } +#define VIAL_UNLOCK_COMBO_COLS { 0, 13 } + +#define DYNAMIC_KEYMAP_LAYER_COUNT 4 +#define LAYER_STATE_8BIT +// #define VIAL_COMBO_ENTRIES 8 +// #define VIAL_TAP_DANCE_ENTRIES 8 + +// #define RGBLIGHT_LAYERS + +#undef RGBLIGHT_ANIMATIONS +#define RGBLIGHT_EFFECT_ALTERNATING +#define RGBLIGHT_EFFECT_BREATHING +#define RGBLIGHT_EFFECT_CHRISTMAS +#define RGBLIGHT_EFFECT_KNIGHT +#define RGBLIGHT_EFFECT_RAINBOW_MOOD +#define RGBLIGHT_EFFECT_RAINBOW_SWIRL +#define RGBLIGHT_EFFECT_RGB_TEST +#define RGBLIGHT_EFFECT_SNAKE +#define RGBLIGHT_EFFECT_STATIC_GRADIENT +/* #define RGBLIGHT_EFFECT_TWINKLE */ diff --git a/keyboards/checkerboards/45_ats_ortho/keymaps/vial/keymap.c b/keyboards/checkerboards/45_ats_ortho/keymaps/vial/keymap.c new file mode 100644 index 00000000000..9928da37221 --- /dev/null +++ b/keyboards/checkerboards/45_ats_ortho/keymaps/vial/keymap.c @@ -0,0 +1,125 @@ +/* +Copyright 2020 Nathan Spears + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include QMK_KEYBOARD_H + + +// Defines for task manager and such +#define CALTDEL LCTL(LALT(KC_DEL)) +#define TSKMGR LCTL(LSFT(KC_ESC)) + + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + /* Default QWERTY layer + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ ┌───┐ + * │Esc│ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │Del│BkS│ │PgU│ + * ├───┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴───┤ ├───┤ + * │Tab │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ' │Enter │ │PgD│ + * ├────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴──┬───┘ ├───┤ + * │LShift│ Z │ X │ C │ V │ B │ N │ M │ , │ . │Sft/│ ┌───┐ │CAP│ + * ├────┬─┴─┬─┴──┬┴───┴───┴─┬─┴───┴──┬┴───┼───┴┬───┘ │ ↑ │ └───┘ + * │LCtl│OS │LAlt│ Fn │ Space │RAlt│ Ln │ ┌───┼───┼───┐ + * └────┴───┴────┴──────────┴────────┴────┴────┘ │ ← │ ↓ │ → │ + * └───┴───┴───┘ + */ +[0] = LAYOUT_ortho_mod_4x14( \ + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, KC_DEL, KC_PGUP, \ + CTL_T(KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_QUOTE, KC_SLSH, _______, KC_PGDN, \ + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_ENT, KC_UP, _______, KC_CAPS, \ + KC_LGUI, KC_GRV, KC_LALT, TT(1), LT(2, KC_SPC), KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT \ +), + +/* Main Numbers, Symbols & Function Layer (MOMENTARY) + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ ┌───┐ + * │ │ ! │ @ │ # │ $ │ % │ ^ │ & │ * │ [ │ ] │ \ │ │ │Hme│ + * ├───┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴───┤ ├───┤ + * │ │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ │ │End│ + * ├────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴──┬───┘ ├───┤ + * │ │ ( │ ) │ ; │ . │ │ - │ + │ * │ / │ = │ ┌───┐ │ │ + * ├────┬─┴─┬─┴──┬┴───┴───┴─┬─┴───┴──┬┴───┼───┴┬───┘ │ │ └───┘ + * │ │ │ │ │ │ │ │ ┌───┼───┼───┐ + * └────┴───┴────┴──────────┴────────┴────┴────┘ │ │ │ │ + * └───┴───┴───┘ + */ +[1] = LAYOUT_ortho_mod_4x14( \ + KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, _______, KC_HOME, \ + KC_SLSH, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSLS, _______, KC_END, \ + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PPLS, KC_EQL, _______, _______, _______, _______, _______, \ + CALTDEL, TSKMGR, _______, _______, _______, KC_GRV, _______, _______, _______, _______ \ +), + +/* ALTERNATE Function layer (MOMENTARY) + * ┌────┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ ┌───┐ + * │ PWR│F1 │F2 │F3 │F4 │F5 │F6 │ │ │ │ │PRV│NXT│ │VL+│ + * ├────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴───┤ ├───┤ + * │ SLP │F7 │F8 │F9 │F10│F11│F12│ │ │ │ │ PLAY │ │VL-│ + * ├─────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴──┬───┘ ├───┤ + * │ WAKE │ │ │ │ │ │ │ │ │ │ │ ┌───┐ │ │ + * ├────┬──┴─┬─┴──┬┴───┴───┴─┬─┴───┴──┬┴───┼───┴┬───┘ │ │ └───┘ + * │RSET│ │ │ │ │ │ │ ┌───┼───┼───┐ + * └────┴────┴────┴──────────┴────────┴────┴────┘ │ │ │ │ + * └───┴───┴───┘ + */ +[2] = LAYOUT_ortho_mod_4x14( \ + RGB_HUI, RGB_SAI, _______, KC_UP, _______, _______, _______, KC_UNDS, _______, KC_LBRC, KC_RBRC, RGB_VAI, _______, _______, \ + RGB_HUD, RGB_SAD, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, KC_MINS, _______, KC_LCBR, KC_RCBR, RGB_VAD, _______, _______, \ + KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, \ + RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______ \ +), + +}; + +#ifdef RGBLIGHT_LAYERS + +const rgblight_segment_t PROGMEM my_layer0_layer[] = RGBLIGHT_LAYER_SEGMENTS( + {0, 3, HSV_RED} +); +const rgblight_segment_t PROGMEM my_layer1_layer[] = RGBLIGHT_LAYER_SEGMENTS( + {0, 3, HSV_CYAN} +); +const rgblight_segment_t PROGMEM my_layer2_layer[] = RGBLIGHT_LAYER_SEGMENTS( + {0, 3, HSV_PURPLE} +); +const rgblight_segment_t PROGMEM my_layer3_layer[] = RGBLIGHT_LAYER_SEGMENTS( + {0, 3, HSV_GREEN} +); + +const rgblight_segment_t* const PROGMEM my_rgb_layers[] = RGBLIGHT_LAYERS_LIST( + my_layer0_layer, + my_layer1_layer, + my_layer2_layer, + my_layer3_layer +); + +void keyboard_post_init_user(void) { + // Enable the LED layers + rgblight_layers = my_rgb_layers; +} + +layer_state_t default_layer_state_set_user(layer_state_t state) { + rgblight_set_layer_state(0, layer_state_cmp(state, 0)); + return state; +} + +layer_state_t layer_state_set_user(layer_state_t state) { + rgblight_set_layer_state(1, layer_state_cmp(state, 1)); + rgblight_set_layer_state(2, layer_state_cmp(state, 2)); + rgblight_set_layer_state(3, layer_state_cmp(state, 3)); + return state; +} +#endif diff --git a/keyboards/checkerboards/45_ats_ortho/keymaps/vial/readme.md b/keyboards/checkerboards/45_ats_ortho/keymaps/vial/readme.md new file mode 100644 index 00000000000..04946be3807 --- /dev/null +++ b/keyboards/checkerboards/45_ats_ortho/keymaps/vial/readme.md @@ -0,0 +1,2 @@ +# The Default 45_ATS_Ortho Layout + diff --git a/keyboards/checkerboards/45_ats_ortho/keymaps/vial/rules.mk b/keyboards/checkerboards/45_ats_ortho/keymaps/vial/rules.mk new file mode 100644 index 00000000000..1f41afa35c7 --- /dev/null +++ b/keyboards/checkerboards/45_ats_ortho/keymaps/vial/rules.mk @@ -0,0 +1,5 @@ +VIA_ENABLE = yes +VIAL_ENABLE = yes +LTO_ENABLE = yes + +VIAL_INSECURE = yes diff --git a/keyboards/checkerboards/45_ats_ortho/keymaps/vial/vial.json b/keyboards/checkerboards/45_ats_ortho/keymaps/vial/vial.json new file mode 100644 index 00000000000..41d776191a7 --- /dev/null +++ b/keyboards/checkerboards/45_ats_ortho/keymaps/vial/vial.json @@ -0,0 +1,17 @@ +{ + "name": "45-ATS Ortho", + "vendorId": "0x7070", + "productId": "0x4511", + "lighting": "qmk_rgblight", + "matrix": {"rows": 4, "cols": 14}, + "layouts": { + "keymap": [ + ["0,0","0,1","0,2","0,3","0,4","0,5","0,6","0,7","0,8","0,9","0,10","0,11","0,12",{"x":0.5},"0,13"], + ["1,0","1,1","1,2","1,3","1,4","1,5","1,6","1,7","1,8","1,9","1,10","1,11","1,12",{"x":0.5},"1,13"], + ["2,0","2,1","2,2","2,3","2,4","2,5","2,6","2,7","2,8","2,9","2,10","2,11",{"x":1.5},"2,13"], + [{"y":-0.75,"x":12.25},"2,12"], + [{"y":-0.25,"w":1.5},"3,0","3,1",{"a":4,"w":1.25},"3,2",{"w":2.25},"3,4",{"w":2.25},"3,6",{"w":1.25},"3,8",{"w":1.5},"3,10"], + [{"y":-0.75,"x":11.25},"3,11","3,12","3,13"] + ] + } +} diff --git a/keyboards/checkerboards/45_ats_ortho/readme.md b/keyboards/checkerboards/45_ats_ortho/readme.md new file mode 100644 index 00000000000..9fcd70f6458 --- /dev/null +++ b/keyboards/checkerboards/45_ats_ortho/readme.md @@ -0,0 +1,16 @@ +# 45-ATS-Ortho + +![45ats](https://i.imgur.com/a/zEBEouS.png) + +A Premium and Beautiful 45% (And-Then-Some) Keyboard. Concept and Design by [Abec13](https://www.reddit.com/user/abec13). + +- Keyboard Designer: [Abec13](https://reddit.com/u/abec13/) +- Keyboard Maintainer: [Nasp](https://github.com/the-royal) +- Hardware Supported: 45-ATS v1.0 Ortho PCB +- Hardware Availability: Through Group Buy - Dec. 2019 + +Make example for this keyboard (after setting up your build environment): + + make checkerboards/45_ats_ortho:default + +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/checkerboards/45_ats_ortho/rules.mk b/keyboards/checkerboards/45_ats_ortho/rules.mk new file mode 100644 index 00000000000..0604aee2334 --- /dev/null +++ b/keyboards/checkerboards/45_ats_ortho/rules.mk @@ -0,0 +1,29 @@ +# MCU name +MCU = atmega32u4 + +# Bootloader selection +# Teensy halfkay +# Pro Micro caterina +# Atmel DFU atmel-dfu +# LUFA DFU lufa-dfu +# QMK DFU qmk-dfu +# ATmega32A bootloadHID +# ATmega328P USBasp +BOOTLOADER = atmel-dfu + +# Build Options +# change yes to no to disable +# +BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration(+1000) +MOUSEKEY_ENABLE = yes # Mouse keys(+4700) +EXTRAKEY_ENABLE = yes # Audio control and System control(+450) +CONSOLE_ENABLE = no # Console for debug(+400) +COMMAND_ENABLE = no # Commands for debug and configuration +SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend +NKRO_ENABLE = yes # USB Nkey Rollover +BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default +MIDI_ENABLE = no # MIDI controls +UNICODE_ENABLE = no # Unicode +BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID +AUDIO_ENABLE = no # Audio output on port C6 +RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow