Skip to content

Commit

Permalink
Add support for boards and pcbs from nachie
Browse files Browse the repository at this point in the history
Syndrome
Syndrome Ortho
Little Writter
Evelyn
Subtext

Also includes changes from Matt Piasecki <matthewpiasecki@icloud.com>
for OLED support for syndrome
  • Loading branch information
Nachiket Kulkarni committed Aug 2, 2024
1 parent 0feb01e commit 206703d
Show file tree
Hide file tree
Showing 88 changed files with 7,024 additions and 11 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ quantum/version.h
.idea/
.project
.settings/
.vscode/

# ?
.dep
Expand Down
15 changes: 14 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
// Place your settings in this file to overwrite default and user settings.
{
"terminal.integrated.profiles.windows": {
"QMK_MSYS": {
"path": "C:/QMK_MSYS/usr/bin/bash.exe",
"env": {
"MSYSTEM": "MINGW64",
"CHERE_INVOKING": "1"
},
"args": ["--login"]
}
},
"terminal.integrated.cursorStyle": "line",
// Unofficially, QMK uses spaces for indentation
"editor.insertSpaces": true,
// Configure glob patterns for excluding files and folders.
Expand Down Expand Up @@ -30,5 +41,7 @@
},
"clangd.arguments": [
"--header-insertion=never"
]
],
"C_Cpp.errorSquiggles": "disabled"
}

247 changes: 237 additions & 10 deletions drivers/oled/glcdfont.c

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions keyboards/nachie/evelyn/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/*
Copyright 2024 nachie
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/>.
*/
#pragma once

//#include "config_common.h"
#define RP2040_FLASH_GENERIC_03H

/* key matrix size */
#define MATRIX_ROWS 7
#define MATRIX_COLS 6

#define DEBUG_MATRIX_SCAN_RATE
#define DEBUG_ACTION

