Add Brian the Keyboard (#682)

* Add Brian the Keyboard

* Removed transparent layers, fixed compile issue
This commit is contained in:
NCKiser 2024-03-10 17:13:34 -05:00 committed by GitHub
parent b4e446f616
commit e7ece72d93
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 237 additions and 0 deletions

View File

@ -0,0 +1,67 @@
{
"keyboard_name": "Brian the Keyboard",
"manufacturer": "NoahK",
"url": "https://github.com/NCKiser/brian-the-keyboard",
"maintainer": "NoahK",
"usb": {
"vid": "0x4B44",
"pid": "0x626E",
"device_version": "0.0.1"
},
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"diode_direction": "COL2ROW",
"matrix_pins": {
"cols": ["B1", "B0", "A7", "A4", "A3", "B7", "B6", "B5", "B4", "B3"],
"rows": ["B11", "B9", "A5", "A6"],
},
"features": {
"bootmagic": true,
"extrakey": true,
"mousekey": true,
"nkro": true,
},
"layouts": {
"LAYOUT": {
"layout": [
{"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": [1, 0], "x": 0, "y": 1, "w": 1.25},
{"matrix": [1, 1], "x": 1.25, "y": 1, "w": 1.25},
{"matrix": [1, 2], "x": 2.5, "y": 1},
{"matrix": [1, 3], "x": 3.5, "y": 1},
{"matrix": [1, 4], "x": 4.5, "y": 1},
{"matrix": [1, 5], "x": 5.5, "y": 1},
{"matrix": [1, 6], "x": 6.5, "y": 1},
{"matrix": [1, 7], "x": 7.5, "y": 1, "w": 1.25},
{"matrix": [1, 8], "x": 8.75, "y": 1, "w": 1.25},
{"matrix": [2, 0], "x": 0, "y": 2, "w": 1.5},
{"matrix": [2, 1], "x": 1.5, "y": 2, "w": 1.5},
{"matrix": [2, 2], "x": 3, "y": 2},
{"matrix": [2, 3], "x": 4, "y": 2},
{"matrix": [2, 4], "x": 5, "y": 2},
{"matrix": [2, 5], "x": 6, "y": 2},
{"matrix": [2, 6], "x": 7, "y": 2, "w": 1.5},
{"matrix": [2, 7], "x": 8.5, "y": 2, "w": 1.5},
{"matrix": [3, 0], "x": 0, "y": 3, "w": 1.75},
{"matrix": [3, 1], "x": 2, "y": 3.25, "w": 1.25},
{"matrix": [3, 2], "x": 3.25, "y": 3.25, "w": 1.75},
{"matrix": [3, 4], "x": 5, "y": 3.25, "w": 1.75},
{"matrix": [3, 5], "x": 6.75, "y": 3.25, "w": 1.25},
{"matrix": [3, 7], "x": 8.25, "y": 3, "w": 1.75}
]
}
}
}

View File

@ -0,0 +1,26 @@
// Copyright 2024 NoahK
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H
#define HM_A LSFT_T(KC_A)
#define HM_S LALT_T(KC_S)
#define HM_D LGUI_T(KC_D)
#define HM_F LCTL_T(KC_F)
#define HM_J RCTL_T(KC_J)
#define HM_K RGUI_T(KC_K)
#define HM_L RALT_T(KC_L)
#define HM_Z LSFT_T(KC_Z)
#define HM_SLSH LSFT_T(KC_SLSH)
#define HM_QUOT RSFT_T(KC_QUOT)
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT(
KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P,
KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L,
KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM,
KC_LCTL, MO(1), KC_ENT, KC_SPC, MO(2), KC_RALT
)
};

View File

@ -0,0 +1,10 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
#pragma once
#define VIAL_KEYBOARD_UID {0xEA, 0x60, 0x17, 0x39, 0xF8, 0x82, 0x75, 0x59}
#define VIAL_UNLOCK_COMBO_ROWS { 0, 2 }
#define VIAL_UNLOCK_COMBO_COLS { 0, 7 }
#define VIAL_COMBO_ENTRIES 69
#define DYNAMIC_KEYMAP_LAYER_COUNT 8

View File

@ -0,0 +1,26 @@
// Copyright 2024 NoahK
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H
#define HM_A LSFT_T(KC_A)
#define HM_S LALT_T(KC_S)
#define HM_D LGUI_T(KC_D)
#define HM_F LCTL_T(KC_F)
#define HM_J RCTL_T(KC_J)
#define HM_K RGUI_T(KC_K)
#define HM_L RALT_T(KC_L)
#define HM_Z LSFT_T(KC_Z)
#define HM_SLSH LSFT_T(KC_SLSH)
#define HM_QUOT RSFT_T(KC_QUOT)
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT(
KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P,
KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L,
KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM,
KC_LCTL, MO(1), KC_ENT, KC_SPC, MO(2), KC_RALT
)
};

View File

@ -0,0 +1,2 @@
VIA_ENABLE = yes
VIAL_ENABLE = yes

View File

@ -0,0 +1,100 @@
{
"lighting": "none",
"matrix": {
"rows": 4,
"cols": 10
},
"layouts": {
"keymap":
[
[
"0,0",
"0,1",
"0,2",
"0,3",
"0,4",
"0,5",
"0,6",
"0,7",
"0,8",
"0,9"
],
[
{
"w": 1.25
},
"1,0",
{
"w": 1.25
},
"1,1",
"1,2",
"1,3",
"1,4",
"1,5",
"1,6",
{
"w": 1.25
},
"1,7",
{
"w": 1.25
},
"1,8"
],
[
{
"w": 1.5
},
"2,0",
{
"w": 1.5
},
"2,1",
"2,2",
"2,3",
"2,4",
"2,5",
{
"w": 1.5
},
"2,6",
{
"w": 1.5
},
"2,7"
],
[
{
"w": 1.75
},
"3,0",
{
"x": 6.5,
"w": 1.75
},
"3,7"
],
[
{
"y": -0.75,
"x": 2,
"w": 1.25
},
"3,1",
{
"w": 1.75
},
"3,2",
{
"w": 1.75
},
"3,4",
{
"w": 1.25
},
"3,5"
]
]
}
}

View File

@ -0,0 +1,5 @@
# This is the firmware for Brian the Keyboard
Please note that Brian is a keyboard, not a human.
Brian the Keyboard is a row staggered 33-key board created by NoahK based on a keybaord by whydobearsexplod and jlw with a single layout.

View File

@ -0,0 +1 @@
# This file intentionally left blank.