1
0
Fork 0
forked from forks/qmk_firmware

[Keyboard] Add Frost68 keyboard (#20370)

Co-authored-by: Pablo Martínez <58857054+elpekenin@users.noreply.github.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: jack <0x6a73@protonmail.com>
This commit is contained in:
skeletonkbd 2023-07-04 11:21:45 +09:00 committed by GitHub
parent 82af8b9bf1
commit 6c1f2187f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 348 additions and 0 deletions

View file

@ -0,0 +1,61 @@
// Copyright 2023 skeletonkbd (@skeletonkbd)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#define WS2812_PIO_USE_PIO1
#define RGB_MATRIX_LED_COUNT 68
#define RGB_DISABLE_WHEN_USB_SUSPENDED
#define USB_SUSPEND_WAKEUP_DELAY 200
#define ENABLE_RGB_MATRIX_ALPHAS_MODS
#define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
#define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
#define ENABLE_RGB_MATRIX_BREATHING
#define ENABLE_RGB_MATRIX_BAND_SAT
#define ENABLE_RGB_MATRIX_BAND_VAL
#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
#define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT
#define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
#define ENABLE_RGB_MATRIX_CYCLE_ALL
#define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
#define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
#define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN
#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
#define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
#define ENABLE_RGB_MATRIX_CYCLE_SPIRAL
#define ENABLE_RGB_MATRIX_DUAL_BEACON
#define ENABLE_RGB_MATRIX_RAINBOW_BEACON
#define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
#define ENABLE_RGB_MATRIX_RAINDROPS
#define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
#define ENABLE_RGB_MATRIX_HUE_BREATHING
#define ENABLE_RGB_MATRIX_HUE_PENDULUM
#define ENABLE_RGB_MATRIX_HUE_WAVE
#define ENABLE_RGB_MATRIX_PIXEL_FRACTAL
#define ENABLE_RGB_MATRIX_PIXEL_FLOW
#define ENABLE_RGB_MATRIX_PIXEL_RAIN
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
#define ENABLE_RGB_MATRIX_TYPING_HEATMAP
#define ENABLE_RGB_MATRIX_DIGITAL_RAIN
#define RGB_MATRIX_KEYPRESSES
#define RGB_MATRIX_KEYRELEASES
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
#define ENABLE_RGB_MATRIX_SPLASH
#define ENABLE_RGB_MATRIX_MULTISPLASH
#define ENABLE_RGB_MATRIX_SOLID_SPLASH
#define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_CYCLE_UP_DOWN

View file

@ -0,0 +1,18 @@
// Copyright 2023 skeletonkbd (@skeletonkbd)
// SPDX-License-Identifier: GPL-2.0-or-later
#include "quantum.h"
bool rgb_matrix_indicators_advanced_kb(uint8_t led_min, uint8_t led_max) {
if (!rgb_matrix_indicators_advanced_user(led_min, led_max)) {
return false;
}
if (host_keyboard_led_state().caps_lock) {
for (uint8_t i = led_min; i < led_max; i++) {
if (g_led_config.flags[i] & LED_FLAG_INDICATOR) {
rgb_matrix_set_color(i, RGB_RED);
}
}
}
return false;
}

View file

@ -0,0 +1,182 @@
{
"manufacturer": "skeletonkbd",
"keyboard_name": "Frost68",
"maintainer": "skeletonkbd",
"bootloader": "rp2040",
"diode_direction": "COL2ROW",
"features": {
"bootmagic": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"nkro": true,
"rgb_matrix": true
},
"matrix_pins": {
"cols": ["GP21", "GP22", "GP23", "GP24", "GP25", "GP26", "GP28", "GP3", "GP4", "GP5", "GP6", "GP9", "GP10", "GP11", "GP12", "GP13"],
"rows": ["GP29", "GP27", "GP20", "GP19", "GP18"]
},
"processor": "RP2040",
"ws2812": {
"driver": "vendor",
"pin": "GP0"
},
"rgb_matrix": {
"driver": "WS2812",
"layout": [
{"matrix": [0, 0], "x": 33.1, "y": 3.7, "flags": 4},
{"matrix": [0, 1], "x": 45.7, "y": 3.7, "flags": 4},
{"matrix": [0, 2], "x": 58.3, "y": 2.4, "flags": 4},
{"matrix": [0, 3], "x": 71.1, "y": 6.4, "flags": 4},
{"matrix": [0, 4], "x": 83.4, "y": 10.4, "flags": 4},
{"matrix": [0, 5], "x": 95.7, "y": 14.3, "flags": 4},
{"matrix": [0, 6], "x": 108, "y": 18.3, "flags": 4},
{"matrix": [1, 5], "x": 99.3, "y": 35, "flags": 4},
{"matrix": [1, 4], "x": 86.9, "y": 31, "flags": 4},
{"matrix": [1, 3], "x": 74.6, "y": 27, "flags": 4},
{"matrix": [1, 2], "x": 62.3, "y": 23.1, "flags": 4},
{"matrix": [1, 1], "x": 49.2, "y": 22.7, "flags": 4},
{"matrix": [1, 0], "x": 33.5, "y": 22.7, "flags": 1},
{"matrix": [2, 0], "x": 32.3, "y": 41.8, "flags": 1},
{"matrix": [2, 1], "x": 49.7, "y": 41.8, "flags": 4},
{"matrix": [2, 2], "x": 62.7, "y": 42.7, "flags": 4},
{"matrix": [2, 3], "x": 75.1, "y": 46.7, "flags": 4},
{"matrix": [2, 4], "x": 87.4, "y": 50.6, "flags": 4},
{"matrix": [2, 5], "x": 99.7, "y": 54.6, "flags": 4},
{"matrix": [3, 5], "x": 103.3, "y": 75.2, "flags": 4},
{"matrix": [3, 4], "x": 90.9, "y": 71.2, "flags": 4},
{"matrix": [3, 3], "x": 78.6, "y": 67.3, "flags": 4},
{"matrix": [3, 2], "x": 66.3, "y": 63.3, "flags": 4},
{"matrix": [3, 1], "x": 53.3, "y": 60.8, "flags": 4},
{"matrix": [3, 0], "x": 32.8, "y": 60.8, "flags": 1},
{"matrix": [4, 0], "x": 28.1, "y": 79.9, "flags": 1},
{"matrix": [4, 1], "x": 47, "y": 79.9, "flags": 1},
{"matrix": [4, 3], "x": 80.6, "y": 87.4, "flags": 4},
{"matrix": [4, 5], "x": 100.6, "y": 93.8, "flags": 4},
{"matrix": [4, 7], "x": 140.2, "y": 90.4, "flags": 4},
{"matrix": [4, 10], "x": 166.4, "y": 82.5, "flags": 1},
{"matrix": [4, 12], "x": 195.7, "y": 79.9, "flags": 1},
{"matrix": [4, 13], "x": 211.4, "y": 79.9, "flags": 4},
{"matrix": [4, 14], "x": 224, "y": 79.9, "flags": 4},
{"matrix": [4, 15], "x": 236.6, "y": 79.9, "flags": 4},
{"matrix": [3, 14], "x": 224, "y": 60.8, "flags": 4},
{"matrix": [3, 13], "x": 206.7, "y": 60.8, "flags": 1},
{"matrix": [3, 12], "x": 189.4, "y": 60.8, "flags": 4},
{"matrix": [3, 11], "x": 176.8, "y": 60.8, "flags": 4},
{"matrix": [3, 10], "x": 163.7, "y": 63.3, "flags": 4},
{"matrix": [3, 9], "x": 151.4, "y": 67.3, "flags": 4},
{"matrix": [3, 8], "x": 139.1, "y": 71.2, "flags": 4},
{"matrix": [3, 7], "x": 126.8, "y": 75.2, "flags": 4},
{"matrix": [2, 7], "x": 130.3, "y": 54.6, "flags": 4},
{"matrix": [2, 8], "x": 142.6, "y": 50.6, "flags": 4},
{"matrix": [2, 9], "x": 155, "y": 46.7, "flags": 4},
{"matrix": [2, 10], "x": 167.3, "y": 42.7, "flags": 4},
{"matrix": [2, 11], "x": 180.4, "y": 41.8, "flags": 4},
{"matrix": [2, 12], "x": 193, "y": 41.8, "flags": 4},
{"matrix": [2, 13], "x": 213.4, "y": 41.8, "flags": 4},
{"matrix": [2, 15], "x": 236.6, "y": 39.6, "flags": 4},
{"matrix": [1, 15], "x": 235.3, "y": 20.5, "flags": 4},
{"matrix": [1, 14], "x": 217.4, "y": 22.7, "flags": 4},
{"matrix": [1, 13], "x": 201.6, "y": 22.7, "flags": 4},
{"matrix": [1, 12], "x": 189, "y": 22.7, "flags": 4},
{"matrix": [1, 11], "x": 176.4, "y": 22, "flags": 4},
{"matrix": [1, 10], "x": 163.4, "y": 24.5, "flags": 4},
{"matrix": [1, 9], "x": 151.1, "y": 28.4, "flags": 4},
{"matrix": [1, 8], "x": 138.7, "y": 32.4, "flags": 4},
{"matrix": [1, 7], "x": 126.4, "y": 36.4, "flags": 4},
{"matrix": [0, 7], "x": 128.1, "y": 16.3, "flags": 4},
{"matrix": [0, 8], "x": 140.5, "y": 12.4, "flags": 4},
{"matrix": [0, 9], "x": 152.8, "y": 8.4, "flags": 4},
{"matrix": [0, 10], "x": 165.1, "y": 4.4, "flags": 4},
{"matrix": [0, 11], "x": 178.2, "y": 2.9, "flags": 4},
{"matrix": [0, 12], "x": 190.8, "y": 3.7, "flags": 4},
{"matrix": [0, 14], "x": 209.7, "y": 3.7, "flags": 1},
{"matrix": [0, 15], "x": 233.9, "y": 1.5, "flags": 4}
],
"max_brightness": 118,
"sat_steps": 8,
"speed_steps": 10,
"val_steps": 8
},
"url": "https://skeletonkbd.com/",
"usb": {
"device_version": "1.0.0",
"pid": "0x68A0",
"vid": "0x1209"
},
"layouts": {
"LAYOUT": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [0, 1], "x": 1, "y": 0},
{"matrix": [0, 2], "x": 2, "y": 0},
{"matrix": [0, 3], "x": 3, "y": 0},
{"matrix": [0, 4], "x": 4, "y": 0},
{"matrix": [0, 5], "x": 5, "y": 0},
{"matrix": [0, 6], "x": 6, "y": 0},
{"matrix": [0, 7], "x": 9, "y": 0},
{"matrix": [0, 8], "x": 10, "y": 0},
{"matrix": [0, 9], "x": 11, "y": 0},
{"matrix": [0, 10], "x": 12, "y": 0},
{"matrix": [0, 11], "x": 13, "y": 0},
{"matrix": [0, 12], "x": 14, "y": 0},
{"matrix": [0, 13], "x": 15, "y": 0, "w": 2},
{"matrix": [0, 15], "x": 17.25, "y": 0},
{"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5},
{"matrix": [1, 1], "x": 1.5, "y": 1},
{"matrix": [1, 2], "x": 2.5, "y": 1},
{"matrix": [1, 3], "x": 3.5, "y": 1},
{"matrix": [1, 4], "x": 4.5, "y": 1},
{"matrix": [1, 5], "x": 5.5, "y": 1},
{"matrix": [1, 7], "x": 8.5, "y": 1},
{"matrix": [1, 8], "x": 9.5, "y": 1},
{"matrix": [1, 9], "x": 10.5, "y": 1},
{"matrix": [1, 10], "x": 11.5, "y": 1},
{"matrix": [1, 11], "x": 12.5, "y": 1},
{"matrix": [1, 12], "x": 13.5, "y": 1},
{"matrix": [1, 13], "x": 14.5, "y": 1},
{"matrix": [1, 14], "x": 15.5, "y": 1, "w": 1.5},
{"matrix": [1, 15], "x": 17.25, "y": 1},
{"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
{"matrix": [2, 1], "x": 1.75, "y": 2},
{"matrix": [2, 2], "x": 2.75, "y": 2},
{"matrix": [2, 3], "x": 3.75, "y": 2},
{"matrix": [2, 4], "x": 4.75, "y": 2},
{"matrix": [2, 5], "x": 5.75, "y": 2},
{"matrix": [2, 7], "x": 8.75, "y": 2},
{"matrix": [2, 8], "x": 9.75, "y": 2},
{"matrix": [2, 9], "x": 10.75, "y": 2},
{"matrix": [2, 10], "x": 11.75, "y": 2},
{"matrix": [2, 11], "x": 12.75, "y": 2},
{"matrix": [2, 12], "x": 13.75, "y": 2},
{"matrix": [2, 13], "x": 14.75, "y": 2, "w": 2.25},
{"matrix": [2, 15], "x": 17.25, "y": 2},
{"matrix": [3, 0], "x": 0, "y": 3, "w": 2.25},
{"matrix": [3, 1], "x": 2.25, "y": 3},
{"matrix": [3, 2], "x": 3.25, "y": 3},
{"matrix": [3, 3], "x": 4.25, "y": 3},
{"matrix": [3, 4], "x": 5.25, "y": 3},
{"matrix": [3, 5], "x": 6.25, "y": 3},
{"matrix": [3, 7], "x": 8.25, "y": 3},
{"matrix": [3, 8], "x": 9.25, "y": 3},
{"matrix": [3, 9], "x": 10.25, "y": 3},
{"matrix": [3, 10], "x": 11.25, "y": 3},
{"matrix": [3, 11], "x": 12.25, "y": 3},
{"matrix": [3, 12], "x": 13.25, "y": 3},
{"matrix": [3, 13], "x": 14.25, "y": 3, "w": 1.75},
{"matrix": [3, 14], "x": 16, "y": 3},
{"matrix": [4, 0], "x": 0, "y": 4, "w": 1.5},
{"matrix": [4, 1], "x": 1.5, "y": 4, "w": 1.5},
{"matrix": [4, 3], "x": 4, "y": 4, "w": 2.25},
{"matrix": [4, 5], "x": 6.25, "y": 4},
{"matrix": [4, 7], "x": 8.25, "y": 4, "w": 2.75},
{"matrix": [4, 10], "x": 11, "y": 4, "w": 1.5},
{"matrix": [4, 12], "x": 13.5, "y": 4, "w": 1.5},
{"matrix": [4, 13], "x": 15, "y": 4},
{"matrix": [4, 14], "x": 16, "y": 4},
{"matrix": [4, 15], "x": 17, "y": 4}
]
}
}
}