#define VIA_CUSTOM_LIGHTING_ENABLE
87 changes: 87 additions & 0 deletions keyboards/nachie/evelyn/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
{
"manufacturer": "nachie",
"keyboard_name": "Syndrome",
"maintainer": "nachie",
"board": "GENERIC_RP_RP2040",
"bootloader": "rp2040",
"processor": "RP2040",
"url": "https://littlecraftery.com/products/evelyn",
"features": {
"bootmagic": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"nkro": false,
"audio": false,
"backlight": false,
"rgb_matrix": false,
"rgblight": false,
"encoder": true
},
"dynamic_keymap": {
"layer_count": 4
},
"usb": {
"device_version": "1.0.0",
"pid": "0x4B43",
"vid": "0x6F75"
},
"diode_direction": "COL2ROW",
"matrix_pins": {
"cols": ["GP19", "GP18", "GP16", "GP7", "GP22", "GP2"],
"rows": ["GP24", "GP23", "GP25", "GP26", "GP20", "GP21", "GP17"]
},
"encoder": {
"enabled": true,
"rotary": [
{ "pin_a": "GP12", "pin_b": "GP13", "resolution": 2 },
{ "pin_a": "GP0", "pin_b": "GP1", "resolution": 2 },
{ "pin_a": "GP27", "pin_b": "GP28", "resolution": 2 }
]
},
"layouts": {
"LAYOUT": {
"layout": [
{"y": 0.0, "x": 0.29, "matrix": [0, 0], "label": "0,0"},
{"y": 0.0, "x": 10.190000000000001, "matrix": [1, 4], "label": "1,4"},
{"y": 0.0, "x": 11.190000000000001, "matrix": [0, 5], "label": "0,5"},
{"y": 0.99, "x": 0.15, "matrix": [2, 0], "w": 1.25, "label": "2,0"},
{"y": 0.99, "x": 10.58, "matrix": [2, 5], "w": 1.75, "label": "2,5"},
{"y": 1.99, "x": 0.0, "matrix": [4, 0], "w": 1.75, "label": "4,0"},
{"y": 2.99, "x": 0.09000000000000001, "matrix": [6, 0], "w": 1.25, "label": "6,0"},
{"y": 6.23, "x": 3.97, "matrix": [5, 4], "w": 1.25, "label": "5,4"},
{"y": 6.23, "x": 5.220000000000001, "matrix": [4, 5], "label": "4,5"},
{"y": 7.23, "x": 4.87, "matrix": [6, 5], "w": 1.25, "label": "6,5"},
{"y": 8.23, "x": 1.43, "matrix": [1, 0], "label": "1,0"},
{"y": 8.23, "x": 2.43, "matrix": [0, 1], "label": "0,1"},
{"y": 8.23, "x": 3.43, "matrix": [1, 1], "label": "1,1"},
{"y": 8.23, "x": 4.430000000000001, "matrix": [0, 2], "label": "0,2"},
{"y": 9.23, "x": 1.68, "matrix": [3, 0], "label": "3,0"},
{"y": 9.23, "x": 2.68, "matrix": [2, 1], "label": "2,1"},
{"y": 9.23, "x": 3.68, "matrix": [3, 1], "label": "3,1"},
{"y": 9.23, "x": 4.680000000000001, "matrix": [2, 2], "label": "2,2"},
{"y": 10.23, "x": 2.18, "matrix": [5, 0], "label": "5,0"},
{"y": 10.23, "x": 3.18, "matrix": [4, 1], "label": "4,1"},
{"y": 10.23, "x": 4.180000000000001, "matrix": [5, 1], "label": "5,1"},
{"y": 10.23, "x": 5.180000000000001, "matrix": [4, 2], "label": "4,2"},
{"y": 11.23, "x": 2.93, "matrix": [6, 1], "label": "6,1"},
{"y": 11.23, "x": 3.93, "matrix": [6, 2], "w": 2.25, "label": "6,2"},
{"y": 9.89, "x": 5.930000000000001, "matrix": [1, 2], "label": "1,2"},
{"y": 9.89, "x": 6.930000000000001, "matrix": [0, 3], "label": "0,3"},
{"y": 9.89, "x": 7.930000000000001, "matrix": [1, 3], "label": "1,3"},
{"y": 9.89, "x": 8.93, "matrix": [0, 4], "label": "0,4"},
{"y": 10.89, "x": 6.180000000000001, "matrix": [3, 2], "label": "3,2"},
{"y": 10.89, "x": 7.180000000000001, "matrix": [2, 3], "label": "2,3"},
{"y": 10.89, "x": 8.18, "matrix": [3, 3], "label": "3,3"},
{"y": 10.89, "x": 9.18, "matrix": [2, 4], "label": "2,4"},
{"y": 11.89, "x": 5.680000000000001, "matrix": [5, 2], "label": "5,2"},
{"y": 11.89, "x": 6.680000000000001, "matrix": [4, 3], "label": "4,3"},
{"y": 11.89, "x": 7.680000000000001, "matrix": [5, 3], "label": "5,3"},
{"y": 11.89, "x": 8.68, "matrix": [4, 4], "label": "4,4"},
{"y": 12.89, "x": 5.680000000000001, "matrix": [6, 3], "w": 2, "label": "6,3"},
{"y": 12.89, "x": 7.680000000000001, "matrix": [6, 4], "label": "6,4"}
]
}
}
}
87 changes: 87 additions & 0 deletions keyboards/nachie/evelyn/keyboard.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
{
"manufacturer": "nachie",
"keyboard_name": "Syndrome",
"maintainer": "nachie",
"board": "GENERIC_RP_RP2040",
"bootloader": "rp2040",
"processor": "RP2040",
"features": {
"bootmagic": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"rgb_matrix": false
},
"dynamic_keymap": {
"layer_count": 4
},
"usb": {
"device_version": "1.0.0",
"pid": "0x4B43",
"vid": "0x6F75"
},
"diode_direction": "COL2ROW",
"matrix_pins": {
"cols": ["GP19", "GP18", "GP16", "GP7", "GP22", "GP2"],
"rows": ["GP24", "GP23", "GP25", "GP26", "GP20", "GP21", "GP17"]
},
"encoder": {
"enabled": true,
"rotary": [
{ "pin_a": "GP12", "pin_b": "GP13", "resolution": 2 },
{ "pin_a": "GP0", "pin_b": "GP1", "resolution": 2 },
{ "pin_a": "GP27", "pin_b": "GP28", "resolution": 2 }
]
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"layouts": {
"LAYOUT": {
"layout": [
{"y": 0.0, "x": 0.29, "matrix": [0, 0], "label": "0,0"},
{"y": 0.0, "x": 10.190000000000001, "matrix": [1, 4], "label": "1,4"},
{"y": 0.0, "x": 11.190000000000001, "matrix": [0, 5], "label": "0,5"},
{"y": 0.99, "x": 0.15, "matrix": [2, 0], "w": 1.25, "label": "2,0"},
{"y": 0.99, "x": 10.58, "matrix": [2, 5], "w": 1.75, "label": "2,5"},
{"y": 1.99, "x": 0.0, "matrix": [4, 0], "w": 1.75, "label": "4,0"},
{"y": 2.99, "x": 0.09000000000000001, "matrix": [6, 0], "w": 1.25, "label": "6,0"},
{"y": 6.23, "x": 3.97, "matrix": [5, 4], "w": 1.25, "label": "5,4"},
{"y": 6.23, "x": 5.220000000000001, "matrix": [4, 5], "label": "4,5"},
{"y": 7.23, "x": 4.87, "matrix": [6, 5], "w": 1.25, "label": "6,5"},
{"y": 8.23, "x": 1.43, "matrix": [1, 0], "label": "1,0"},
{"y": 8.23, "x": 2.43, "matrix": [0, 1], "label": "0,1"},
{"y": 8.23, "x": 3.43, "matrix": [1, 1], "label": "1,1"},
{"y": 8.23, "x": 4.430000000000001, "matrix": [0, 2], "label": "0,2"},
{"y": 9.23, "x": 1.68, "matrix": [3, 0], "label": "3,0"},
{"y": 9.23, "x": 2.68, "matrix": [2, 1], "label": "2,1"},
{"y": 9.23, "x": 3.68, "matrix": [3, 1], "label": "3,1"},
{"y": 9.23, "x": 4.680000000000001, "matrix": [2, 2], "label": "2,2"},
{"y": 10.23, "x": 2.18, "matrix": [5, 0], "label": "5,0"},
{"y": 10.23, "x": 3.18, "matrix": [4, 1], "label": "4,1"},
{"y": 10.23, "x": 4.180000000000001, "matrix": [5, 1], "label": "5,1"},
{"y": 10.23, "x": 5.180000000000001, "matrix": [4, 2], "label": "4,2"},
{"y": 11.23, "x": 2.93, "matrix": [6, 1], "label": "6,1"},
{"y": 11.23, "x": 3.93, "matrix": [6, 2], "w": 2.25, "label": "6,2"},
{"y": 9.89, "x": 5.930000000000001, "matrix": [1, 2], "label": "1,2"},
{"y": 9.89, "x": 6.930000000000001, "matrix": [0, 3], "label": "0,3"},
{"y": 9.89, "x": 7.930000000000001, "matrix": [1, 3], "label": "1,3"},
{"y": 9.89, "x": 8.93, "matrix": [0, 4], "label": "0,4"},
{"y": 10.89, "x": 6.180000000000001, "matrix": [3, 2], "label": "3,2"},
{"y": 10.89, "x": 7.180000000000001, "matrix": [2, 3], "label": "2,3"},
{"y": 10.89, "x": 8.18, "matrix": [3, 3], "label": "3,3"},
{"y": 10.89, "x": 9.18, "matrix": [2, 4], "label": "2,4"},
{"y": 11.89, "x": 5.680000000000001, "matrix": [5, 2], "label": "5,2"},
{"y": 11.89, "x": 6.680000000000001, "matrix": [4, 3], "label": "4,3"},
{"y": 11.89, "x": 7.680000000000001, "matrix": [5, 3], "label": "5,3"},
{"y": 11.89, "x": 8.68, "matrix": [4, 4], "label": "4,4"},
{"y": 12.89, "x": 5.680000000000001, "matrix": [6, 3], "w": 2, "label": "6,3"},
{"y": 12.89, "x": 7.680000000000001, "matrix": [6, 4], "label": "6,4"}
]
}
}
}
27 changes: 27 additions & 0 deletions keyboards/nachie/evelyn/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/*
Copyright 2024 nachie
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] = {

/* QWERTY */
LAYOUT(
KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT,
KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_DOT, KC_LSFT, MO(1),
KC_LCTL, KC_LGUI, KC_SPC, KC_SPC, KC_RGUI, MO(1))
};
1 change: 1 addition & 0 deletions keyboards/nachie/evelyn/keymaps/default/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The default keymap for the Evelyn.
11 changes: 11 additions & 0 deletions keyboards/nachie/evelyn/keymaps/vial/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */

