forked from zmkfirmware/zmk
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(boards): Add posix MiniVan studio tester
* New shield to easily test studio using the `native_posix_64` board.
- Loading branch information
1 parent
de9ce9d
commit 7cb7a90
Showing
5 changed files
with
413 additions
and
0 deletions.
There are no files selected for viewing
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,9 @@ | ||
# Copyright (c) 2024 The ZMK Contributors | ||
# SPDX-License-Identifier: MIT | ||
|
||
if SHIELD_MINIVAN_STUDIO_TESTER | ||
|
||
config ZMK_KEYBOARD_NAME | ||
default "MiniVan Tester" | ||
|
||
endif |
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,9 @@ | ||
# Copyright (c) 2024 The ZMK Contributors | ||
# SPDX-License-Identifier: MIT | ||
|
||
config SHIELD_MINIVAN_STUDIO_TESTER | ||
def_bool $(shields_list_contains,minivan_studio_tester) | ||
select ZMK_STUDIO | ||
select UART_NATIVE_POSIX_PORT_1_ENABLE | ||
select CBPRINTF_LIBC_SUBSTS | ||
select ZMK_STUDIO_TRANSPORT_UART |
1 change: 1 addition & 0 deletions
1
app/boards/shields/minivan_studio_tester/minivan_studio_tester.conf
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 @@ | ||
CONFIG_ZMK_STUDIO_LOCKING=n |
59 changes: 59 additions & 0 deletions
59
app/boards/shields/minivan_studio_tester/minivan_studio_tester.keymap
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,59 @@ | ||
/* | ||
* Copyright (c) 2024 The ZMK Contributors | ||
* | ||
* SPDX-License-Identifier: MIT | ||
*/ | ||
|
||
#include <behaviors.dtsi> | ||
#include <dt-bindings/zmk/keys.h> | ||
|
||
#define NAV_L 1 | ||
#define NUM_L 2 | ||
#define MED_L 3 | ||
#define FUN_L 4 | ||
|
||
/ { | ||
keymap { | ||
compatible = "zmk,keymap"; | ||
|
||
base_layer { | ||
display-name = "Base"; | ||
bindings = < | ||
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BKSP | ||
&gresc &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp RET | ||
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp QUOT | ||
&kp LGUI &kp LALT &mo NAV_L &kp LEFT_SHIFT &kp SPACE &mo NUM_L &kp LALT &kp RCTL | ||
>; | ||
}; | ||
|
||
nav_layer { | ||
display-name = "Nav"; | ||
bindings = < | ||
&trans &trans &trans &trans &trans &trans &trans &kp GRAVE &kp TILDE &trans &trans &kp DEL | ||
&trans &trans &trans &trans &trans &trans &trans &kp LARW &kp DARW &kp UARW &kp RARW &trans | ||
&trans &trans &trans &trans &trans &trans &trans &kp HOME &kp PG_DN &kp PG_UP &kp END &trans | ||
&trans &trans &trans &trans &trans &trans &trans &trans | ||
>; | ||
}; | ||
|
||
num_layer { | ||
display-name = "Num"; | ||
bindings = < | ||
&trans &trans &kp N7 &kp N8 &kp N9 &kp RBKT &trans &trans &trans &trans &trans &trans | ||
&trans &kp MINUS &kp N4 &kp N5 &kp N6 &kp EQUAL &trans &trans &trans &trans &trans &trans | ||
&kp PLUS &kp N1 &kp N2 &kp N3 &kp N0 &trans &trans &trans &trans &trans &trans &trans | ||
&trans &trans &trans &trans &trans &kp ESC &trans &trans | ||
>; | ||
}; | ||
|
||
med_layer { | ||
display-name = "Sym"; | ||
bindings = < | ||
&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 &trans &trans &trans | ||
&trans &trans &trans &trans &trans &trans &trans &trans | ||
>; | ||
}; | ||
}; | ||
}; |
Oops, something went wrong.