Compare commits
No commits in common. "09d13d4084ab24c003653406f255b142b6705725" and "7415e85aa9c2fff60e99b65a5ea95560aba43df5" have entirely different histories.
09d13d4084
...
7415e85aa9
6 changed files with 20 additions and 118 deletions
95
Readme.md
95
Readme.md
|
|
@ -1,95 +0,0 @@
|
||||||
# Ninepad
|
|
||||||
|
|
||||||
This is my zmk config for my handwired ninepad macropad
|
|
||||||
|
|
||||||
* layer 0: default - window switcher - layer picker
|
|
||||||
* layer 1: media
|
|
||||||
* layer 2: bluetooth
|
|
||||||
* layer 3: minecraft_1
|
|
||||||
* layer 4: minecraft_2
|
|
||||||
* layer 5: arrows
|
|
||||||
* layer 6: empty
|
|
||||||
* layer 7: reset
|
|
||||||
* layer 8: numbers
|
|
||||||
* layer 9: empty
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<img alt="ninepad-assembled" src="https://github.com/WaylonWalker/zmk-config-ninepad/assets/22648375/1b9f3e36-a67f-4df2-be81-cfdf64c11aa5" width="400">
|
|
||||||
|
|
||||||
<img alt="ninepad-plate-switched" src="https://github.com/WaylonWalker/zmk-config-ninepad/assets/22648375/067a16ae-0a70-47f3-8edc-3711ca4944b4" width="400">
|
|
||||||
|
|
||||||
> (Left) fully assembled ninepad
|
|
||||||
> (Right) plate with switches inserted ready for wiring
|
|
||||||
|
|
||||||
|
|
||||||
## Getting back to default
|
|
||||||
|
|
||||||
No matter what layer you are in, holding 7 (top left) will bring you to the 7th
|
|
||||||
layer (reset). Now tap 9 (to right) and you will go back to the default layer.
|
|
||||||
|
|
||||||
## layer 0: default - window switcher - layer picker
|
|
||||||
|
|
||||||
Once plugged in you will be brought to the default layer. Tapping on any key
|
|
||||||
in this layer will press Left Gui (Super) plus the corresponding number. I
|
|
||||||
have my window manager set up so that this will take you to workspace 1-9.
|
|
||||||
|
|
||||||
Double tapping any key on this layer will take you to the layer with the corresponding number
|
|
||||||
layer 1-9.
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
|
|
||||||
## layer 1: media
|
|
||||||
|
|
||||||
This layer has media keys, play/pause, next track, previous track, and volume.
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
## layer 2: bluetooth
|
|
||||||
|
|
||||||
This layer has bluetooth select profile for 1-4, bluetooth clear, backlight
|
|
||||||
toggle, and rgb toggle.
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
## layer 3: minecraft_1
|
|
||||||
|
|
||||||
This layer is for minecraft. It has wasd, q, e, shift, control, and space.
|
|
||||||
Holding space will take you to minecraft_2.
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
|
|
||||||
## layer 4: minecraft_2
|
|
||||||
|
|
||||||
This layer has less critical minecraft keys, b, f5, f3, esc, f, and grave.
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
## layer 5: arrows
|
|
||||||
|
|
||||||
This layer is for navigation, it has arrows, page up, page down, home, end, and escape.
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
|
|
||||||
## layer 6: empty
|
|
||||||
|
|
||||||
This layer is left unused.
|
|
||||||
|
|
||||||
## layer 7: reset
|
|
||||||
|
|
||||||
This is a critical layer that allows me to hold 7 and tap nine from any layer to get back to layer zero. Notice the &to 0, this is what does that.
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
## layer 8: numbers
|
|
||||||
|
|
||||||
numbers 1-9
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
## layer 9: empty
|
|
||||||
|
|
||||||
This layer is left unused.
|
|
||||||
|
|
@ -17,10 +17,10 @@
|
||||||
# artifact-name: corne_left_with_logging
|
# artifact-name: corne_left_with_logging
|
||||||
#
|
#
|
||||||
include:
|
include:
|
||||||
# - board: adafruit_kb2040
|
- board: adafruit_kb2040
|
||||||
# shield: ninepad
|
shield: ninepad
|
||||||
# - board: sparkfun_pro_micro_rp2040
|
- board: sparkfun_pro_micro_rp2040
|
||||||
# shield: ninepad
|
shield: ninepad
|
||||||
- board: nice_nano
|
- board: nice_nano
|
||||||
shield: ninepad
|
shield: ninepad
|
||||||
- board: nice_nano_v2
|
- board: nice_nano_v2
|
||||||
|
|
|
||||||
|
|
@ -14,15 +14,15 @@
|
||||||
diode-direction = "col2row";
|
diode-direction = "col2row";
|
||||||
|
|
||||||
col-gpios
|
col-gpios
|
||||||
= <&gpio0 31 GPIO_ACTIVE_HIGH>
|
= <&gpio0 0 GPIO_ACTIVE_HIGH>
|
||||||
, <&gpio0 29 GPIO_ACTIVE_HIGH>
|
, <&gpio0 1 GPIO_ACTIVE_HIGH>
|
||||||
, <&gpio0 2 GPIO_ACTIVE_HIGH>
|
, <&gpio0 2 GPIO_ACTIVE_HIGH>
|
||||||
;
|
;
|
||||||
|
|
||||||
row-gpios
|
row-gpios
|
||||||
= <&gpio1 15 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
|
= <&gpio0 3 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
|
||||||
, <&gpio1 13 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
|
, <&gpio0 4 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
|
||||||
, <&gpio1 11 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
|
, <&gpio0 5 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
|
||||||
;
|
;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
CONFIG_ZMK_MOUSE=y
|
|
||||||
|
|
@ -1,9 +1,7 @@
|
||||||
#include <behaviors.dtsi>
|
#include <behaviors.dtsi>
|
||||||
#include <dt-bindings/zmk/backlight.h>
|
|
||||||
#include <dt-bindings/zmk/bt.h>
|
#include <dt-bindings/zmk/bt.h>
|
||||||
#include <dt-bindings/zmk/keys.h>
|
#include <dt-bindings/zmk/keys.h>
|
||||||
#include <dt-bindings/zmk/outputs.h>
|
#include <dt-bindings/zmk/mouse.h>
|
||||||
#include <dt-bindings/zmk/rgb.h>
|
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
behaviors {
|
behaviors {
|
||||||
|
|
@ -104,8 +102,8 @@
|
||||||
bt_layer {
|
bt_layer {
|
||||||
label = "bt";
|
label = "bt";
|
||||||
bindings = <
|
bindings = <
|
||||||
< 7 A &bl BL_TOG &rgb_ug RGB_TOG
|
< 7 A &none &bootloader
|
||||||
&bt BT_SEL 3 &bt BT_SEL 4 &bt BT_CLR
|
&none &kp A &bt BT_CLR
|
||||||
&bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2
|
&bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
@ -114,7 +112,7 @@
|
||||||
bindings = <
|
bindings = <
|
||||||
< 7 Q &kp W &kp E
|
< 7 Q &kp W &kp E
|
||||||
&kp A &kp S &kp D
|
&kp A &kp S &kp D
|
||||||
&kp LSHFT &kp LCTRL < 4 SPACE
|
&kp LSHFT &kp LCTRL &kp SPACE
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -146,7 +144,7 @@
|
||||||
bindings = <
|
bindings = <
|
||||||
&trans &trans &to 0
|
&trans &trans &to 0
|
||||||
&trans &trans &trans
|
&trans &trans &trans
|
||||||
&out OUT_USB &out OUT_USB &bootloader
|
&to 1 &to 2 &bootloader
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue