Skip to content

Commit

Permalink
Add Handwired Cherry Protype (#24806)
Browse files Browse the repository at this point in the history
* Add handwired Cherry Protype

* Fix instructions

* Replace tabs with spaces

Co-authored-by: Drashna Jaelre <[email protected]>

* Update keyboards/handwired/protype/keyboard.json

Co-authored-by: Drashna Jaelre <[email protected]>

---------

Co-authored-by: Drashna Jaelre <[email protected]>
  • Loading branch information
nooges and drashna authored Mar 1, 2025
1 parent a4d86a6 commit e0e96c2
Show file tree
Hide file tree
Showing 3 changed files with 145 additions and 0 deletions.
104 changes: 104 additions & 0 deletions keyboards/handwired/protype/keyboard.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
{
"manufacturer": "Cherry",
"keyboard_name": "Protype Display Typewriter",
"maintainer": "nooges",
"bootloader": "rp2040",
"diode_direction": "COL2ROW",
"features": {
"bootmagic": true,
"extrakey": true,
"mousekey": true,
"nkro": true
},
"matrix_pins": {
"rows": ["GP29", "GP28", "GP27", "GP26", "GP22", "GP20", "GP23", "GP21"],
"cols": ["GP12", "GP9", "GP10", "GP0", "GP1", "GP5", "GP6", "GP2", "GP3", "GP4"]
},
"processor": "RP2040",
"url": "",
"usb": {
"device_version": "1.0.0",
"pid": "0xB7D7",
"vid": "0x046A"
},
"layouts": {
"LAYOUT": {
"layout": [
{ "label": "F1", "matrix": [0, 0], "w": 1.5, "x": 0, "y": 0 },
{ "label": "F2", "matrix": [0, 1], "w": 1.5, "x": 1.5, "y": 0 },
{ "label": "`", "matrix": [0, 2], "x": 3.5, "y": 0 },
{ "label": "1", "matrix": [0, 3], "x": 4.5, "y": 0 },
{ "label": "2", "matrix": [0, 4], "x": 5.5, "y": 0 },
{ "label": "3", "matrix": [0, 5], "x": 6.5, "y": 0 },
{ "label": "4", "matrix": [0, 6], "x": 7.5, "y": 0 },
{ "label": "5", "matrix": [0, 7], "x": 8.5, "y": 0 },
{ "label": "6", "matrix": [0, 8], "x": 9.5, "y": 0 },
{ "label": "7", "matrix": [0, 9], "x": 10.5, "y": 0 },
{ "label": "8", "matrix": [4, 8], "x": 11.5, "y": 0 },
{ "label": "9", "matrix": [4, 7], "x": 12.5, "y": 0 },
{ "label": "0", "matrix": [4, 6], "x": 13.5, "y": 0 },
{ "label": "-", "matrix": [4, 5], "x": 14.5, "y": 0 },
{ "label": "=", "matrix": [4, 4], "x": 15.5, "y": 0 },
{ "label": "Backspace", "matrix": [4, 3], "w": 2, "x": 16.5, "y": 0 },
{ "label": "Pg Up", "matrix": [4, 2], "x": 18.5, "y": 0 },
{ "label": "F8", "matrix": [4, 1], "w": 1.5, "x": 20, "y": 0 },
{ "label": "F9", "matrix": [4, 0], "w": 1.5, "x": 21.5, "y": 0 },
{ "label": "F3", "matrix": [1, 0], "w": 1.5, "x": 0, "y": 1 },
{ "label": "F4", "matrix": [1, 1], "w": 1.5, "x": 1.5, "y": 1 },
{ "label": "Tab", "matrix": [1, 2], "w": 1.5, "x": 3.5, "y": 1 },
{ "label": "Q", "matrix": [1, 3], "x": 5, "y": 1 },
{ "label": "W", "matrix": [1, 4], "x": 6, "y": 1 },
{ "label": "E", "matrix": [1, 5], "x": 7, "y": 1 },
{ "label": "R", "matrix": [1, 6], "x": 8, "y": 1 },
{ "label": "T", "matrix": [1, 7], "x": 9, "y": 1 },
{ "label": "Y", "matrix": [1, 8], "x": 10, "y": 1 },
{ "label": "U", "matrix": [5, 9], "x": 11, "y": 1 },
{ "label": "I", "matrix": [5, 8], "x": 12, "y": 1 },
{ "label": "O", "matrix": [5, 7], "x": 13, "y": 1 },
{ "label": "P", "matrix": [5, 6], "x": 14, "y": 1 },
{ "label": "[", "matrix": [5, 5], "x": 15, "y": 1 },
{ "label": "]", "matrix": [5, 4], "x": 16, "y": 1 },
{ "label": "\\", "matrix": [5, 3], "w": 1.5, "x": 17, "y": 1 },
{ "label": "Pg Dn", "matrix": [5, 2], "x": 18.5, "y": 1 },
{ "label": "F10", "matrix": [5, 1], "w": 1.5, "x": 20, "y": 1 },
{ "label": "F11", "matrix": [5, 0], "w": 1.5, "x": 21.5, "y": 1 },
{ "label": "F5", "matrix": [2, 0], "w": 1.5, "x": 0, "y": 2 },
{ "label": "F6", "matrix": [2, 1], "w": 1.5, "x": 1.5, "y": 2 },
{ "label": "Caps Lock", "matrix": [2, 2], "w": 1.75, "x": 3.5, "y": 2 },
{ "label": "A", "matrix": [2, 3], "x": 5.25, "y": 2 },
{ "label": "S", "matrix": [2, 4], "x": 6.25, "y": 2 },
{ "label": "D", "matrix": [2, 5], "x": 7.25, "y": 2 },
{ "label": "F", "matrix": [2, 6], "x": 8.25, "y": 2 },
{ "label": "G", "matrix": [2, 7], "x": 9.25, "y": 2 },
{ "label": "H", "matrix": [2, 8], "x": 10.25, "y": 2 },
{ "label": "J", "matrix": [2, 9], "x": 11.25, "y": 2 },
{ "label": "K", "matrix": [6, 8], "x": 12.25, "y": 2 },
{ "label": "L", "matrix": [6, 7], "x": 13.25, "y": 2 },
{ "label": ";", "matrix": [6, 6], "x": 14.25, "y": 2 },
{ "label": "'", "matrix": [6, 5], "x": 15.25, "y": 2 },
{ "label": "Enter", "matrix": [6, 4], "w": 2.25, "x": 16.25, "y": 2 },
{ "label": "Up", "matrix": [6, 2], "x": 18.5, "y": 2 },
{ "label": "F12", "matrix": [6, 1], "w": 1.5, "x": 20, "y": 2 },
{ "label": "F13", "matrix": [6, 0], "w": 1.5, "x": 21.5, "y": 2 },
{ "label": "F7", "matrix": [3, 0], "w": 3, "x": 0, "y": 3 },
{ "label": "Ctrl", "matrix": [3, 2], "x": 3.5, "y": 3 },
{ "label": "Shift", "matrix": [3, 3], "w": 1.25, "x": 4.5, "y": 3 },
{ "label": "Z", "matrix": [3, 4], "x": 5.75, "y": 3 },
{ "label": "X", "matrix": [3, 5], "x": 6.75, "y": 3 },
{ "label": "C", "matrix": [3, 6], "x": 7.75, "y": 3 },
{ "label": "V", "matrix": [3, 7], "x": 8.75, "y": 3 },
{ "label": "B", "matrix": [3, 8], "x": 9.75, "y": 3 },
{ "label": "N", "matrix": [7, 9], "x": 10.75, "y": 3 },
{ "label": "M", "matrix": [7, 8], "x": 11.75, "y": 3 },
{ "label": ",", "matrix": [7, 7], "x": 12.75, "y": 3 },
{ "label": ".", "matrix": [7, 6], "x": 13.75, "y": 3 },
{ "label": "/", "matrix": [7, 5], "x": 14.75, "y": 3 },
{ "label": "Shift", "matrix": [7, 4], "w": 2.75, "x": 15.75, "y": 3 },
{ "label": "Down", "matrix": [7, 2], "x": 18.5, "y": 3 },
{ "label": "F14", "matrix": [7, 1], "w": 1.5, "x": 20, "y": 3 },
{ "label": "F15", "matrix": [7, 0], "w": 1.5, "x": 21.5, "y": 3 },
{ "matrix": [3, 1], "w": 9, "x": 6.75, "y": 4 }
]
}
}
}
15 changes: 15 additions & 0 deletions keyboards/handwired/protype/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// Copyright 2025 QMK
// SPDX-License-Identifier: GPL-2.0-or-later

#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

[0] = LAYOUT(
KC_F1, KC_F2, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_PGUP, KC_F8, KC_F9,
KC_F3, KC_F4, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGDN, KC_F10, KC_F11,
KC_F5, KC_F6, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_UP, KC_F12, KC_F13,
KC_F7, KC_LCTL, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_DOWN, KC_F14, KC_F15,
KC_SPC
)
};
26 changes: 26 additions & 0 deletions keyboards/handwired/protype/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Cherry Protype Display Typewriter

![handwired/protype](https://i.imgur.com/hcFikid.jpeg)

Handwired RP2040 Pro Micro (Community Edition) on Cherry Protype Display Typewriter PCB.

* Keyboard Maintainer: [nooges](https://github.com/nooges)
* Hardware Supported: RP2040 Pro Micro Controller

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

qmk compile -kb handwired/protype -km default

Flashing example for this keyboard:

qmk flash -kb handwired/protype -km default

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**: Hold the Boot button on the microcontroller and then press Reset
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available

0 comments on commit e0e96c2

Please sign in to comment.