Skip to content

Commit

Permalink
chore(tests): Move to proper header name.
Browse files Browse the repository at this point in the history
  • Loading branch information
petejohanson committed Sep 15, 2023
1 parent 396a43b commit 6185741
Show file tree
Hide file tree
Showing 30 changed files with 30 additions and 30 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <dt-bindings/zmk/keys.h>
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan-mock.h>
#include <dt-bindings/zmk/kscan_mock.h>

&mt {
flavor = "hold-preferred";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <dt-bindings/zmk/keys.h>
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan-mock.h>
#include <dt-bindings/zmk/kscan_mock.h>

&mt {
flavor = "hold-preferred";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <dt-bindings/zmk/keys.h>
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan-mock.h>
#include <dt-bindings/zmk/kscan_mock.h>

&mt {
flavor = "hold-preferred";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <dt-bindings/zmk/keys.h>
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan-mock.h>
#include <dt-bindings/zmk/kscan_mock.h>

&mt {
flavor = "hold-preferred";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <dt-bindings/zmk/keys.h>
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan-mock.h>
#include <dt-bindings/zmk/kscan_mock.h>


#define ZMK_COMBO(name, combo_bindings, keypos, combo_term) \
Expand Down
2 changes: 1 addition & 1 deletion app/tests/combo/layer-filter-0/native_posix_64.keymap
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <dt-bindings/zmk/keys.h>
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan-mock.h>
#include <dt-bindings/zmk/kscan_mock.h>

/* it is useful to set timeout to a large value when attaching a debugger. */
#define TIMEOUT (60*60*1000)
Expand Down
2 changes: 1 addition & 1 deletion app/tests/combo/layer-filter-1/native_posix_64.keymap
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <dt-bindings/zmk/keys.h>
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan-mock.h>
#include <dt-bindings/zmk/kscan_mock.h>

/* it is useful to set timeout to a large value when attaching a debugger. */
#define TIMEOUT (60*60*1000)
Expand Down
2 changes: 1 addition & 1 deletion app/tests/combo/multiple-timeouts/native_posix_64.keymap
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <dt-bindings/zmk/keys.h>
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan-mock.h>
#include <dt-bindings/zmk/kscan_mock.h>

/ {
combos {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <dt-bindings/zmk/keys.h>
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan-mock.h>
#include <dt-bindings/zmk/kscan_mock.h>

/*
combo 0 timeout inf
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <dt-bindings/zmk/keys.h>
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan-mock.h>
#include <dt-bindings/zmk/kscan_mock.h>

/*
combo 01 timeout 50
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <dt-bindings/zmk/keys.h>
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan-mock.h>
#include <dt-bindings/zmk/kscan_mock.h>

/*
combo 01 timeout 100
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <dt-bindings/zmk/keys.h>
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan-mock.h>
#include <dt-bindings/zmk/kscan_mock.h>

/*
combo 12 timeout 100
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <dt-bindings/zmk/keys.h>
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan-mock.h>
#include <dt-bindings/zmk/kscan_mock.h>

/ {
combos {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <dt-bindings/zmk/keys.h>
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan-mock.h>
#include <dt-bindings/zmk/kscan_mock.h>

/ {
combos {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <dt-bindings/zmk/keys.h>
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan-mock.h>
#include <dt-bindings/zmk/kscan_mock.h>

/ {
combos {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <dt-bindings/zmk/keys.h>
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan-mock.h>
#include <dt-bindings/zmk/kscan_mock.h>

/ {
combos {
Expand Down
2 changes: 1 addition & 1 deletion app/tests/combo/press-release/native_posix_64.keymap
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <dt-bindings/zmk/keys.h>
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan-mock.h>
#include <dt-bindings/zmk/kscan_mock.h>

/ {
combos {
Expand Down
2 changes: 1 addition & 1 deletion app/tests/combo/press-timeout/native_posix_64.keymap
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <dt-bindings/zmk/keys.h>
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan-mock.h>
#include <dt-bindings/zmk/kscan_mock.h>

/ {
combos {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <dt-bindings/zmk/keys.h>
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan-mock.h>
#include <dt-bindings/zmk/kscan_mock.h>

/ {
combos {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <dt-bindings/zmk/keys.h>
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan-mock.h>
#include <dt-bindings/zmk/kscan_mock.h>

/ {
combos {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <dt-bindings/zmk/keys.h>
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan-mock.h>
#include <dt-bindings/zmk/kscan_mock.h>

/ {
combos {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <dt-bindings/zmk/keys.h>
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan-mock.h>
#include <dt-bindings/zmk/kscan_mock.h>

/ {
combos {
Expand Down
2 changes: 1 addition & 1 deletion app/tests/combo/slowrelease-enabled/native_posix_64.keymap
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <dt-bindings/zmk/keys.h>
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan-mock.h>
#include <dt-bindings/zmk/kscan_mock.h>

/ {
combos {
Expand Down
2 changes: 1 addition & 1 deletion app/tests/gresc/gresc-press-release/native_posix_64.keymap
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <dt-bindings/zmk/keys.h>
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan-mock.h>
#include <dt-bindings/zmk/kscan_mock.h>

/ {
keymap {
Expand Down
2 changes: 1 addition & 1 deletion app/tests/gresc/gresc-two-instances/native_posix_64.keymap
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <dt-bindings/zmk/keys.h>
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan-mock.h>
#include <dt-bindings/zmk/kscan_mock.h>

/*
This test checks nothing breaks if two grave-escapes are pressed at the same time.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <dt-bindings/zmk/keys.h>
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan-mock.h>
#include <dt-bindings/zmk/kscan_mock.h>


&kscan {
Expand Down
2 changes: 1 addition & 1 deletion app/tests/sticky-keys/10-sl-sl-kp/native_posix_64.keymap
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <dt-bindings/zmk/keys.h>
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan-mock.h>
#include <dt-bindings/zmk/kscan_mock.h>

/*
sticky layers should quick-release.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <dt-bindings/zmk/keys.h>
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan-mock.h>
#include <dt-bindings/zmk/kscan_mock.h>

/*
sticky layers should quick-release.
Expand Down
2 changes: 1 addition & 1 deletion app/tests/to-layer/behavior_keymap.dtsi
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <dt-bindings/zmk/keys.h>
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan-mock.h>
#include <dt-bindings/zmk/kscan_mock.h>

/ {
keymap {
Expand Down
2 changes: 1 addition & 1 deletion app/tests/to-layer/normal/native_posix_64.keymap
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <dt-bindings/zmk/keys.h>
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan-mock.h>
#include <dt-bindings/zmk/kscan_mock.h>
#include "../behavior_keymap.dtsi"

// Press key A
Expand Down

0 comments on commit 6185741

Please sign in to comment.