add bruce the keyboard (#674)
* add bruce the keyboard * Update vial.json Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com> * Update config.h Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com> * Update rules.mk Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com> * Clean up Bruce the Keyboard --------- Co-authored-by: avshockeyw <avshockeyw@users.noreply.github.com> Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com>
This commit is contained in:
parent
bb52e6d85b
commit
4a85152925
8 changed files with 318 additions and 0 deletions
68
keyboards/jlw/bruce_the_keyboard/info.json
Normal file
68
keyboards/jlw/bruce_the_keyboard/info.json
Normal file
|
@ -0,0 +1,68 @@
|
|||
{
|
||||
"keyboard_name": "Bruce the Keyboard",
|
||||
"manufacturer": "whydobearsexplod",
|
||||
"url": "https://github.com/josh-l-wang/bruce-the-keyboard",
|
||||
"maintainer": "jlw",
|
||||
"usb": {
|
||||
"vid": "0x1209",
|
||||
"pid": "0xA459",
|
||||
"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, "h":1.75},
|
||||
{"matrix": [0, 1], "x": 1, "y": 0, "h":1.5},
|
||||
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||
{"matrix": [0, 3], "x": 3, "y": 0, "h":1.25},
|
||||
{"matrix": [0, 4], "x": 4, "y": 0, "h":1.25},
|
||||
{"matrix": [0, 5], "x": 5, "y": 0, "h":1.25},
|
||||
{"matrix": [0, 6], "x": 6, "y": 0, "h":1.25},
|
||||
{"matrix": [0, 7], "x": 7, "y": 0},
|
||||
{"matrix": [0, 8], "x": 8, "y": 0, "h":1.5},
|
||||
{"matrix": [0, 9], "x": 9, "y": 0, "h":1.75},
|
||||
|
||||
{"matrix": [1, 0], "x": 0, "y": 1.75},
|
||||
{"matrix": [1, 1], "x": 1, "y": 1.5},
|
||||
{"matrix": [1, 2], "x": 2, "y": 1},
|
||||
{"matrix": [1, 3], "x": 3, "y": 1.25},
|
||||
{"matrix": [1, 4], "x": 4, "y": 1.25},
|
||||
{"matrix": [1, 5], "x": 5, "y": 1.25},
|
||||
{"matrix": [1, 6], "x": 6, "y": 1.25},
|
||||
{"matrix": [1, 7], "x": 7, "y": 1},
|
||||
{"matrix": [1, 8], "x": 8, "y": 1.5},
|
||||
{"matrix": [1, 9], "x": 9, "y": 1.75},
|
||||
|
||||
{"matrix": [2, 0], "x": 0, "y": 2.75, "h":1.5},
|
||||
{"matrix": [2, 1], "x": 1, "y": 2.5, "h":1.75},
|
||||
{"matrix": [2, 2], "x": 2, "y": 2, "h":1.25},
|
||||
{"matrix": [2, 3], "x": 3, "y": 2.25},
|
||||
{"matrix": [2, 4], "x": 4, "y": 2.25},
|
||||
{"matrix": [2, 5], "x": 5, "y": 2.25},
|
||||
{"matrix": [2, 6], "x": 6, "y": 2.25},
|
||||
{"matrix": [2, 7], "x": 7, "y": 2, "h":1.25},
|
||||
{"matrix": [2, 8], "x": 8, "y": 2.5, "h":1.75},
|
||||
{"matrix": [2, 9], "x": 9, "y": 2.75, "h":1.5},
|
||||
|
||||
{"matrix": [3, 2], "x": 2, "y": 3.25},
|
||||
{"matrix": [3, 3], "x": 3, "y": 3.25, "w": 2},
|
||||
{"matrix": [3, 5], "x": 5, "y": 3.25, "w": 2},
|
||||
{"matrix": [3, 7], "x": 7, "y": 3.25},
|
||||
]
|
||||
}
|
||||
|
||||
}
|
||||
}
|
40
keyboards/jlw/bruce_the_keyboard/keymaps/default/keymap.c
Normal file
40
keyboards/jlw/bruce_the_keyboard/keymaps/default/keymap.c
Normal file
|
@ -0,0 +1,40 @@
|
|||
// Copyright 2023 sporkus
|
||||
// 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_QUOT,
|
||||
KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH,
|
||||
MO(1), KC_ENT, MO(2), KC_BSPC
|
||||
),
|
||||
|
||||
[1] = LAYOUT(
|
||||
_______, _______, _______, _______, _______, _______, KC_7, KC_8, KC_9, KC_0,
|
||||
_______, _______, _______, _______, _______, _______, KC_4, KC_5, KC_6, _______,
|
||||
_______, _______, _______, _______, _______, _______, KC_1, KC_2, KC_3, _______,
|
||||
_______, _______, _______, _______
|
||||
),
|
||||
|
||||
[2] = LAYOUT(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_LEFT, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______
|
||||
)
|
||||
};
|
||||
|
|
@ -0,0 +1 @@
|
|||
# This file intentionally left blank.
|
10
keyboards/jlw/bruce_the_keyboard/keymaps/vial/config.h
Normal file
10
keyboards/jlw/bruce_the_keyboard/keymaps/vial/config.h
Normal file
|
@ -0,0 +1,10 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#pragma once
|
||||
|
||||
#define VIAL_KEYBOARD_UID {0x5D, 0x03, 0x13, 0x17, 0xBA, 0x20, 0xF5, 0x16}
|
||||
#define VIAL_UNLOCK_COMBO_ROWS { 0, 2 }
|
||||
#define VIAL_UNLOCK_COMBO_COLS { 0, 9 }
|
||||
|
||||
#define VIAL_COMBO_ENTRIES 69
|
||||
#define DYNAMIC_KEYMAP_LAYER_COUNT 8
|
40
keyboards/jlw/bruce_the_keyboard/keymaps/vial/keymap.c
Normal file
40
keyboards/jlw/bruce_the_keyboard/keymaps/vial/keymap.c
Normal file
|
@ -0,0 +1,40 @@
|
|||
// Copyright 2023 sporkus
|
||||
// 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_QUOT,
|
||||
KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH,
|
||||
MO(1), KC_ENT, MO(2), KC_BSPC
|
||||
),
|
||||
|
||||
[1] = LAYOUT(
|
||||
_______, _______, _______, _______, _______, _______, KC_7, KC_8, KC_9, KC_0,
|
||||
_______, _______, _______, _______, _______, _______, KC_4, KC_5, KC_6, _______,
|
||||
_______, _______, _______, _______, _______, _______, KC_1, KC_2, KC_3, _______,
|
||||
_______, _______, _______, _______
|
||||
),
|
||||
|
||||
[2] = LAYOUT(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_LEFT, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______
|
||||
)
|
||||
};
|
||||
|
2
keyboards/jlw/bruce_the_keyboard/keymaps/vial/rules.mk
Normal file
2
keyboards/jlw/bruce_the_keyboard/keymaps/vial/rules.mk
Normal file
|
@ -0,0 +1,2 @@
|
|||
VIA_ENABLE = yes
|
||||
VIAL_ENABLE = yes
|
152
keyboards/jlw/bruce_the_keyboard/keymaps/vial/vial.json
Normal file
152
keyboards/jlw/bruce_the_keyboard/keymaps/vial/vial.json
Normal file
|
@ -0,0 +1,152 @@
|
|||
{
|
||||
"lighting": "none",
|
||||
"matrix": {
|
||||
"rows": 4,
|
||||
"cols": 10
|
||||
},
|
||||
"layouts": {
|
||||
"keymap":
|
||||
[
|
||||
[
|
||||
{
|
||||
"h": 1.75
|
||||
},
|
||||
"0,0",
|
||||
{
|
||||
"h": 1.5
|
||||
},
|
||||
"0,1",
|
||||
"0,2",
|
||||
{
|
||||
"h": 1.25
|
||||
},
|
||||
"0,3",
|
||||
{
|
||||
"h": 1.25
|
||||
},
|
||||
"0,4",
|
||||
{
|
||||
"h": 1.25
|
||||
},
|
||||
"0,5",
|
||||
{
|
||||
"h": 1.25
|
||||
},
|
||||
"0,6",
|
||||
"0,7",
|
||||
{
|
||||
"h": 1.5
|
||||
},
|
||||
"0,8",
|
||||
{
|
||||
"h": 1.75
|
||||
},
|
||||
"0,9"
|
||||
],
|
||||
[
|
||||
{
|
||||
"x": 2
|
||||
},
|
||||
"1,2",
|
||||
{
|
||||
"x": 4
|
||||
},
|
||||
"1,7"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.75,
|
||||
"x": 3
|
||||
},
|
||||
"1,3",
|
||||
"1,4",
|
||||
"1,5",
|
||||
"1,6"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.75,
|
||||
"x": 1
|
||||
},
|
||||
"1,1",
|
||||
{
|
||||
"x": 6
|
||||
},
|
||||
"1,8"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.75
|
||||
},
|
||||
"1,0",
|
||||
{
|
||||
"x": 8
|
||||
},
|
||||
"1,9"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.75,
|
||||
"x": 2,
|
||||
"h": 1.25
|
||||
},
|
||||
"2,2",
|
||||
{
|
||||
"x": 4,
|
||||
"h": 1.25
|
||||
},
|
||||
"2,7"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.75,
|
||||
"x": 3
|
||||
},
|
||||
"2,3",
|
||||
"2,4",
|
||||
"2,5",
|
||||
"2,6"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.75,
|
||||
"x": 1,
|
||||
"h": 1.75
|
||||
},
|
||||
"2,1",
|
||||
{
|
||||
"x": 6,
|
||||
"h": 1.75
|
||||
},
|
||||
"2,8"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.75,
|
||||
"h": 1.5
|
||||
},
|
||||
"2,0",
|
||||
{
|
||||
"x": 8,
|
||||
"h": 1.5
|
||||
},
|
||||
"2,9"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.5,
|
||||
"x": 2
|
||||
},
|
||||
"3,2",
|
||||
{
|
||||
"w": 2
|
||||
},
|
||||
"3,3",
|
||||
{
|
||||
"w": 2
|
||||
},
|
||||
"3,5",
|
||||
"3,7"
|
||||
]
|
||||
]
|
||||
}}
|
5
keyboards/jlw/bruce_the_keyboard/readme.md
Normal file
5
keyboards/jlw/bruce_the_keyboard/readme.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
# This is the firmware for Bruce the Keyboard
|
||||
|
||||
Please note that Bruce is a keyboard, not a human.
|
||||
|
||||
Bruce the Keyboard is a column staggered 34-key board created by whydobearsexplod and [jlw](github.com/josh-l-wang) with a single layout.
|
Loading…
Add table
Reference in a new issue