Compare commits
No commits in common. "6ee50bca31a49352c03095daf13f8ff5403fdfa7" and "d0fe327387c152eda09431378656180875409f6f" have entirely different histories.
6ee50bca31
...
d0fe327387
7 changed files with 109 additions and 0 deletions
5
.github/workflows/build.yml
vendored
Normal file
5
.github/workflows/build.yml
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
on: [push, pull_request, workflow_dispatch]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
uses: zmkfirmware/zmk/.github/workflows/build-user-config.yml@main
|
0
boards/shields/.gitkeep
Normal file
0
boards/shields/.gitkeep
Normal file
24
build.yaml
Normal file
24
build.yaml
Normal file
|
@ -0,0 +1,24 @@
|
|||
# This file generates the GitHub Actions matrix.
|
||||
# For simple board + shield combinations, add them to the top level board and
|
||||
# shield arrays, for more control, add individual board + shield combinations
|
||||
# to the `include` property. You can also use the `cmake-args` property to
|
||||
# pass flags to the build command and `artifact-name` to assign a name to
|
||||
# distinguish build outputs from each other:
|
||||
#
|
||||
# board: [ "nice_nano_v2" ]
|
||||
# shield: [ "corne_left", "corne_right" ]
|
||||
# include:
|
||||
# - board: bdn9_rev2
|
||||
# - board: nice_nano_v2
|
||||
# shield: reviung41
|
||||
# - board: nice_nano_v2
|
||||
# shield: corne_left
|
||||
# cmake-args: -DCONFIG_ZMK_USB_LOGGING=y
|
||||
# artifact-name: corne_left_with_logging
|
||||
#
|
||||
---
|
||||
include:
|
||||
- board: nice_nano_v2
|
||||
shield: kyria_rev3_left
|
||||
- board: nice_nano_v2
|
||||
shield: kyria_rev3_right
|
10
config/kyria_rev3.conf
Normal file
10
config/kyria_rev3.conf
Normal file
|
@ -0,0 +1,10 @@
|
|||
# Uncomment these two line to add support for encoders to your firmware
|
||||
# CONFIG_EC11=y
|
||||
# CONFIG_EC11_TRIGGER_GLOBAL_THREAD=y
|
||||
|
||||
# Uncomment the following line to enable the Kyria OLED Display
|
||||
# CONFIG_ZMK_DISPLAY=y
|
||||
|
||||
# Uncomment the following lines to enable RGB underglow
|
||||
# CONFIG_ZMK_RGB_UNDERGLOW=y
|
||||
# CONFIG_WS2812_STRIP=y
|
54
config/kyria_rev3.keymap
Normal file
54
config/kyria_rev3.keymap
Normal file
|
@ -0,0 +1,54 @@
|
|||
/*
|
||||
* Copyright (c) 2023 The ZMK Contributors
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#include <behaviors.dtsi>
|
||||
#include <dt-bindings/zmk/bt.h>
|
||||
#include <dt-bindings/zmk/keys.h>
|
||||
|
||||
/* Uncomment this block if using RGB
|
||||
&led_strip {
|
||||
chain-length = <6>;
|
||||
// chain-length = <31>; // Uncomment if using both per-key and underglow LEDs
|
||||
// chain-length = <25>; // Uncomment if using only per-key LEDs.
|
||||
};
|
||||
*/
|
||||
|
||||
/ {
|
||||
keymap {
|
||||
compatible = "zmk,keymap";
|
||||
|
||||
default_layer {
|
||||
// ---------------------------------------------------------------------------------------------------------------------------------
|
||||
// | ESC | Q | W | E | R | T | | Y | U | I | O | P | \ |
|
||||
// | TAB | A | S | D | F | G | | H | J | K | L | ; | ' |
|
||||
// | SHIFT | Z | X | C | V | B | L SHIFT | L SHIFT | | LAYER 1 | L SHIFT | N | M | , | . | / | CTRL |
|
||||
// | GUI | DEL | RET | SPACE | ESC | | RET | SPACE | TAB | BSPC | R-ALT |
|
||||
bindings = <
|
||||
&kp ESC &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BSLH
|
||||
&kp TAB &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
|
||||
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp LSHFT &kp LSHFT &mo 1 &kp LSHFT &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RCTRL
|
||||
&kp LGUI &kp DEL &kp RET &kp SPACE &kp ESC &kp RET &kp SPACE &kp TAB &kp BSPC &kp RALT
|
||||
>;
|
||||
|
||||
sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp PG_UP PG_DN>;
|
||||
};
|
||||
function_layer {
|
||||
// ---------------------------------------------------------------------------------------------------------------------------------
|
||||
// | | |BT_CLR|BTSEL0|BTSEL1|BTSEL2| | | | | | | |
|
||||
// | | | |BTSEL3|BTSEL4| | | | | | | | |
|
||||
// | | | | | | | | | | | | | | | | | | |
|
||||
// | | | | | | | | | | | | |
|
||||
bindings = <
|
||||
&trans &trans &bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &trans &trans &trans &trans &trans &trans
|
||||
&trans &trans &trans &bt BT_SEL 3 &bt BT_SEL 4 &trans &trans &trans &trans &trans &trans &trans
|
||||
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
|
||||
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
|
||||
>;
|
||||
|
||||
sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp PG_UP PG_DN>;
|
||||
};
|
||||
};
|
||||
};
|
13
config/west.yml
Normal file
13
config/west.yml
Normal file
|
@ -0,0 +1,13 @@
|
|||
manifest:
|
||||
remotes:
|
||||
- name: zmkfirmware
|
||||
url-base: https://github.com/zmkfirmware
|
||||
# Additional modules containing boards/shields/custom code can be listed here as well
|
||||
# See https://docs.zephyrproject.org/3.2.0/develop/west/manifest.html#projects
|
||||
projects:
|
||||
- name: zmk
|
||||
remote: zmkfirmware
|
||||
revision: main
|
||||
import: app/west.yml
|
||||
self:
|
||||
path: config
|
3
zephyr/module.yml
Normal file
3
zephyr/module.yml
Normal file
|
@ -0,0 +1,3 @@
|
|||
build:
|
||||
settings:
|
||||
board_root: .
|
Loading…
Add table
Reference in a new issue