new 44 key split keyboard marek128b (#583)
* added marek128b-ergosplit44 keybord v0.1 * Update readme.md
This commit is contained in:
parent
99d1699b2c
commit
e148204efa
9 changed files with 358 additions and 0 deletions
32
keyboards/handwired/marek128b/ergosplit44/config.h
Normal file
32
keyboards/handwired/marek128b/ergosplit44/config.h
Normal file
|
@ -0,0 +1,32 @@
|
|||
// Copyright 2023 Marek128b (@Marek128b)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
/*
|
||||
* Feature disable options
|
||||
* These options are also useful to firmware size reduction.
|
||||
*/
|
||||
|
||||
/* disable debug print */
|
||||
//#define NO_DEBUG
|
||||
|
||||
/* disable print */
|
||||
//#define NO_PRINT
|
||||
|
||||
/* disable action features */
|
||||
//#define NO_ACTION_LAYER
|
||||
//#define NO_ACTION_TAPPING
|
||||
//#define NO_ACTION_ONESHOT
|
||||
|
||||
|
||||
//define rgb for ws2812b - 2020 leds
|
||||
//#define WS2812_BYTE_ORDER WS2812_BYTE_ORDER_RGB
|
||||
|
||||
//vial | get the uid: python3 util/vial_generate_keyboard_uid.py
|
||||
#define VIAL_KEYBOARD_UID {0x5F, 0x97, 0x91, 0x98, 0xCB, 0x9F, 0x51, 0xCD}
|
||||
#define VIAL_UNLOCK_COMBO_ROWS {0, 0}
|
||||
#define VIAL_UNLOCK_COMBO_COLS {0, 1}
|
||||
|
||||
//layer count
|
||||
#define DYNAMIC_KEYMAP_LAYER_COUNT 5
|
171
keyboards/handwired/marek128b/ergosplit44/info.json
Normal file
171
keyboards/handwired/marek128b/ergosplit44/info.json
Normal file
|
@ -0,0 +1,171 @@
|
|||
{
|
||||
"manufacturer": "Marek128b",
|
||||
"keyboard_name": "ergosplit44",
|
||||
"maintainer": "Marek128b",
|
||||
"bootloader": "rp2040",
|
||||
"diode_direction": "COL2ROW",
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"command": false,
|
||||
"console": false,
|
||||
"extrakey": true,
|
||||
"mousekey": true,
|
||||
"nkro": true,
|
||||
"rgb_matrix": true
|
||||
},
|
||||
"matrix_pins": {
|
||||
//cols: 12
|
||||
//rows: 4
|
||||
"cols": ["GP6", "GP7", "GP8", "GP9", "GP10", "GP11", "GP12", "GP13", "GP14", "GP15", "GP17", "GP18"],
|
||||
"rows": ["GP2", "GP3", "GP4", "GP5"]
|
||||
},
|
||||
"processor": "RP2040",
|
||||
"url": "",
|
||||
"usb": {
|
||||
"device_version": "1.0.0",
|
||||
"pid": "0x0001",
|
||||
"vid": "0x4D41"
|
||||
},
|
||||
"ws2812": {
|
||||
"driver": "vendor",
|
||||
"pin": "GP26"
|
||||
},
|
||||
"rgb_matrix": {
|
||||
"driver": "ws2812",
|
||||
"max_brightness": 25,
|
||||
"animations": {
|
||||
"breathing": true,
|
||||
"cycle_all": true,
|
||||
"cycle_left_right": true,
|
||||
"cycle_up_down": true,
|
||||
"rainbow_moving_chevron": true,
|
||||
"cycle_out_in": true,
|
||||
"cycle_out_in_dual": true,
|
||||
"cycle_pinwheel": true,
|
||||
"cycle_spiral": true,
|
||||
"dual_beacon": true,
|
||||
"rainbow_beacon": true,
|
||||
"raindrops": true,
|
||||
"typing_heatmap": true,
|
||||
"solid_reactive_simple": true,
|
||||
"solid_reactive": true,
|
||||
"solid_reactive_cross": true,
|
||||
"multisplash": true
|
||||
},
|
||||
"layout":[
|
||||
// Row 1
|
||||
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||
{"matrix": [0, 1], "x": 1, "y": 0},
|
||||
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||
{"matrix": [0, 3], "x": 3, "y": 0},
|
||||
{"matrix": [0, 4], "x": 4, "y": 0},
|
||||
{"matrix": [0, 5], "x": 5, "y": 0},
|
||||
{"matrix": [0, 6], "x": 6, "y": 0},
|
||||
{"matrix": [0, 7], "x": 7, "y": 0},
|
||||
{"matrix": [0, 8], "x": 8, "y": 0},
|
||||
{"matrix": [0, 9], "x": 9, "y": 0},
|
||||
{"matrix": [0, 10], "x": 10, "y": 0},
|
||||
{"matrix": [0, 11], "x": 11, "y": 0},
|
||||
|
||||
// Row 2
|
||||
{"matrix": [1, 0], "x": 0, "y": 1},
|
||||
{"matrix": [1, 1], "x": 1, "y": 1},
|
||||
{"matrix": [1, 2], "x": 2, "y": 1},
|
||||
{"matrix": [1, 3], "x": 3, "y": 1},
|
||||
{"matrix": [1, 4], "x": 4, "y": 1},
|
||||
{"matrix": [1, 5], "x": 5, "y": 1},
|
||||
{"matrix": [1, 6], "x": 6, "y": 1},
|
||||
{"matrix": [1, 7], "x": 7, "y": 1},
|
||||
{"matrix": [1, 8], "x": 8, "y": 1},
|
||||
{"matrix": [1, 9], "x": 9, "y": 1},
|
||||
{"matrix": [1, 10], "x": 10, "y": 1},
|
||||
{"matrix": [1, 11], "x": 11, "y": 1},
|
||||
|
||||
// Row 3
|
||||
{"matrix": [2, 0], "x": 0, "y": 2},
|
||||
{"matrix": [2, 1], "x": 1, "y": 2},
|
||||
{"matrix": [2, 2], "x": 2, "y": 2},
|
||||
{"matrix": [2, 3], "x": 3, "y": 2},
|
||||
{"matrix": [2, 4], "x": 4, "y": 2},
|
||||
{"matrix": [2, 5], "x": 5, "y": 2},
|
||||
{"matrix": [2, 6], "x": 6, "y": 2},
|
||||
{"matrix": [2, 7], "x": 7, "y": 2},
|
||||
{"matrix": [2, 8], "x": 8, "y": 2},
|
||||
{"matrix": [2, 9], "x": 9, "y": 2},
|
||||
{"matrix": [2, 10], "x": 10, "y": 2},
|
||||
{"matrix": [2, 11], "x": 11, "y": 2},
|
||||
|
||||
// Row 4
|
||||
{"matrix": [3, 2], "x": 2, "y": 3},
|
||||
{"matrix": [3, 3], "x": 3, "y": 3},
|
||||
{"matrix": [3, 4], "x": 4, "y": 3},
|
||||
{"matrix": [3, 5], "x": 5, "y": 3},
|
||||
|
||||
{"matrix": [3, 6], "x": 6, "y": 3},
|
||||
{"matrix": [3, 7], "x": 7, "y": 3},
|
||||
{"matrix": [3, 8], "x": 8, "y": 3},
|
||||
{"matrix": [3, 9], "x": 9, "y": 3}
|
||||
]
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout":[ //https://qmk.fm/converter/
|
||||
//row 1
|
||||
{"label":"tab", "matrix": [0, 0],"x":0, "y":1.25},
|
||||
{"label":"Q", "matrix": [0, 1],"x":1, "y":1.25},
|
||||
{"label":"W", "matrix": [0, 2],"x":2, "y":0.75},
|
||||
{"label":"E", "matrix": [0, 3],"x":3, "y":0.5},
|
||||
{"label":"R", "matrix": [0, 4],"x":4, "y":0.75},
|
||||
{"label":"T", "matrix": [0, 5],"x":5, "y":1},
|
||||
|
||||
{"label":"Y", "matrix": [0, 6],"x":9.75, "y":1},
|
||||
{"label":"U", "matrix": [0, 7],"x":10.75, "y":0.75},
|
||||
{"label":"I", "matrix": [0, 8],"x":11.75, "y":0.5},
|
||||
{"label":"O", "matrix": [0, 9],"x":12.75, "y":0.75},
|
||||
{"label":"P", "matrix": [0, 10],"x":13.75, "y":1.25},
|
||||
{"label":"\u00dc", "matrix": [0, 11],"x":14.75, "y":1.25},
|
||||
|
||||
//row 2
|
||||
{"label":"back-space", "matrix": [1, 0],"x":0, "y":2.25},
|
||||
{"label":"A", "matrix": [1, 1],"x":1, "y":2.25},
|
||||
{"label":"S", "matrix": [1, 2],"x":2, "y":1.75},
|
||||
{"label":"D", "matrix": [1, 3],"x":3, "y":1.5},
|
||||
{"label":"F", "matrix": [1, 4],"x":4, "y":1.75},
|
||||
{"label":"G", "matrix": [1, 5],"x":5, "y":2},
|
||||
|
||||
{"label":"H", "matrix": [1, 6],"x":9.75, "y":2},
|
||||
{"label":"J", "matrix": [1, 7],"x":10.75, "y":1.75},
|
||||
{"label":"K", "matrix": [1, 8],"x":11.75, "y":1.5},
|
||||
{"label":"L", "matrix": [1, 9],"x":12.75, "y":1.75},
|
||||
{"label":"\u00d6", "matrix": [1, 10],"x":13.75, "y":2.25},
|
||||
{"label":"\u00c4", "matrix": [1, 11],"x":14.75, "y":2.25},
|
||||
|
||||
//row 3
|
||||
{"label":"shift", "matrix": [2, 0],"x":0, "y":3.25},
|
||||
{"label":"Z", "matrix": [2, 1],"x":1, "y":3.25},
|
||||
{"label":"X", "matrix": [2, 2],"x":2, "y":2.75},
|
||||
{"label":"C", "matrix": [2, 3],"x":3, "y":2.5},
|
||||
{"label":"V", "matrix": [2, 4],"x":4, "y":2.75},
|
||||
{"label":"B", "matrix": [2, 5],"x":5, "y":3},
|
||||
|
||||
{"label":"N", "matrix": [2, 6],"x":9.75, "y":3},
|
||||
{"label":"M", "matrix": [2, 7],"x":10.75, "y":2.75},
|
||||
{"label":"<", "matrix": [2, 8],"x":11.75, "y":2.5},
|
||||
{"label":":", "matrix": [2, 9],"x":12.75, "y":2.75},
|
||||
{"label":"_", "matrix": [2, 10],"x":13.75, "y":3.25},
|
||||
{"label":"Shift", "matrix": [2, 11],"x":14.75, "y":3.25},
|
||||
|
||||
//row 4
|
||||
{"label":"L2", "matrix": [3, 2],"x":-3.5, "y":4.5},
|
||||
{"label":"Alt", "matrix": [3, 3],"x":-2.25, "y":7.25},
|
||||
{"label":"Strg", "matrix": [3, 4],"x":-1.0, "y":7.25},
|
||||
{"label":"Space", "matrix": [3, 5],"x":0, "y":7},
|
||||
|
||||
{"label":"Space", "matrix": [3, 6],"x":-1.0, "y":8.5},
|
||||
{"label":"Strg", "matrix": [3, 7],"x":0, "y":8.75},
|
||||
{"label":"AltGr", "matrix": [3, 8],"x":1.25, "y":8.75},
|
||||
{"label":"L1", "matrix": [3, 9],"x":2.5, "y":5.75}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,55 @@
|
|||
// Copyright 2023 QMK
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
#include "rgb.c"
|
||||
|
||||
enum layer_names {
|
||||
_QWERTY,
|
||||
_COLEMAK,
|
||||
_LOWER,
|
||||
_RAISE,
|
||||
_ADJUST,
|
||||
};
|
||||
|
||||
enum custom_keycodes {
|
||||
QWERTY,
|
||||
COLEMAK,
|
||||
LOWER,
|
||||
RAISE,
|
||||
ADJUST,
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[_QWERTY] = LAYOUT(
|
||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Z, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
|
||||
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_NO, KC_ENT,
|
||||
KC_LSFT, KC_Y, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_MINS, KC_RSFT,
|
||||
TG(COLEMAK),KC_LCTL, KC_SPC, KC_LSFT, KC_RSFT, KC_SPC, MO(RAISE), KC_RALT
|
||||
),
|
||||
[_COLEMAK] = LAYOUT(
|
||||
KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC,
|
||||
KC_CAPS, KC_A, KC_R, KC_R, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_ENT,
|
||||
KC_LCTL, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
|
||||
TG(QWERTY), KC_LCTL, KC_SPC, KC_NO, KC_LALT, KC_SPC, MO(RAISE), KC_RALT
|
||||
),
|
||||
[_LOWER] = LAYOUT(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
[_RAISE] = LAYOUT(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
[_ADJUST] = LAYOUT(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
};
|
|
@ -0,0 +1,33 @@
|
|||
#include "quantum.h"
|
||||
|
||||
bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max)
|
||||
{
|
||||
if (host_keyboard_led_state().caps_lock)
|
||||
{
|
||||
rgb_matrix_set_color(0, RGB_RED);
|
||||
}
|
||||
|
||||
if (host_keyboard_led_state().num_lock)
|
||||
{
|
||||
rgb_matrix_set_color(1, RGB_RED);
|
||||
}
|
||||
|
||||
if (host_keyboard_led_state().scroll_lock)
|
||||
{
|
||||
rgb_matrix_set_color(2, RGB_RED);
|
||||
}
|
||||
|
||||
if (get_highest_layer(layer_state) == 1)
|
||||
{
|
||||
rgb_matrix_set_color(3, RGB_CYAN);
|
||||
}
|
||||
else if (get_highest_layer(layer_state) == 2)
|
||||
{
|
||||
rgb_matrix_set_color(3, RGB_MAGENTA);
|
||||
}
|
||||
else if (get_highest_layer(layer_state) == 3)
|
||||
{
|
||||
rgb_matrix_set_color(3, RGB_YELLOW);
|
||||
}
|
||||
return false;
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
// Copyright 2023 QMK
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include "../default/keymap.c"
|
|
@ -0,0 +1,2 @@
|
|||
VIA_ENABLE = yes
|
||||
VIAL_ENABLE = yes
|
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
"name": "MarekSplit44",
|
||||
"vendorId": "0x4D41",
|
||||
"productId": "0x0001",
|
||||
"matrix": {
|
||||
"rows": 4,
|
||||
"cols": 12
|
||||
},
|
||||
"layouts": {
|
||||
"keymap": [
|
||||
[{"y":0.5,"x":3},"0,3",{"x":7.75},"0,8"],
|
||||
[{"y":-0.75,"x":2},"0,2",{"x":1},"0,4",{"x":5.75},"0,7",{"x":1},"0,9"],
|
||||
[{"y":-0.75,"x":5},"0,5",{"x":3.75},"0,6"],
|
||||
[{"y":-0.75},"0,0","0,1",{"x":11.75},"0,10","0,11"],
|
||||
[{"y":-0.75,"x":3},"1,3",{"x":7.75},"1,8"],
|
||||
[{"y":-0.75,"x":2},"1,2",{"x":1},"1,4",{"x":5.75},"1,7",{"x":1},"1,9"],
|
||||
[{"y":-0.75,"x":5},"1,5",{"x":3.75},"1,6"],
|
||||
[{"y":-0.75},"1,0","1,1",{"x":11.75},"1,10","1,11"],
|
||||
[{"y":-0.75,"x":3},"2,3",{"x":7.75},"2,8"],
|
||||
[{"y":-0.75,"x":2},"2,2",{"x":1},"2,4",{"x":5.75},"2,7",{"x":1},"2,9"],
|
||||
[{"y":-0.75,"x":5},"2,5",{"x":3.75},"2,6"],
|
||||
[{"y":-0.75},"2,0","2,1",{"x":11.75},"2,10","2,11"],
|
||||
[{"rx":6.25,"ry":4,"y":0.25,"x":-3.5},"3,2"],
|
||||
[{"rx":9.5,"y":0.25,"x":2.5},"3,9"],
|
||||
[{"r":10,"rx":6.25,"y":0.5,"x":-2.25},"3,3"],
|
||||
[{"r":15,"y":-1.25},"3,5"],
|
||||
[{"y":-0.75,"x":-1},"3,4"],
|
||||
[{"r":-15,"rx":9.5,"y":0.25,"x":-1},"3,6"],
|
||||
[{"y":-0.75},"3,7"],
|
||||
[{"r":-10,"y":-1,"x":1.25},"3,8"]
|
||||
]
|
||||
}
|
||||
}
|
27
keyboards/handwired/marek128b/ergosplit44/readme.md
Normal file
27
keyboards/handwired/marek128b/ergosplit44/readme.md
Normal file
|
@ -0,0 +1,27 @@
|
|||
# ergosplit44
|
||||
|
||||
![ergosplit44](https://i.imgur.com/RhRIe2a.png)
|
||||
|
||||
This is a handdwired split 44 key keyboard. the two sides are connectd via a custom 2x8P pin header cable.
|
||||
|
||||
* Keyboard Maintainer: [Marek128b](https://github.com/Marek128b)
|
||||
* Hardware Supported: RP2040
|
||||
* Hardware Availability: https://github.com/Marek128b/Split40/tree/main/hardware
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make ergosplit44:default
|
||||
|
||||
Flashing example for this keyboard:
|
||||
|
||||
make ergosplit44: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 3 ways:
|
||||
|
||||
* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard
|
||||
* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead
|
||||
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
|
1
keyboards/handwired/marek128b/ergosplit44/rules.mk
Normal file
1
keyboards/handwired/marek128b/ergosplit44/rules.mk
Normal file
|
@ -0,0 +1 @@
|
|||
# This file intentionally left blank
|
Loading…
Reference in a new issue