Skip to content

Commit

Permalink
[Keyboard] Add Chouchou keyboard
Browse files Browse the repository at this point in the history
  • Loading branch information
dlip committed Aug 8, 2023
1 parent d52bafa commit 41ab7f6
Show file tree
Hide file tree
Showing 5 changed files with 123 additions and 0 deletions.
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
79 changes: 79 additions & 0 deletions keyboards/chouchou/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
{
"manufacturer": "dlip",
"keyboard_name": "chouchou",
"maintainer": "dlip",
"url": "https://github.com/dlip/chouchou",
"bootloader": "rp2040",
"features": {
"bootmagic": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": false,
"nkro": true
},
"processor": "RP2040",
"usb": {
"device_version": "1.0.0",
"pid": "0x0117",
"vid": "0xFABE"
},
"matrix_pins": {
"direct": [
[
"GP0",
"GP1",
"GP2",
"GP3",
"GP4",
"GP5",
"GP6",
"GP7",
"GP8",
"GP9",
"GP10",
"GP11",
"GP12",
"GP13",
"GP14",
"GP15",
"GP26",
"GP27",
"GP28",
"GP29"
]
]
},

"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.

0 comments on commit 41ab7f6

Please sign in to comment.