View file

@ -0,0 +1,29 @@
// Copyright 2023 skeletonkbd (@skeletonkbd)
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H
// Defines names for use in layer keycodes and the keymap
enum layer_names {
_BASE,
_L1,
};
// clang-format off
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_BASE] = LAYOUT(
KC_ESC, 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_DEL,
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_HOME,
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_END,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LNG1, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP,
KC_LCTL, KC_LALT, KC_SPC, MO(_L1), KC_SPC, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT),
[_L1] = LAYOUT(
KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_PSCR,
KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, RGB_SPI, RGB_SPD, KC_SCRL, KC_PAUS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, QK_BOOT,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LNG2, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGUP,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGDN, KC_TRNS),
};

View file

@ -0,0 +1,29 @@
// Copyright 2023 skeletonkbd (@skeletonkbd)
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H
// Defines names for use in layer keycodes and the keymap
enum layer_names {
_BASE,
_L1,
};
// clang-format off
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_BASE] = LAYOUT(
KC_ESC, 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_DEL,
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_HOME,
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_END,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LNG1, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP,
KC_LCTL, KC_LALT, KC_SPC, MO(_L1), KC_SPC, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT),
[_L1] = LAYOUT(
KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_PSCR,
KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, RGB_SPI, RGB_SPD, KC_SCRL, KC_PAUS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, QK_BOOT,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LNG2, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGUP,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGDN, KC_TRNS),
};

View file

@ -0,0 +1 @@
VIA_ENABLE = yes

View file

@ -0,0 +1,27 @@
# skeletonkbd/skeleton68
![skeletonkbd/skeleton68](https://i.imgur.com/ZrtbBNPh.jpg)
Alice layout keyboard with acrylic case.
- Keyboard Maintainer: [SkeletonKBD](https://github.com/skeletonkbd)
- Hardware Supported: Frost68
- Hardware Availability: https://github.com/skeletonkbd/Frost68
Make example for this keyboard (after setting up your build environment):
make skeletonkbd/skeleton68:default
Flashing example for this keyboard:
make skeletonkbd/skeleton68: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

View file

@ -0,0 +1 @@
DEBOUNCE_TYPE = sym_eager_pk