Skip to content

Commit

Permalink
Add Chiri CE (#23926)
Browse files Browse the repository at this point in the history
* Add Chiri CE

* Add more layers for dynamic keymap

* Move EEPROM clear

* Convert to keymap.json

* Change bootmagic matrix position
  • Loading branch information
nooges committed Jun 16, 2024
1 parent 3c868b9 commit 751fbd7
Show file tree
Hide file tree
Showing 7 changed files with 303 additions and 0 deletions.
8 changes: 8 additions & 0 deletions keyboards/keebio/chiri_ce/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"manufacturer": "Keebio",
"maintainer": "Keebio",
"url": "https://keeb.io",
"usb": {
"vid": "0xCB10"
}
}
32 changes: 32 additions & 0 deletions keyboards/keebio/chiri_ce/keymaps/default/keymap.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"config": { "features": {"tri_layer": true} },
"keyboard": "keebio/chiri_ce/rev1",
"keymap": "default",
"layout": "LAYOUT",
"layers": [
[
"KC_TAB" , "KC_Q" , "KC_W" , "KC_E" , "KC_R" , "KC_T" , "KC_Y" , "KC_U" , "KC_I" , "KC_O" , "KC_P" , "KC_DEL" ,
"KC_LCTL", "KC_A" , "KC_S" , "KC_D" , "KC_F" , "KC_G" , "KC_H" , "KC_J" , "KC_K" , "KC_L" , "KC_SCLN", "KC_QUOT",
"KC_LSFT", "KC_Z" , "KC_X" , "KC_C" , "KC_V" , "KC_B" , "QK_GESC", "KC_BSPC", "KC_N" , "KC_M" , "KC_COMM", "KC_DOT" , "KC_SLSH", "KC_RSFT",
"KC_LGUI", "TL_LOWR", "KC_ENT" , "KC_SPC" , "TL_UPPR", "KC_RALT"
],
[
"KC_GRV" , "KC_1" , "KC_2" , "KC_3" , "KC_4" , "KC_5" , "KC_6" , "KC_7" , "KC_8" , "KC_9" , "KC_0" , "KC_BSPC",
"KC_ESC" , "KC_LEFT", "KC_DOWN", "KC_UP" , "KC_RGHT", "KC_LBRC", "KC_RBRC", "KC_P4" , "KC_P5" , "KC_P6" , "KC_PLUS", "KC_PIPE",
"RGB_MOD", "_______", "_______", "_______", "_______", "KC_LCBR", "KC_LPRN", "KC_RPRN", "KC_RCBR", "KC_P1" , "KC_P2" , "KC_P3" , "KC_MINS", "_______",
"_______", "_______", "KC_DEL" , "KC_DEL" , "_______", "KC_P0"
],
[
"RGB_TOG", "KC_EXLM", "KC_AT" , "KC_HASH", "KC_DLR" , "KC_PERC", "KC_CIRC", "KC_AMPR", "KC_ASTR", "KC_LPRN", "KC_RPRN", "QK_BOOT",
"RGB_MOD", "KC_MPRV", "KC_MNXT", "KC_VOLU", "KC_PGUP", "KC_UNDS", "KC_EQL" , "KC_HOME", "RGB_HUI", "RGB_SAI", "RGB_VAI", "KC_BSLS",
"KC_MUTE", "KC_MSTP", "KC_MPLY", "KC_VOLD", "KC_PGDN", "KC_MINS", "KC_LPRN", "_______", "KC_PLUS", "KC_END" , "RGB_HUD", "RGB_SAD", "RGB_VAD", "_______",
"_______", "_______", "_______", "_______", "_______", "_______"
],
[
"KC_F12" , "KC_F1" , "KC_F2" , "KC_F3" , "KC_F4" , "KC_F5" , "KC_F6" , "KC_F7" , "KC_F8" , "KC_F9" , "KC_F10" , "KC_F11" ,
"_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______",
"_______", "EE_CLR" , "QK_BOOT", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "QK_BOOT", "EE_CLR" , "_______",
"_______", "_______", "_______", "_______", "_______", "_______"
]
]
}
32 changes: 32 additions & 0 deletions keyboards/keebio/chiri_ce/keymaps/via/keymap.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"config": { "features": {"tri_layer": true, "via": true} },
"keyboard": "keebio/chiri_ce/rev1",
"keymap": "via",
"layout": "LAYOUT",
"layers": [
[
"KC_TAB" , "KC_Q" , "KC_W" , "KC_E" , "KC_R" , "KC_T" , "KC_Y" , "KC_U" , "KC_I" , "KC_O" , "KC_P" , "KC_DEL" ,
"KC_LCTL", "KC_A" , "KC_S" , "KC_D" , "KC_F" , "KC_G" , "KC_H" , "KC_J" , "KC_K" , "KC_L" , "KC_SCLN", "KC_QUOT",
"KC_LSFT", "KC_Z" , "KC_X" , "KC_C" , "KC_V" , "KC_B" , "QK_GESC", "KC_BSPC", "KC_N" , "KC_M" , "KC_COMM", "KC_DOT" , "KC_SLSH", "KC_RSFT",
"KC_LGUI", "TL_LOWR", "KC_ENT" , "KC_SPC" , "TL_UPPR", "KC_RALT"
],
[
"KC_GRV" , "KC_1" , "KC_2" , "KC_3" , "KC_4" , "KC_5" , "KC_6" , "KC_7" , "KC_8" , "KC_9" , "KC_0" , "KC_BSPC",
"KC_ESC" , "KC_LEFT", "KC_DOWN", "KC_UP" , "KC_RGHT", "KC_LBRC", "KC_RBRC", "KC_P4" , "KC_P5" , "KC_P6" , "KC_PLUS", "KC_PIPE",
"RGB_MOD", "_______", "_______", "_______", "_______", "KC_LCBR", "KC_LPRN", "KC_RPRN", "KC_RCBR", "KC_P1" , "KC_P2" , "KC_P3" , "KC_MINS", "_______",
"_______", "_______", "KC_DEL" , "KC_DEL" , "_______", "KC_P0"
],
[
"RGB_TOG", "KC_EXLM", "KC_AT" , "KC_HASH", "KC_DLR" , "KC_PERC", "KC_CIRC", "KC_AMPR", "KC_ASTR", "KC_LPRN", "KC_RPRN", "QK_BOOT",
"RGB_MOD", "KC_MPRV", "KC_MNXT", "KC_VOLU", "KC_PGUP", "KC_UNDS", "KC_EQL" , "KC_HOME", "RGB_HUI", "RGB_SAI", "RGB_VAI", "KC_BSLS",
"KC_MUTE", "KC_MSTP", "KC_MPLY", "KC_VOLD", "KC_PGDN", "KC_MINS", "KC_LPRN", "_______", "KC_PLUS", "KC_END" , "RGB_HUD", "RGB_SAD", "RGB_VAD", "_______",
"_______", "_______", "_______", "_______", "_______", "_______"
],
[
"KC_F12" , "KC_F1" , "KC_F2" , "KC_F3" , "KC_F4" , "KC_F5" , "KC_F6" , "KC_F7" , "KC_F8" , "KC_F9" , "KC_F10" , "KC_F11" ,
"_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______",
"_______", "EE_CLR" , "QK_BOOT", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "QK_BOOT", "EE_CLR" , "_______",
"_______", "_______", "_______", "_______", "_______", "_______"
]
]
}
25 changes: 25 additions & 0 deletions keyboards/keebio/chiri_ce/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Chiri CE (Compact Edition)