#pragma once

#define VIAL_KEYBOARD_UID {0x53, 0x01, 0x24, 0xD6, 0x96, 0x84, 0xF2, 0x0F}

#define VIAL_UNLOCK_COMBO_ROWS { 0, 2 }
#define VIAL_UNLOCK_COMBO_COLS { 0, 5 }

#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
#define RGB_MATRIX_KEYPRESSES
65 changes: 65 additions & 0 deletions keyboards/nachie/evelyn/keymaps/vial/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
/*
Copyright 2024 nachie
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

#include <stdio.h>
char wpm_str[10];

enum layer_names {
_BASE, // Default Layer
_FN, // Fn Layer 1
_FN2, // Fn Layer 2
_FN3 // Fn Layer 3
};

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

/* QWERTY */
[_BASE] = LAYOUT(
KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT,
KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_DOT, KC_LSFT, MO(1),
KC_LCTL, KC_LGUI, KC_SPC, KC_SPC, KC_RGUI, MO(1)),

/* FUNCTION */
[_FN] = LAYOUT(
KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT,
KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_DOT, KC_LSFT, MO(1),
KC_LGUI, KC_LGUI, KC_LALT, KC_BSPC, KC_RGUI, MO(1)),

[_FN2] = LAYOUT(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______),

[_FN3] = LAYOUT(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______)
};

