Correct formatting for pull request review.

Add ZMK copyright headers where missing.
Add BT_ bindings for testing purposes in keymap.
This commit is contained in:
Jason Chestnut 2020-10-08 09:10:51 -04:00
parent c9d53ffe34
commit 5acd2b0916
4 changed files with 97 additions and 88 deletions

View file

@ -1,4 +1,8 @@
#
# Copyright (c) 2020 The ZMK Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
#
list(APPEND EXTRA_DTC_FLAGS "-qq") list(APPEND EXTRA_DTC_FLAGS "-qq")

View file

@ -1,4 +1,8 @@
#
# Copyright (c) 2020 The ZMK Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
#
board_runner_args(dfu-util "--pid=0483:df11" "--alt=0" "--dfuse") board_runner_args(dfu-util "--pid=0483:df11" "--alt=0" "--dfuse")
board_runner_args(jlink "--device=STM32F303VC" "--speed=4000") board_runner_args(jlink "--device=STM32F303VC" "--speed=4000")

View file

@ -5,6 +5,7 @@
#include <behaviors.dtsi> #include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h> #include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/bt.h>
#define DEFAULT 0 #define DEFAULT 0
#define LOWER 1 #define LOWER 1
@ -71,7 +72,7 @@
bindings = < bindings = <
&kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12 &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12
&trans &reset &trans &trans &trans &trans &trans &trans &trans &trans &trans &kp DEL &trans &reset &trans &trans &trans &trans &trans &trans &trans &trans &trans &kp DEL
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &bt BT_PRV &bt BT_NXT &bt BT_CLR &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 &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
>; >;