~ruther/qmk_firmware

8ea8a4edcb2e33df93bdcfae08b4aeef05d995c6 — Terlekchi Seityagiya 2 years ago 48dc812
[Keyboard] Kepler 33 (#18771)

Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
A keyboards/kepler_33/proto/info.json => keyboards/kepler_33/proto/info.json +85 -0
@@ 0,0 1,85 @@
{
    "manufacturer": "Yaya-alone-Team",
    "keyboard_name": "Kepler-33",
    "maintainer": "Seityaya",
    "bootloader": "stm32-dfu",
    "features": {
        "bootmagic": true,
        "command": false,
        "console": false,
        "extrakey": true,
        "mousekey": true,
        "nkro": true
    },

    "processor": "STM32F401",
    "board": "BLACKPILL_STM32_F401",
    "url": "https://github.com/seityaya/Kepler-33",
    "usb": {
        "device_version": "1.0.0",
        "pid": "0x0000",
        "vid": "0xFEED"
    },
    "diode_direction": "ROW2COL",
    "matrix_pins": {
        "rows": ["B12", "B13", "B14", "B15"],
        "cols": ["A0", "A1", "A2", "A3", "A4", "A5",  "A6", "A7", "B0", "B1", "B6", "B10", "B9", "B8", "B7"]
    },
    "layouts": {
        "LAYOUT_proto": {
            "layout": [
                {"matrix": [0, 0],  "label":"Esc",     "x":0,        "y":0},
                {"matrix": [0, 1],  "label":"Q",       "x":1,        "y":0},
                {"matrix": [0, 2],  "label":"W",       "x":2,        "y":0},
                {"matrix": [0, 3],  "label":"E",       "x":3,        "y":0},
                {"matrix": [0, 4],  "label":"R",       "x":4,        "y":0},
                {"matrix": [0, 5],  "label":"T",       "x":5,        "y":0},
                {"matrix": [0, 6],  "label":"Y",       "x":6,        "y":0},
                {"matrix": [0, 8],  "label":"U",       "x":7,        "y":0},
                {"matrix": [0, 9],  "label":"I",       "x":8,        "y":0},
                {"matrix": [0, 10], "label":"O",       "x":9,        "y":0},
                {"matrix": [0, 11], "label":"P",       "x":10,       "y":0},
                {"matrix": [0, 12], "label":"[{",      "x":11,       "y":0},
                {"matrix": [0, 13], "label":"]}",      "x":12,       "y":0},
                {"matrix": [0, 14], "label":"Del",     "x":13,       "y":0},

                {"matrix": [1, 0],  "label":"Layer",   "x":0.25,     "y":1},
                {"matrix": [1, 1],  "label":"A",       "x":1.5,      "y":1},
                {"matrix": [1, 2],  "label":"S",       "x":2.5,      "y":1},
                {"matrix": [1, 3],  "label":"D",       "x":3.5,      "y":1},
                {"matrix": [1, 4],  "label":"F",       "x":4.5,      "y":1},
                {"matrix": [1, 5],  "label":"G",       "x":5.5,      "y":1},
                {"matrix": [1, 7],  "label":"H",       "x":6.5,      "y":1},
                {"matrix": [1, 9],  "label":"J",       "x":7.5,      "y":1},
                {"matrix": [1, 10], "label":"K",       "x":8.5,      "y":1},
                {"matrix": [1, 11], "label":"L",       "x":9.5,      "y":1},
                {"matrix": [1, 12], "label":";:",      "x":10.5,     "y":1},
                {"matrix": [1, 13], "label":"'\"",     "x":11.5,     "y":1},
                {"matrix": [1, 14], "label":"Enter",   "x":12.75,    "y":1},
  
                {"matrix": [2, 0],  "label":"Shift_L", "x":0.5,       "y":2},
                {"matrix": [2, 1],  "label":"Z",       "x":2,         "y":2},
                {"matrix": [2, 2],  "label":"X",       "x":3,         "y":2},
                {"matrix": [2, 3],  "label":"C",       "x":4,         "y":2},
                {"matrix": [2, 4],  "label":"V",       "x":5,         "y":2},
                {"matrix": [2, 6],  "label":"B",       "x":6,         "y":2},
                {"matrix": [2, 8],  "label":"N",       "x":7,         "y":2},
                {"matrix": [2, 10], "label":"M",       "x":8,         "y":2},
                {"matrix": [2, 11], "label":",<",      "x":9,         "y":2},
                {"matrix": [2, 12], "label":".>",      "x":10,        "y":2},
                {"matrix": [2, 13], "label":"/?",      "x":11,        "y":2},
                {"matrix": [2, 14], "label":"BackS",   "x":12.5,      "y":2},

                {"matrix": [3, 0],  "label":"Ctrl_L",  "x":0,         "y":3},
                {"matrix": [3, 1],  "label":"FN_L",    "x":1.25,      "y":3},
                {"matrix": [3, 2],  "label":"Alt_L",   "x":2.5,       "y":3},
                {"matrix": [3, 4],  "label":"Space",   "x":5,         "y":3},
                {"matrix": [3, 7],  "label":"Space",   "x":6.5,       "y":3},
                {"matrix": [3, 10], "label":"Menu",    "x":8,         "y":3},
                {"matrix": [3, 12], "label":"Alt_R",   "x":10.5,      "y":3},
                {"matrix": [3, 13], "label":"FN_R",    "x":11.75,     "y":3},
                {"matrix": [3, 14], "label":"Ctrl_R",  "x":13,        "y":3}
            ]
        }
    }
}

A keyboards/kepler_33/proto/keymaps/default/keymap.c => keyboards/kepler_33/proto/keymaps/default/keymap.c +30 -0
@@ 0,0 1,30 @@
/*
This is the c configuration file for the keymap

Copyright 2022 Seityaya <seityaya@ukr.net>

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 <http://www.gnu.org/licenses/>.
*/

#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

    [0] = LAYOUT_proto(
        KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_DEL, 
		MO(15),    KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,    KC_ENT, 
		KC_LSFT,      KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH,    KC_BSPC, 
		KC_LCTL, MO(1), KC_LALT,          KC_SPC, KC_SPC, KC_APP,            KC_RALT, MO(2), KC_RCTL
    )
};

A keyboards/kepler_33/proto/readme.md => keyboards/kepler_33/proto/readme.md +3 -0
@@ 0,0 1,3 @@
# Kepler-33 / proto

True 40% keyboard. So far only a prototype.
\ No newline at end of file

A keyboards/kepler_33/proto/rules.mk => keyboards/kepler_33/proto/rules.mk +0 -0
A keyboards/kepler_33/readme.md => keyboards/kepler_33/readme.md +26 -0
@@ 0,0 1,26 @@
# Kepler-33

![Kepler-33](https://i.imgur.com/zVvzBrOl.png)

True 40% keyboard. The simple and symmetric.

* Keyboard Maintainer: [Yaya](https://github.com/seityaya)
* Hardware Supported: Kepler-33/proto, STM32F401
* Hardware Availability: *[Telegram](https://t.me/seityaya)*
* Keyboard Layout Editor: [Kepler-33](http://www.keyboard-layout-editor.com/#/gists/a456c2256174a2cfa0b4aea832e78d8e)

Make example for this keyboard (after setting up your build environment):

    make kepler_33/proto:default

Flashing example for this keyboard:

    make kepler_33/proto:default:flash

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).

## Bootloader

Enter the bootloader in 1 ways:

* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead
\ No newline at end of file