new keyboard: soroka (#660)
This commit is contained in:
parent
0ae9fc6152
commit
bcca2b2373
7
keyboards/soroka/config.h
Normal file
7
keyboards/soroka/config.h
Normal file
@ -0,0 +1,7 @@
|
||||
// Copyright 2024 kapee1 (@kapee1)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
#define ENCODERS_PAD_A { GP0 }
|
||||
#define ENCODERS_PAD_B { GP1 }
|
81
keyboards/soroka/info.json
Normal file
81
keyboards/soroka/info.json
Normal file
@ -0,0 +1,81 @@
|
||||
{ "manufacturer": "kapee1",
|
||||
"keyboard_name": "soroka",
|
||||
"maintainer": "kapee1",
|
||||
"bootloader": "rp2040",
|
||||
"diode_direction": "COL2ROW",
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"command": false,
|
||||
"console": false,
|
||||
"extrakey": true,
|
||||
"mousekey": true,
|
||||
"nkro": true
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["GP27", "GP26", "GP15", "GP14", "GP13", "GP12", "GP11", "GP10", "GP9", "GP8", "GP7", "GP6", "GP5", "GP4"],
|
||||
"rows": ["GP29", "GP28", "GP3", "GP2"]
|
||||
},
|
||||
"processor": "RP2040",
|
||||
"url": "",
|
||||
"usb": {
|
||||
"device_version": "1.0.0",
|
||||
"pid": "0x0000",
|
||||
"vid": "0xFEED"
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"matrix": [0, 0], "x": 0, "y": 0, "w": 1.5},
|
||||
{"matrix": [0, 1], "x": 1.5, "y": 0},
|
||||
{"matrix": [0, 2], "x": 2.5, "y": 0},
|
||||
{"matrix": [0, 3], "x": 3.5, "y": 0},
|
||||
{"matrix": [0, 4], "x": 4.5, "y": 0},
|
||||
{"matrix": [0, 5], "x": 5.5, "y": 0},
|
||||
{"matrix": [0, 6], "x": 6.5, "y": 0},
|
||||
{"matrix": [0, 7], "x": 7.5, "y": 0},
|
||||
{"matrix": [0, 8], "x": 8.5, "y": 0},
|
||||
{"matrix": [0, 9], "x": 9.5, "y": 0},
|
||||
{"matrix": [0, 10], "x": 10.5, "y": 0},
|
||||
{"matrix": [0, 11], "x": 11.5, "y": 0},
|
||||
{"matrix": [0, 12], "x": 12.5, "y": 0},
|
||||
{"matrix": [0, 13], "x": 13.5, "y": 0},
|
||||
|
||||
{"matrix": [1, 0], "x": 0, "y": 1, "w": 1.75},
|
||||
{"matrix": [1, 1], "x": 1.75, "y": 1},
|
||||
{"matrix": [1, 2], "x": 2.75, "y": 1},
|
||||
{"matrix": [1, 3], "x": 3.75, "y": 1},
|
||||
{"matrix": [1, 4], "x": 4.75, "y": 1},
|
||||
{"matrix": [1, 5], "x": 5.75, "y": 1},
|
||||
{"matrix": [1, 6], "x": 6.75, "y": 1},
|
||||
{"matrix": [1, 7], "x": 7.75, "y": 1},
|
||||
{"matrix": [1, 8], "x": 8.75, "y": 1},
|
||||
{"matrix": [1, 9], "x": 9.75, "y": 1},
|
||||
{"matrix": [1, 10], "x": 10.75, "y": 1},
|
||||
{"matrix": [1, 11], "x": 11.75, "y": 1},
|
||||
{"matrix": [1, 12], "x": 12.75, "y": 1, "w": 1.75},
|
||||
|
||||
{"matrix": [2, 0], "x": 0, "y": 2, "w": 2.25},
|
||||
{"matrix": [2, 1], "x": 2.25, "y": 2},
|
||||
{"matrix": [2, 2], "x": 3.25, "y": 2},
|
||||
{"matrix": [2, 3], "x": 4.25, "y": 2},
|
||||
{"matrix": [2, 4], "x": 5.25, "y": 2},
|
||||
{"matrix": [2, 5], "x": 6.25, "y": 2},
|
||||
{"matrix": [2, 6], "x": 7.25, "y": 2},
|
||||
{"matrix": [2, 7], "x": 8.25, "y": 2},
|
||||
{"matrix": [2, 8], "x": 9.25, "y": 2},
|
||||
{"matrix": [2, 9], "x": 10.25, "y": 2},
|
||||
{"matrix": [2, 10], "x": 11.25, "y": 2},
|
||||
{"matrix": [2, 11], "x": 12.25, "y": 2,"w": 1.25},
|
||||
{"matrix": [2, 13], "x": 13.5, "y": 2},
|
||||
|
||||
{"matrix": [3, 0], "x": 0, "y": 3,"w": 1.25},
|
||||
{"matrix": [3, 1], "x": 1.25, "y": 3,"w": 1.25},
|
||||
{"matrix": [3, 2], "x": 2.5, "y": 3,"w": 1.25},
|
||||
{"matrix": [3, 6], "x": 3.75, "y": 3,"w": 7},
|
||||
{"matrix": [3, 10], "x": 10.75, "y": 3,"w": 1.25},
|
||||
{"matrix": [3, 11], "x": 12, "y": 3,"w": 1.25},
|
||||
{"matrix": [3, 13], "x": 13.25, "y": 3,"w": 1.25}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
26
keyboards/soroka/keymaps/default/keymap.c
Normal file
26
keyboards/soroka/keymaps/default/keymap.c
Normal file
@ -0,0 +1,26 @@
|
||||
// Copyright 2023 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_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_BSPC,
|
||||
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_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_RSFT,
|
||||
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(1), MO(2), KC_DEL
|
||||
),
|
||||
[1] = LAYOUT(
|
||||
KC_TRNS, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, 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, 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, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
|
||||
)
|
||||
};
|
||||
#if defined(ENCODER_MAP_ENABLE)
|
||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||
[0] = {ENCODER_CCW_CW(KC_VOLD, KC_VOLU)},
|
||||
[1] = {ENCODER_CCW_CW(KC_LEFT, KC_RIGHT)}
|
||||
};
|
||||
#endif
|
7
keyboards/soroka/keymaps/vial/config.h
Normal file
7
keyboards/soroka/keymaps/vial/config.h
Normal file
@ -0,0 +1,7 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#pragma once
|
||||
|
||||
#define VIAL_KEYBOARD_UID {0xE4, 0x52, 0x01, 0x84, 0xD8, 0x7B, 0x5B, 0x67}
|
||||
#define VIAL_UNLOCK_COMBO_ROWS { 0, 0 }
|
||||
#define VIAL_UNLOCK_COMBO_COLS { 1, 0 }
|
26
keyboards/soroka/keymaps/vial/keymap.c
Normal file
26
keyboards/soroka/keymaps/vial/keymap.c
Normal file
@ -0,0 +1,26 @@
|
||||
// Copyright 2023 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_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_BSPC,
|
||||
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_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_RSFT,
|
||||
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(1), MO(2), KC_DEL
|
||||
),
|
||||
[1] = LAYOUT(
|
||||
KC_TRNS, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, 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, 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, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
|
||||
)
|
||||
};
|
||||
#if defined(ENCODER_MAP_ENABLE)
|
||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||
[0] = {ENCODER_CCW_CW(KC_VOLD, KC_VOLU)},
|
||||
[1] = {ENCODER_CCW_CW(KC_LEFT, KC_RIGHT)}
|
||||
};
|
||||
#endif
|
2
keyboards/soroka/keymaps/vial/rules.mk
Normal file
2
keyboards/soroka/keymaps/vial/rules.mk
Normal file
@ -0,0 +1,2 @@
|
||||
VIA_ENABLE = yes
|
||||
VIAL_ENABLE = yes
|
206
keyboards/soroka/keymaps/vial/vial.json
Normal file
206
keyboards/soroka/keymaps/vial/vial.json
Normal file
@ -0,0 +1,206 @@
|
||||
{
|
||||
"lighting": "none",
|
||||
"matrix": {
|
||||
"rows": 4,
|
||||
"cols": 14
|
||||
},
|
||||
"layouts": {
|
||||
"labels":[
|
||||
"Split Right Shift",
|
||||
[
|
||||
"Bottom Row",
|
||||
"7u Spacebar",
|
||||
"2,25u + 2,75u Spacebars",
|
||||
"3u + 3u Spacebars"
|
||||
]
|
||||
],
|
||||
"keymap":[
|
||||
[
|
||||
{
|
||||
"w": 1.5
|
||||
},
|
||||
"0,0",
|
||||
"0,1",
|
||||
"0,2",
|
||||
"0,3",
|
||||
"0,4",
|
||||
"0,5",
|
||||
"0,6",
|
||||
"0,7",
|
||||
"0,8",
|
||||
"0,9",
|
||||
"0,10",
|
||||
"0,11",
|
||||
"0,12",
|
||||
"0,13"
|
||||
],
|
||||
[
|
||||
{
|
||||
"w": 1.25,
|
||||
"w2": 1.75,
|
||||
"l": true
|
||||
},
|
||||
"1,0",
|
||||
{
|
||||
"x": 0.5
|
||||
},
|
||||
"1,1",
|
||||
"1,2",
|
||||
"1,3",
|
||||
"1,4",
|
||||
"1,5",
|
||||
"1,6",
|
||||
"1,7",
|
||||
"1,8",
|
||||
"1,9",
|
||||
"1,10",
|
||||
"1,11",
|
||||
{
|
||||
"w": 1.75
|
||||
},
|
||||
"1,12"
|
||||
],
|
||||
[
|
||||
{
|
||||
"w": 2.25
|
||||
},
|
||||
"2,0",
|
||||
"2,1",
|
||||
"2,2",
|
||||
"2,3",
|
||||
"2,4",
|
||||
"2,5",
|
||||
"2,6",
|
||||
"2,7",
|
||||
"2,8",
|
||||
"2,9",
|
||||
"2,10",
|
||||
{
|
||||
"w": 2.25
|
||||
},
|
||||
"2,11\n\n\n0,0",
|
||||
{
|
||||
"x": 0.25,
|
||||
"w": 1.25
|
||||
},
|
||||
"2,11\n\n\n0,1",
|
||||
{
|
||||
"x": -1.25
|
||||
},
|
||||
"0,0\n\n\n\n\n\n\n\n\ne",
|
||||
"0,1\n\n\n\n\n\n\n\n\ne",
|
||||
{
|
||||
"x": -0.75
|
||||
},
|
||||
"2,13\n\n\n0,1"
|
||||
],
|
||||
[
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,0\n\n\n1,0",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,1\n\n\n1,0",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,2\n\n\n1,0",
|
||||
{
|
||||
"w": 7
|
||||
},
|
||||
"3,6\n\n\n1,0",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,10\n\n\n1,0",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,11\n\n\n1,0",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,13\n\n\n1,0",
|
||||
{
|
||||
"x": 0.75
|
||||
},
|
||||
"3,12"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": 0.25,
|
||||
"w": 1.25
|
||||
},
|
||||
"3,0\n\n\n1,1",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,1\n\n\n1,1",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,2\n\n\n1,1",
|
||||
"3,3\n\n\n1,1",
|
||||
{
|
||||
"w": 2.25
|
||||
},
|
||||
"3,4\n\n\n1,1",
|
||||
{
|
||||
"w": 2.75
|
||||
},
|
||||
"3,8\n\n\n1,1",
|
||||
"3,9\n\n\n1,1",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,10\n\n\n1,1",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,11\n\n\n1,1",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,13\n\n\n1,1"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": 0.25,
|
||||
"w": 1.25
|
||||
},
|
||||
"3,0\n\n\n1,2",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,1\n\n\n1,2",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,2\n\n\n1,2",
|
||||
{
|
||||
"w": 3
|
||||
},
|
||||
"3,4\n\n\n1,2",
|
||||
"3,6\n\n\n1,2",
|
||||
{
|
||||
"w": 3
|
||||
},
|
||||
"3,8\n\n\n1,2",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,10\n\n\n1,2",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,11\n\n\n1,2",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,13\n\n\n1,2"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
25
keyboards/soroka/readme.md
Normal file
25
keyboards/soroka/readme.md
Normal file
@ -0,0 +1,25 @@
|
||||
# soroka
|
||||
|
||||
![soroka](https://imgur.com/7MD6dj0)
|
||||
|
||||
|
||||
|
||||
* Keyboard Maintainer: [kapee1](https://github.com/kapee1)
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make soroka:default
|
||||
|
||||
Flashing example for this keyboard:
|
||||
|
||||
make soroka: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
|
3
keyboards/soroka/rules.mk
Normal file
3
keyboards/soroka/rules.mk
Normal file
@ -0,0 +1,3 @@
|
||||
|
||||
ENCODER_ENABLE = yes
|
||||
ENCODER_MAP_ENABLE = yes
|
Loading…
Reference in New Issue
Block a user