A split ergo 3x6 keyboard with 4 thumb keys made and sold by Keebio. Outer columns can be broken off to convert it to 3x5 layout. [More info at Keebio](https://keeb.io).

* Keyboard Maintainer: [Bakingpy/nooges](https://github.com/nooges)
* Hardware Supported: Chiri CE PCBs w/RP2040 microcontroller
* Hardware Availability: [Keebio](https://keeb.io)

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

make keebio/chiri_ce/rev1:default

Example of flashing this keyboard:

make keebio/chiri_ce/rev1: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 key at the top left (for left half) or top right (for right half) and plug in the keyboard
* **Physical reset button**: Press and hold the button on the back of the PCB for at least 1 second and let go
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
16 changes: 16 additions & 0 deletions keyboards/keebio/chiri_ce/rev1/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// Copyright 2024 Danny Nguyen (danny@keeb.io)
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

#define SPLIT_HAND_PIN GP4
#define USB_VBUS_PIN GP0
#define SERIAL_USART_FULL_DUPLEX
#define SERIAL_USART_TX_PIN GP12
#define SERIAL_USART_RX_PIN GP13
#define SERIAL_USART_PIN_SWAP
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U
#define I2C_DRIVER I2CD2
#define I2C1_SDA_PIN GP10
#define I2C1_SCL_PIN GP11
189 changes: 189 additions & 0 deletions keyboards/keebio/chiri_ce/rev1/keyboard.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,189 @@
{
"keyboard_name": "Chiri CE Rev. 1",
"bootloader": "rp2040",
"diode_direction": "COL2ROW",
"dynamic_keymap": {
"layer_count": 6
},
"features": {
"bootmagic": true,
"extrakey": true,
"mousekey": true,
"rgb_matrix": true
},
"matrix_pins": {
"cols": ["GP29", "GP28", "GP27", "GP2", "GP3", "GP14"],
"rows": ["GP19", "GP20", "GP7", "GP26"]
},
"processor": "RP2040",
"rgb_matrix": {
"animations": {
"alphas_mods": true,
"band_pinwheel_sat": true,
"band_pinwheel_val": true,
"band_sat": true,
"band_spiral_sat": true,
"band_spiral_val": true,
"band_val": true,
"breathing": true,
"cycle_all": true,
"cycle_left_right": true,
"cycle_out_in": true,
"cycle_out_in_dual": true,
"cycle_pinwheel": true,
"cycle_spiral": true,
"cycle_up_down": true,
"digital_rain": true,
"dual_beacon": true,
"gradient_left_right": true,
"gradient_up_down": true,
"hue_breathing": true,
"hue_pendulum": true,
"hue_wave": true,
"jellybean_raindrops": true,
"multisplash": true,
"pixel_flow": true,
"pixel_fractal": true,
"pixel_rain": true,
"rainbow_beacon": true,
"rainbow_moving_chevron": true,
"rainbow_pinwheels": true,
"raindrops": true,
"solid_multisplash": true,
"solid_reactive": true,
"solid_reactive_cross": true,
"solid_reactive_multicross": true,
"solid_reactive_multinexus": true,
"solid_reactive_multiwide": true,
"solid_reactive_nexus": true,
"solid_reactive_simple": true,
"solid_reactive_wide": true,
"solid_splash": true,
"splash": true,
"typing_heatmap": true
},
"driver": "ws2812",
"layout": [
{"matrix": [0, 5], "x": 80, "y": 3, "flags": 4},
{"matrix": [0, 4], "x": 64, "y": 5, "flags": 4},
{"matrix": [0, 3], "x": 48, "y": 0, "flags": 4},
{"matrix": [0, 2], "x": 32, "y": 2, "flags": 4},
{"matrix": [0, 1], "x": 16, "y": 5, "flags": 4},
{"matrix": [1, 1], "x": 16, "y": 18, "flags": 4},
{"matrix": [1, 2], "x": 32, "y": 15, "flags": 4},
{"matrix": [1, 3], "x": 48, "y": 13, "flags": 4},
{"matrix": [1, 4], "x": 64, "y": 15, "flags": 4},
{"matrix": [1, 5], "x": 80, "y": 17, "flags": 4},
{"matrix": [2, 5], "x": 80, "y": 30, "flags": 4},
{"matrix": [2, 4], "x": 64, "y": 28, "flags": 4},
{"matrix": [2, 3], "x": 48, "y": 27, "flags": 4},
{"matrix": [2, 2], "x": 32, "y": 28, "flags": 4},
{"matrix": [2, 1], "x": 16, "y": 32, "flags": 4},
{"matrix": [3, 2], "x": 56, "y": 47, "flags": 4},
{"matrix": [3, 3], "x": 72, "y": 58, "flags": 4},
{"matrix": [3, 4], "x": 90, "y": 64, "flags": 4},
{"matrix": [3, 5], "x": 98, "y": 52, "flags": 4},
{"matrix": [2, 0], "x": 0, "y": 32, "flags": 4},
{"matrix": [1, 0], "x": 0, "y": 18, "flags": 4},
{"matrix": [0, 0], "x": 0, "y": 5, "flags": 4},
{"matrix": [4, 5], "x": 144, "y": 3, "flags": 4},
{"matrix": [4, 4], "x": 160, "y": 5, "flags": 4},
{"matrix": [4, 3], "x": 176, "y": 0, "flags": 4},
{"matrix": [4, 2], "x": 192, "y": 2, "flags": 4},
{"matrix": [4, 1], "x": 208, "y": 5, "flags": 4},
{"matrix": [5, 1], "x": 208, "y": 18, "flags": 4},
{"matrix": [5, 2], "x": 192, "y": 15, "flags": 4},
{"matrix": [5, 3], "x": 176, "y": 13, "flags": 4},
{"matrix": [5, 4], "x": 160, "y": 15, "flags": 4},
{"matrix": [5, 5], "x": 144, "y": 17, "flags": 4},
{"matrix": [6, 5], "x": 144, "y": 30, "flags": 4},
{"matrix": [6, 4], "x": 160, "y": 28, "flags": 4},
{"matrix": [6, 3], "x": 176, "y": 27, "flags": 4},
{"matrix": [6, 2], "x": 192, "y": 28, "flags": 4},
{"matrix": [6, 1], "x": 208, "y": 32, "flags": 4},
{"matrix": [7, 2], "x": 168, "y": 47, "flags": 4},
{"matrix": [7, 3], "x": 152, "y": 58, "flags": 4},
{"matrix": [7, 4], "x": 134, "y": 64, "flags": 4},
{"matrix": [7, 5], "x": 126, "y": 52, "flags": 4},
{"matrix": [6, 0], "x": 224, "y": 32, "flags": 4},
{"matrix": [5, 0], "x": 224, "y": 18, "flags": 4},
{"matrix": [4, 0], "x": 224, "y": 5, "flags": 4}
],
"max_brightness": 200,
"split_count": [22, 22],
"sleep": true
},
"split": {
"bootmagic": {
"matrix": [4, 0]
},
"enabled": true,
"matrix_pins": {
"right": {
"cols": ["GP29", "GP28", "GP2", "GP27", "GP18", "GP7"],
"rows": ["GP24", "GP23", "GP21", "GP3"]
}
},
"transport": {
"sync_matrix_state": true
}
},
"usb": {
"device_version": "1.0.0",
"pid": "0x1546"
},
"ws2812": {
"driver": "vendor",
"pin": "GP25"
},
"layouts": {
"LAYOUT": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0.375},
{"matrix": [0, 1], "x": 1, "y": 0.375},
{"matrix": [0, 2], "x": 2, "y": 0.125},
{"matrix": [0, 3], "x": 3, "y": 0},
{"matrix": [0, 4], "x": 4, "y": 0.125},
{"matrix": [0, 5], "x": 5, "y": 0.25},
{"matrix": [4, 5], "x": 9, "y": 0.25},
{"matrix": [4, 4], "x": 10, "y": 0.125},
{"matrix": [4, 3], "x": 11, "y": 0},
{"matrix": [4, 2], "x": 12, "y": 0.125},
{"matrix": [4, 1], "x": 13, "y": 0.375},
{"matrix": [4, 0], "x": 14, "y": 0.375},
{"matrix": [1, 0], "x": 0, "y": 1.375},
{"matrix": [1, 1], "x": 1, "y": 1.375},
{"matrix": [1, 2], "x": 2, "y": 1.125},
{"matrix": [1, 3], "x": 3, "y": 1},
{"matrix": [1, 4], "x": 4, "y": 1.125},
{"matrix": [1, 5], "x": 5, "y": 1.25},
{"matrix": [5, 5], "x": 9, "y": 1.25},
{"matrix": [5, 4], "x": 10, "y": 1.125},
{"matrix": [5, 3], "x": 11, "y": 1},
{"matrix": [5, 2], "x": 12, "y": 1.125},
{"matrix": [5, 1], "x": 13, "y": 1.375},
{"matrix": [5, 0], "x": 14, "y": 1.375},
{"matrix": [2, 0], "x": 0, "y": 2.375},
{"matrix": [2, 1], "x": 1, "y": 2.375},
{"matrix": [2, 2], "x": 2, "y": 2.125},
{"matrix": [2, 3], "x": 3, "y": 2},
{"matrix": [2, 4], "x": 4, "y": 2.125},
{"matrix": [2, 5], "x": 5, "y": 2.25},
{"matrix": [3, 5], "x": 6.15, "y": 2.75},
{"matrix": [7, 5], "x": 7.85, "y": 2.75},
{"matrix": [6, 5], "x": 9, "y": 2.25},
{"matrix": [6, 4], "x": 10, "y": 2.125},
{"matrix": [6, 3], "x": 11, "y": 2},
{"matrix": [6, 2], "x": 12, "y": 2.125},
{"matrix": [6, 1], "x": 13, "y": 2.375},
{"matrix": [6, 0], "x": 14, "y": 2.375},
{"matrix": [3, 2], "x": 3.5, "y": 3.25},
{"matrix": [3, 3], "x": 4.5, "y": 3.375},
{"matrix": [3, 4], "x": 5.6, "y": 3.75},
{"matrix": [7, 4], "x": 8.4, "y": 3.75},
{"matrix": [7, 3], "x": 9.5, "y": 3.375},
{"matrix": [7, 2], "x": 10.5, "y": 3.25}
]
}
}
}
1 change: 1 addition & 0 deletions keyboards/keebio/chiri_ce/rev1/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SERIAL_DRIVER = vendor

0 comments on commit 751fbd7

Please sign in to comment.