Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added ergosplit44 keybord v1 #22344

Merged
merged 48 commits into from
Dec 12, 2023
Merged
Show file tree
Hide file tree
Changes from 18 commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
397ac15
added ergosplit44 keybord v1
Marek128b Oct 27, 2023
8e0b4e9
added marek128b-ergosplit44 keybord v0.1
Marek128b Oct 27, 2023
6eb7284
Merge branch 'qmk:master' into master
Marek128b Oct 27, 2023
30b789b
added marek128b-ergosplit44 keybord v0.1.1
Marek128b Oct 27, 2023
10bb057
Merge branch 'master' of https://github.com/Marek128b/qmk_firmware
Marek128b Oct 27, 2023
0f1ee3c
Update keyboards/handwired/marek128b/ergosplit44/info.json
Marek128b Oct 27, 2023
3f35e34
Update keyboards/handwired/marek128b/ergosplit44/keymaps/default/rgb.c
Marek128b Oct 27, 2023
0a22d31
Update keyboards/handwired/marek128b/ergosplit44/readme.md
Marek128b Oct 27, 2023
5b3db0b
Update keyboards/handwired/marek128b/ergosplit44/readme.md
Marek128b Oct 27, 2023
f111867
Update keyboards/handwired/marek128b/ergosplit44/readme.md
Marek128b Oct 27, 2023
ec376b4
Update keyboards/handwired/marek128b/ergosplit44/readme.md
Marek128b Oct 27, 2023
026bbad
Update keyboards/handwired/marek128b/ergosplit44/keymaps/default/rgb.c
Marek128b Oct 27, 2023
7afee6b
Update keyboards/handwired/marek128b/ergosplit44/keymaps/default/rgb.c
Marek128b Oct 27, 2023
e3a1206
Update keyboards/handwired/marek128b/ergosplit44/info.json
Marek128b Oct 27, 2023
bbe8524
added switch case to rgb.c
Marek128b Oct 27, 2023
d5acd85
Update info.json
Marek128b Oct 27, 2023
b0aa228
Update keyboards/handwired/marek128b/ergosplit44/info.json
Marek128b Oct 27, 2023
946eba0
Update config.h no vial
Marek128b Oct 27, 2023
d70da51
Delete keyboards/handwired/marek128b/ergosplit44/config.h
Marek128b Oct 30, 2023
6165f46
Update keyboards/handwired/marek128b/ergosplit44/info.json
Marek128b Oct 31, 2023
039d9be
Update keyboards/handwired/marek128b/ergosplit44/info.json
Marek128b Oct 31, 2023
e65404a
changed rgb.c to keyboard level
Marek128b Nov 1, 2023
bd8193d
changed rgb.h add copyright
Marek128b Nov 1, 2023
8da84f7
Update keyboards/handwired/marek128b/ergosplit44/rules.mk
Marek128b Nov 2, 2023
31f2456
Delete keyboards/handwired/marek128b/ergosplit44/rgb.h
Marek128b Nov 2, 2023
212a29f
deleted rgb.h rgb.c moved to keymap.c
Marek128b Nov 2, 2023
0dff787
Merge branch 'master' of https://github.com/Marek128b/qmk_firmware
Marek128b Nov 2, 2023
864aa15
Update keymap.c
Marek128b Nov 2, 2023
da5b511
Update keymap.c
Marek128b Nov 2, 2023
ce07c86
Update keyboards/handwired/marek128b/ergosplit44/keymaps/default/keym…
Marek128b Nov 2, 2023
11333f5
Update keyboards/handwired/marek128b/ergosplit44/keymaps/default/keym…
Marek128b Nov 2, 2023
81c0290
Update keymap.c
Marek128b Nov 2, 2023
5d3dba8
Update keyboards/handwired/marek128b/ergosplit44/keymaps/default/keym…
Marek128b Nov 2, 2023
29c41c7
Update keyboards/handwired/marek128b/ergosplit44/keymaps/default/keym…
Marek128b Nov 2, 2023
d888128
Update keyboards/handwired/marek128b/ergosplit44/keymaps/default/keym…
Marek128b Nov 2, 2023
f372c35
Update keymap.c
Marek128b Nov 2, 2023
a71e00d
Update keyboards/handwired/marek128b/ergosplit44/keymaps/default/keym…
Marek128b Nov 3, 2023
5734478
Update keymap.c
Marek128b Nov 3, 2023
e85fbe6
Update keyboards/handwired/marek128b/ergosplit44/readme.md
Marek128b Nov 4, 2023
57b4009
Update keyboards/handwired/marek128b/ergosplit44/rules.mk
Marek128b Nov 4, 2023
af9e31c
Deleted comments in info.json
Marek128b Nov 4, 2023
1e7ba57
Update keyboards/handwired/marek128b/ergosplit44/keymaps/default/keym…
Marek128b Nov 4, 2023
f019360
Update keyboards/handwired/marek128b/ergosplit44/keymaps/default/keym…
Marek128b Nov 4, 2023
7ae22aa
Update keyboards/handwired/marek128b/ergosplit44/info.json
Marek128b Nov 8, 2023
15249d4
Update keyboards/handwired/marek128b/ergosplit44/keymaps/default/keym…
Marek128b Nov 8, 2023
6bb0af7
Merge branch 'qmk:master' into master
Marek128b Nov 10, 2023
0b4a567
Merge branch 'master' into master
Marek128b Nov 28, 2023
7c2b518
Merge branch 'master' into master
Marek128b Dec 7, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions keyboards/handwired/marek128b/ergosplit44/config.h
Marek128b marked this conversation as resolved.
Show resolved Hide resolved
Marek128b marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// 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 some ws2812b - 2020 leds
//#define WS2812_BYTE_ORDER WS2812_BYTE_ORDER_RGB

