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

Add support for Chaz #21207

Closed
wants to merge 28 commits into from
Closed
Show file tree
Hide file tree
Changes from 23 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
af4c103
adding chaz config
May 31, 2023
5d326e6
rename layout
May 31, 2023
635dace
adding url to info.json
May 31, 2023
c9fbfdd
remove IGNORE_MOD_TAP_INTERRUPT
May 31, 2023
be149b9
remove TAPPING_TERM_PER_KEY
May 31, 2023
f0c8663
add development_board to info.json
May 31, 2023
016070f
update readme image url
May 31, 2023
1d281c8
Update keyboards/hazel/chaz/info.json
jasonhazel May 31, 2023
fe9fbd7
Update keyboards/hazel/chaz/info.json
jasonhazel May 31, 2023
5aeb0c9
Update keyboards/hazel/chaz/info.json
jasonhazel May 31, 2023
253f9fc
Update keyboards/hazel/chaz/rules.mk
jasonhazel May 31, 2023
313c938
remove DOUBLE_TAP_SHIFT_TURNS_ON_CAPS_WORD from default keymap
May 31, 2023
5467b37
adding store link
jasonhazel Jun 6, 2023
d47e39a
break out into two 'keyboards' for rp2040 configurator support
Jun 9, 2023
76fe94e
Merge branch 'hazel/chaz' of github.com:jasonhazel/qmk_firmware into …
Jun 9, 2023
6f1e1ca
rename rp2040 to rp2040ce
Jun 9, 2023
f86f3d0
Merge branch 'master' into hazel/chaz
Jun 9, 2023
e61aa9b
will keymaps work like this?
Jun 9, 2023
0a772e6
moving files around again
Jun 10, 2023
9a91c37
specify atmega32u4
Jun 10, 2023
b50f2af
Merge branch 'master' into hazel/chaz
Jun 10, 2023
5600375
consolidating info.json information
Jun 10, 2023
fd68200
remove duped info from info.json
Jun 10, 2023
3305074
Apply suggestions from code review
jasonhazel Jun 10, 2023
569ef6a
consolidate readme
Jun 10, 2023
b44d6aa
rework directory structure again
Jun 13, 2023
8d0a1d7
top level rules.mk so we treak it like a keyboard
Jun 13, 2023
7b783e3
file is no longer intentionally left blank
Jun 13, 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
59 changes: 59 additions & 0 deletions keyboards/hazel/chaz/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"manufacturer": "Hazel",
"keyboard_name": "Chaz",
"maintainer": "jasonhazel",
"url": "https://github.com/hazels-garage/chaz",
"diode_direction": "COL2ROW",
"features": {
"bootmagic": true,
"nkro": false
},
"usb": {
"vid": "0x4A48",
"pid": "0x435A",
"device_version": "1.0.0"
},
"layouts": {
"LAYOUT": {
"layout": [
{ "label": "K00", "matrix": [0, 0], "x": 0, "y": 0 },
{ "label": "K01", "matrix": [0, 1], "x": 1, "y": 0 },
{ "label": "K02", "matrix": [0, 2], "x": 2, "y": 0 },
{ "label": "K03", "matrix": [0, 3], "x": 3, "y": 0 },
{ "label": "K04", "matrix": [0, 4], "x": 4, "y": 0 },
{ "label": "K40", "matrix": [4, 0], "x": 5, "y": 0 },
{ "label": "K41", "matrix": [4, 1], "x": 6, "y": 0 },
{ "label": "K42", "matrix": [4, 2], "x": 7, "y": 0 },
{ "label": "K43", "matrix": [4, 3], "x": 8, "y": 0 },
{ "label": "K44", "matrix": [4, 4], "x": 9, "y": 0, "w": 1.25 },
{ "label": "K10", "matrix": [1, 0], "x": 0, "y": 1, "w": 1.25 },
{ "label": "K11", "matrix": [1, 1], "x": 1.25, "y": 1 },
{ "label": "K12", "matrix": [1, 2], "x": 2.25, "y": 1 },
{ "label": "K13", "matrix": [1, 3], "x": 3.25, "y": 1 },
{ "label": "K14", "matrix": [1, 4], "x": 4.25, "y": 1 },
{ "label": "K50", "matrix": [5, 0], "x": 5.25, "y": 1 },
{ "label": "K51", "matrix": [5, 1], "x": 6.25, "y": 1 },
{ "label": "K52", "matrix": [5, 2], "x": 7.25, "y": 1 },
{ "label": "K53", "matrix": [5, 3], "x": 8.25, "y": 1 },
{ "label": "K54", "matrix": [5, 4], "x": 9.25, "y": 1 },
{ "label": "K20", "matrix": [2, 0], "x": 0, "y": 2, "w": 1.75 },
{ "label": "K21", "matrix": [2, 1], "x": 1.75, "y": 2 },
{ "label": "K22", "matrix": [2, 2], "x": 2.75, "y": 2 },
{ "label": "K23", "matrix": [2, 3], "x": 3.75, "y": 2 },
{ "label": "K24", "matrix": [2, 4], "x": 4.75, "y": 2 },
{ "label": "K60", "matrix": [6, 0], "x": 5.75, "y": 2 },
{ "label": "K61", "matrix": [6, 1], "x": 6.75, "y": 2 },
{ "label": "K62", "matrix": [6, 2], "x": 7.75, "y": 2 },
{ "label": "K64", "matrix": [6, 4], "x": 8.75, "y": 2, "w": 1.5 },
{ "label": "K30", "matrix": [3, 0], "x": 0, "y": 3 },
{ "label": "K31", "matrix": [3, 1], "x": 1, "y": 3 },
{ "label": "K32", "matrix": [3, 2], "x": 2, "y": 3 },
{ "label": "K33", "matrix": [3, 3], "x": 3, "y": 3, "w": 2.25 },
{ "label": "K70", "matrix": [7, 0], "x": 5.25, "y": 3, "w": 2 },
{ "label": "K71", "matrix": [7, 1], "x": 7.25, "y": 3 },
{ "label": "K72", "matrix": [7, 2], "x": 8.25, "y": 3 },
{ "label": "K74", "matrix": [7, 4], "x": 9.25, "y": 3 }
]
}
}
}
128 changes: 128 additions & 0 deletions keyboards/hazel/chaz/keymaps/default/keymap.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
{
"version": 1,
"notes": "",
"documentation": "",
jasonhazel marked this conversation as resolved.
Show resolved Hide resolved
"keyboard": "hazel/chaz",
"keymap": "default",
"layout": "LAYOUT",
"layers": [
[
"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",
"OSM(MOD_LSFT)",
"OSM(MOD_LCTL)",
"KC_BSPC",
"MO(1)",
"KC_SPC",
"MO(2)",
"KC_SLSH",
"KC_ENT"
],
[
"KC_EXLM",
"KC_AT",
"KC_HASH",
"KC_DLR",
"KC_PERC",
"KC_CIRC",
"KC_AMPR",
"KC_ASTR",
"KC_MINS",
"KC_EQL",
"KC_P1",
"KC_P2",
"KC_P3",
"KC_P4",
"KC_P5",
"KC_P6",
"KC_P7",
"KC_P8",
"KC_P9",
"KC_P0",
"KC_LBRC",
"KC_LCBR",
"KC_LPRN",
"KC_GRV",
"KC_UNDS",
"KC_TILD",
"KC_RPRN",
"KC_RCBR",
"KC_RBRC",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_DEL",
"KC_TRNS"
],
[
"KC_ESC",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_LEFT",
"KC_UP",
"KC_DOWN",
"KC_RGHT",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_TAB",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS"
]
],
"author": "Jason Hazel"
}
13 changes: 13 additions & 0 deletions keyboards/hazel/chaz/keymaps/jasonhazel/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// Copyright 2023 Jason Hazel (@jasonhazel)
// SPDX-License-Identifier: GPL-3.0-or-later

