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

[Keyboard] Add Chouchou keyboard #21699

Merged
merged 1 commit into from
Aug 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 7 additions & 0 deletions keyboards/chouchou/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// Copyright 2023 Dane Lipscombe (@dlip)
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U
52 changes: 52 additions & 0 deletions keyboards/chouchou/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
dlip marked this conversation as resolved.
Show resolved Hide resolved
"manufacturer": "dlip",
"keyboard_name": "chouchou",
"maintainer": "dlip",
"bootloader": "rp2040",
"features": {
"bootmagic": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": false,
"nkro": true
},
"matrix_pins": {
"direct": [
["GP0", "GP1", "GP2", "GP3", "GP4", "GP5", "GP6", "GP7", "GP8", "GP9", "GP10", "GP11", "GP12", "GP13", "GP14", "GP15", "GP26", "GP27", "GP28", "GP29"]
]
},
"processor": "RP2040",
"url": "https://github.com/dlip/chouchou",
"usb": {
"device_version": "1.0.0",
"pid": "0x0117",
"vid": "0xFABE"
},
"layouts": {
"LAYOUT_split_2x4_2": {
"layout": [
{"matrix": [0, 16], "x": 0, "y": 0.88},
{"matrix": [0, 17], "x": 1, "y": 0.38},
{"matrix": [0, 18], "x": 2, "y": 0},
{"matrix": [0, 19], "x": 3, "y": 0.38},
{"matrix": [0, 0], "x": 4, "y": 0.38},
{"matrix": [0, 1], "x": 5, "y": 0},
{"matrix": [0, 2], "x": 6, "y": 0.38},
{"matrix": [0, 3], "x": 7, "y": 0.88},
{"matrix": [0, 12], "x": 0, "y": 1.88},
{"matrix": [0, 13], "x": 1, "y": 1.38},
{"matrix": [0, 14], "x": 2, "y": 1},
{"matrix": [0, 15], "x": 3, "y": 1.38},
{"matrix": [0, 4], "x": 4, "y": 1.38},
{"matrix": [0, 5], "x": 5, "y": 1},
{"matrix": [0, 6], "x": 6, "y": 1.38},
{"matrix": [0, 7], "x": 7, "y": 1.88},
{"matrix": [0, 11], "x": 2, "y": 2.38},
{"matrix": [0, 10], "x": 3, "y": 2.5},
{"matrix": [0, 9], "x": 4, "y": 2.5},
{"matrix": [0, 8], "x": 5, "y": 2.38}
]
}
}
}
11 changes: 11 additions & 0 deletions keyboards/chouchou/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Copyright 2023 Dane Lipscombe (@dlip)
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_split_2x4_2(
KC_A, KC_B, KC_C, KC_D, KC_N, KC_M, KC_L, KC_K,
KC_E, KC_F, KC_G, KC_H, KC_R, KC_Q, KC_P, KC_O,
KC_I, KC_J, KC_T, KC_S
),
};
26 changes: 26 additions & 0 deletions keyboards/chouchou/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Chouchou

![Chouchou](https://i.imgur.com/BYk2n5Ch.jpeg)

Chouchou (Japanese for butterfly) is a minimalist unibody keyboard designed to be used with the [Taipo](https://inkeys.wiki/en/keymaps/taipo) layout.

- [Github repo](https://github.com/dlip/chouchou)
- Keyboard Maintainer: [Dane Lipscombe](https://github.com/dlip)

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

make chouchou:default

Flashing example for this keyboard:

make chouchou: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 (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard
* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
Empty file added keyboards/chouchou/rules.mk
Empty file.