[Keyboard] Whitefacemountain Ampersand (#23437)

Co-authored-by: Drashna Jaelre <drashna@live.com>
This commit is contained in:
Robbie 2024-07-15 14:23:13 +10:00 committed by GitHub
parent 85447bd53b
commit d885963e38
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 167 additions and 0 deletions

View file

@ -0,0 +1,127 @@
{
"manufacturer": "Whitefacemountain",
"keyboard_name": "Ampersand",
"maintainer": "roarmstrong",
"bootloader": "atmel-dfu",
"diode_direction": "COL2ROW",
"features": {
"bootmagic": true,
"extrakey": true,
"mousekey": true
},
"matrix_pins": {
"cols": ["F4", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0", "F1"],
"rows": ["F5", "F0", "C7", "F6"]
},
"processor": "atmega32u4",
"url": "https://www.cbkbd.com/product/ampersand",
"usb": {
"device_version": "1.0.0",
"pid": "0x2626",
"vid": "0xFEED"
},
"layout_aliases": {
"LAYOUT_all": "LAYOUT_split_bars"
},
"layouts": {
"LAYOUT_single_bar": {
"layout": [
{"label": "Esc", "matrix": [0, 0], "x": 0, "y": 0},
{"label": "Q", "matrix": [0, 1], "x": 1, "y": 0},
{"label": "W", "matrix": [0, 2], "x": 2, "y": 0},
{"label": "E", "matrix": [0, 3], "x": 3, "y": 0},
{"label": "R", "matrix": [0, 4], "x": 4, "y": 0},
{"label": "T", "matrix": [0, 5], "x": 5, "y": 0},
{"label": "Y", "matrix": [0, 6], "x": 6, "y": 0},
{"label": "U", "matrix": [0, 7], "x": 7, "y": 0},
{"label": "I", "matrix": [0, 8], "x": 8, "y": 0},
{"label": "O", "matrix": [0, 9], "x": 9, "y": 0},
{"label": "P", "matrix": [0, 10], "x": 10, "y": 0},
{"label": "-", "matrix": [0, 11], "x": 11, "y": 0},
{"label": "Bksp", "matrix": [0, 12], "x": 12, "y": 0, "w": 1.5},
{"label": "Tab", "matrix": [1, 0], "x": 0, "y": 1, "w": 1.25},
{"label": "A", "matrix": [1, 1], "x": 1.25, "y": 1},
{"label": "S", "matrix": [1, 2], "x": 2.25, "y": 1},
{"label": "D", "matrix": [1, 3], "x": 3.25, "y": 1},
{"label": "F", "matrix": [1, 4], "x": 4.25, "y": 1},
{"label": "G", "matrix": [1, 5], "x": 5.25, "y": 1},
{"label": "H", "matrix": [1, 6], "x": 6.25, "y": 1},
{"label": "J", "matrix": [1, 7], "x": 7.25, "y": 1},
{"label": "K", "matrix": [1, 8], "x": 8.25, "y": 1},
{"label": "L", "matrix": [1, 9], "x": 9.25, "y": 1},
{"label": ";", "matrix": [1, 10], "x": 10.25, "y": 1},
{"label": "'", "matrix": [1, 11], "x": 11.25, "y": 1},
{"label": "Enter", "matrix": [1, 12], "x": 12.25, "y": 1, "w": 1.25},
{"label": "Shift", "matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
{"label": "Z", "matrix": [2, 1], "x": 1.75, "y": 2},
{"label": "X", "matrix": [2, 2], "x": 2.75, "y": 2},
{"label": "C", "matrix": [2, 3], "x": 3.75, "y": 2},
{"label": "V", "matrix": [2, 4], "x": 4.75, "y": 2},
{"label": "B", "matrix": [2, 5], "x": 5.75, "y": 2},
{"label": "N", "matrix": [2, 6], "x": 6.75, "y": 2},
{"label": "M", "matrix": [2, 7], "x": 7.75, "y": 2},
{"label": ",", "matrix": [2, 8], "x": 8.75, "y": 2},
{"label": ".", "matrix": [2, 9], "x": 9.75, "y": 2},
{"label": "/", "matrix": [2, 10], "x": 10.75, "y": 2},
{"label": "Shift", "matrix": [2, 11], "x": 11.75, "y": 2, "w": 1.75},
{"label": "Ctrl", "matrix": [3, 0], "x": 0, "y": 3, "w": 1},
{"label": "LAlt", "matrix": [3, 1], "x": 1.75, "y": 3, "w": 1},
{"label": "LGui", "matrix": [3, 2], "x": 2.75, "y": 3, "w": 1},
{"label": "Space", "matrix": [3, 5], "x": 3.75, "y": 3, "w": 6},
{"label": "RGui", "matrix": [3, 8], "x": 9.75, "y": 3, "w": 1},
{"label": "RAlt", "matrix": [3, 9], "x": 10.75, "y": 3, "w": 1},
{"label": "RCtrl", "matrix": [3, 11], "x": 12.5, "y": 3, "w": 1}
]
},
"LAYOUT_split_bars": {
"layout": [
{"label": "Esc", "matrix": [0, 0], "x": 0, "y": 0},
{"label": "Q", "matrix": [0, 1], "x": 1, "y": 0},
{"label": "W", "matrix": [0, 2], "x": 2, "y": 0},
{"label": "E", "matrix": [0, 3], "x": 3, "y": 0},
{"label": "R", "matrix": [0, 4], "x": 4, "y": 0},
{"label": "T", "matrix": [0, 5], "x": 5, "y": 0},
{"label": "Y", "matrix": [0, 6], "x": 6, "y": 0},
{"label": "U", "matrix": [0, 7], "x": 7, "y": 0},
{"label": "I", "matrix": [0, 8], "x": 8, "y": 0},
{"label": "O", "matrix": [0, 9], "x": 9, "y": 0},
{"label": "P", "matrix": [0, 10], "x": 10, "y": 0},
{"label": "-", "matrix": [0, 11], "x": 11, "y": 0},
{"label": "Bksp", "matrix": [0, 12], "x": 12, "y": 0, "w": 1.5},
{"label": "Tab", "matrix": [1, 0], "x": 0, "y": 1, "w": 1.25},
{"label": "A", "matrix": [1, 1], "x": 1.25, "y": 1},
{"label": "S", "matrix": [1, 2], "x": 2.25, "y": 1},
{"label": "D", "matrix": [1, 3], "x": 3.25, "y": 1},
{"label": "F", "matrix": [1, 4], "x": 4.25, "y": 1},
{"label": "G", "matrix": [1, 5], "x": 5.25, "y": 1},
{"label": "H", "matrix": [1, 6], "x": 6.25, "y": 1},
{"label": "J", "matrix": [1, 7], "x": 7.25, "y": 1},
{"label": "K", "matrix": [1, 8], "x": 8.25, "y": 1},
{"label": "L", "matrix": [1, 9], "x": 9.25, "y": 1},
{"label": ";", "matrix": [1, 10], "x": 10.25, "y": 1},
{"label": "'", "matrix": [1, 11], "x": 11.25, "y": 1},
{"label": "Enter", "matrix": [1, 12], "x": 12.25, "y": 1, "w": 1.25},
{"label": "Shift", "matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
{"label": "Z", "matrix": [2, 1], "x": 1.75, "y": 2},
{"label": "X", "matrix": [2, 2], "x": 2.75, "y": 2},
{"label": "C", "matrix": [2, 3], "x": 3.75, "y": 2},
{"label": "V", "matrix": [2, 4], "x": 4.75, "y": 2},
{"label": "B", "matrix": [2, 5], "x": 5.75, "y": 2},
{"label": "N", "matrix": [2, 6], "x": 6.75, "y": 2},
{"label": "M", "matrix": [2, 7], "x": 7.75, "y": 2},
{"label": ",", "matrix": [2, 8], "x": 8.75, "y": 2},
{"label": ".", "matrix": [2, 9], "x": 9.75, "y": 2},
{"label": "/", "matrix": [2, 10], "x": 10.75, "y": 2},
{"label": "Shift", "matrix": [2, 11], "x": 11.75, "y": 2, "w": 1.75},
{"label": "Ctrl", "matrix": [3, 0], "x": 0, "y": 3, "w": 1},
{"label": "LAlt", "matrix": [3, 1], "x": 1.75, "y": 3, "w": 1.5},
{"label": "LGui", "matrix": [3, 2], "x": 3.25, "y": 3, "w": 1},
{"label": "Space", "matrix": [3, 3], "x": 4.25, "y": 3, "w": 2.25},
{"label": "Space", "matrix": [3, 7], "x": 6.5, "y": 3, "w": 2.75},
{"label": "RGui", "matrix": [3, 8], "x": 9.25, "y": 3, "w": 1},
{"label": "RAlt", "matrix": [3, 9], "x": 10.25, "y": 3, "w": 1.5},
{"label": "RCtrl", "matrix": [3, 11], "x": 12.5, "y": 3, "w": 1}
]
}
}
}

View file

@ -0,0 +1,12 @@
// Copyright 2024 @roarmstrong
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_all(
KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_MINS, KC_BSPC,
KC_TAB, 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_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_SPC, KC_RGUI, KC_RALT, KC_RCTL)
};

View file

@ -0,0 +1,28 @@
# Ampersand
![Ampersand](https://i.imgur.com/jbr7Bld.png)
Ampersand is a gummyworm mounted 13.5u keyboard with minimum 40s support needed.
Its frosted polycarbonate case and blasted brass weight will pair well with most keysets, with greater compatibility than most 40s.
* Keyboard Maintainer: [roarmstrong](https://github.com/roarmstrong)
* Hardware Supported: Ampersand custom PCB, using Atmega32u4
* Hardware Availability: [Coffee Break Keyboards](https://www.cbkbd.com/product/ampersand), [Keeb Supply](https://keeb.supply/products/ampersand)
Make example for this keyboard (after setting up your build environment):
make whitefacemountain/ampersand:default
Flashing example for this keyboard:
make whitefacemountain/ampersand: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 (the top left key) and plug in the keyboard
* **Physical reset button**: Briefly press the button labelled SW1 on the back of the PCB
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available