#pragma once
#define TAPPING_TERM 200
jasonhazel marked this conversation as resolved.
Show resolved Hide resolved
#define PERMISSIVE_HOLD
#define TAPPING_FORCE_HOLD

#define ONESHOT_TAP_TOGGLE 10
#define ONESHOT_TIMEOUT 500

// using non-default flash module
#define RP2040_FLASH_GENERIC_03H
128 changes: 128 additions & 0 deletions keyboards/hazel/chaz/keymaps/jasonhazel/keymap.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
{
"version": 1,
"notes": "",
"documentation": "",
jasonhazel marked this conversation as resolved.
Show resolved Hide resolved
"keyboard": "hazel/chaz",
"keymap": "jasonhazel",
"layout": "LAYOUT",
"layers": [
[
"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",
"OSM(MOD_LSFT)",
"OSM(MOD_LCTL)",
"KC_BSPC",
"MO(1)",
"KC_SPC",
"MO(2)",
"KC_SLSH",
"KC_ENT"
],
[
"KC_EXLM",
"KC_AT",
"KC_HASH",
"KC_DLR",
"KC_PERC",
"KC_CIRC",
"KC_AMPR",
"KC_ASTR",
"KC_MINS",
"KC_EQL",
"KC_P1",
"KC_P2",
"KC_P3",
"KC_P4",
"KC_P5",
"KC_P6",
"KC_P7",
"KC_P8",
"KC_P9",
"KC_P0",
"KC_LBRC",
"KC_LCBR",
"KC_LPRN",
"KC_GRV",
"KC_UNDS",
"KC_TILD",
"KC_RPRN",
"KC_RCBR",
"KC_RBRC",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_DEL",
"KC_TRNS"
],
[
"KC_ESC",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_LEFT",
"KC_UP",
"KC_DOWN",
"KC_RGHT",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_TAB",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS"
]
],
"author": "Jason Hazel"
}
7 changes: 7 additions & 0 deletions keyboards/hazel/chaz/promicro/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"matrix_pins": {
"cols": ["B5", "B4", "E6", "D7", "C6"],
"rows": ["D3", "D1", "D4", "F5", "D2", "D0", "F6", "F4"]
},
"development_board": "promicro"
}
27 changes: 27 additions & 0 deletions keyboards/hazel/chaz/promicro/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Chaz

![Chaz](https://i.imgur.com/FeZQFYAh.png)

Low Profile, Choc Spaced QAZ-alike

* Keyboard Maintainer: [Jason Hazel](https://github.com/jasonhazel)
* Hardware Supported: Chaz, atmega32u4 ProMicro Compatible Controller
* Hardware Availability: [Hazel's Garage](https://shop.hazel.cc/products/chaz), [Open Source](https://github.com/hazels-garage/chaz)

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

make hazel/chaz:default

Flashing example for this keyboard:

make hazel/chaz:default:flash
waffle87 marked this conversation as resolved.
Show resolved Hide resolved

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**: Press Hardware 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/hazel/chaz/promicro/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# This file intentionally left blank
9 changes: 9 additions & 0 deletions keyboards/hazel/chaz/rp2040ce/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's using the same pinout as the pro micro, correct?

"matrix_pins": {
"cols": ["GP9", "GP8", "GP7", "GP6", "GP5"],
"rows": ["GP0", "GP2", "GP4", "GP28", "GP1", "GP3", "GP27", "GP29"]
},
"processor": "RP2040",
"bootloader": "rp2040"

}
Loading