initial commit for Laika keyboard (#981)
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
// Copyright 2025 kapee1 (@kapee1)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
@@ -0,0 +1,85 @@
|
||||
{ "manufacturer": "kapee1",
|
||||
"keyboard_name": "laika",
|
||||
"maintainer": "kapee1",
|
||||
"bootloader": "rp2040",
|
||||
"diode_direction": "COL2ROW",
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"command": false,
|
||||
"console": false,
|
||||
"extrakey": true,
|
||||
"mousekey": true,
|
||||
"nkro": true
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["GP29", "GP28", "GP27", "GP26", "GP15", "GP9", "GP8", "GP7", "GP6", "GP5", "GP4", "GP3", "GP2"],
|
||||
"rows": ["GP14", "GP10", "GP11", "GP12", "GP13"]
|
||||
},
|
||||
"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},
|
||||
{"matrix":[0,1],"x":1,"y":0,"w":1},
|
||||
{"matrix":[0,2],"x":2,"y":0,"w":1},
|
||||
{"matrix":[0,3],"x":3,"y":0,"w":1},
|
||||
{"matrix":[0,4],"x":4,"y":0,"w":1},
|
||||
{"matrix":[0,5],"x":5,"y":0,"w":1},
|
||||
|
||||
{"matrix":[1,0],"x":0,"y":1,"w":1.5},
|
||||
{"matrix":[1,1],"x":1.5,"y":1,"w":1},
|
||||
{"matrix":[1,2],"x":2.5,"y":1,"w":1},
|
||||
{"matrix":[1,3],"x":3.5,"y":1,"w":1},
|
||||
{"matrix":[1,4],"x":4.5,"y":1,"w":1},
|
||||
{"matrix":[1,5],"x":5.5,"y":1,"w":1},
|
||||
{"matrix":[1,6],"x":6.5,"y":1,"w":1},
|
||||
{"matrix":[1,7],"x":7.5,"y":1,"w":1},
|
||||
{"matrix":[1,8],"x":8.5,"y":1,"w":1},
|
||||
{"matrix":[1,9],"x":9.5,"y":1,"w":1},
|
||||
{"matrix":[1,10],"x":10.5,"y":1,"w":1},
|
||||
{"matrix":[1,11],"x":11.5,"y":1,"w":1},
|
||||
{"matrix":[1,12],"x":12.5,"y":1,"w":1},
|
||||
|
||||
{"matrix":[2,0],"x":0,"y":2,"w":1.75},
|
||||
{"matrix":[2,1],"x":1.75,"y":2,"w":1},
|
||||
{"matrix":[2,2],"x":2.75,"y":2,"w":1},
|
||||
{"matrix":[2,3],"x":3.75,"y":2,"w":1},
|
||||
{"matrix":[2,4],"x":4.75,"y":2,"w":1},
|
||||
{"matrix":[2,5],"x":5.75,"y":2,"w":1},
|
||||
{"matrix":[2,6],"x":6.75,"y":2,"w":1},
|
||||
{"matrix":[2,7],"x":7.75,"y":2,"w":1},
|
||||
{"matrix":[2,8],"x":8.75,"y":2,"w":1},
|
||||
{"matrix":[2,9],"x":9.75,"y":2,"w":1},
|
||||
{"matrix":[2,10],"x":10.75,"y":2,"w":1},
|
||||
{"matrix":[2,12],"x":11.75,"y":2,"w":1.75},
|
||||
|
||||
{"matrix":[3,0],"x":0,"y":3,"w":2},
|
||||
{"matrix":[3,1],"x":2,"y":3,"w":1},
|
||||
{"matrix":[3,2],"x":3,"y":3,"w":1},
|
||||
{"matrix":[3,3],"x":4,"y":3,"w":1},
|
||||
{"matrix":[3,4],"x":5,"y":3,"w":1},
|
||||
{"matrix":[3,5],"x":6,"y":3,"w":1},
|
||||
{"matrix":[3,6],"x":7,"y":3,"w":1},
|
||||
{"matrix":[3,7],"x":8,"y":3,"w":1},
|
||||
{"matrix":[3,8],"x":9,"y":3,"w":1},
|
||||
{"matrix":[3,9],"x":10,"y":3,"w":1},
|
||||
{"matrix":[3,10],"x":11,"y":3,"w":1},
|
||||
{"matrix":[3,12],"x":12,"y":3,"w":1.5},
|
||||
|
||||
{"matrix":[4,0],"x":0,"y":4,"w":1.25},
|
||||
{"matrix":[4,1],"x":1.25,"y":4,"w":1},
|
||||
{"matrix":[4,2],"x":2.25,"y":4,"w":1.5},
|
||||
{"matrix":[4,5],"x":3.75,"y":4,"w":6},
|
||||
{"matrix":[4,9],"x":9.75,"y":4,"w":1.5},
|
||||
{"matrix":[4,11],"x":11.25,"y":4,"w":1},
|
||||
{"matrix":[4,12],"x":12.25,"y":4,"w":1.25}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
/* Copyright (C) 2025 kapee1
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[0] = LAYOUT(
|
||||
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5,
|
||||
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_BSPC,
|
||||
KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENTER,
|
||||
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_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL
|
||||
),
|
||||
|
||||
[1] = LAYOUT(
|
||||
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, 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
|
||||
)
|
||||
|
||||
};
|
||||
@@ -0,0 +1,7 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#pragma once
|
||||
|
||||
#define VIAL_KEYBOARD_UID {0x41, 0x50, 0x1C, 0xEF, 0x87, 0xE1, 0xDA, 0x31}
|
||||
#define VIAL_UNLOCK_COMBO_ROWS { 0, 0 }
|
||||
#define VIAL_UNLOCK_COMBO_COLS { 1, 0 }
|
||||
@@ -0,0 +1,37 @@
|
||||
/* Copyright (C) 2025 kapee1
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[0] = LAYOUT(
|
||||
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5,
|
||||
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_BSPC,
|
||||
KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENTER,
|
||||
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_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL
|
||||
),
|
||||
|
||||
[1] = LAYOUT(
|
||||
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, 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
|
||||
)
|
||||
|
||||
};
|
||||
@@ -0,0 +1,2 @@
|
||||
VIA_ENABLE = yes
|
||||
VIAL_ENABLE = yes
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"lighting": "none",
|
||||
"matrix": {
|
||||
"rows": 5,
|
||||
"cols": 13
|
||||
},
|
||||
"layouts": {
|
||||
"labels": [
|
||||
[
|
||||
"Bottom Row",
|
||||
"6u Spacebar",
|
||||
"3u + 3u Spacebars"
|
||||
]
|
||||
],
|
||||
"keymap": [["0,0","0,1","0,2","0,3","0,4","0,5"],
|
||||
[{"w":1.5},"1,0","1,1","1,2","1,3","1,4","1,5","1,6","1,7","1,8","1,9","1,10","1,11","1,12"],
|
||||
[{"w":1.75},"2,0","2,1","2,2","2,3","2,4","2,5","2,6","2,7","2,8","2,9","2,10",{"w":1.75},"2,12"],
|
||||
[{"w":2},"3,0","3,1","3,2","3,3","3,4","3,5","3,6","3,7","3,8","3,9","3,10",{"w":1.5},"3,12"],
|
||||
[{"w":1.25},"4,0","4,1",{"w":1.5},"4,2",{"w":3},"4,4\n\n\n0,1",{"x":-3,"w":6},"4,5\n\n\n0,0",{"x":-3,"w":3},"4,7\n\n\n0,1",{"w":1.5},"4,9","4,11",{"w":1.25},"4,12"]]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
# Laika
|
||||
|
||||
* Keyboard Maintainer: [kapee1](https://github.com/kapee1)
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make laika:default
|
||||
|
||||
Flashing example for this keyboard:
|
||||
|
||||
make laika: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**: Hold "Boot" and click "Reset" button on RP2040
|
||||
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
Reference in New Issue
Block a user