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
|
if SHIELD_TIDBIT
|
||||||
|
|
||||||
config ZMK_KEYBOARD_NAME
|
config ZMK_KEYBOARD_NAME
|
||||||
default "TIDBIT_DEFAULT"
|
default "tidbit"
|
||||||
|
|
||||||
endif
|
|
||||||
|
|
||||||
if SHIELD_TIDBIT_19
|
|
||||||
|
|
||||||
config ZMK_KEYBOARD_NAME
|
|
||||||
default "TIDBIT_19"
|
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -2,7 +2,4 @@
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
config SHIELD_TIDBIT
|
config SHIELD_TIDBIT
|
||||||
def_bool $(shields_list_contains,tidbit_default)
|
def_bool $(shields_list_contains,tidbit)
|
||||||
|
|
||||||
config SHIELD_TIDBIT_19
|
|
||||||
def_bool $(shields_list_contains,tidbit_19keys)
|
|
||||||
|
|
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/outputs.h>
|
||||||
#include <dt-bindings/zmk/keys.h>
|
#include <dt-bindings/zmk/keys.h>
|
||||||
|
|
||||||
|
&encoder_1_top_row {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
keymap {
|
keymap {
|
||||||
compatible = "zmk,keymap";
|
compatible = "zmk,keymap";
|
||||||
|
|
|
@ -5,7 +5,3 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "tidbit.dtsi"
|
#include "tidbit.dtsi"
|
||||||
|
|
||||||
&encoder_1_top_row {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
|
@ -10,6 +10,10 @@
|
||||||
#include <dt-bindings/zmk/rgb.h>
|
#include <dt-bindings/zmk/rgb.h>
|
||||||
#include <dt-bindings/zmk/keys.h>
|
#include <dt-bindings/zmk/keys.h>
|
||||||
|
|
||||||
|
&encoder_4 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
keymap {
|
keymap {
|
||||||
compatible = "zmk,keymap";
|
compatible = "zmk,keymap";
|
||||||
|
@ -17,7 +21,7 @@
|
||||||
default_layer {
|
default_layer {
|
||||||
bindings = <
|
bindings = <
|
||||||
&tog 1 &kp KP_NUMLOCK &kp KP_SLASH
|
&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_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
|
&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
|
&none &kp KP_NUMBER_0 &kp KP_DOT &kp KP_ENTER
|
||||||
|
@ -30,7 +34,7 @@
|
||||||
bindings = <
|
bindings = <
|
||||||
&tog 0 &bootloader &reset
|
&tog 0 &bootloader &reset
|
||||||
&none &bt BT_CLR_CMD &none &out OUT_TOG
|
&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_PRV_CMD &none &out OUT_USB
|
||||||
&none &bt BT_SEL_CMD &none &none
|
&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