Add readme for tidbit bring up (mainly notes) ; finalize 19keys keymap
This commit is contained in:
parent
fcdcdeca85
commit
159a738dc8
|
@ -4,13 +4,6 @@
|
|||
if SHIELD_TIDBIT
|
||||
|
||||
config ZMK_KEYBOARD_NAME
|
||||
default "TIDBIT_DEFAULT"
|
||||
|
||||
endif
|
||||
|
||||
if SHIELD_TIDBIT_19
|
||||
|
||||
config ZMK_KEYBOARD_NAME
|
||||
default "TIDBIT_19"
|
||||
default "tidbit"
|
||||
|
||||
endif
|
||||
|
|
|
@ -2,7 +2,4 @@
|
|||
# SPDX-License-Identifier: MIT
|
||||
|
||||
config SHIELD_TIDBIT
|
||||
def_bool $(shields_list_contains,tidbit_default)
|
||||
|
||||
config SHIELD_TIDBIT_19
|
||||
def_bool $(shields_list_contains,tidbit_19keys)
|
||||
def_bool $(shields_list_contains,tidbit)
|
||||
|
|
3
zmk/app/boards/shields/tidbit/README.md
Normal file
3
zmk/app/boards/shields/tidbit/README.md
Normal file
|
@ -0,0 +1,3 @@
|
|||
west build -p --board nice_nano -d build/tidbit/default -- -DSHIELD=tidbit
|
||||
|
||||
west build -p --board nice_nano -d build/tidbit/19_keys -- -DSHIELD=tidbit -DKEYMAP_FILE=${PWD}/boards/shields/tidbit/tidbit_19key.keymap
|
|
@ -9,6 +9,10 @@
|
|||
#include <dt-bindings/zmk/outputs.h>
|
||||
#include <dt-bindings/zmk/keys.h>
|
||||
|
||||
&encoder_1_top_row {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
/ {
|
||||
keymap {
|
||||
compatible = "zmk,keymap";
|
||||
|
|
|
@ -5,7 +5,3 @@
|
|||
*/
|
||||
|
||||
#include "tidbit.dtsi"
|
||||
|
||||
&encoder_1_top_row {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -10,6 +10,10 @@
|
|||
#include <dt-bindings/zmk/rgb.h>
|
||||
#include <dt-bindings/zmk/keys.h>
|
||||
|
||||
&encoder_4 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
/ {
|
||||
keymap {
|
||||
compatible = "zmk,keymap";
|
||||
|
@ -17,7 +21,7 @@
|
|||
default_layer {
|
||||
bindings = <
|
||||
&tog 1 &kp KP_NUMLOCK &kp KP_SLASH
|
||||
&kp KP_NUBMER_7 &kp KP_NUMBER_8 &kp KP_NUMBER_9 &kp KP_ASTERISK
|
||||
&kp KP_NUMBER_7 &kp KP_NUMBER_8 &kp KP_NUMBER_9 &kp KP_ASTERISK
|
||||
&kp KP_NUMBER_4 &kp KP_NUMBER_5 &kp KP_NUMBER_6 &kp KP_MINUS
|
||||
&kp KP_NUMBER_1 &kp KP_NUMBER_2 &kp KP_NUMBER_3 &kp KP_PLUS
|
||||
&none &kp KP_NUMBER_0 &kp KP_DOT &kp KP_ENTER
|
||||
|
@ -30,7 +34,7 @@
|
|||
bindings = <
|
||||
&tog 0 &bootloader &reset
|
||||
&none &bt BT_CLR_CMD &none &out OUT_TOG
|
||||
&none &bt BT_NEXT_CMD &none &out OUT_BLE
|
||||
&none &bt BT_NXT_CMD &none &out OUT_BLE
|
||||
&none &bt BT_PRV_CMD &none &out OUT_USB
|
||||
&none &bt BT_SEL_CMD &none &none
|
||||
>;
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) 2020 The ZMK Contributors
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#include "tidbit.dtsi"
|
||||
|
||||
&encoder_4 {
|
||||
status = "okay";
|
||||
};
|
Loading…
Reference in a new issue