#if defined(ENCODER_MAP_ENABLE)
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
[_BASE] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(RGB_RMOD, RGB_MOD), ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
[_FN] = { ENCODER_CCW_CW(RGB_RMOD, RGB_MOD), ENCODER_CCW_CW(RGB_RMOD, RGB_MOD), ENCODER_CCW_CW(RGB_RMOD, RGB_MOD) },
[_FN2] = { ENCODER_CCW_CW(RGB_RMOD, RGB_MOD), ENCODER_CCW_CW(RGB_RMOD, RGB_MOD), ENCODER_CCW_CW(RGB_RMOD, RGB_MOD) },
[_FN3] = { ENCODER_CCW_CW(RGB_RMOD, RGB_MOD), ENCODER_CCW_CW(RGB_RMOD, RGB_MOD), ENCODER_CCW_CW(RGB_RMOD, RGB_MOD) },
};
#endif
1 change: 1 addition & 0 deletions keyboards/nachie/evelyn/keymaps/vial/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The vial keymap for the Evelyn PCB.
6 changes: 6 additions & 0 deletions keyboards/nachie/evelyn/keymaps/vial/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
VIA_ENABLE = yes
VIAL_ENABLE = yes

#VIALRGB_ENABLE = yes

ENCODER_MAP_ENABLE = yes
Loading

0 comments on commit 206703d

Please sign in to comment.