forked from qmk/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add new board: splaytoraid (qmk#20052)
Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com>
- Loading branch information
Showing
15 changed files
with
670 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// Copyright 2023 Conor Burns (@Conor-Burns) | ||
/* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
|
||
#pragma once | ||
|
||
#define RGB_DI_PIN D0 | ||
|
||
#define RGB_MATRIX_LED_COUNT 18 | ||
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 | ||
#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_BREATHING | ||
#define RGB_MATRIX_DEFAULT_HUE 152 | ||
#define RGB_MATRIX_DEFAULT_SAT 232 | ||
#define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS | ||
#define RGB_MATRIX_DEFAULT_SPD 50 | ||
|
||
#define ENABLE_RGB_MATRIX_BREATHING | ||
#define ENABLE_RGB_MATRIX_SOLID_COLOR | ||
#define ENABLE_RGB_MATRIX_BAND_SAT | ||
#define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL | ||
#define ENABLE_RGB_MATRIX_CYCLE_ALL | ||
#define ENABLE_RGB_MATRIX_RAINDROPS | ||
#define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,153 @@ | ||
{ | ||
"manufacturer": "Freya", | ||
"keyboard_name": "splaytoraid", | ||
"maintainer": "freya-irl", | ||
"url": "https://github.com/freya-irl/splaytoraid40", | ||
"development_board": "promicro", | ||
"bootloader": "qmk-dfu", | ||
"diode_direction": "COL2ROW", | ||
"matrix_pins": { | ||
"cols": ["F5", "F6", "F7", "F4", "B3", "B1", "B2"], | ||
"rows": ["D3", "D2", "D1", "D4", "D7", "E6", "B4", "C6"] | ||
}, | ||
"usb": { | ||
"device_version": "1.0.0", | ||
"pid": "0xCB00", | ||
"vid": "0x2004" | ||
}, | ||
"features": { | ||
"extrakey": true, | ||
"rgb_matrix": true, | ||
"bootmagic": true, | ||
"console": true, | ||
"mousekey": true, | ||
"nkro": true | ||
}, | ||
"bootmagic": { | ||
"matrix": [1, 0] | ||
}, | ||
"build": { | ||
"lto": true | ||
}, | ||
"encoder": { | ||
"enabled": true, | ||
"rotary": [ | ||
{ | ||
"pin_a": "B5", | ||
"pin_b": "B6", | ||
"resolution": 4 | ||
} | ||
] | ||
}, | ||
"rgb_matrix": { | ||
"driver": "WS2812", | ||
"layout": [ | ||
{ "flags": 4, "matrix": [0, 2], "x": 0, "y": 0 }, | ||
{ "flags": 4, "matrix": [1, 0], "x": 20, "y": 0 }, | ||
{ "flags": 4, "matrix": [7, 0], "x": 61, "y": 0 }, | ||
{ "flags": 4, "matrix": [7, 1], "x": 163, "y": 0 }, | ||
{ "flags": 4, "matrix": [5, 0], "x": 203, "y": 0 }, | ||
{ "flags": 4, "matrix": [4, 2], "x": 224, "y": 0 }, | ||
{ "flags": 4, "matrix": [6, 2], "x": 0, "y": 21 }, | ||
{ "flags": 4, "matrix": [6, 1], "x": 224, "y": 21 }, | ||
{ "flags": 4, "matrix": [3, 3], "x": 20, "y": 43 }, | ||
{ "flags": 4, "matrix": [7, 3], "x": 61, "y": 43 }, | ||
{ "flags": 4, "matrix": [6, 4], "x": 163, "y": 43 }, | ||
{ "flags": 4, "matrix": [6, 3], "x": 203, "y": 43 }, | ||
{ "flags": 4, "matrix": [4, 3], "x": 61, "y": 64 }, | ||
{ "flags": 4, "matrix": [5, 5], "x": 81, "y": 64 }, | ||
{ "flags": 4, "matrix": [7, 4], "x": 101, "y": 64 }, | ||
{ "flags": 4, "matrix": [7, 5], "x": 122, "y": 64 }, | ||
{ "flags": 4, "matrix": [1, 5], "x": 142, "y": 64 }, | ||
{ "flags": 4, "matrix": [0, 3], "x": 163, "y": 64 } | ||
] | ||
}, | ||
"layouts": { | ||
"LAYOUT_36": { | ||
"layout": [ | ||
{ "label": "K10", "matrix": [1, 0], "x": 0, "y": 0 }, | ||
{ "label": "K11", "matrix": [1, 1], "x": 1, "y": 0 }, | ||
{ "label": "K02", "matrix": [0, 2], "x": 2, "y": 0 }, | ||
{ "label": "K01", "matrix": [0, 1], "x": 3, "y": 0 }, | ||
{ "label": "K12", "matrix": [1, 2], "x": 4, "y": 0 }, | ||
{ "label": "K52", "matrix": [5, 2], "x": 6, "y": 0 }, | ||
{ "label": "K04", "matrix": [0, 4], "x": 7, "y": 0 }, | ||
{ "label": "K03", "matrix": [0, 3], "x": 8, "y": 0 }, | ||
{ "label": "K14", "matrix": [1, 4], "x": 9, "y": 0 }, | ||
{ "label": "K15", "matrix": [1, 5], "x": 10, "y": 0 }, | ||
{ "label": "K30", "matrix": [3, 0], "x": 0, "y": 1 }, | ||
{ "label": "K31", "matrix": [3, 1], "x": 1, "y": 1 }, | ||
{ "label": "K22", "matrix": [2, 2], "x": 2, "y": 1 }, | ||
{ "label": "K21", "matrix": [2, 1], "x": 3, "y": 1 }, | ||
{ "label": "K13", "matrix": [1, 3], "x": 4, "y": 1 }, | ||
{ "label": "K53", "matrix": [5, 3], "x": 6, "y": 1 }, | ||
{ "label": "K24", "matrix": [2, 4], "x": 7, "y": 1 }, | ||
{ "label": "K23", "matrix": [2, 3], "x": 8, "y": 1 }, | ||
{ "label": "K34", "matrix": [3, 4], "x": 9, "y": 1 }, | ||
{ "label": "K35", "matrix": [3, 5], "x": 10, "y": 1 }, | ||
{ "label": "K50", "matrix": [5, 0], "x": 0, "y": 2 }, | ||
{ "label": "K51", "matrix": [5, 1], "x": 1, "y": 2 }, | ||
{ "label": "K42", "matrix": [4, 2], "x": 2, "y": 2 }, | ||
{ "label": "K41", "matrix": [4, 1], "x": 3, "y": 2 }, | ||
{ "label": "K32", "matrix": [3, 2], "x": 4, "y": 2 }, | ||
{ "label": "K72", "matrix": [7, 2], "x": 6, "y": 2 }, | ||
{ "label": "K44", "matrix": [4, 4], "x": 7, "y": 2 }, | ||
{ "label": "K43", "matrix": [4, 3], "x": 8, "y": 2 }, | ||
{ "label": "K54", "matrix": [5, 4], "x": 9, "y": 2 }, | ||
{ "label": "K55", "matrix": [5, 5], "x": 10, "y": 2 }, | ||
{ "label": "K62", "matrix": [6, 2], "x": 2, "y": 3 }, | ||
{ "label": "K61", "matrix": [6, 1], "x": 3, "y": 3 }, | ||
{ "label": "K33", "matrix": [3, 3], "x": 4, "y": 3 }, | ||
{ "label": "K66", "matrix": [6, 6], "x": 5, "y": 3 }, | ||
{ "label": "K73", "matrix": [7, 3], "x": 6, "y": 3 }, | ||
{ "label": "K64", "matrix": [6, 4], "x": 7, "y": 3 }, | ||
{ "label": "K63", "matrix": [6, 3], "x": 8, "y": 3 } | ||
] | ||
}, | ||
"LAYOUT_40": { | ||
"layout": [ | ||
{ "label": "K70", "matrix": [7, 0], "x": 0, "y": 0 }, | ||
{ "label": "K10", "matrix": [1, 0], "x": 1, "y": 0 }, | ||
{ "label": "K11", "matrix": [1, 1], "x": 2, "y": 0 }, | ||
{ "label": "K02", "matrix": [0, 2], "x": 3, "y": 0 }, | ||
{ "label": "K01", "matrix": [0, 1], "x": 4, "y": 0 }, | ||
{ "label": "K12", "matrix": [1, 2], "x": 5, "y": 0 }, | ||
{ "label": "K52", "matrix": [5, 2], "x": 7, "y": 0 }, | ||
{ "label": "K04", "matrix": [0, 4], "x": 8, "y": 0 }, | ||
{ "label": "K03", "matrix": [0, 3], "x": 9, "y": 0 }, | ||
{ "label": "K14", "matrix": [1, 4], "x": 10, "y": 0 }, | ||
{ "label": "K15", "matrix": [1, 5], "x": 11, "y": 0 }, | ||
{ "label": "K75", "matrix": [7, 5], "x": 12, "y": 0 }, | ||
{ "label": "K71", "matrix": [7, 1], "x": 0, "y": 1 }, | ||
{ "label": "K30", "matrix": [3, 0], "x": 1, "y": 1 }, | ||
{ "label": "K31", "matrix": [3, 1], "x": 2, "y": 1 }, | ||
{ "label": "K22", "matrix": [2, 2], "x": 3, "y": 1 }, | ||
{ "label": "K21", "matrix": [2, 1], "x": 4, "y": 1 }, | ||
{ "label": "K13", "matrix": [1, 3], "x": 5, "y": 1 }, | ||
{ "label": "K53", "matrix": [5, 3], "x": 7, "y": 1 }, | ||
{ "label": "K24", "matrix": [2, 4], "x": 8, "y": 1 }, | ||
{ "label": "K23", "matrix": [2, 3], "x": 9, "y": 1 }, | ||
{ "label": "K34", "matrix": [3, 4], "x": 10, "y": 1 }, | ||
{ "label": "K35", "matrix": [3, 5], "x": 11, "y": 1 }, | ||
{ "label": "K74", "matrix": [7, 4], "x": 12, "y": 1 }, | ||
{ "label": "K50", "matrix": [5, 0], "x": 1, "y": 2 }, | ||
{ "label": "K51", "matrix": [5, 1], "x": 2, "y": 2 }, | ||
{ "label": "K42", "matrix": [4, 2], "x": 3, "y": 2 }, | ||
{ "label": "K41", "matrix": [4, 1], "x": 4, "y": 2 }, | ||
{ "label": "K32", "matrix": [3, 2], "x": 5, "y": 2 }, | ||
{ "label": "K72", "matrix": [7, 2], "x": 7, "y": 2 }, | ||
{ "label": "K44", "matrix": [4, 4], "x": 8, "y": 2 }, | ||
{ "label": "K43", "matrix": [4, 3], "x": 9, "y": 2 }, | ||
{ "label": "K54", "matrix": [5, 4], "x": 10, "y": 2 }, | ||
{ "label": "K55", "matrix": [5, 5], "x": 11, "y": 2 }, | ||
{ "label": "K62", "matrix": [6, 2], "x": 3, "y": 3 }, | ||
{ "label": "K61", "matrix": [6, 1], "x": 4, "y": 3 }, | ||
{ "label": "K33", "matrix": [3, 3], "x": 5, "y": 3 }, | ||
{ "label": "K66", "matrix": [6, 6], "x": 6, "y": 3 }, | ||
{ "label": "K73", "matrix": [7, 3], "x": 7, "y": 3 }, | ||
{ "label": "K64", "matrix": [6, 4], "x": 8, "y": 3 }, | ||
{ "label": "K63", "matrix": [6, 3], "x": 9, "y": 3 } | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
// Copyright 2023 Conor Burns (@Conor-Burns) | ||
/* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
|
||
#include QMK_KEYBOARD_H | ||
|
||
enum layer_names { | ||
_BASE, | ||
_LOWER, | ||
_RAISE, | ||
_ADJUST | ||
}; | ||
|
||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
[_BASE] = LAYOUT_40( | ||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, | ||
KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, | ||
KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, | ||
KC_LSFT, KC_ESC, KC_ENT, KC_MPLY, KC_SPC, KC_DEL, KC_RSFT | ||
), | ||
|
||
[_LOWER] = LAYOUT_40( | ||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
_______, _______, _______, _______, _______, _______, _______ | ||
), | ||
|
||
[_RAISE] = LAYOUT_40( | ||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
_______, _______, _______, _______, _______, _______, _______ | ||
), | ||
|
||
[_ADJUST] = LAYOUT_40( | ||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
_______, _______, _______, _______, _______, _______, _______ | ||
) | ||
}; | ||
|
||
|
||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = { | ||
[_BASE] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) }, | ||
[_LOWER] = { ENCODER_CCW_CW(KC_MPRV, KC_MNXT) }, | ||
[_RAISE] = { ENCODER_CCW_CW(RGB_VAD, RGB_VAI) }, | ||
[_ADJUST] = { ENCODER_CCW_CW(KC_RGHT, KC_LEFT) } | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ENCODER_MAP_ENABLE = yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// Copyright 2023 Dreipunkteinsvier (@dreipunkteinsvier) | ||
/* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
|
||
#pragma once | ||
|
||
#define TAPPING_TERM 180 | ||
|
||
// Prevent normal rollover on alphas from accidentally triggering mods. | ||
#define IGNORE_MOD_TAP_INTERRUPT | ||
|
||
#undef LOCKING_SUPPORT_ENABLE | ||
#undef LOCKING_RESYNC_ENABLE | ||
|
||
|
||
#ifdef COMBO_ENABLE | ||
#define COMBO_COUNT 9 | ||
#define COMBO_TERM 20 | ||
#define COMBO_ONLY_FROM_LAYER 0 | ||
#endif | ||
|
||
#define BOTH_SHIFTS_TURNS_ON_CAPS_WORD |
Oops, something went wrong.