-
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.
- Loading branch information
juichi nishimura
committed
Jun 15, 2024
1 parent
6f3fddf
commit e8aa7fb
Showing
7 changed files
with
69 additions
and
32 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 |
---|---|---|
|
@@ -19,4 +19,4 @@ | |
--- | ||
include: | ||
- board: blackpill_f411ce | ||
shield: two_percent_milk | ||
shield: steno |
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,6 @@ | ||
if SHIELD_STENO | ||
|
||
config ZMK_KEYBOARD_NAME | ||
default "steno" | ||
|
||
end if |
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,2 @@ | ||
config SHIELD_STENO | ||
def bool $(shields_list_contains, steno) |
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,16 @@ | ||
#include <behaviour.dtsi> | ||
#include <dt-bindings/zmk/keys.h> | ||
|
||
/{ | ||
keymap{ | ||
compatible = "zmk,keymap"; | ||
|
||
default_layer { | ||
bindings = < | ||
&kp F &kp S &kp T &kp P &kp H &kp * &kp * &kp F &kp P &kp L &kp T &kp D | ||
&kp F &kp S &kp K &kp W &kp R &kp * &kp * &kp R &kp B &kp G &kp S &kp Z | ||
&kp Q &kp A &kp O &kp E &kp U &kp Q | ||
>; | ||
}; | ||
}; | ||
}; |
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,44 @@ | ||
#include <dt-bindings/zmk/matrix_transform.h> | ||
|
||
/ { | ||
chosen { | ||
zmk,kscan = &default_kscan; | ||
zmk, matrix_transform = &default_transform; | ||
}; | ||
|
||
default_kscan: kscan { | ||
compatible = "zmk, kscan-gpio-matrix"; | ||
lable = "default_kscan"; | ||
diode-direction = "col2row"; | ||
|
||
row-gpios = <&blackpill 13 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>, | ||
<&blackpill 12 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>, | ||
<&blackpill 11 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; | ||
|
||
|
||
col-gpios = <&blackpill 26 (GPIO_ACTIVE_HIGH)>, | ||
<&blackpill 27 (GPIO_ACTIVE_HIGH)>, | ||
<&blackpill 28 (GPIO_ACTIVE_HIGH)>, | ||
<&blackpill 29 (GPIO_ACTIVE_HIGH)>, | ||
<&blackpill 30 (GPIO_ACTIVE_HIGH)>, | ||
<&blackpill 31 (GPIO_ACTIVE_HIGH)>, | ||
<&blackpill 21 (GPIO_ACTIVE_HIGH)>, | ||
<&blackpill 20 (GPIO_ACTIVE_HIGH)>, | ||
<&blackpill 19 (GPIO_ACTIVE_HIGH)>, | ||
<&blackpill 18 (GPIO_ACTIVE_HIGH)>, | ||
<&blackpill 17 (GPIO_ACTIVE_HIGH)>, | ||
<&blackpill 16 (GPIO_ACTIVE_HIGH)>; | ||
}; | ||
|
||
default_transform: matrix_transform { | ||
compatible = "zmk, matrix-matrix_transform"; | ||
row = <3>; | ||
column = <12>; | ||
|
||
map = < | ||
RC(0,0) RC(0,1) RC(0,2) RC(0,3) RC(0,4) RC(0,5) RC(0,6) RC(0,7) RC(0,8) RC(0,9) RC(0,10) RC(0,11) | ||
RC(1,0) RC(1,1) RC(1,2) RC(1,3) RC(1,4) RC(1,5) RC(1,6) RC(1,7) RC(1,8) RC(1,9) RC(1,10) RC(1,11) | ||
RC(2,3) RC(2,4) RC(2,5) RC(2,6) RC(2,7) RC(2,8) | ||
>; | ||
}; | ||
}; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.