//layer count
#define DYNAMIC_KEYMAP_LAYER_COUNT 5
172 changes: 172 additions & 0 deletions keyboards/handwired/marek128b/ergosplit44/info.json
Marek128b marked this conversation as resolved.
Show resolved Hide resolved
Marek128b marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,172 @@
{
"manufacturer": "Marek128b",
"keyboard_name": "ergosplit44",
"maintainer": "Marek128b",
"bootloader": "rp2040",
"diode_direction": "COL2ROW",
"dynamic_keymap": {
"layer_count": 5
},
"features": {
Marek128b marked this conversation as resolved.
Show resolved Hide resolved
"bootmagic": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"nkro": true,
"rgb_matrix": true
},
"matrix_pins": {
"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":[
Marek128b marked this conversation as resolved.
Show resolved Hide resolved
// 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/
Marek128b marked this conversation as resolved.
Show resolved Hide resolved
//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}
]
}
}
}
55 changes: 55 additions & 0 deletions keyboards/handwired/marek128b/ergosplit44/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
// Copyright 2023 QMK
// SPDX-License-Identifier: GPL-2.0-or-later

#include QMK_KEYBOARD_H
#include "rgb.c"
Marek128b marked this conversation as resolved.
Show resolved Hide resolved

enum layer_names {
_QWERTY,
_COLEMAK,
_LOWER,
_RAISE,
_ADJUST,
};

enum custom_keycodes {
QWERTY,
COLEMAK,
LOWER,
RAISE,
ADJUST,
Marek128b marked this conversation as resolved.
Show resolved Hide resolved
};

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

Marek128b marked this conversation as resolved.
Show resolved Hide resolved
[_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
Marek128b marked this conversation as resolved.
Show resolved Hide resolved
),
[_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
Marek128b marked this conversation as resolved.
Show resolved Hide resolved
Marek128b marked this conversation as resolved.
Show resolved Hide resolved
),
[_LOWER] = LAYOUT(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______
),
[_RAISE] = LAYOUT(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______
),
[_ADJUST] = LAYOUT(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______
),
Marek128b marked this conversation as resolved.
Show resolved Hide resolved
Marek128b marked this conversation as resolved.
Show resolved Hide resolved
};
38 changes: 38 additions & 0 deletions keyboards/handwired/marek128b/ergosplit44/keymaps/default/rgb.c
Marek128b marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
// Copyright 2023 @Marek128b
// SPDX-License-Identifier: GPL-2.0-or-later

#include "quantum.h"

bool rgb_matrix_indicators_kb(void) {
if (!rgb_matrix_indicators_user()) {
return false;
}
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);
}

switch (get_highest_layer(layer_state))
{
case 1:
rgb_matrix_set_color(3, RGB_CYAN);
break;
case 2:
rgb_matrix_set_color(3, RGB_MAGENTA);
break;
case 3:
rgb_matrix_set_color(3, RGB_YELLOW);
break;
}
return true;
}
27 changes: 27 additions & 0 deletions keyboards/handwired/marek128b/ergosplit44/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# ergosplit44

![ergosplit44](https://i.imgur.com/RhRIe2ah.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: Handwire, designed for RP2040-Zero
Marek128b marked this conversation as resolved.
Show resolved Hide resolved
* Hardware Availability: [Open Source](https://github.com/Marek128b/Split40)

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

make handwired/marek128b/ergosplit44:default

Flashing example for this keyboard:

make handwired/marek128b/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 top left key and plug in the keyboard.
* **Physical reset button**: Hold down the `BOOT` button on the RP2040-Zero, then press the `RESET` button.
* **Keycode in layout**: There is no key mapped to `QK_BOOT` in the pre-created keymaps, but you may assign this key in any keymaps you create.
1 change: 1 addition & 0 deletions keyboards/handwired/marek128b/ergosplit44/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# This file intentionally left blank