diff --git a/app/tests/backlight/basic/events.patterns b/app/tests/backlight/basic/events.patterns deleted file mode 100644 index bb11bc15e5b..00000000000 --- a/app/tests/backlight/basic/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*zmk_backlight_update: //p diff --git a/app/tests/backlight/basic/keycode_events.snapshot b/app/tests/backlight/basic/keycode_events.snapshot deleted file mode 100644 index 4aa184cd33a..00000000000 --- a/app/tests/backlight/basic/keycode_events.snapshot +++ /dev/null @@ -1,9 +0,0 @@ -Update backlight brightness: 40% -Update backlight brightness: 60% -Update backlight brightness: 80% -Update backlight brightness: 60% -Update backlight brightness: 40% -Update backlight brightness: 0% -Update backlight brightness: 0% -Update backlight brightness: 40% -Update backlight brightness: 40% diff --git a/app/tests/backlight/basic/native_posix_64.conf b/app/tests/backlight/basic/native_posix_64.conf deleted file mode 100644 index bd29a072c9c..00000000000 --- a/app/tests/backlight/basic/native_posix_64.conf +++ /dev/null @@ -1,11 +0,0 @@ -CONFIG_GPIO=y -CONFIG_GPIO_EMUL=y -CONFIG_ZMK_BLE=n -CONFIG_LOG=y -CONFIG_LOG_BACKEND_SHOW_COLOR=n -CONFIG_ZMK_LOG_LEVEL_DBG=y -CONFIG_DEBUG=y -CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000 - -CONFIG_LED_GPIO=y -CONFIG_ZMK_BACKLIGHT=y diff --git a/app/tests/backlight/basic/native_posix_64.keymap b/app/tests/backlight/basic/native_posix_64.keymap deleted file mode 100644 index dfb08fef51b..00000000000 --- a/app/tests/backlight/basic/native_posix_64.keymap +++ /dev/null @@ -1,30 +0,0 @@ -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - /* BL_INC */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - /* BL_INC */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - /* BL_DEC */ - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - /* BL_DEC */ - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - /* BL_OFF */ - ZMK_MOCK_PRESS(1,1,10) - ZMK_MOCK_RELEASE(1,1,10) - /* BL_OFF */ - ZMK_MOCK_PRESS(1,1,10) - ZMK_MOCK_RELEASE(1,1,10) - /* BL_ON */ - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_RELEASE(1,0,10) - /* BL_ON */ - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_RELEASE(1,0,10) - >; -}; diff --git a/app/tests/backlight/behavior_keymap.dtsi b/app/tests/backlight/behavior_keymap.dtsi deleted file mode 100644 index 771072ac4ec..00000000000 --- a/app/tests/backlight/behavior_keymap.dtsi +++ /dev/null @@ -1,34 +0,0 @@ -#include -#include -#include -#include - -/ { - chosen { - zmk,backlight = &backlight; - }; - - backlight: leds { - compatible = "gpio-leds"; - led_0 { - gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>; - label = "Backlight LED 0"; - }; - led_1 { - gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>; - label = "Backlight LED 1"; - }; - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &bl BL_INC &bl BL_DEC - &bl BL_ON &bl BL_OFF - >; - }; - }; -}; diff --git a/app/tests/backlight/config-brt/events.patterns b/app/tests/backlight/config-brt/events.patterns deleted file mode 100644 index bb11bc15e5b..00000000000 --- a/app/tests/backlight/config-brt/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*zmk_backlight_update: //p diff --git a/app/tests/backlight/config-brt/keycode_events.snapshot b/app/tests/backlight/config-brt/keycode_events.snapshot deleted file mode 100644 index 3297a7cd680..00000000000 --- a/app/tests/backlight/config-brt/keycode_events.snapshot +++ /dev/null @@ -1,3 +0,0 @@ -Update backlight brightness: 60% -Update backlight brightness: 80% -Update backlight brightness: 60% diff --git a/app/tests/backlight/config-brt/native_posix_64.conf b/app/tests/backlight/config-brt/native_posix_64.conf deleted file mode 100644 index 65cdd3263d9..00000000000 --- a/app/tests/backlight/config-brt/native_posix_64.conf +++ /dev/null @@ -1,12 +0,0 @@ -CONFIG_GPIO=y -CONFIG_GPIO_EMUL=y -CONFIG_ZMK_BLE=n -CONFIG_LOG=y -CONFIG_LOG_BACKEND_SHOW_COLOR=n -CONFIG_ZMK_LOG_LEVEL_DBG=y -CONFIG_DEBUG=y -CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000 - -CONFIG_LED_GPIO=y -CONFIG_ZMK_BACKLIGHT=y -CONFIG_ZMK_BACKLIGHT_BRT_START=60 diff --git a/app/tests/backlight/config-brt/native_posix_64.keymap b/app/tests/backlight/config-brt/native_posix_64.keymap deleted file mode 100644 index cbb6c93fcae..00000000000 --- a/app/tests/backlight/config-brt/native_posix_64.keymap +++ /dev/null @@ -1,12 +0,0 @@ -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - /* BL_INC */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - /* BL_DEC */ - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - >; -}; diff --git a/app/tests/backlight/config-on/events.patterns b/app/tests/backlight/config-on/events.patterns deleted file mode 100644 index bb11bc15e5b..00000000000 --- a/app/tests/backlight/config-on/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*zmk_backlight_update: //p diff --git a/app/tests/backlight/config-on/keycode_events.snapshot b/app/tests/backlight/config-on/keycode_events.snapshot deleted file mode 100644 index 8797af58132..00000000000 --- a/app/tests/backlight/config-on/keycode_events.snapshot +++ /dev/null @@ -1,3 +0,0 @@ -Update backlight brightness: 0% -Update backlight brightness: 40% -Update backlight brightness: 0% diff --git a/app/tests/backlight/config-on/native_posix_64.conf b/app/tests/backlight/config-on/native_posix_64.conf deleted file mode 100644 index eb9e7c8a1b2..00000000000 --- a/app/tests/backlight/config-on/native_posix_64.conf +++ /dev/null @@ -1,12 +0,0 @@ -CONFIG_GPIO=y -CONFIG_GPIO_EMUL=y -CONFIG_ZMK_BLE=n -CONFIG_LOG=y -CONFIG_LOG_BACKEND_SHOW_COLOR=n -CONFIG_ZMK_LOG_LEVEL_DBG=y -CONFIG_DEBUG=y -CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000 - -CONFIG_LED_GPIO=y -CONFIG_ZMK_BACKLIGHT=y -CONFIG_ZMK_BACKLIGHT_ON_START=n diff --git a/app/tests/backlight/config-on/native_posix_64.keymap b/app/tests/backlight/config-on/native_posix_64.keymap deleted file mode 100644 index 1a8de92884b..00000000000 --- a/app/tests/backlight/config-on/native_posix_64.keymap +++ /dev/null @@ -1,12 +0,0 @@ -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - /* BL_ON */ - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_RELEASE(1,0,10) - /* BL_OFF */ - ZMK_MOCK_PRESS(1,1,10) - ZMK_MOCK_RELEASE(1,1,10) - >; -}; diff --git a/app/tests/backlight/config-step/events.patterns b/app/tests/backlight/config-step/events.patterns deleted file mode 100644 index bb11bc15e5b..00000000000 --- a/app/tests/backlight/config-step/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*zmk_backlight_update: //p diff --git a/app/tests/backlight/config-step/keycode_events.snapshot b/app/tests/backlight/config-step/keycode_events.snapshot deleted file mode 100644 index 4532fed49b3..00000000000 --- a/app/tests/backlight/config-step/keycode_events.snapshot +++ /dev/null @@ -1,11 +0,0 @@ -Update backlight brightness: 60% -Update backlight brightness: 90% -Update backlight brightness: 100% -Update backlight brightness: 100% -Update backlight brightness: 70% -Update backlight brightness: 40% -Update backlight brightness: 10% -Update backlight brightness: 0% -Update backlight brightness: 0% -Update backlight brightness: 30% -Update backlight brightness: 60% diff --git a/app/tests/backlight/config-step/native_posix_64.conf b/app/tests/backlight/config-step/native_posix_64.conf deleted file mode 100644 index c03eb7b01a6..00000000000 --- a/app/tests/backlight/config-step/native_posix_64.conf +++ /dev/null @@ -1,13 +0,0 @@ -CONFIG_GPIO=y -CONFIG_GPIO_EMUL=y -CONFIG_ZMK_BLE=n -CONFIG_LOG=y -CONFIG_LOG_BACKEND_SHOW_COLOR=n -CONFIG_ZMK_LOG_LEVEL_DBG=y -CONFIG_DEBUG=y -CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000 - -CONFIG_LED_GPIO=y -CONFIG_ZMK_BACKLIGHT=y -CONFIG_ZMK_BACKLIGHT_BRT_START=60 -CONFIG_ZMK_BACKLIGHT_BRT_STEP=30 diff --git a/app/tests/backlight/config-step/native_posix_64.keymap b/app/tests/backlight/config-step/native_posix_64.keymap deleted file mode 100644 index 706144597a3..00000000000 --- a/app/tests/backlight/config-step/native_posix_64.keymap +++ /dev/null @@ -1,36 +0,0 @@ -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - /* BL_INC */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - /* BL_INC */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - /* BL_INC */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - /* BL_DEC */ - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - /* BL_DEC */ - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - /* BL_DEC */ - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - /* BL_DEC */ - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - /* BL_DEC */ - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - /* BL_INC */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - /* BL_INC */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; diff --git a/app/tests/backlight/cycle/events.patterns b/app/tests/backlight/cycle/events.patterns deleted file mode 100644 index bb11bc15e5b..00000000000 --- a/app/tests/backlight/cycle/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*zmk_backlight_update: //p diff --git a/app/tests/backlight/cycle/keycode_events.snapshot b/app/tests/backlight/cycle/keycode_events.snapshot deleted file mode 100644 index 70d0988c14a..00000000000 --- a/app/tests/backlight/cycle/keycode_events.snapshot +++ /dev/null @@ -1,14 +0,0 @@ -Update backlight brightness: 40% -Update backlight brightness: 60% -Update backlight brightness: 80% -Update backlight brightness: 100% -Update backlight brightness: 0% -Update backlight brightness: 20% -Update backlight brightness: 40% -Update backlight brightness: 60% -Update backlight brightness: 80% -Update backlight brightness: 100% -Update backlight brightness: 0% -Update backlight brightness: 20% -Update backlight brightness: 40% -Update backlight brightness: 60% diff --git a/app/tests/backlight/cycle/native_posix_64.conf b/app/tests/backlight/cycle/native_posix_64.conf deleted file mode 100644 index bd29a072c9c..00000000000 --- a/app/tests/backlight/cycle/native_posix_64.conf +++ /dev/null @@ -1,11 +0,0 @@ -CONFIG_GPIO=y -CONFIG_GPIO_EMUL=y -CONFIG_ZMK_BLE=n -CONFIG_LOG=y -CONFIG_LOG_BACKEND_SHOW_COLOR=n -CONFIG_ZMK_LOG_LEVEL_DBG=y -CONFIG_DEBUG=y -CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000 - -CONFIG_LED_GPIO=y -CONFIG_ZMK_BACKLIGHT=y diff --git a/app/tests/backlight/cycle/native_posix_64.keymap b/app/tests/backlight/cycle/native_posix_64.keymap deleted file mode 100644 index 00615e3546d..00000000000 --- a/app/tests/backlight/cycle/native_posix_64.keymap +++ /dev/null @@ -1,78 +0,0 @@ -#include -#include -#include -#include - -/ { - chosen { - zmk,backlight = &backlight; - }; - - backlight: leds { - compatible = "gpio-leds"; - led_0 { - gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>; - label = "Backlight LED 0"; - }; - led_1 { - gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>; - label = "Backlight LED 1"; - }; - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &bl BL_CYCLE &none - &none &none - >; - }; - }; -}; - -&kscan { - events = < - /* BL_CYCLE */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - /* BL_CYCLE */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - /* BL_CYCLE */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - /* BL_CYCLE */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - /* BL_CYCLE */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - /* BL_CYCLE */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - /* BL_CYCLE */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - /* BL_CYCLE */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - /* BL_CYCLE */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - /* BL_CYCLE */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - /* BL_CYCLE */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - /* BL_CYCLE */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - /* BL_CYCLE */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; diff --git a/app/tests/backlight/low-brightness/events.patterns b/app/tests/backlight/low-brightness/events.patterns deleted file mode 100644 index bb11bc15e5b..00000000000 --- a/app/tests/backlight/low-brightness/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*zmk_backlight_update: //p diff --git a/app/tests/backlight/low-brightness/keycode_events.snapshot b/app/tests/backlight/low-brightness/keycode_events.snapshot deleted file mode 100644 index 9fee324784f..00000000000 --- a/app/tests/backlight/low-brightness/keycode_events.snapshot +++ /dev/null @@ -1,12 +0,0 @@ -Update backlight brightness: 40% -Update backlight brightness: 20% -Update backlight brightness: 0% -Update backlight brightness: 20% -Update backlight brightness: 0% -Update backlight brightness: 40% -Update backlight brightness: 60% -Update backlight brightness: 0% -Update backlight brightness: 40% -Update backlight brightness: 20% -Update backlight brightness: 0% -Update backlight brightness: 20% diff --git a/app/tests/backlight/low-brightness/native_posix_64.conf b/app/tests/backlight/low-brightness/native_posix_64.conf deleted file mode 100644 index bd29a072c9c..00000000000 --- a/app/tests/backlight/low-brightness/native_posix_64.conf +++ /dev/null @@ -1,11 +0,0 @@ -CONFIG_GPIO=y -CONFIG_GPIO_EMUL=y -CONFIG_ZMK_BLE=n -CONFIG_LOG=y -CONFIG_LOG_BACKEND_SHOW_COLOR=n -CONFIG_ZMK_LOG_LEVEL_DBG=y -CONFIG_DEBUG=y -CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000 - -CONFIG_LED_GPIO=y -CONFIG_ZMK_BACKLIGHT=y diff --git a/app/tests/backlight/low-brightness/native_posix_64.keymap b/app/tests/backlight/low-brightness/native_posix_64.keymap deleted file mode 100644 index a151e0f6b96..00000000000 --- a/app/tests/backlight/low-brightness/native_posix_64.keymap +++ /dev/null @@ -1,39 +0,0 @@ -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - /* BL_DEC */ - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - /* BL_DEC */ - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - /* BL_ON */ - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_RELEASE(1,0,10) - /* BL_OFF */ - ZMK_MOCK_PRESS(1,1,10) - ZMK_MOCK_RELEASE(1,1,10) - /* BL_INC */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - /* BL_INC */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - /* BL_OFF */ - ZMK_MOCK_PRESS(1,1,10) - ZMK_MOCK_RELEASE(1,1,10) - /* BL_DEC */ - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - /* BL_DEC */ - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - /* BL_DEC */ - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - /* BL_INC */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; diff --git a/app/tests/caps-word/behavior_keymap.dtsi b/app/tests/caps-word/behavior_keymap.dtsi deleted file mode 100644 index 855406fc72f..00000000000 --- a/app/tests/caps-word/behavior_keymap.dtsi +++ /dev/null @@ -1,17 +0,0 @@ -#include -#include -#include - -/ { - keymap { - compatible = "zmk,keymap"; - label = "Default keymap"; - - default_layer { - bindings = < - &caps_word &kp A - &kp N6 &kp MINUS - >; - }; - }; -}; diff --git a/app/tests/caps-word/continue-with-modifiers/events.patterns b/app/tests/caps-word/continue-with-modifiers/events.patterns deleted file mode 100644 index dd4d3d3f700..00000000000 --- a/app/tests/caps-word/continue-with-modifiers/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode_//p -s/.*hid_implicit_modifiers_//p -s/.*caps_word_enhance_usage/enhance_usage/p -s/.*caps_word_is_caps_includelist/caps_includelist/p \ No newline at end of file diff --git a/app/tests/caps-word/continue-with-modifiers/keycode_events.snapshot b/app/tests/caps-word/continue-with-modifiers/keycode_events.snapshot deleted file mode 100644 index b4752fd416e..00000000000 --- a/app/tests/caps-word/continue-with-modifiers/keycode_events.snapshot +++ /dev/null @@ -1,20 +0,0 @@ -enhance_usage: Enhancing usage 0x04 with modifiers: 0x02 -pressed: usage_page 0x07 keycode 0x04 implicit_mods 0x02 explicit_mods 0x00 -press: Modifiers set to 0x02 -released: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -release: Modifiers set to 0x00 -pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -press: Modifiers set to 0x02 -caps_includelist: Comparing with 0x07 - 0x2D (with implicit mods: 0x02) -caps_includelist: Continuing capsword, found included usage: 0x07 - 0x2D -pressed: usage_page 0x07 keycode 0x2D implicit_mods 0x00 explicit_mods 0x00 -press: Modifiers set to 0x02 -released: usage_page 0x07 keycode 0x2D implicit_mods 0x00 explicit_mods 0x00 -release: Modifiers set to 0x02 -released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -release: Modifiers set to 0x00 -enhance_usage: Enhancing usage 0x04 with modifiers: 0x02 -pressed: usage_page 0x07 keycode 0x04 implicit_mods 0x02 explicit_mods 0x00 -press: Modifiers set to 0x02 -released: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -release: Modifiers set to 0x00 diff --git a/app/tests/caps-word/continue-with-modifiers/native_posix_64.keymap b/app/tests/caps-word/continue-with-modifiers/native_posix_64.keymap deleted file mode 100644 index bbbdac10c9b..00000000000 --- a/app/tests/caps-word/continue-with-modifiers/native_posix_64.keymap +++ /dev/null @@ -1,33 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -/ { - keymap { - compatible = "zmk,keymap"; - label = "Default keymap"; - - default_layer { - bindings = < - &caps_word &kp A - &kp LSHFT &kp MINUS - >; - }; - }; -}; - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_PRESS(1,1,10) - ZMK_MOCK_RELEASE(1,1,10) - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - >; -}; \ No newline at end of file diff --git a/app/tests/caps-word/continue-with-non-alpha-continue-list-item/events.patterns b/app/tests/caps-word/continue-with-non-alpha-continue-list-item/events.patterns deleted file mode 100644 index dd4d3d3f700..00000000000 --- a/app/tests/caps-word/continue-with-non-alpha-continue-list-item/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode_//p -s/.*hid_implicit_modifiers_//p -s/.*caps_word_enhance_usage/enhance_usage/p -s/.*caps_word_is_caps_includelist/caps_includelist/p \ No newline at end of file diff --git a/app/tests/caps-word/continue-with-non-alpha-continue-list-item/keycode_events.snapshot b/app/tests/caps-word/continue-with-non-alpha-continue-list-item/keycode_events.snapshot deleted file mode 100644 index 8910db99690..00000000000 --- a/app/tests/caps-word/continue-with-non-alpha-continue-list-item/keycode_events.snapshot +++ /dev/null @@ -1,17 +0,0 @@ -enhance_usage: Enhancing usage 0x04 with modifiers: 0x02 -pressed: usage_page 0x07 keycode 0x04 implicit_mods 0x02 explicit_mods 0x00 -press: Modifiers set to 0x02 -released: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -release: Modifiers set to 0x00 -caps_includelist: Comparing with 0x07 - 0x2D (with implicit mods: 0x02) -caps_includelist: Comparing with 0x07 - 0x2D (with implicit mods: 0x00) -caps_includelist: Continuing capsword, found included usage: 0x07 - 0x2D -pressed: usage_page 0x07 keycode 0x2D implicit_mods 0x00 explicit_mods 0x00 -press: Modifiers set to 0x00 -released: usage_page 0x07 keycode 0x2D implicit_mods 0x00 explicit_mods 0x00 -release: Modifiers set to 0x00 -enhance_usage: Enhancing usage 0x04 with modifiers: 0x02 -pressed: usage_page 0x07 keycode 0x04 implicit_mods 0x02 explicit_mods 0x00 -press: Modifiers set to 0x02 -released: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -release: Modifiers set to 0x00 diff --git a/app/tests/caps-word/continue-with-non-alpha-continue-list-item/native_posix_64.keymap b/app/tests/caps-word/continue-with-non-alpha-continue-list-item/native_posix_64.keymap deleted file mode 100644 index 08b173bd771..00000000000 --- a/app/tests/caps-word/continue-with-non-alpha-continue-list-item/native_posix_64.keymap +++ /dev/null @@ -1,21 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&caps_word { - continue-list = ; -}; - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_PRESS(1,1,10) - ZMK_MOCK_RELEASE(1,1,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - >; -}; \ No newline at end of file diff --git a/app/tests/caps-word/continue-with-non-modified-numeric-usage-id/events.patterns b/app/tests/caps-word/continue-with-non-modified-numeric-usage-id/events.patterns deleted file mode 100644 index dd4d3d3f700..00000000000 --- a/app/tests/caps-word/continue-with-non-modified-numeric-usage-id/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode_//p -s/.*hid_implicit_modifiers_//p -s/.*caps_word_enhance_usage/enhance_usage/p -s/.*caps_word_is_caps_includelist/caps_includelist/p \ No newline at end of file diff --git a/app/tests/caps-word/continue-with-non-modified-numeric-usage-id/keycode_events.snapshot b/app/tests/caps-word/continue-with-non-modified-numeric-usage-id/keycode_events.snapshot deleted file mode 100644 index 23ddbe1b190..00000000000 --- a/app/tests/caps-word/continue-with-non-modified-numeric-usage-id/keycode_events.snapshot +++ /dev/null @@ -1,14 +0,0 @@ -enhance_usage: Enhancing usage 0x04 with modifiers: 0x02 -pressed: usage_page 0x07 keycode 0x04 implicit_mods 0x02 explicit_mods 0x00 -press: Modifiers set to 0x02 -released: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -release: Modifiers set to 0x00 -pressed: usage_page 0x07 keycode 0x23 implicit_mods 0x00 explicit_mods 0x00 -press: Modifiers set to 0x00 -released: usage_page 0x07 keycode 0x23 implicit_mods 0x00 explicit_mods 0x00 -release: Modifiers set to 0x00 -enhance_usage: Enhancing usage 0x04 with modifiers: 0x02 -pressed: usage_page 0x07 keycode 0x04 implicit_mods 0x02 explicit_mods 0x00 -press: Modifiers set to 0x02 -released: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -release: Modifiers set to 0x00 diff --git a/app/tests/caps-word/continue-with-non-modified-numeric-usage-id/native_posix_64.keymap b/app/tests/caps-word/continue-with-non-modified-numeric-usage-id/native_posix_64.keymap deleted file mode 100644 index cde97c846f3..00000000000 --- a/app/tests/caps-word/continue-with-non-modified-numeric-usage-id/native_posix_64.keymap +++ /dev/null @@ -1,21 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&caps_word { - continue-list = ; -}; - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - >; -}; \ No newline at end of file diff --git a/app/tests/caps-word/deactivate-by-non-alpha-non-continuation/events.patterns b/app/tests/caps-word/deactivate-by-non-alpha-non-continuation/events.patterns deleted file mode 100644 index fa75ab0c7df..00000000000 --- a/app/tests/caps-word/deactivate-by-non-alpha-non-continuation/events.patterns +++ /dev/null @@ -1,3 +0,0 @@ -s/.*hid_listener_keycode_//p -s/.*hid_implicit_modifiers_//p -s/.*caps_word_enhance_usage/enhance_usage/p \ No newline at end of file diff --git a/app/tests/caps-word/deactivate-by-non-alpha-non-continuation/keycode_events.snapshot b/app/tests/caps-word/deactivate-by-non-alpha-non-continuation/keycode_events.snapshot deleted file mode 100644 index f479db1219a..00000000000 --- a/app/tests/caps-word/deactivate-by-non-alpha-non-continuation/keycode_events.snapshot +++ /dev/null @@ -1,13 +0,0 @@ -enhance_usage: Enhancing usage 0x04 with modifiers: 0x02 -pressed: usage_page 0x07 keycode 0x04 implicit_mods 0x02 explicit_mods 0x00 -press: Modifiers set to 0x02 -released: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -release: Modifiers set to 0x00 -pressed: usage_page 0x07 keycode 0x2D implicit_mods 0x00 explicit_mods 0x00 -press: Modifiers set to 0x00 -released: usage_page 0x07 keycode 0x2D implicit_mods 0x00 explicit_mods 0x00 -release: Modifiers set to 0x00 -pressed: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -press: Modifiers set to 0x00 -released: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -release: Modifiers set to 0x00 diff --git a/app/tests/caps-word/deactivate-by-non-alpha-non-continuation/native_posix_64.keymap b/app/tests/caps-word/deactivate-by-non-alpha-non-continuation/native_posix_64.keymap deleted file mode 100644 index 3fbb020b5cf..00000000000 --- a/app/tests/caps-word/deactivate-by-non-alpha-non-continuation/native_posix_64.keymap +++ /dev/null @@ -1,17 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_PRESS(1,1,10) - ZMK_MOCK_RELEASE(1,1,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - >; -}; \ No newline at end of file diff --git a/app/tests/caps-word/deactivate-by-second-press/events.patterns b/app/tests/caps-word/deactivate-by-second-press/events.patterns deleted file mode 100644 index fa75ab0c7df..00000000000 --- a/app/tests/caps-word/deactivate-by-second-press/events.patterns +++ /dev/null @@ -1,3 +0,0 @@ -s/.*hid_listener_keycode_//p -s/.*hid_implicit_modifiers_//p -s/.*caps_word_enhance_usage/enhance_usage/p \ No newline at end of file diff --git a/app/tests/caps-word/deactivate-by-second-press/keycode_events.snapshot b/app/tests/caps-word/deactivate-by-second-press/keycode_events.snapshot deleted file mode 100644 index 5181f75b1f8..00000000000 --- a/app/tests/caps-word/deactivate-by-second-press/keycode_events.snapshot +++ /dev/null @@ -1,9 +0,0 @@ -enhance_usage: Enhancing usage 0x04 with modifiers: 0x02 -pressed: usage_page 0x07 keycode 0x04 implicit_mods 0x02 explicit_mods 0x00 -press: Modifiers set to 0x02 -released: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -release: Modifiers set to 0x00 -pressed: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -press: Modifiers set to 0x00 -released: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -release: Modifiers set to 0x00 diff --git a/app/tests/caps-word/deactivate-by-second-press/native_posix.keymap b/app/tests/caps-word/deactivate-by-second-press/native_posix.keymap deleted file mode 100644 index 121a827cce6..00000000000 --- a/app/tests/caps-word/deactivate-by-second-press/native_posix.keymap +++ /dev/null @@ -1,17 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - >; -}; \ No newline at end of file diff --git a/app/tests/caps-word/deactivate-by-second-press/native_posix_64.keymap b/app/tests/caps-word/deactivate-by-second-press/native_posix_64.keymap deleted file mode 100644 index b8ae4ee02eb..00000000000 --- a/app/tests/caps-word/deactivate-by-second-press/native_posix_64.keymap +++ /dev/null @@ -1,17 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10000) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_PRESS(0,1,30) - ZMK_MOCK_RELEASE(0,1,30) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,30) - ZMK_MOCK_PRESS(0,1,30) - ZMK_MOCK_RELEASE(0,1,1000) - >; -}; \ No newline at end of file diff --git a/app/tests/combo/combos-and-holdtaps-0/events.patterns b/app/tests/combo/combos-and-holdtaps-0/events.patterns deleted file mode 100644 index b1342af4d97..00000000000 --- a/app/tests/combo/combos-and-holdtaps-0/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*hid_listener_keycode_//p diff --git a/app/tests/combo/combos-and-holdtaps-0/keycode_events.snapshot b/app/tests/combo/combos-and-holdtaps-0/keycode_events.snapshot deleted file mode 100644 index 16e8744e25a..00000000000 --- a/app/tests/combo/combos-and-holdtaps-0/keycode_events.snapshot +++ /dev/null @@ -1,4 +0,0 @@ -pressed: usage_page 0x07 keycode 0xE0 implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x1C implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0xE0 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x1C implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/combo/combos-and-holdtaps-0/native_posix_64.keymap b/app/tests/combo/combos-and-holdtaps-0/native_posix_64.keymap deleted file mode 100644 index 3438f9bc77d..00000000000 --- a/app/tests/combo/combos-and-holdtaps-0/native_posix_64.keymap +++ /dev/null @@ -1,47 +0,0 @@ -#include -#include -#include - -&mt { - flavor = "hold-preferred"; -}; - -/* -This test fails if the order of event handlers for hold-taps -and combos is wrong. Hold-taps need to process key position events -first so the decision to hold or tap can be made. -*/ -/ { - combos { - compatible = "zmk,combos"; - - combo_two { - timeout-ms = <100>; - key-positions = <1 2>; - bindings = <&kp Y>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &mt LEFT_CONTROL A &kp B - &kp C &none - >; - }; - }; -}; - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_PRESS(0,2,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_RELEASE(0,2,10) - >; -}; \ No newline at end of file diff --git a/app/tests/combo/combos-and-holdtaps-1/events.patterns b/app/tests/combo/combos-and-holdtaps-1/events.patterns deleted file mode 100644 index 833100f6ac4..00000000000 --- a/app/tests/combo/combos-and-holdtaps-1/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*hid_listener_keycode_//p \ No newline at end of file diff --git a/app/tests/combo/combos-and-holdtaps-1/keycode_events.snapshot b/app/tests/combo/combos-and-holdtaps-1/keycode_events.snapshot deleted file mode 100644 index 257d7e34424..00000000000 --- a/app/tests/combo/combos-and-holdtaps-1/keycode_events.snapshot +++ /dev/null @@ -1,4 +0,0 @@ -pressed: usage_page 0x07 keycode 0x1C implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x06 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x1C implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x06 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/combo/combos-and-holdtaps-1/native_posix_64.keymap b/app/tests/combo/combos-and-holdtaps-1/native_posix_64.keymap deleted file mode 100644 index 9120e8c3b4a..00000000000 --- a/app/tests/combo/combos-and-holdtaps-1/native_posix_64.keymap +++ /dev/null @@ -1,42 +0,0 @@ -#include -#include -#include - -&mt { - flavor = "hold-preferred"; -}; - -/* this test checks if hold-taps can be part of a combo */ -/ { - combos { - compatible = "zmk,combos"; - combo_two { - timeout-ms = <100>; - key-positions = <0 1>; - bindings = <&kp Y>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &mt LEFT_CONTROL A &kp B - &kp C &none - >; - }; - }; -}; - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_PRESS(0,2,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_RELEASE(0,2,10) - >; -}; \ No newline at end of file diff --git a/app/tests/combo/combos-and-holdtaps-2/events.patterns b/app/tests/combo/combos-and-holdtaps-2/events.patterns deleted file mode 100644 index 833100f6ac4..00000000000 --- a/app/tests/combo/combos-and-holdtaps-2/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*hid_listener_keycode_//p \ No newline at end of file diff --git a/app/tests/combo/combos-and-holdtaps-2/keycode_events.snapshot b/app/tests/combo/combos-and-holdtaps-2/keycode_events.snapshot deleted file mode 100644 index 7a2ec83f150..00000000000 --- a/app/tests/combo/combos-and-holdtaps-2/keycode_events.snapshot +++ /dev/null @@ -1,2 +0,0 @@ -pressed: usage_page 0x07 keycode 0xE0 implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0xE4 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/combo/combos-and-holdtaps-2/native_posix_64.keymap b/app/tests/combo/combos-and-holdtaps-2/native_posix_64.keymap deleted file mode 100644 index a227fe4c91f..00000000000 --- a/app/tests/combo/combos-and-holdtaps-2/native_posix_64.keymap +++ /dev/null @@ -1,45 +0,0 @@ -#include -#include -#include - -&mt { - flavor = "hold-preferred"; -}; - -/* This test verifies that hold-tap keys can observe - * events which were released from combos. - */ -/ { - combos { - compatible = "zmk,combos"; - combo_one { - timeout-ms = <100>; - key-positions = <0 2>; - bindings = <&kp Y>; - }; - combo_two { - timeout-ms = <100>; - key-positions = <1 3>; - bindings = <&kp Z>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - label = "Default keymap"; - - default_layer { - bindings = < - &mt LEFT_CONTROL A &mt RIGHT_CONTROL B - &none &none - >; - }; - }; -}; - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,0) - ZMK_MOCK_PRESS(0,1,300) - >; -}; \ No newline at end of file diff --git a/app/tests/combo/combos-and-holdtaps-3/events.patterns b/app/tests/combo/combos-and-holdtaps-3/events.patterns deleted file mode 100644 index 833100f6ac4..00000000000 --- a/app/tests/combo/combos-and-holdtaps-3/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*hid_listener_keycode_//p \ No newline at end of file diff --git a/app/tests/combo/combos-and-holdtaps-3/keycode_events.snapshot b/app/tests/combo/combos-and-holdtaps-3/keycode_events.snapshot deleted file mode 100644 index 843832ddbc1..00000000000 --- a/app/tests/combo/combos-and-holdtaps-3/keycode_events.snapshot +++ /dev/null @@ -1,5 +0,0 @@ -pressed: usage_page 0x07 keycode 0xE5 implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x06 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x06 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/combo/combos-and-holdtaps-3/native_posix_64.keymap b/app/tests/combo/combos-and-holdtaps-3/native_posix_64.keymap deleted file mode 100644 index 4fbf24071e6..00000000000 --- a/app/tests/combo/combos-and-holdtaps-3/native_posix_64.keymap +++ /dev/null @@ -1,40 +0,0 @@ -#include -#include -#include - -&mt { - flavor = "hold-preferred"; -}; - -/ { - combos { - compatible = "zmk,combos"; - combo_one { - timeout-ms = <40>; - key-positions = <0 1>; - bindings = <&kp X>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - label = "Default keymap"; - - default_layer { - bindings = < - &kp A &kp B - &mt RSHFT RET &kp C - >; - }; - }; -}; - -&kscan { - events = < - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_PRESS(1,1,10) - ZMK_MOCK_RELEASE(0,1,50) - ZMK_MOCK_RELEASE(1,1,50) - >; -}; diff --git a/app/tests/combo/combos-and-holdtaps-4/events.patterns b/app/tests/combo/combos-and-holdtaps-4/events.patterns deleted file mode 100644 index 833100f6ac4..00000000000 --- a/app/tests/combo/combos-and-holdtaps-4/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*hid_listener_keycode_//p \ No newline at end of file diff --git a/app/tests/combo/combos-and-holdtaps-4/keycode_events.snapshot b/app/tests/combo/combos-and-holdtaps-4/keycode_events.snapshot deleted file mode 100644 index f84bc761b33..00000000000 --- a/app/tests/combo/combos-and-holdtaps-4/keycode_events.snapshot +++ /dev/null @@ -1,4 +0,0 @@ -pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/combo/combos-and-holdtaps-4/native_posix_64.keymap b/app/tests/combo/combos-and-holdtaps-4/native_posix_64.keymap deleted file mode 100644 index 59f4391f288..00000000000 --- a/app/tests/combo/combos-and-holdtaps-4/native_posix_64.keymap +++ /dev/null @@ -1,46 +0,0 @@ -#include -#include -#include - - -#define ZMK_COMBO(name, combo_bindings, keypos, combo_term) \ -/ { \ - combos { \ - compatible = "zmk,combos"; \ - combo_ ## name { \ - key-positions = ; \ - bindings = ; \ - timeout-ms = ; \ - }; \ - }; \ -}; - -ZMK_COMBO(qmark, &kp QMARK, 0 3, 30) -ZMK_COMBO(dllr, &kp DLLR, 1 3, 50) -ZMK_COMBO(tilde, &kp TILDE, 3 4, 50) - -/ { - keymap { - compatible = "zmk,keymap"; - label = "Default keymap"; - - default_layer { - bindings = < - &none &none - &kp A &mt LSHFT T - &none - >; - }; - }; -}; - -&kscan { - rows = <3>; - columns = <2>; - events = < - ZMK_MOCK_PRESS(1,1,500) - ZMK_MOCK_PRESS(1,0,100) - ZMK_MOCK_RELEASE(1,0,500) - ZMK_MOCK_RELEASE(1,1,0) - >; -}; \ No newline at end of file diff --git a/app/tests/combo/layer-filter-0/events.patterns b/app/tests/combo/layer-filter-0/events.patterns deleted file mode 100644 index 833100f6ac4..00000000000 --- a/app/tests/combo/layer-filter-0/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*hid_listener_keycode_//p \ No newline at end of file diff --git a/app/tests/combo/layer-filter-0/keycode_events.snapshot b/app/tests/combo/layer-filter-0/keycode_events.snapshot deleted file mode 100644 index 21bf0c3ffdb..00000000000 --- a/app/tests/combo/layer-filter-0/keycode_events.snapshot +++ /dev/null @@ -1,8 +0,0 @@ -pressed: usage_page 0x07 keycode 0x1B implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x1B implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x1C implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x1C implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/combo/layer-filter-0/native_posix_64.keymap b/app/tests/combo/layer-filter-0/native_posix_64.keymap deleted file mode 100644 index 68077849a34..00000000000 --- a/app/tests/combo/layer-filter-0/native_posix_64.keymap +++ /dev/null @@ -1,78 +0,0 @@ -#include -#include -#include - -/* it is useful to set timeout to a large value when attaching a debugger. */ -#define TIMEOUT (60*60*1000) - -/ { - combos { - compatible = "zmk,combos"; - combo_one { - timeout-ms = ; - key-positions = <0 1>; - bindings = <&kp X>; - layers = <0>; - }; - - combo_two { - timeout-ms = ; - key-positions = <0 1>; - bindings = <&kp Y>; - layers = <1>; - }; - - combo_three { - timeout-ms = ; - key-positions = <0 2>; - bindings = <&kp Z>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kp A &kp B - &kp C &tog 1 - >; - }; - - filtered_layer { - bindings = < - &kp A &kp B - &kp C &tog 0 - >; - }; - }; -}; - -&kscan { - events = < - /* Combo One */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) - /* Combo Three */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(1,1,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(1,1,10) - /* Toggle Layer */ - ZMK_MOCK_PRESS(1,1,10) - ZMK_MOCK_RELEASE(1,1,10) - /* Combo Two */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) - /* Combo Three */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(1,1,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(1,1,10) - >; -}; \ No newline at end of file diff --git a/app/tests/combo/layer-filter-1/events.patterns b/app/tests/combo/layer-filter-1/events.patterns deleted file mode 100644 index 833100f6ac4..00000000000 --- a/app/tests/combo/layer-filter-1/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*hid_listener_keycode_//p \ No newline at end of file diff --git a/app/tests/combo/layer-filter-1/keycode_events.snapshot b/app/tests/combo/layer-filter-1/keycode_events.snapshot deleted file mode 100644 index bb47d85203c..00000000000 --- a/app/tests/combo/layer-filter-1/keycode_events.snapshot +++ /dev/null @@ -1,4 +0,0 @@ -pressed: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/combo/layer-filter-1/native_posix_64.keymap b/app/tests/combo/layer-filter-1/native_posix_64.keymap deleted file mode 100644 index a11b86ad4d9..00000000000 --- a/app/tests/combo/layer-filter-1/native_posix_64.keymap +++ /dev/null @@ -1,40 +0,0 @@ -#include -#include -#include - -/* it is useful to set timeout to a large value when attaching a debugger. */ -#define TIMEOUT (60*60*1000) - -/ { - combos { - compatible = "zmk,combos"; - combo_one { - timeout-ms = ; - key-positions = <0 1>; - bindings = <&kp X>; - layers = <1>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kp A &kp B - &kp C &tog 1 - >; - }; - }; -}; - -&kscan { - events = < - /* Combo One */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) - >; -}; \ No newline at end of file diff --git a/app/tests/combo/multiple-timeouts/events.patterns b/app/tests/combo/multiple-timeouts/events.patterns deleted file mode 100644 index b1342af4d97..00000000000 --- a/app/tests/combo/multiple-timeouts/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*hid_listener_keycode_//p diff --git a/app/tests/combo/multiple-timeouts/keycode_events.snapshot b/app/tests/combo/multiple-timeouts/keycode_events.snapshot deleted file mode 100644 index bb47d85203c..00000000000 --- a/app/tests/combo/multiple-timeouts/keycode_events.snapshot +++ /dev/null @@ -1,4 +0,0 @@ -pressed: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/combo/multiple-timeouts/native_posix_64.keymap b/app/tests/combo/multiple-timeouts/native_posix_64.keymap deleted file mode 100644 index a2edc32fcc3..00000000000 --- a/app/tests/combo/multiple-timeouts/native_posix_64.keymap +++ /dev/null @@ -1,40 +0,0 @@ -#include -#include -#include - -/ { - combos { - compatible = "zmk,combos"; - combo_one { - timeout-ms = <30>; - key-positions = <0 1>; - bindings = <&kp C>; - }; - combo_two { - timeout-ms = <120>; - key-positions = <0 1 2>; - bindings = <&kp C>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kp A &kp B - &none &none - >; - }; - }; -}; - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,100) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) - >; -}; \ No newline at end of file diff --git a/app/tests/combo/overlapping-combos-0/events.patterns b/app/tests/combo/overlapping-combos-0/events.patterns deleted file mode 100644 index 833100f6ac4..00000000000 --- a/app/tests/combo/overlapping-combos-0/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*hid_listener_keycode_//p \ No newline at end of file diff --git a/app/tests/combo/overlapping-combos-0/keycode_events.snapshot b/app/tests/combo/overlapping-combos-0/keycode_events.snapshot deleted file mode 100644 index 9e87293a69c..00000000000 --- a/app/tests/combo/overlapping-combos-0/keycode_events.snapshot +++ /dev/null @@ -1,20 +0,0 @@ -pressed: usage_page 0x07 keycode 0x1B implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x1B implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x1B implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x1B implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x1B implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x1B implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x1B implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x1B implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x1B implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x1B implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x1B implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x1B implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x1C implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x1C implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x1C implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x1C implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x1C implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x1C implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x1C implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x1C implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/combo/overlapping-combos-0/native_posix_64.keymap b/app/tests/combo/overlapping-combos-0/native_posix_64.keymap deleted file mode 100644 index e89a3f22d33..00000000000 --- a/app/tests/combo/overlapping-combos-0/native_posix_64.keymap +++ /dev/null @@ -1,117 +0,0 @@ -#include -#include -#include - -/* - combo 0 timeout inf - combo 01 timeout inf - combo 0123 timeout inf - press 012 in any combination, release any of those keys - expected: combo 012 on key-release - */ - -/* it is useful to set timeout to a large value when attaching a debugger. */ -#define TIMEOUT (60*60*1000) - -/ { - combos { - compatible = "zmk,combos"; - combo_one { - timeout-ms = ; - key-positions = <0 1 2>; - bindings = <&kp X>; - }; - - combo_two { - timeout-ms = ; - key-positions = <0 2>; - bindings = <&kp Y>; - }; - - combo_three { - timeout-ms = ; - key-positions = <1>; - bindings = <&kp Z>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kp A &kp B - &kp C &none - >; - }; - }; -}; -&kscan { - events = < - /* all permutations of combo one press, combo triggered by release */ - /* while debugging these, you may want to set the release_timer to a high number */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_PRESS(0,2,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_RELEASE(0,2,10) - - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(0,2,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,2,10) - ZMK_MOCK_RELEASE(0,1,10) - - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(0,2,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,2,10) - - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_PRESS(0,2,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_RELEASE(0,2,10) - ZMK_MOCK_RELEASE(0,0,10) - - ZMK_MOCK_PRESS(0,2,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,2,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) - - ZMK_MOCK_PRESS(0,2,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,2,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) - - /* all permutations of combo two press and release, combo triggered by release */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(0,2,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,2,10) - - ZMK_MOCK_PRESS(0,2,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,2,10) - ZMK_MOCK_RELEASE(0,0,10) - - ZMK_MOCK_PRESS(0,2,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,2,10) - - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(0,2,10) - ZMK_MOCK_RELEASE(0,2,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/combo/overlapping-combos-1/events.patterns b/app/tests/combo/overlapping-combos-1/events.patterns deleted file mode 100644 index 833100f6ac4..00000000000 --- a/app/tests/combo/overlapping-combos-1/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*hid_listener_keycode_//p \ No newline at end of file diff --git a/app/tests/combo/overlapping-combos-1/keycode_events.snapshot b/app/tests/combo/overlapping-combos-1/keycode_events.snapshot deleted file mode 100644 index e69112369fb..00000000000 --- a/app/tests/combo/overlapping-combos-1/keycode_events.snapshot +++ /dev/null @@ -1,8 +0,0 @@ -pressed: usage_page 0x07 keycode 0x1C implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x1C implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x1C implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x1C implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x1C implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x1C implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x1C implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x1C implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/combo/overlapping-combos-1/native_posix_64.keymap b/app/tests/combo/overlapping-combos-1/native_posix_64.keymap deleted file mode 100644 index 4b0166bee15..00000000000 --- a/app/tests/combo/overlapping-combos-1/native_posix_64.keymap +++ /dev/null @@ -1,65 +0,0 @@ -#include -#include -#include - -/* - combo 01 timeout 50 - combo 012 timeout 100 - AB is pressed within 50ms, C is never pressed. - expected outcome: AB after 100ms -*/ -/ { - combos { - compatible = "zmk,combos"; - combo_two { - timeout-ms = <50>; - key-positions = <0 1>; - bindings = <&kp Y>; - }; - - combo_three { - timeout-ms = <100>; - key-positions = <0 1 2>; - bindings = <&kp X>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kp A &kp B - &kp C &none - >; - }; - }; -}; - -&kscan { - events = < - /* if you're debugging these, remember that the timer can be triggered between - events while stepping through code. */ - /* all permutations of combo two press and release, combo triggered by timeout */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(0,1,100) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) - - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_PRESS(0,0,100) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) - - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_PRESS(0,0,100) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) - - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(0,1,100) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/combo/overlapping-combos-2/events.patterns b/app/tests/combo/overlapping-combos-2/events.patterns deleted file mode 100644 index 833100f6ac4..00000000000 --- a/app/tests/combo/overlapping-combos-2/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*hid_listener_keycode_//p \ No newline at end of file diff --git a/app/tests/combo/overlapping-combos-2/keycode_events.snapshot b/app/tests/combo/overlapping-combos-2/keycode_events.snapshot deleted file mode 100644 index 257d7e34424..00000000000 --- a/app/tests/combo/overlapping-combos-2/keycode_events.snapshot +++ /dev/null @@ -1,4 +0,0 @@ -pressed: usage_page 0x07 keycode 0x1C implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x06 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x1C implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x06 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/combo/overlapping-combos-2/native_posix_64.keymap b/app/tests/combo/overlapping-combos-2/native_posix_64.keymap deleted file mode 100644 index 5c38bcfc403..00000000000 --- a/app/tests/combo/overlapping-combos-2/native_posix_64.keymap +++ /dev/null @@ -1,52 +0,0 @@ -#include -#include -#include - -/* - combo 01 timeout 100 - combo 0123 timeout 100 - press 012, wait until timeout runs out - expected: combo 01 after 100ms, immediately followed by key 2. - */ -/ { - combos { - compatible = "zmk,combos"; - combo_two { - timeout-ms = <100>; - key-positions = <0 1>; - bindings = <&kp Y>; - }; - - combo_four { - timeout-ms = <100>; - key-positions = <0 1 2 3>; - bindings = <&kp W>; - }; - - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kp A &kp B - &kp C &none - >; - }; - }; -}; - -&kscan { - events = < - /* if you're debugging these, remember that the timer can be triggered between - events while stepping through code. */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_PRESS(0,2,100) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_RELEASE(0,2,100) - >; -}; \ No newline at end of file diff --git a/app/tests/combo/overlapping-combos-3/events.patterns b/app/tests/combo/overlapping-combos-3/events.patterns deleted file mode 100644 index 833100f6ac4..00000000000 --- a/app/tests/combo/overlapping-combos-3/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*hid_listener_keycode_//p \ No newline at end of file diff --git a/app/tests/combo/overlapping-combos-3/keycode_events.snapshot b/app/tests/combo/overlapping-combos-3/keycode_events.snapshot deleted file mode 100644 index 38513aabade..00000000000 --- a/app/tests/combo/overlapping-combos-3/keycode_events.snapshot +++ /dev/null @@ -1,4 +0,0 @@ -pressed: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x1C implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x1C implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/combo/overlapping-combos-3/native_posix_64.keymap b/app/tests/combo/overlapping-combos-3/native_posix_64.keymap deleted file mode 100644 index 48e3397f4a6..00000000000 --- a/app/tests/combo/overlapping-combos-3/native_posix_64.keymap +++ /dev/null @@ -1,53 +0,0 @@ -#include -#include -#include - -/* - combo 12 timeout 100 - combo 0123 timeout 100 - press 012, release 2 - expected: key pos 0 followed by combo 12 - */ -/ { - combos { - compatible = "zmk,combos"; - combo_two { - timeout-ms = <100>; - key-positions = <1 2>; - bindings = <&kp Y>; - }; - - - combo_four { - timeout-ms = <100>; - key-positions = <0 1 2 3>; - bindings = <&kp W>; - }; - - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kp A &kp B - &kp C &none - >; - }; - }; -}; - -&kscan { - events = < - /* if you're debugging these, remember that the timer can be triggered between - events while stepping through code. */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_PRESS(0,2,100) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_RELEASE(0,2,100) - >; -}; \ No newline at end of file diff --git a/app/tests/combo/overlapping-combos-4-different-timeouts/events.patterns b/app/tests/combo/overlapping-combos-4-different-timeouts/events.patterns deleted file mode 100644 index 89015deee06..00000000000 --- a/app/tests/combo/overlapping-combos-4-different-timeouts/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*\(hid_listener_keycode_pressed\|filter_timed_out_candidates\): //p \ No newline at end of file diff --git a/app/tests/combo/overlapping-combos-4-different-timeouts/keycode_events.snapshot b/app/tests/combo/overlapping-combos-4-different-timeouts/keycode_events.snapshot deleted file mode 100644 index 8fe441ff46e..00000000000 --- a/app/tests/combo/overlapping-combos-4-different-timeouts/keycode_events.snapshot +++ /dev/null @@ -1,8 +0,0 @@ -after filtering out timed out combo candidates: remaining_candidates=2 timestamp=71 -after filtering out timed out combo candidates: remaining_candidates=1 timestamp=81 -after filtering out timed out combo candidates: remaining_candidates=0 timestamp=91 -usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -after filtering out timed out combo candidates: remaining_candidates=2 timestamp=143 -after filtering out timed out combo candidates: remaining_candidates=1 timestamp=153 -after filtering out timed out combo candidates: remaining_candidates=1 timestamp=159 -usage_page 0x07 keycode 0x1D implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/combo/overlapping-combos-4-different-timeouts/native_posix_64.keymap b/app/tests/combo/overlapping-combos-4-different-timeouts/native_posix_64.keymap deleted file mode 100644 index 8967207987b..00000000000 --- a/app/tests/combo/overlapping-combos-4-different-timeouts/native_posix_64.keymap +++ /dev/null @@ -1,98 +0,0 @@ -#include -#include -#include - -#define kA 0 -#define kB 1 -#define kC 2 -#define kD 3 - -/ { - combos { - compatible = "zmk,combos"; - - // Intentionally out of order in the config, to make sure 'combo.c' handles it properly - combo_40 { - timeout-ms = <40>; - key-positions = ; - bindings = <&kp Z>; - }; - combo_20 { - timeout-ms = <20>; - key-positions = ; - bindings = <&kp X>; - }; - combo_30 { - timeout-ms = <30>; - key-positions = ; - bindings = <&kp Y>; - }; - - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kp A &kp B - &kp C &kp D - >; - }; - }; -}; - -#define press_A_and_wait(delay_next) \ - ZMK_MOCK_PRESS(0,0,delay_next) -#define press_B_and_wait(delay_next) \ - ZMK_MOCK_PRESS(0,1,delay_next) -#define press_C_and_wait(delay_next) \ - ZMK_MOCK_PRESS(1,0,delay_next) -#define press_D_and_wait(delay_next) \ - ZMK_MOCK_PRESS(1,1,delay_next) - -#define release_A_and_wait(delay_next) \ - ZMK_MOCK_RELEASE(0,0,delay_next) -#define release_D_and_wait(delay_next) \ - ZMK_MOCK_RELEASE(1,1,delay_next) - -&kscan { - events = < - /* Note: This starts at T+50 because the ZMK_MOCK_PRESS seems to launch the first event at T+(first wait duration). So in our case T+50 */ - - - - /*** First Phase: All 3 combos expire ***/ - - /* T+50+0= T+50: Press A and wait 50ms */ - press_A_and_wait(50) - - /* T+50+20= T+70: 'combo_20' should expire */ - /* T+50+30= T+80: 'combo_30' should expire */ - /* T+50+40= T+90: 'combo_40' should expire, and we should send the keycode 'A' */ - - /* T+50+50= T+100: We release A and wait 20ms */ - release_A_and_wait(20) - - - - /*** Second Phase: 2 combo expire, 1 combo triggers ***/ - - /* T+120+0= T+120: Press A and wait 35ms */ - press_A_and_wait(35) - - /* T+120+20= T+140: 'combo_20' should expire */ - /* T+120+30= T+150: 'combo_30' should expire */ - - /* T+120+35= T+155: We press 'D', this should trigger 'combo_40' and send the keycode 'Z'. We wait 15ms */ - press_D_and_wait(15) - - - - /*** Cleanup ***/ - /* T+120+50= T+170: We release both keys */ - release_A_and_wait(20) - release_D_and_wait(0) - >; -}; \ No newline at end of file diff --git a/app/tests/combo/partially-overlapping-combos/events.patterns b/app/tests/combo/partially-overlapping-combos/events.patterns deleted file mode 100644 index b1342af4d97..00000000000 --- a/app/tests/combo/partially-overlapping-combos/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*hid_listener_keycode_//p diff --git a/app/tests/combo/partially-overlapping-combos/keycode_events.snapshot b/app/tests/combo/partially-overlapping-combos/keycode_events.snapshot deleted file mode 100644 index cca61244037..00000000000 --- a/app/tests/combo/partially-overlapping-combos/keycode_events.snapshot +++ /dev/null @@ -1,16 +0,0 @@ -pressed: usage_page 0x07 keycode 0x1B implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x1B implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x1B implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x1B implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x1B implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x1B implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x1B implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x1B implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x1C implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x1C implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x1C implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x1C implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x1C implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x1C implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x1C implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x1C implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/combo/partially-overlapping-combos/native_posix_64.keymap b/app/tests/combo/partially-overlapping-combos/native_posix_64.keymap deleted file mode 100644 index 55e8f1e77b6..00000000000 --- a/app/tests/combo/partially-overlapping-combos/native_posix_64.keymap +++ /dev/null @@ -1,84 +0,0 @@ -#include -#include -#include - -/ { - combos { - compatible = "zmk,combos"; - combo_one { - timeout-ms = <30>; - key-positions = <0 1>; - bindings = <&kp X>; - }; - - combo_two { - timeout-ms = <30>; - key-positions = <0 2>; - bindings = <&kp Y>; - }; - - combo_three { - timeout-ms = <30>; - key-positions = <3>; - bindings = <&kp Z>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kp A &kp B - &kp C &none - >; - }; - }; -}; - -&kscan { - events = < - /* all permutations of combo one press and release */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) - - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) - - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) - - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) - - /* all permutations of combo two press and release */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(0,2,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,2,10) - - ZMK_MOCK_PRESS(0,2,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,2,10) - ZMK_MOCK_RELEASE(0,0,10) - - ZMK_MOCK_PRESS(0,2,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,2,10) - - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(0,2,10) - ZMK_MOCK_RELEASE(0,2,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; diff --git a/app/tests/combo/press-release-long-combo-complete/events.patterns b/app/tests/combo/press-release-long-combo-complete/events.patterns deleted file mode 100644 index b1342af4d97..00000000000 --- a/app/tests/combo/press-release-long-combo-complete/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*hid_listener_keycode_//p diff --git a/app/tests/combo/press-release-long-combo-complete/keycode_events.snapshot b/app/tests/combo/press-release-long-combo-complete/keycode_events.snapshot deleted file mode 100644 index cc6fa00e9a2..00000000000 --- a/app/tests/combo/press-release-long-combo-complete/keycode_events.snapshot +++ /dev/null @@ -1,2 +0,0 @@ -pressed: usage_page 0x07 keycode 0x1D implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x1D implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/combo/press-release-long-combo-complete/native_posix_64.keymap b/app/tests/combo/press-release-long-combo-complete/native_posix_64.keymap deleted file mode 100644 index da2e9483ff7..00000000000 --- a/app/tests/combo/press-release-long-combo-complete/native_posix_64.keymap +++ /dev/null @@ -1,39 +0,0 @@ -#include -#include -#include - -/ { - combos { - compatible = "zmk,combos"; - combo_one { - timeout-ms = <80>; - key-positions = <0 1 2 3>; - bindings = <&kp Z>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kp A &kp B - &kp C &kp D - >; - }; - }; -}; - -&kscan { - events = < - ZMK_MOCK_PRESS(1,1,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,100) - ZMK_MOCK_RELEASE(1,0,100) - ZMK_MOCK_RELEASE(0,1,100) - ZMK_MOCK_RELEASE(1,1,100) - >; -}; diff --git a/app/tests/combo/press-release-long-combo-incomplete/events.patterns b/app/tests/combo/press-release-long-combo-incomplete/events.patterns deleted file mode 100644 index b1342af4d97..00000000000 --- a/app/tests/combo/press-release-long-combo-incomplete/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*hid_listener_keycode_//p diff --git a/app/tests/combo/press-release-long-combo-incomplete/keycode_events.snapshot b/app/tests/combo/press-release-long-combo-incomplete/keycode_events.snapshot deleted file mode 100644 index e7c0cb124ac..00000000000 --- a/app/tests/combo/press-release-long-combo-incomplete/keycode_events.snapshot +++ /dev/null @@ -1,4 +0,0 @@ -pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/combo/press-release-long-combo-incomplete/native_posix_64.keymap b/app/tests/combo/press-release-long-combo-incomplete/native_posix_64.keymap deleted file mode 100644 index b1494cecf20..00000000000 --- a/app/tests/combo/press-release-long-combo-incomplete/native_posix_64.keymap +++ /dev/null @@ -1,35 +0,0 @@ -#include -#include -#include - -/ { - combos { - compatible = "zmk,combos"; - combo_one { - timeout-ms = <80>; - key-positions = <0 1 2 3>; - bindings = <&kp Z>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kp A &kp B - &kp C &kp D - >; - }; - }; -}; - -&kscan { - events = < - ZMK_MOCK_PRESS(1,1,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,100) - ZMK_MOCK_RELEASE(1,1,100) - >; -}; \ No newline at end of file diff --git a/app/tests/combo/press-release-long-combo-wrong-last-key/events.patterns b/app/tests/combo/press-release-long-combo-wrong-last-key/events.patterns deleted file mode 100644 index b1342af4d97..00000000000 --- a/app/tests/combo/press-release-long-combo-wrong-last-key/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*hid_listener_keycode_//p diff --git a/app/tests/combo/press-release-long-combo-wrong-last-key/keycode_events.snapshot b/app/tests/combo/press-release-long-combo-wrong-last-key/keycode_events.snapshot deleted file mode 100644 index d1b9db96fdd..00000000000 --- a/app/tests/combo/press-release-long-combo-wrong-last-key/keycode_events.snapshot +++ /dev/null @@ -1,6 +0,0 @@ -pressed: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/combo/press-release-long-combo-wrong-last-key/native_posix_64.keymap b/app/tests/combo/press-release-long-combo-wrong-last-key/native_posix_64.keymap deleted file mode 100644 index 8769286413b..00000000000 --- a/app/tests/combo/press-release-long-combo-wrong-last-key/native_posix_64.keymap +++ /dev/null @@ -1,37 +0,0 @@ -#include -#include -#include - -/ { - combos { - compatible = "zmk,combos"; - combo_one { - timeout-ms = <80>; - key-positions = <0 1 2>; - bindings = <&kp Z>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kp A &kp B - &kp C &kp D - >; - }; - }; -}; - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_PRESS(1,1,10) - ZMK_MOCK_RELEASE(1,1,100) - ZMK_MOCK_RELEASE(0,1,100) - ZMK_MOCK_RELEASE(0,0,100) - >; -}; diff --git a/app/tests/combo/press-release/events.patterns b/app/tests/combo/press-release/events.patterns deleted file mode 100644 index b1342af4d97..00000000000 --- a/app/tests/combo/press-release/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*hid_listener_keycode_//p diff --git a/app/tests/combo/press-release/keycode_events.snapshot b/app/tests/combo/press-release/keycode_events.snapshot deleted file mode 100644 index d0767ca4fa7..00000000000 --- a/app/tests/combo/press-release/keycode_events.snapshot +++ /dev/null @@ -1,8 +0,0 @@ -pressed: usage_page 0x07 keycode 0x06 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x06 implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x06 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x06 implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x06 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x06 implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x06 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x06 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/combo/press-release/native_posix_64.keymap b/app/tests/combo/press-release/native_posix_64.keymap deleted file mode 100644 index 26cd241b0bb..00000000000 --- a/app/tests/combo/press-release/native_posix_64.keymap +++ /dev/null @@ -1,51 +0,0 @@ -#include -#include -#include - -/ { - combos { - compatible = "zmk,combos"; - combo_one { - timeout-ms = <30>; - key-positions = <0 1>; - bindings = <&kp C>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kp A &kp B - &none &none - >; - }; - }; -}; - -&kscan { - events = < - /* all different combinations of press and release order */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) - - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) - - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) - - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/combo/press-timeout/events.patterns b/app/tests/combo/press-timeout/events.patterns deleted file mode 100644 index b1342af4d97..00000000000 --- a/app/tests/combo/press-timeout/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*hid_listener_keycode_//p diff --git a/app/tests/combo/press-timeout/keycode_events.snapshot b/app/tests/combo/press-timeout/keycode_events.snapshot deleted file mode 100644 index bb47d85203c..00000000000 --- a/app/tests/combo/press-timeout/keycode_events.snapshot +++ /dev/null @@ -1,4 +0,0 @@ -pressed: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/combo/press-timeout/native_posix_64.keymap b/app/tests/combo/press-timeout/native_posix_64.keymap deleted file mode 100644 index a71de45a7d2..00000000000 --- a/app/tests/combo/press-timeout/native_posix_64.keymap +++ /dev/null @@ -1,35 +0,0 @@ -#include -#include -#include - -/ { - combos { - compatible = "zmk,combos"; - combo_one { - timeout-ms = <30>; - key-positions = <0 1>; - bindings = <&kp C>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kp A &kp B - &none &none - >; - }; - }; -}; - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,100) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) - >; -}; \ No newline at end of file diff --git a/app/tests/combo/press1-press2-release1-release2/events.patterns b/app/tests/combo/press1-press2-release1-release2/events.patterns deleted file mode 100644 index 833100f6ac4..00000000000 --- a/app/tests/combo/press1-press2-release1-release2/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*hid_listener_keycode_//p \ No newline at end of file diff --git a/app/tests/combo/press1-press2-release1-release2/keycode_events.snapshot b/app/tests/combo/press1-press2-release1-release2/keycode_events.snapshot deleted file mode 100644 index 0539a7ca494..00000000000 --- a/app/tests/combo/press1-press2-release1-release2/keycode_events.snapshot +++ /dev/null @@ -1,4 +0,0 @@ -pressed: usage_page 0x07 keycode 0x06 implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x06 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/combo/press1-press2-release1-release2/native_posix_64.keymap b/app/tests/combo/press1-press2-release1-release2/native_posix_64.keymap deleted file mode 100644 index 2e0a67a3e7f..00000000000 --- a/app/tests/combo/press1-press2-release1-release2/native_posix_64.keymap +++ /dev/null @@ -1,45 +0,0 @@ -#include -#include -#include - -/ { - combos { - compatible = "zmk,combos"; - combo_one { - timeout-ms = <30>; - key-positions = <0 1>; - bindings = <&kp C>; - }; - - combo_two { - timeout-ms = <30>; - key-positions = <2 3>; - bindings = <&kp D>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kp A &kp B - &kp Z &kp Y - >; - }; - }; -}; - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_PRESS(1,1,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(1,1,10) - >; -}; \ No newline at end of file diff --git a/app/tests/combo/press1-press2-release2-release1/events.patterns b/app/tests/combo/press1-press2-release2-release1/events.patterns deleted file mode 100644 index b1342af4d97..00000000000 --- a/app/tests/combo/press1-press2-release2-release1/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*hid_listener_keycode_//p diff --git a/app/tests/combo/press1-press2-release2-release1/keycode_events.snapshot b/app/tests/combo/press1-press2-release2-release1/keycode_events.snapshot deleted file mode 100644 index c473ece0552..00000000000 --- a/app/tests/combo/press1-press2-release2-release1/keycode_events.snapshot +++ /dev/null @@ -1,4 +0,0 @@ -pressed: usage_page 0x07 keycode 0x06 implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x06 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/combo/press1-press2-release2-release1/native_posix_64.keymap b/app/tests/combo/press1-press2-release2-release1/native_posix_64.keymap deleted file mode 100644 index 8d4838eb511..00000000000 --- a/app/tests/combo/press1-press2-release2-release1/native_posix_64.keymap +++ /dev/null @@ -1,46 +0,0 @@ -#include -#include -#include - -/ { - combos { - compatible = "zmk,combos"; - combo_one { - timeout-ms = <30>; - key-positions = <0 1>; - bindings = <&kp C>; - }; - - combo_two { - timeout-ms = <30>; - key-positions = <2 3>; - bindings = <&kp D>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kp A &kp B - &kp Z &kp Y - >; - }; - }; -}; - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_PRESS(1,1,10) - - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(1,1,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) - >; -}; \ No newline at end of file diff --git a/app/tests/combo/press1-release1-press2-release2/events.patterns b/app/tests/combo/press1-release1-press2-release2/events.patterns deleted file mode 100644 index 833100f6ac4..00000000000 --- a/app/tests/combo/press1-release1-press2-release2/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*hid_listener_keycode_//p \ No newline at end of file diff --git a/app/tests/combo/press1-release1-press2-release2/keycode_events.snapshot b/app/tests/combo/press1-release1-press2-release2/keycode_events.snapshot deleted file mode 100644 index 3c8dc1381b1..00000000000 --- a/app/tests/combo/press1-release1-press2-release2/keycode_events.snapshot +++ /dev/null @@ -1,4 +0,0 @@ -pressed: usage_page 0x07 keycode 0x06 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x06 implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/combo/press1-release1-press2-release2/native_posix_64.keymap b/app/tests/combo/press1-release1-press2-release2/native_posix_64.keymap deleted file mode 100644 index 9c75e5705b1..00000000000 --- a/app/tests/combo/press1-release1-press2-release2/native_posix_64.keymap +++ /dev/null @@ -1,46 +0,0 @@ -#include -#include -#include - -/ { - combos { - compatible = "zmk,combos"; - combo_one { - timeout-ms = <30>; - key-positions = <0 1>; - bindings = <&kp C>; - }; - - combo_two { - timeout-ms = <30>; - key-positions = <2 3>; - bindings = <&kp D>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kp A &kp B - &kp Z &kp Y - >; - }; - }; -}; - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) - - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_PRESS(1,1,10) - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(1,1,10) - >; -}; \ No newline at end of file diff --git a/app/tests/combo/require-prior-idle/events.patterns b/app/tests/combo/require-prior-idle/events.patterns deleted file mode 100644 index 833100f6ac4..00000000000 --- a/app/tests/combo/require-prior-idle/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*hid_listener_keycode_//p \ No newline at end of file diff --git a/app/tests/combo/require-prior-idle/keycode_events.snapshot b/app/tests/combo/require-prior-idle/keycode_events.snapshot deleted file mode 100644 index ee4dd064c61..00000000000 --- a/app/tests/combo/require-prior-idle/keycode_events.snapshot +++ /dev/null @@ -1,14 +0,0 @@ -pressed: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x1B implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x1B implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x1B implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x1B implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x1C implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x1C implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/combo/require-prior-idle/native_posix_64.keymap b/app/tests/combo/require-prior-idle/native_posix_64.keymap deleted file mode 100644 index fcd94056c4d..00000000000 --- a/app/tests/combo/require-prior-idle/native_posix_64.keymap +++ /dev/null @@ -1,64 +0,0 @@ -#include -#include -#include - -/ { - combos { - compatible = "zmk,combos"; - combo_one { - timeout-ms = <50>; - key-positions = <0 1>; - bindings = <&kp X>; - require-prior-idle-ms = <100>; - }; - - combo_two { - timeout-ms = <50>; - key-positions = <0 2>; - bindings = <&kp Y>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kp A &kp B - &kp C &kp D - >; - }; - }; -}; - -&kscan { - events = < - /* Tap A */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,60) - /* Quick Tap A and B */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,1,200) - /* Combo One */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) - /* Combo One Again (shouldn't quick tap) */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) - /* Tap A */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,60) - /* Combo 2 */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(1,0,10) - >; -}; diff --git a/app/tests/combo/slowrelease-disabled/events.patterns b/app/tests/combo/slowrelease-disabled/events.patterns deleted file mode 100644 index b1342af4d97..00000000000 --- a/app/tests/combo/slowrelease-disabled/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*hid_listener_keycode_//p diff --git a/app/tests/combo/slowrelease-disabled/keycode_events.snapshot b/app/tests/combo/slowrelease-disabled/keycode_events.snapshot deleted file mode 100644 index 3c8dc1381b1..00000000000 --- a/app/tests/combo/slowrelease-disabled/keycode_events.snapshot +++ /dev/null @@ -1,4 +0,0 @@ -pressed: usage_page 0x07 keycode 0x06 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x06 implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/combo/slowrelease-disabled/native_posix_64.keymap b/app/tests/combo/slowrelease-disabled/native_posix_64.keymap deleted file mode 100644 index 46b35be02ee..00000000000 --- a/app/tests/combo/slowrelease-disabled/native_posix_64.keymap +++ /dev/null @@ -1,38 +0,0 @@ -#include -#include -#include - -/ { - combos { - compatible = "zmk,combos"; - combo_one { - timeout-ms = <30>; - key-positions = <0 1>; - bindings = <&kp C>; - /* no slow-release! */ - }; - }; - - keymap { - compatible = "zmk,keymap"; - label = "Default keymap"; - - default_layer { - bindings = < - &kp A &kp B - &kp D &none - >; - }; - }; -}; - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) /* this should release the combo */ - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_RELEASE(1,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/combo/slowrelease-enabled/events.patterns b/app/tests/combo/slowrelease-enabled/events.patterns deleted file mode 100644 index b1342af4d97..00000000000 --- a/app/tests/combo/slowrelease-enabled/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*hid_listener_keycode_//p diff --git a/app/tests/combo/slowrelease-enabled/keycode_events.snapshot b/app/tests/combo/slowrelease-enabled/keycode_events.snapshot deleted file mode 100644 index 0539a7ca494..00000000000 --- a/app/tests/combo/slowrelease-enabled/keycode_events.snapshot +++ /dev/null @@ -1,4 +0,0 @@ -pressed: usage_page 0x07 keycode 0x06 implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x06 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/combo/slowrelease-enabled/native_posix_64.keymap b/app/tests/combo/slowrelease-enabled/native_posix_64.keymap deleted file mode 100644 index d64876da557..00000000000 --- a/app/tests/combo/slowrelease-enabled/native_posix_64.keymap +++ /dev/null @@ -1,38 +0,0 @@ -#include -#include -#include - -/ { - combos { - compatible = "zmk,combos"; - combo_one { - timeout-ms = <30>; - key-positions = <0 1>; - bindings = <&kp C>; - slow-release; - }; - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kp A &kp B - &kp D &none - >; - }; - }; -}; - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) /* this should not release the combo yet */ - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_RELEASE(1,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/conditional-layer/chained-activation/events.patterns b/app/tests/conditional-layer/chained-activation/events.patterns deleted file mode 100644 index 14ded7959fd..00000000000 --- a/app/tests/conditional-layer/chained-activation/events.patterns +++ /dev/null @@ -1,3 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*conditional_layer/cl/p diff --git a/app/tests/conditional-layer/chained-activation/keycode_events.snapshot b/app/tests/conditional-layer/chained-activation/keycode_events.snapshot deleted file mode 100644 index f847391faad..00000000000 --- a/app/tests/conditional-layer/chained-activation/keycode_events.snapshot +++ /dev/null @@ -1,10 +0,0 @@ -mo_pressed: position 2 layer 1 -mo_pressed: position 3 layer 2 -cl_activate: layer 3 -cl_activate: layer 4 -kp_pressed: usage_page 0x07 keycode 0x0C implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x0C implicit_mods 0x00 explicit_mods 0x00 -mo_released: position 3 layer 2 -cl_deactivate: layer 3 -cl_deactivate: layer 4 -mo_released: position 2 layer 1 diff --git a/app/tests/conditional-layer/chained-activation/native_posix_64.keymap b/app/tests/conditional-layer/chained-activation/native_posix_64.keymap deleted file mode 100644 index d799cc5e5e6..00000000000 --- a/app/tests/conditional-layer/chained-activation/native_posix_64.keymap +++ /dev/null @@ -1,62 +0,0 @@ -#include -#include -#include - -/ { - conditional_layers { - compatible = "zmk,conditional-layers"; - conditional_layer_1 { - if-layers = <1 2>; - then-layer = <3>; - }; - conditional_layer_2 { - if-layers = <1 3>; - then-layer = <4>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - default_layer { - bindings = < - &kp A &kp B - &mo 1 &mo 2 - >; - }; - layer_1 { - bindings = < - &kp C &kp D - &trans &trans - >; - }; - layer_2 { - bindings = < - &kp E &kp F - &trans &trans - >; - }; - layer_3 { - bindings = < - &kp G &kp H - &trans &trans - >; - }; - layer_4 { - bindings = < - &kp I &kp J - &trans &trans - >; - }; - }; -}; - -&kscan { - events = < - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_PRESS(1,1,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(1,1,10) - ZMK_MOCK_RELEASE(1,0,10) - >; -}; diff --git a/app/tests/conditional-layer/mo-overlap/events.patterns b/app/tests/conditional-layer/mo-overlap/events.patterns deleted file mode 100644 index 14ded7959fd..00000000000 --- a/app/tests/conditional-layer/mo-overlap/events.patterns +++ /dev/null @@ -1,3 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*conditional_layer/cl/p diff --git a/app/tests/conditional-layer/mo-overlap/keycode_events.snapshot b/app/tests/conditional-layer/mo-overlap/keycode_events.snapshot deleted file mode 100644 index 0200d8de968..00000000000 --- a/app/tests/conditional-layer/mo-overlap/keycode_events.snapshot +++ /dev/null @@ -1,17 +0,0 @@ -mo_pressed: position 1 layer 3 -cl_deactivate: layer 3 -kp_pressed: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -mo_pressed: position 2 layer 1 -mo_pressed: position 3 layer 2 -cl_activate: layer 3 -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -mo_released: position 3 layer 2 -cl_deactivate: layer 3 -mo_released: position 2 layer 1 -kp_pressed: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -mo_released: position 1 layer 3 -kp_pressed: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/conditional-layer/mo-overlap/native_posix_64.keymap b/app/tests/conditional-layer/mo-overlap/native_posix_64.keymap deleted file mode 100644 index 1518fc8a078..00000000000 --- a/app/tests/conditional-layer/mo-overlap/native_posix_64.keymap +++ /dev/null @@ -1,60 +0,0 @@ -#include -#include -#include - -/ { - conditional_layers { - compatible = "zmk,conditional-layers"; - tri_layer { - if-layers = <1 2>; - then-layer = <3>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - default_layer { - bindings = < - &kp A &mo 3 - &mo 1 &mo 2 - >; - }; - layer_1 { - bindings = < - &kp B &trans - &trans &trans - >; - }; - layer_2 { - bindings = < - &kp C &trans - &trans &trans - >; - }; - layer_3 { - bindings = < - &kp D &trans - &trans &trans - >; - }; - }; -}; - -&kscan { - events = < - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_PRESS(1,1,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(1,1,10) - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; diff --git a/app/tests/conditional-layer/multiple-configs/events.patterns b/app/tests/conditional-layer/multiple-configs/events.patterns deleted file mode 100644 index 14ded7959fd..00000000000 --- a/app/tests/conditional-layer/multiple-configs/events.patterns +++ /dev/null @@ -1,3 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*conditional_layer/cl/p diff --git a/app/tests/conditional-layer/multiple-configs/keycode_events.snapshot b/app/tests/conditional-layer/multiple-configs/keycode_events.snapshot deleted file mode 100644 index a076a639e06..00000000000 --- a/app/tests/conditional-layer/multiple-configs/keycode_events.snapshot +++ /dev/null @@ -1,16 +0,0 @@ -mo_pressed: position 2 layer 1 -mo_pressed: position 3 layer 2 -cl_activate: layer 4 -kp_pressed: usage_page 0x07 keycode 0x08 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x08 implicit_mods 0x00 explicit_mods 0x00 -mo_pressed: position 1 layer 3 -cl_activate: layer 5 -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -mo_released: position 1 layer 3 -cl_deactivate: layer 5 -kp_pressed: usage_page 0x07 keycode 0x08 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x08 implicit_mods 0x00 explicit_mods 0x00 -mo_released: position 3 layer 2 -cl_deactivate: layer 4 -mo_released: position 2 layer 1 diff --git a/app/tests/conditional-layer/multiple-configs/native_posix_64.keymap b/app/tests/conditional-layer/multiple-configs/native_posix_64.keymap deleted file mode 100644 index 8290649f9e4..00000000000 --- a/app/tests/conditional-layer/multiple-configs/native_posix_64.keymap +++ /dev/null @@ -1,74 +0,0 @@ -#include -#include -#include - -/ { - conditional_layers { - compatible = "zmk,conditional-layers"; - tri_layer { - if-layers = <1 2>; - then-layer = <4>; - }; - quad_layer { - if-layers = <1 2 3>; - then-layer = <5>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - default_layer { - bindings = < - &kp A &mo 3 - &mo 1 &mo 2 - >; - }; - layer_1 { - bindings = < - &kp B &trans - &trans &trans - >; - }; - layer_2 { - bindings = < - &kp C &trans - &trans &trans - >; - }; - layer_3 { - bindings = < - &kp D &trans - &trans &trans - >; - }; - layer_4 { - bindings = < - &kp E &trans - &trans &trans - >; - }; - layer_5 { - bindings = < - &kp F &trans - &trans &trans - >; - }; - }; -}; - -&kscan { - events = < - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_PRESS(1,1,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(1,1,10) - ZMK_MOCK_RELEASE(1,0,10) - >; -}; diff --git a/app/tests/conditional-layer/quad-layer/events.patterns b/app/tests/conditional-layer/quad-layer/events.patterns deleted file mode 100644 index 14ded7959fd..00000000000 --- a/app/tests/conditional-layer/quad-layer/events.patterns +++ /dev/null @@ -1,3 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*conditional_layer/cl/p diff --git a/app/tests/conditional-layer/quad-layer/keycode_events.snapshot b/app/tests/conditional-layer/quad-layer/keycode_events.snapshot deleted file mode 100644 index fb54a6caa3e..00000000000 --- a/app/tests/conditional-layer/quad-layer/keycode_events.snapshot +++ /dev/null @@ -1,10 +0,0 @@ -mo_pressed: position 2 layer 1 -mo_pressed: position 3 layer 2 -mo_pressed: position 1 layer 3 -cl_activate: layer 4 -kp_pressed: usage_page 0x07 keycode 0x08 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x08 implicit_mods 0x00 explicit_mods 0x00 -mo_released: position 1 layer 3 -cl_deactivate: layer 4 -mo_released: position 3 layer 2 -mo_released: position 2 layer 1 diff --git a/app/tests/conditional-layer/quad-layer/native_posix_64.keymap b/app/tests/conditional-layer/quad-layer/native_posix_64.keymap deleted file mode 100644 index 300b1f75f24..00000000000 --- a/app/tests/conditional-layer/quad-layer/native_posix_64.keymap +++ /dev/null @@ -1,60 +0,0 @@ -#include -#include -#include - -/ { - conditional_layers { - compatible = "zmk,conditional-layers"; - quad_layer { - if-layers = <1 2 3>; - then-layer = <4>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - default_layer { - bindings = < - &kp A &mo 3 - &mo 1 &mo 2 - >; - }; - layer_1 { - bindings = < - &kp B &trans - &trans &trans - >; - }; - layer_2 { - bindings = < - &kp C &trans - &trans &trans - >; - }; - layer_3 { - bindings = < - &kp D &trans - &trans &trans - >; - }; - layer_4 { - bindings = < - &kp E &trans - &trans &trans - >; - }; - }; -}; - -&kscan { - events = < - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_PRESS(1,1,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_RELEASE(1,1,10) - ZMK_MOCK_RELEASE(1,0,10) - >; -}; diff --git a/app/tests/conditional-layer/same-layer-reached-both-ways/events.patterns b/app/tests/conditional-layer/same-layer-reached-both-ways/events.patterns deleted file mode 100644 index 14ded7959fd..00000000000 --- a/app/tests/conditional-layer/same-layer-reached-both-ways/events.patterns +++ /dev/null @@ -1,3 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*conditional_layer/cl/p diff --git a/app/tests/conditional-layer/same-layer-reached-both-ways/keycode_events.snapshot b/app/tests/conditional-layer/same-layer-reached-both-ways/keycode_events.snapshot deleted file mode 100644 index 49fc0f873a3..00000000000 --- a/app/tests/conditional-layer/same-layer-reached-both-ways/keycode_events.snapshot +++ /dev/null @@ -1,20 +0,0 @@ -mo_pressed: position 2 layer 1 -mo_pressed: position 3 layer 2 -cl_activate: layer 4 -mo_pressed: position 1 layer 3 -kp_pressed: usage_page 0x07 keycode 0x08 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x08 implicit_mods 0x00 explicit_mods 0x00 -mo_released: position 1 layer 3 -mo_released: position 3 layer 2 -cl_deactivate: layer 4 -mo_released: position 2 layer 1 -mo_pressed: position 1 layer 3 -mo_pressed: position 2 layer 1 -cl_activate: layer 4 -mo_pressed: position 3 layer 2 -kp_pressed: usage_page 0x07 keycode 0x08 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x08 implicit_mods 0x00 explicit_mods 0x00 -mo_released: position 3 layer 2 -mo_released: position 2 layer 1 -cl_deactivate: layer 4 -mo_released: position 1 layer 3 diff --git a/app/tests/conditional-layer/same-layer-reached-both-ways/native_posix_64.keymap b/app/tests/conditional-layer/same-layer-reached-both-ways/native_posix_64.keymap deleted file mode 100644 index c94dcef2190..00000000000 --- a/app/tests/conditional-layer/same-layer-reached-both-ways/native_posix_64.keymap +++ /dev/null @@ -1,73 +0,0 @@ -#include -#include -#include - -/ { - conditional_layers { - compatible = "zmk,conditional-layers"; - conditional_layer_1 { - if-layers = <1 2>; - then-layer = <4>; - }; - conditional_layer_2 { - if-layers = <1 3>; - then-layer = <4>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - default_layer { - bindings = < - &kp A &mo 3 - &mo 1 &mo 2 - >; - }; - layer_1 { - bindings = < - &kp B &trans - &trans &trans - >; - }; - layer_2 { - bindings = < - &kp C &trans - &trans &trans - >; - }; - layer_3 { - bindings = < - &kp D &trans - &trans &trans - >; - }; - layer_4 { - bindings = < - &kp E &trans - &trans &trans - >; - }; - }; -}; - -&kscan { - events = < - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_PRESS(1,1,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_RELEASE(1,1,10) - ZMK_MOCK_RELEASE(1,0,10) - - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_PRESS(1,1,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(1,1,10) - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,1,10) - >; -}; diff --git a/app/tests/conditional-layer/same-layer-reached-differently/events.patterns b/app/tests/conditional-layer/same-layer-reached-differently/events.patterns deleted file mode 100644 index 14ded7959fd..00000000000 --- a/app/tests/conditional-layer/same-layer-reached-differently/events.patterns +++ /dev/null @@ -1,3 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*conditional_layer/cl/p diff --git a/app/tests/conditional-layer/same-layer-reached-differently/keycode_events.snapshot b/app/tests/conditional-layer/same-layer-reached-differently/keycode_events.snapshot deleted file mode 100644 index 86371d2fb43..00000000000 --- a/app/tests/conditional-layer/same-layer-reached-differently/keycode_events.snapshot +++ /dev/null @@ -1,16 +0,0 @@ -mo_pressed: position 2 layer 1 -mo_pressed: position 3 layer 2 -cl_activate: layer 4 -kp_pressed: usage_page 0x07 keycode 0x08 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x08 implicit_mods 0x00 explicit_mods 0x00 -mo_released: position 3 layer 2 -cl_deactivate: layer 4 -mo_released: position 2 layer 1 -mo_pressed: position 1 layer 3 -mo_pressed: position 2 layer 1 -cl_activate: layer 4 -kp_pressed: usage_page 0x07 keycode 0x08 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x08 implicit_mods 0x00 explicit_mods 0x00 -mo_released: position 2 layer 1 -cl_deactivate: layer 4 -mo_released: position 1 layer 3 diff --git a/app/tests/conditional-layer/same-layer-reached-differently/native_posix_64.keymap b/app/tests/conditional-layer/same-layer-reached-differently/native_posix_64.keymap deleted file mode 100644 index fd127d0529f..00000000000 --- a/app/tests/conditional-layer/same-layer-reached-differently/native_posix_64.keymap +++ /dev/null @@ -1,69 +0,0 @@ -#include -#include -#include - -/ { - conditional_layers { - compatible = "zmk,conditional-layers"; - conditional_layer_1 { - if-layers = <1 2>; - then-layer = <4>; - }; - conditional_layer_2 { - if-layers = <1 3>; - then-layer = <4>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - default_layer { - bindings = < - &kp A &mo 3 - &mo 1 &mo 2 - >; - }; - layer_1 { - bindings = < - &kp B &trans - &trans &trans - >; - }; - layer_2 { - bindings = < - &kp C &trans - &trans &trans - >; - }; - layer_3 { - bindings = < - &kp D &trans - &trans &trans - >; - }; - layer_4 { - bindings = < - &kp E &trans - &trans &trans - >; - }; - }; -}; - -&kscan { - events = < - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_PRESS(1,1,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(1,1,10) - ZMK_MOCK_RELEASE(1,0,10) - - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,1,10) - >; -}; diff --git a/app/tests/conditional-layer/tri-layer-alt-order/events.patterns b/app/tests/conditional-layer/tri-layer-alt-order/events.patterns deleted file mode 100644 index 14ded7959fd..00000000000 --- a/app/tests/conditional-layer/tri-layer-alt-order/events.patterns +++ /dev/null @@ -1,3 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*conditional_layer/cl/p diff --git a/app/tests/conditional-layer/tri-layer-alt-order/keycode_events.snapshot b/app/tests/conditional-layer/tri-layer-alt-order/keycode_events.snapshot deleted file mode 100644 index 46d6c03a60e..00000000000 --- a/app/tests/conditional-layer/tri-layer-alt-order/keycode_events.snapshot +++ /dev/null @@ -1,8 +0,0 @@ -mo_pressed: position 3 layer 2 -mo_pressed: position 2 layer 1 -cl_activate: layer 3 -kp_pressed: usage_page 0x07 keycode 0x0A implicit_mods 0x00 explicit_mods 0x00 -mo_released: position 3 layer 2 -cl_deactivate: layer 3 -mo_released: position 2 layer 1 -kp_released: usage_page 0x07 keycode 0x0A implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/conditional-layer/tri-layer-alt-order/native_posix_64.keymap b/app/tests/conditional-layer/tri-layer-alt-order/native_posix_64.keymap deleted file mode 100644 index a31540380bc..00000000000 --- a/app/tests/conditional-layer/tri-layer-alt-order/native_posix_64.keymap +++ /dev/null @@ -1,52 +0,0 @@ -#include -#include -#include - -/ { - conditional_layers { - compatible = "zmk,conditional-layers"; - tri_layer { - if-layers = <1 2>; - then-layer = <3>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - default_layer { - bindings = < - &kp A &kp B - &mo 1 &mo 2 - >; - }; - layer_1 { - bindings = < - &kp C &kp D - &trans &trans - >; - }; - layer_2 { - bindings = < - &kp E &kp F - &trans &trans - >; - }; - layer_3 { - bindings = < - &kp G &kp H - &trans &trans - >; - }; - }; -}; - -&kscan { - events = < - ZMK_MOCK_PRESS(1,1,10) - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(1,1,10) - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; diff --git a/app/tests/conditional-layer/tri-layer-lt/events.patterns b/app/tests/conditional-layer/tri-layer-lt/events.patterns deleted file mode 100644 index 6a0e3bdc34f..00000000000 --- a/app/tests/conditional-layer/tri-layer-lt/events.patterns +++ /dev/null @@ -1,3 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*conditional_layer/cl/p \ No newline at end of file diff --git a/app/tests/conditional-layer/tri-layer-lt/keycode_events.snapshot b/app/tests/conditional-layer/tri-layer-lt/keycode_events.snapshot deleted file mode 100644 index cb452df5453..00000000000 --- a/app/tests/conditional-layer/tri-layer-lt/keycode_events.snapshot +++ /dev/null @@ -1,8 +0,0 @@ -mo_pressed: position 2 layer 1 -mo_pressed: position 3 layer 2 -cl_activate: layer 3 -kp_pressed: usage_page 0x07 keycode 0x0A implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x0A implicit_mods 0x00 explicit_mods 0x00 -mo_released: position 3 layer 2 -cl_deactivate: layer 3 -mo_released: position 2 layer 1 diff --git a/app/tests/conditional-layer/tri-layer-lt/native_posix_64.keymap b/app/tests/conditional-layer/tri-layer-lt/native_posix_64.keymap deleted file mode 100644 index 7a091609a9f..00000000000 --- a/app/tests/conditional-layer/tri-layer-lt/native_posix_64.keymap +++ /dev/null @@ -1,56 +0,0 @@ -#include -#include -#include - -< { - flavor = "balanced"; -}; - -/ { - conditional_layers { - compatible = "zmk,conditional-layers"; - tri_layer { - if-layers = <1 2>; - then-layer = <3>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - default_layer { - bindings = < - &kp A &kp B - < 1 I < 2 J - >; - }; - layer_1 { - bindings = < - &kp C &kp D - &trans &trans - >; - }; - layer_2 { - bindings = < - &kp E &kp F - &trans &trans - >; - }; - layer_3 { - bindings = < - &kp G &kp H - &trans &trans - >; - }; - }; -}; - -&kscan { - events = < - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_PRESS(1,1,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(1,1,10) - ZMK_MOCK_RELEASE(1,0,10) - >; -}; diff --git a/app/tests/conditional-layer/tri-layer/events.patterns b/app/tests/conditional-layer/tri-layer/events.patterns deleted file mode 100644 index 14ded7959fd..00000000000 --- a/app/tests/conditional-layer/tri-layer/events.patterns +++ /dev/null @@ -1,3 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*conditional_layer/cl/p diff --git a/app/tests/conditional-layer/tri-layer/keycode_events.snapshot b/app/tests/conditional-layer/tri-layer/keycode_events.snapshot deleted file mode 100644 index cb452df5453..00000000000 --- a/app/tests/conditional-layer/tri-layer/keycode_events.snapshot +++ /dev/null @@ -1,8 +0,0 @@ -mo_pressed: position 2 layer 1 -mo_pressed: position 3 layer 2 -cl_activate: layer 3 -kp_pressed: usage_page 0x07 keycode 0x0A implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x0A implicit_mods 0x00 explicit_mods 0x00 -mo_released: position 3 layer 2 -cl_deactivate: layer 3 -mo_released: position 2 layer 1 diff --git a/app/tests/conditional-layer/tri-layer/native_posix_64.keymap b/app/tests/conditional-layer/tri-layer/native_posix_64.keymap deleted file mode 100644 index 150d6dd1ad6..00000000000 --- a/app/tests/conditional-layer/tri-layer/native_posix_64.keymap +++ /dev/null @@ -1,52 +0,0 @@ -#include -#include -#include - -/ { - conditional_layers { - compatible = "zmk,conditional-layers"; - tri_layer { - if-layers = <1 2>; - then-layer = <3>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - default_layer { - bindings = < - &kp A &kp B - &mo 1 &mo 2 - >; - }; - layer_1 { - bindings = < - &kp C &kp D - &trans &trans - >; - }; - layer_2 { - bindings = < - &kp E &kp F - &trans &trans - >; - }; - layer_3 { - bindings = < - &kp G &kp H - &trans &trans - >; - }; - }; -}; - -&kscan { - events = < - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_PRESS(1,1,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(1,1,10) - ZMK_MOCK_RELEASE(1,0,10) - >; -}; diff --git a/app/tests/gresc/gresc-press-release/events.patterns b/app/tests/gresc/gresc-press-release/events.patterns deleted file mode 100644 index b1342af4d97..00000000000 --- a/app/tests/gresc/gresc-press-release/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*hid_listener_keycode_//p diff --git a/app/tests/gresc/gresc-press-release/keycode_events.snapshot b/app/tests/gresc/gresc-press-release/keycode_events.snapshot deleted file mode 100644 index 061149ee08f..00000000000 --- a/app/tests/gresc/gresc-press-release/keycode_events.snapshot +++ /dev/null @@ -1,18 +0,0 @@ -pressed: usage_page 0x07 keycode 0x29 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x29 implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x35 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x35 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0xE3 implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x35 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x35 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0xE3 implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x35 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x35 implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0xE3 implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x35 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0xE3 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x35 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/gresc/gresc-press-release/native_posix_64.keymap b/app/tests/gresc/gresc-press-release/native_posix_64.keymap deleted file mode 100644 index c472dd6d4ad..00000000000 --- a/app/tests/gresc/gresc-press-release/native_posix_64.keymap +++ /dev/null @@ -1,49 +0,0 @@ -#include -#include -#include - -/ { - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &gresc &none - &kp LEFT_SHIFT &kp LEFT_GUI - >; - }; - }; -}; - -&kscan { - events = < - /* esc */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - - /* ~ */ - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(1,0,10) - - /* LGUI+` */ - ZMK_MOCK_PRESS(1,1,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(1,1,10) - - /* ~ */ - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,0,10) - - /* LGUI+` */ - ZMK_MOCK_PRESS(1,1,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(1,1,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/gresc/gresc-two-instances/events.patterns b/app/tests/gresc/gresc-two-instances/events.patterns deleted file mode 100644 index ef7b795571b..00000000000 --- a/app/tests/gresc/gresc-two-instances/events.patterns +++ /dev/null @@ -1,2 +0,0 @@ -s/.*hid_listener_keycode_//p -s/.*on_mod_morph_binding_/morph_binding_/p \ No newline at end of file diff --git a/app/tests/gresc/gresc-two-instances/keycode_events.snapshot b/app/tests/gresc/gresc-two-instances/keycode_events.snapshot deleted file mode 100644 index b33232abdc1..00000000000 --- a/app/tests/gresc/gresc-two-instances/keycode_events.snapshot +++ /dev/null @@ -1,6 +0,0 @@ -pressed: usage_page 0x07 keycode 0x29 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x29 implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -pressed: usage_page 0x07 keycode 0x35 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x35 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/gresc/gresc-two-instances/native_posix_64.keymap b/app/tests/gresc/gresc-two-instances/native_posix_64.keymap deleted file mode 100644 index 14adcf45c8e..00000000000 --- a/app/tests/gresc/gresc-two-instances/native_posix_64.keymap +++ /dev/null @@ -1,43 +0,0 @@ -#include -#include -#include - -/* -This test checks nothing breaks if two grave-escapes are pressed at the same time. -If someone ever really needs two, they can make a second behavior definition. - -The second gresc that is pressed is ignored. -The first gresc that is released releases the key. -*/ - -/ { - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &gresc &gresc - &kp LEFT_SHIFT &kp LEFT_GUI - >; - }; - }; -}; - -&kscan { - events = < - /* esc */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(0,1,10) /* the second gresc is ignored */ - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) /* the second gresc is ignored */ - - /* ~ */ - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_PRESS(0,0,10) /* the second gresc is ignored */ - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) /* the second gresc is ignored */ - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/balanced/1-dn-up/keycode_events.snapshot b/app/tests/hold-tap/balanced/1-dn-up/keycode_events.snapshot deleted file mode 100644 index 76a8ee5f8b3..00000000000 --- a/app/tests/hold-tap/balanced/1-dn-up/keycode_events.snapshot +++ /dev/null @@ -1,5 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (balanced decision moment key-up) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/balanced/1-dn-up/native_posix_64.keymap b/app/tests/hold-tap/balanced/1-dn-up/native_posix_64.keymap deleted file mode 100644 index 5b725bb1536..00000000000 --- a/app/tests/hold-tap/balanced/1-dn-up/native_posix_64.keymap +++ /dev/null @@ -1,11 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/balanced/2-dn-timer-up/events.patterns b/app/tests/hold-tap/balanced/2-dn-timer-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/balanced/2-dn-timer-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/balanced/2-dn-timer-up/keycode_events.snapshot b/app/tests/hold-tap/balanced/2-dn-timer-up/keycode_events.snapshot deleted file mode 100644 index 9b8860673ce..00000000000 --- a/app/tests/hold-tap/balanced/2-dn-timer-up/keycode_events.snapshot +++ /dev/null @@ -1,5 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-timer (balanced decision moment timer) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/balanced/2-dn-timer-up/native_posix_64.keymap b/app/tests/hold-tap/balanced/2-dn-timer-up/native_posix_64.keymap deleted file mode 100644 index bb20a323fde..00000000000 --- a/app/tests/hold-tap/balanced/2-dn-timer-up/native_posix_64.keymap +++ /dev/null @@ -1,11 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,500) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/balanced/3a-moddn-dn-modup-up/events.patterns b/app/tests/hold-tap/balanced/3a-moddn-dn-modup-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/balanced/3a-moddn-dn-modup-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/balanced/3a-moddn-dn-modup-up/keycode_events.snapshot b/app/tests/hold-tap/balanced/3a-moddn-dn-modup-up/keycode_events.snapshot deleted file mode 100644 index b9f92822955..00000000000 --- a/app/tests/hold-tap/balanced/3a-moddn-dn-modup-up/keycode_events.snapshot +++ /dev/null @@ -1,7 +0,0 @@ -kp_pressed: usage_page 0x07 keycode 0xE4 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (balanced decision moment key-up) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE4 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/balanced/3a-moddn-dn-modup-up/native_posix_64.keymap b/app/tests/hold-tap/balanced/3a-moddn-dn-modup-up/native_posix_64.keymap deleted file mode 100644 index 3a696af79b3..00000000000 --- a/app/tests/hold-tap/balanced/3a-moddn-dn-modup-up/native_posix_64.keymap +++ /dev/null @@ -1,13 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(1,1,10) /*ctrl*/ - ZMK_MOCK_PRESS(0,0,100) /*mt f-shift */ - ZMK_MOCK_RELEASE(1,1,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/balanced/3b-moddn-dn-modup-timer-up/events.patterns b/app/tests/hold-tap/balanced/3b-moddn-dn-modup-timer-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/balanced/3b-moddn-dn-modup-timer-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/balanced/3b-moddn-dn-modup-timer-up/keycode_events.snapshot b/app/tests/hold-tap/balanced/3b-moddn-dn-modup-timer-up/keycode_events.snapshot deleted file mode 100644 index 0f2edc79d95..00000000000 --- a/app/tests/hold-tap/balanced/3b-moddn-dn-modup-timer-up/keycode_events.snapshot +++ /dev/null @@ -1,7 +0,0 @@ -kp_pressed: usage_page 0x07 keycode 0xE4 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-timer (balanced decision moment timer) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE4 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/balanced/3b-moddn-dn-modup-timer-up/native_posix_64.keymap b/app/tests/hold-tap/balanced/3b-moddn-dn-modup-timer-up/native_posix_64.keymap deleted file mode 100644 index 5704ca4b529..00000000000 --- a/app/tests/hold-tap/balanced/3b-moddn-dn-modup-timer-up/native_posix_64.keymap +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(1,1,10) /*ctrl*/ - ZMK_MOCK_PRESS(0,0,50) /*mt f-shift */ - ZMK_MOCK_RELEASE(1,1,300) - /*timer*/ - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/balanced/3c-kcdn-dn-kcup-up/events.patterns b/app/tests/hold-tap/balanced/3c-kcdn-dn-kcup-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/balanced/3c-kcdn-dn-kcup-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/balanced/3c-kcdn-dn-kcup-up/keycode_events.snapshot b/app/tests/hold-tap/balanced/3c-kcdn-dn-kcup-up/keycode_events.snapshot deleted file mode 100644 index 38bceb97be2..00000000000 --- a/app/tests/hold-tap/balanced/3c-kcdn-dn-kcup-up/keycode_events.snapshot +++ /dev/null @@ -1,7 +0,0 @@ -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_pressed: 0 new undecided hold_tap -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -ht_decide: 0 decided tap (balanced decision moment key-up) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/balanced/3c-kcdn-dn-kcup-up/native_posix_64.keymap b/app/tests/hold-tap/balanced/3c-kcdn-dn-kcup-up/native_posix_64.keymap deleted file mode 100644 index df066fb0c49..00000000000 --- a/app/tests/hold-tap/balanced/3c-kcdn-dn-kcup-up/native_posix_64.keymap +++ /dev/null @@ -1,13 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(1,0,10) /*d*/ - ZMK_MOCK_PRESS(0,0,100) /*mt f-shift */ - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/balanced/3d-kcdn-dn-kcup-timer-up/events.patterns b/app/tests/hold-tap/balanced/3d-kcdn-dn-kcup-timer-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/balanced/3d-kcdn-dn-kcup-timer-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/balanced/3d-kcdn-dn-kcup-timer-up/keycode_events.snapshot b/app/tests/hold-tap/balanced/3d-kcdn-dn-kcup-timer-up/keycode_events.snapshot deleted file mode 100644 index d56fe18dcff..00000000000 --- a/app/tests/hold-tap/balanced/3d-kcdn-dn-kcup-timer-up/keycode_events.snapshot +++ /dev/null @@ -1,7 +0,0 @@ -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_pressed: 0 new undecided hold_tap -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -ht_decide: 0 decided hold-timer (balanced decision moment timer) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/balanced/3d-kcdn-dn-kcup-timer-up/native_posix_64.keymap b/app/tests/hold-tap/balanced/3d-kcdn-dn-kcup-timer-up/native_posix_64.keymap deleted file mode 100644 index 34645ad4a43..00000000000 --- a/app/tests/hold-tap/balanced/3d-kcdn-dn-kcup-timer-up/native_posix_64.keymap +++ /dev/null @@ -1,13 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(1,0,10) /* d */ - ZMK_MOCK_PRESS(0,0,100) /* mt f-shift */ - ZMK_MOCK_RELEASE(1,0,400) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/balanced/4a-dn-htdn-timer-htup-up/events.patterns b/app/tests/hold-tap/balanced/4a-dn-htdn-timer-htup-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/balanced/4a-dn-htdn-timer-htup-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/balanced/4a-dn-htdn-timer-htup-up/keycode_events.snapshot b/app/tests/hold-tap/balanced/4a-dn-htdn-timer-htup-up/keycode_events.snapshot deleted file mode 100644 index 7fb95386260..00000000000 --- a/app/tests/hold-tap/balanced/4a-dn-htdn-timer-htup-up/keycode_events.snapshot +++ /dev/null @@ -1,10 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-timer (balanced decision moment timer) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_pressed: 1 new undecided hold_tap -ht_decide: 1 decided tap (balanced decision moment key-up) -kp_pressed: usage_page 0x07 keycode 0x0D implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x0D implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 1 cleaning up hold-tap -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/balanced/4a-dn-kcdn-timer-kcup-up/events.patterns b/app/tests/hold-tap/balanced/4a-dn-kcdn-timer-kcup-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/balanced/4a-dn-kcdn-timer-kcup-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/balanced/4a-dn-kcdn-timer-kcup-up/keycode_events.snapshot b/app/tests/hold-tap/balanced/4a-dn-kcdn-timer-kcup-up/keycode_events.snapshot deleted file mode 100644 index b5b5886df85..00000000000 --- a/app/tests/hold-tap/balanced/4a-dn-kcdn-timer-kcup-up/keycode_events.snapshot +++ /dev/null @@ -1,7 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-timer (balanced decision moment timer) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/balanced/4a-dn-kcdn-timer-kcup-up/native_posix_64.keymap b/app/tests/hold-tap/balanced/4a-dn-kcdn-timer-kcup-up/native_posix_64.keymap deleted file mode 100644 index 9fd7cbf09e6..00000000000 --- a/app/tests/hold-tap/balanced/4a-dn-kcdn-timer-kcup-up/native_posix_64.keymap +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,200) - ZMK_MOCK_PRESS(1,0,200) - /* timer fires */ - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/balanced/4b-dn-kcdn-kcup-timer-up/events.patterns b/app/tests/hold-tap/balanced/4b-dn-kcdn-kcup-timer-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/balanced/4b-dn-kcdn-kcup-timer-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/balanced/4b-dn-kcdn-kcup-timer-up/keycode_events.snapshot b/app/tests/hold-tap/balanced/4b-dn-kcdn-kcup-timer-up/keycode_events.snapshot deleted file mode 100644 index 55a620a81f6..00000000000 --- a/app/tests/hold-tap/balanced/4b-dn-kcdn-kcup-timer-up/keycode_events.snapshot +++ /dev/null @@ -1,7 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-interrupt (balanced decision moment other-key-up) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/balanced/4b-dn-kcdn-kcup-timer-up/native_posix_64.keymap b/app/tests/hold-tap/balanced/4b-dn-kcdn-kcup-timer-up/native_posix_64.keymap deleted file mode 100644 index f586b97862f..00000000000 --- a/app/tests/hold-tap/balanced/4b-dn-kcdn-kcup-timer-up/native_posix_64.keymap +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,100) - ZMK_MOCK_PRESS(1,0,100) - ZMK_MOCK_RELEASE(1,0,200) - /* timer fires */ - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/balanced/4c-dn-kcdn-kcup-up/events.patterns b/app/tests/hold-tap/balanced/4c-dn-kcdn-kcup-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/balanced/4c-dn-kcdn-kcup-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/balanced/4c-dn-kcdn-kcup-up/keycode_events.snapshot b/app/tests/hold-tap/balanced/4c-dn-kcdn-kcup-up/keycode_events.snapshot deleted file mode 100644 index 55a620a81f6..00000000000 --- a/app/tests/hold-tap/balanced/4c-dn-kcdn-kcup-up/keycode_events.snapshot +++ /dev/null @@ -1,7 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-interrupt (balanced decision moment other-key-up) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/balanced/4c-dn-kcdn-kcup-up/native_posix_64.keymap b/app/tests/hold-tap/balanced/4c-dn-kcdn-kcup-up/native_posix_64.keymap deleted file mode 100644 index 3a5eab10c4f..00000000000 --- a/app/tests/hold-tap/balanced/4c-dn-kcdn-kcup-up/native_posix_64.keymap +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,0,10) - /* timer */ - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/balanced/4d-dn-kcdn-timer-up-kcup/events.patterns b/app/tests/hold-tap/balanced/4d-dn-kcdn-timer-up-kcup/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/balanced/4d-dn-kcdn-timer-up-kcup/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/balanced/4d-dn-kcdn-timer-up-kcup/keycode_events.snapshot b/app/tests/hold-tap/balanced/4d-dn-kcdn-timer-up-kcup/keycode_events.snapshot deleted file mode 100644 index d06cd1cacb8..00000000000 --- a/app/tests/hold-tap/balanced/4d-dn-kcdn-timer-up-kcup/keycode_events.snapshot +++ /dev/null @@ -1,7 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (balanced decision moment key-up) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/hold-tap/balanced/4d-dn-kcdn-timer-up-kcup/native_posix_64.keymap b/app/tests/hold-tap/balanced/4d-dn-kcdn-timer-up-kcup/native_posix_64.keymap deleted file mode 100644 index cc7412f7f37..00000000000 --- a/app/tests/hold-tap/balanced/4d-dn-kcdn-timer-up-kcup/native_posix_64.keymap +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,100) - ZMK_MOCK_PRESS(1,0,100) - ZMK_MOCK_RELEASE(0,0,200) - /* timer fires */ - ZMK_MOCK_RELEASE(1,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/balanced/5-quick-tap/events.patterns b/app/tests/hold-tap/balanced/5-quick-tap/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/balanced/5-quick-tap/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/balanced/5-quick-tap/keycode_events.snapshot b/app/tests/hold-tap/balanced/5-quick-tap/keycode_events.snapshot deleted file mode 100644 index 4d0cdd8300c..00000000000 --- a/app/tests/hold-tap/balanced/5-quick-tap/keycode_events.snapshot +++ /dev/null @@ -1,10 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (balanced decision moment key-up) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (balanced decision moment quick-tap) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/balanced/5-quick-tap/native_posix_64.keymap b/app/tests/hold-tap/balanced/5-quick-tap/native_posix_64.keymap deleted file mode 100644 index bd431ceb095..00000000000 --- a/app/tests/hold-tap/balanced/5-quick-tap/native_posix_64.keymap +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_PRESS(0,0,400) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/balanced/6-retro-tap/events.patterns b/app/tests/hold-tap/balanced/6-retro-tap/events.patterns deleted file mode 100644 index 4db21917caf..00000000000 --- a/app/tests/hold-tap/balanced/6-retro-tap/events.patterns +++ /dev/null @@ -1,6 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p -s/.*update_hold_status_for_retro_tap/update_hold_status_for_retro_tap/p -s/.*decide_retro_tap/decide_retro_tap/p \ No newline at end of file diff --git a/app/tests/hold-tap/balanced/6-retro-tap/keycode_events.snapshot b/app/tests/hold-tap/balanced/6-retro-tap/keycode_events.snapshot deleted file mode 100644 index 8cc506ab5b4..00000000000 --- a/app/tests/hold-tap/balanced/6-retro-tap/keycode_events.snapshot +++ /dev/null @@ -1,19 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (balanced decision moment key-up) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-timer (balanced decision moment timer) -decide_retro_tap: 0 retro tap -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-timer (balanced decision moment timer) -update_hold_status_for_retro_tap: Update hold tap 0 status to hold-interrupt -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/balanced/6-retro-tap/native_posix_64.keymap b/app/tests/hold-tap/balanced/6-retro-tap/native_posix_64.keymap deleted file mode 100644 index 51995f8d905..00000000000 --- a/app/tests/hold-tap/balanced/6-retro-tap/native_posix_64.keymap +++ /dev/null @@ -1,45 +0,0 @@ -#include -#include -#include - -/ { - behaviors { - ht_bal: behavior_balanced { - compatible = "zmk,behavior-hold-tap"; - label = "MOD_TAP"; - #binding-cells = <2>; - flavor = "balanced"; - tapping_term_ms = <300>; - bindings = <&kp>, <&kp>; - retro-tap; - }; - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &ht_bal LEFT_SHIFT F &none - &kp D &none>; - }; - }; -}; - - -&kscan { - events = < - /* tap */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - /* retro tap */ - ZMK_MOCK_PRESS(0,0,400) - ZMK_MOCK_RELEASE(0,0,10) - /* hold */ - ZMK_MOCK_PRESS(0,0,400) - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/balanced/7-positional/2-dn-timer-up/events.patterns b/app/tests/hold-tap/balanced/7-positional/2-dn-timer-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/balanced/7-positional/2-dn-timer-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/balanced/7-positional/2-dn-timer-up/keycode_events.snapshot b/app/tests/hold-tap/balanced/7-positional/2-dn-timer-up/keycode_events.snapshot deleted file mode 100644 index 9b8860673ce..00000000000 --- a/app/tests/hold-tap/balanced/7-positional/2-dn-timer-up/keycode_events.snapshot +++ /dev/null @@ -1,5 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-timer (balanced decision moment timer) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/balanced/7-positional/2-dn-timer-up/native_posix_64.keymap b/app/tests/hold-tap/balanced/7-positional/2-dn-timer-up/native_posix_64.keymap deleted file mode 100644 index bb20a323fde..00000000000 --- a/app/tests/hold-tap/balanced/7-positional/2-dn-timer-up/native_posix_64.keymap +++ /dev/null @@ -1,11 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,500) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/balanced/7-positional/4a-dn-ntgdn-timer-ntgup-up/events.patterns b/app/tests/hold-tap/balanced/7-positional/4a-dn-ntgdn-timer-ntgup-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/balanced/7-positional/4a-dn-ntgdn-timer-ntgup-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/balanced/7-positional/4a-dn-ntgdn-timer-ntgup-up/keycode_events.snapshot b/app/tests/hold-tap/balanced/7-positional/4a-dn-ntgdn-timer-ntgup-up/keycode_events.snapshot deleted file mode 100644 index 1b5cc8f233f..00000000000 --- a/app/tests/hold-tap/balanced/7-positional/4a-dn-ntgdn-timer-ntgup-up/keycode_events.snapshot +++ /dev/null @@ -1,7 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (balanced decision moment timer) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x08 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x08 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/balanced/7-positional/4a-dn-ntgdn-timer-ntgup-up/native_posix_64.keymap b/app/tests/hold-tap/balanced/7-positional/4a-dn-ntgdn-timer-ntgup-up/native_posix_64.keymap deleted file mode 100644 index 9ee237d3a99..00000000000 --- a/app/tests/hold-tap/balanced/7-positional/4a-dn-ntgdn-timer-ntgup-up/native_posix_64.keymap +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,200) - ZMK_MOCK_PRESS(1,1,200) // non trigger key - /* timer fires */ - ZMK_MOCK_RELEASE(1,1,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/balanced/7-positional/4a-dn-tgdn-timer-tgup-up/events.patterns b/app/tests/hold-tap/balanced/7-positional/4a-dn-tgdn-timer-tgup-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/balanced/7-positional/4a-dn-tgdn-timer-tgup-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/balanced/7-positional/4a-dn-tgdn-timer-tgup-up/keycode_events.snapshot b/app/tests/hold-tap/balanced/7-positional/4a-dn-tgdn-timer-tgup-up/keycode_events.snapshot deleted file mode 100644 index b5b5886df85..00000000000 --- a/app/tests/hold-tap/balanced/7-positional/4a-dn-tgdn-timer-tgup-up/keycode_events.snapshot +++ /dev/null @@ -1,7 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-timer (balanced decision moment timer) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/balanced/7-positional/4a-dn-tgdn-timer-tgup-up/native_posix_64.keymap b/app/tests/hold-tap/balanced/7-positional/4a-dn-tgdn-timer-tgup-up/native_posix_64.keymap deleted file mode 100644 index f2f2f8bd068..00000000000 --- a/app/tests/hold-tap/balanced/7-positional/4a-dn-tgdn-timer-tgup-up/native_posix_64.keymap +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,200) - ZMK_MOCK_PRESS(1,0,200) // trigger key - /* timer fires */ - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/balanced/7-positional/behavior_keymap.dtsi b/app/tests/hold-tap/balanced/7-positional/behavior_keymap.dtsi deleted file mode 100644 index c750f8e30c8..00000000000 --- a/app/tests/hold-tap/balanced/7-positional/behavior_keymap.dtsi +++ /dev/null @@ -1,29 +0,0 @@ -#include -#include -#include - -/ { - behaviors { - ht_bal: behavior_hold_tap_balanced { - compatible = "zmk,behavior-hold-tap"; - label = "HOLD_TAP_BALANCED"; - #binding-cells = <2>; - flavor = "balanced"; - tapping-term-ms = <300>; - quick-tap-ms = <200>; - bindings = <&kp>, <&kp>; - hold-trigger-key-positions = <2>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &ht_bal LEFT_SHIFT F &ht_bal LEFT_CONTROL J - &kp D &kp E>; - }; - }; -}; diff --git a/app/tests/hold-tap/balanced/7-positional/on-release-no-trigger/events.patterns b/app/tests/hold-tap/balanced/7-positional/on-release-no-trigger/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/balanced/7-positional/on-release-no-trigger/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/balanced/7-positional/on-release-no-trigger/keycode_events.snapshot b/app/tests/hold-tap/balanced/7-positional/on-release-no-trigger/keycode_events.snapshot deleted file mode 100644 index 24a8b033a55..00000000000 --- a/app/tests/hold-tap/balanced/7-positional/on-release-no-trigger/keycode_events.snapshot +++ /dev/null @@ -1,12 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -ht_decide: 0 decided hold-interrupt (balanced decision moment other-key-up) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_pressed: 1 new undecided hold_tap -ht_decide: 1 decided tap (balanced decision moment key-up) -kp_pressed: usage_page 0x07 keycode 0x0D implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x08 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x0D implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 1 cleaning up hold-tap -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/balanced/7-positional/on-release-no-trigger/native_posix_64.keymap b/app/tests/hold-tap/balanced/7-positional/on-release-no-trigger/native_posix_64.keymap deleted file mode 100644 index 8c24dc34f8a..00000000000 --- a/app/tests/hold-tap/balanced/7-positional/on-release-no-trigger/native_posix_64.keymap +++ /dev/null @@ -1,17 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&ht_bal { hold-trigger-on-release; }; - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) // mod 1 - ZMK_MOCK_PRESS(0,1,10) // mod 2 - ZMK_MOCK_PRESS(1,1,10) // not trigger position - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; diff --git a/app/tests/hold-tap/balanced/7-positional/on-release-trigger/events.patterns b/app/tests/hold-tap/balanced/7-positional/on-release-trigger/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/balanced/7-positional/on-release-trigger/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/balanced/7-positional/on-release-trigger/keycode_events.snapshot b/app/tests/hold-tap/balanced/7-positional/on-release-trigger/keycode_events.snapshot deleted file mode 100644 index fb5587b1c12..00000000000 --- a/app/tests/hold-tap/balanced/7-positional/on-release-trigger/keycode_events.snapshot +++ /dev/null @@ -1,12 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-interrupt (balanced decision moment other-key-up) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_pressed: 1 new undecided hold_tap -ht_decide: 1 decided hold-interrupt (balanced decision moment other-key-up) -kp_pressed: usage_page 0x07 keycode 0xE0 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE0 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 1 cleaning up hold-tap -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/balanced/7-positional/on-release-trigger/native_posix_64.keymap b/app/tests/hold-tap/balanced/7-positional/on-release-trigger/native_posix_64.keymap deleted file mode 100644 index 1db5f20e386..00000000000 --- a/app/tests/hold-tap/balanced/7-positional/on-release-trigger/native_posix_64.keymap +++ /dev/null @@ -1,17 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&ht_bal { hold-trigger-on-release; }; - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) // mod 1 - ZMK_MOCK_PRESS(0,1,10) // mod 2 - ZMK_MOCK_PRESS(1,0,10) // trigger position - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; diff --git a/app/tests/hold-tap/balanced/7-positional/tgdn-dn-ntgdn-timer-ntgup-tgup-up/events.patterns b/app/tests/hold-tap/balanced/7-positional/tgdn-dn-ntgdn-timer-ntgup-tgup-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/balanced/7-positional/tgdn-dn-ntgdn-timer-ntgup-tgup-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/balanced/7-positional/tgdn-dn-ntgdn-timer-ntgup-tgup-up/keycode_events.snapshot b/app/tests/hold-tap/balanced/7-positional/tgdn-dn-ntgdn-timer-ntgup-tgup-up/keycode_events.snapshot deleted file mode 100644 index 1e1ea6b9072..00000000000 --- a/app/tests/hold-tap/balanced/7-positional/tgdn-dn-ntgdn-timer-ntgup-tgup-up/keycode_events.snapshot +++ /dev/null @@ -1,9 +0,0 @@ -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (balanced decision moment timer) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x08 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x08 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/balanced/7-positional/tgdn-dn-ntgdn-timer-ntgup-tgup-up/native_posix_64.keymap b/app/tests/hold-tap/balanced/7-positional/tgdn-dn-ntgdn-timer-ntgup-tgup-up/native_posix_64.keymap deleted file mode 100644 index 78404536bed..00000000000 --- a/app/tests/hold-tap/balanced/7-positional/tgdn-dn-ntgdn-timer-ntgup-tgup-up/native_posix_64.keymap +++ /dev/null @@ -1,16 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(1,0,10) // trigger key - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(1,1,400) // not trigger key - /* timer fires */ - ZMK_MOCK_RELEASE(1,1,10) - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/balanced/8-require-prior-idle/1-basic/events.patterns b/app/tests/hold-tap/balanced/8-require-prior-idle/1-basic/events.patterns deleted file mode 100644 index 4db21917caf..00000000000 --- a/app/tests/hold-tap/balanced/8-require-prior-idle/1-basic/events.patterns +++ /dev/null @@ -1,6 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p -s/.*update_hold_status_for_retro_tap/update_hold_status_for_retro_tap/p -s/.*decide_retro_tap/decide_retro_tap/p \ No newline at end of file diff --git a/app/tests/hold-tap/balanced/8-require-prior-idle/1-basic/keycode_events.snapshot b/app/tests/hold-tap/balanced/8-require-prior-idle/1-basic/keycode_events.snapshot deleted file mode 100644 index 4c4b3296b02..00000000000 --- a/app/tests/hold-tap/balanced/8-require-prior-idle/1-basic/keycode_events.snapshot +++ /dev/null @@ -1,24 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (balanced decision moment key-up) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (balanced decision moment quick-tap) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-timer (balanced decision moment timer) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (balanced decision moment quick-tap) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/balanced/8-require-prior-idle/1-basic/native_posix_64.keymap b/app/tests/hold-tap/balanced/8-require-prior-idle/1-basic/native_posix_64.keymap deleted file mode 100644 index aa629498073..00000000000 --- a/app/tests/hold-tap/balanced/8-require-prior-idle/1-basic/native_posix_64.keymap +++ /dev/null @@ -1,25 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - /* tap */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,250) - /* normal quick tap */ - ZMK_MOCK_PRESS(0,0,400) - ZMK_MOCK_RELEASE(0,0,400) - /* hold */ - ZMK_MOCK_PRESS(0,0,400) - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,0,400) - /* require-prior-idle */ - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_PRESS(0,0,400) - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; diff --git a/app/tests/hold-tap/balanced/8-require-prior-idle/2-double-hold/events.patterns b/app/tests/hold-tap/balanced/8-require-prior-idle/2-double-hold/events.patterns deleted file mode 100644 index 4db21917caf..00000000000 --- a/app/tests/hold-tap/balanced/8-require-prior-idle/2-double-hold/events.patterns +++ /dev/null @@ -1,6 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p -s/.*update_hold_status_for_retro_tap/update_hold_status_for_retro_tap/p -s/.*decide_retro_tap/decide_retro_tap/p \ No newline at end of file diff --git a/app/tests/hold-tap/balanced/8-require-prior-idle/2-double-hold/keycode_events.snapshot b/app/tests/hold-tap/balanced/8-require-prior-idle/2-double-hold/keycode_events.snapshot deleted file mode 100644 index 0528e2137e9..00000000000 --- a/app/tests/hold-tap/balanced/8-require-prior-idle/2-double-hold/keycode_events.snapshot +++ /dev/null @@ -1,12 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-timer (balanced decision moment timer) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_pressed: 1 new undecided hold_tap -ht_decide: 1 decided hold-timer (balanced decision moment timer) -kp_pressed: usage_page 0x07 keycode 0xE0 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap -kp_released: usage_page 0x07 keycode 0xE0 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 1 cleaning up hold-tap diff --git a/app/tests/hold-tap/balanced/8-require-prior-idle/2-double-hold/native_posix_64.keymap b/app/tests/hold-tap/balanced/8-require-prior-idle/2-double-hold/native_posix_64.keymap deleted file mode 100644 index 69d691cee8e..00000000000 --- a/app/tests/hold-tap/balanced/8-require-prior-idle/2-double-hold/native_posix_64.keymap +++ /dev/null @@ -1,20 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - /* hold the first mod tap */ - ZMK_MOCK_PRESS(0,0,400) - /* hold the second mod tap */ - ZMK_MOCK_PRESS(0,1,400) - /* press the normal key */ - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_RELEASE(1,0,10) - - /* release the hold taps */ - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) - >; -}; diff --git a/app/tests/hold-tap/balanced/8-require-prior-idle/behavior_keymap.dtsi b/app/tests/hold-tap/balanced/8-require-prior-idle/behavior_keymap.dtsi deleted file mode 100644 index 670bdcc2650..00000000000 --- a/app/tests/hold-tap/balanced/8-require-prior-idle/behavior_keymap.dtsi +++ /dev/null @@ -1,29 +0,0 @@ -#include -#include -#include - -/ { - behaviors { - ht_bal: behavior_balanced { - compatible = "zmk,behavior-hold-tap"; - label = "MOD_TAP"; - #binding-cells = <2>; - flavor = "balanced"; - tapping-term-ms = <300>; - quick-tap-ms = <300>; - require-prior-idle-ms = <100>; - bindings = <&kp>, <&kp>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &ht_bal LEFT_SHIFT F &ht_bal LEFT_CONTROL C - &kp D &none>; - }; - }; -}; diff --git a/app/tests/hold-tap/balanced/behavior_keymap.dtsi b/app/tests/hold-tap/balanced/behavior_keymap.dtsi deleted file mode 100644 index 9f338ebc99b..00000000000 --- a/app/tests/hold-tap/balanced/behavior_keymap.dtsi +++ /dev/null @@ -1,28 +0,0 @@ -#include -#include -#include - -/ { - behaviors { - ht_bal: behavior_hold_tap_balanced { - compatible = "zmk,behavior-hold-tap"; - label = "HOLD_TAP_BALANCED"; - #binding-cells = <2>; - flavor = "balanced"; - tapping-term-ms = <300>; - quick-tap-ms = <200>; - bindings = <&kp>, <&kp>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &ht_bal LEFT_SHIFT F &ht_bal LEFT_CONTROL J - &kp D &kp RIGHT_CONTROL>; - }; - }; -}; diff --git a/app/tests/hold-tap/balanced/many-nested/events.patterns b/app/tests/hold-tap/balanced/many-nested/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/balanced/many-nested/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/balanced/many-nested/keycode_events.snapshot b/app/tests/hold-tap/balanced/many-nested/keycode_events.snapshot deleted file mode 100644 index b2d708b8a19..00000000000 --- a/app/tests/hold-tap/balanced/many-nested/keycode_events.snapshot +++ /dev/null @@ -1,20 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-timer (balanced decision moment timer) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_pressed: 1 new undecided hold_tap -ht_decide: 1 decided hold-timer (balanced decision moment timer) -kp_pressed: usage_page 0x07 keycode 0xE0 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_pressed: 2 new undecided hold_tap -ht_binding_released: 0 cleaning up hold-tap -ht_decide: 2 decided hold-timer (balanced decision moment timer) -kp_pressed: usage_page 0x07 keycode 0xE3 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_pressed: 3 new undecided hold_tap -ht_binding_released: 1 cleaning up hold-tap -ht_decide: 3 decided hold-timer (balanced decision moment timer) -kp_pressed: usage_page 0x07 keycode 0xE2 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE0 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE3 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 2 cleaning up hold-tap -kp_released: usage_page 0x07 keycode 0xE2 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 3 cleaning up hold-tap diff --git a/app/tests/hold-tap/balanced/many-nested/native_posix_64.keymap b/app/tests/hold-tap/balanced/many-nested/native_posix_64.keymap deleted file mode 100644 index 4bac8b8334d..00000000000 --- a/app/tests/hold-tap/balanced/many-nested/native_posix_64.keymap +++ /dev/null @@ -1,41 +0,0 @@ -#include -#include -#include - -/ { - behaviors { - ht_bal: behavior_hold_tap_balanced { - compatible = "zmk,behavior-hold-tap"; - label = "HOLD_TAP_BALANCED"; - #binding-cells = <2>; - flavor = "balanced"; - tapping-term-ms = <300>; - bindings = <&kp>, <&kp>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &ht_bal LEFT_SHIFT F &ht_bal LEFT_CONTROL J - &ht_bal LEFT_GUI H &ht_bal LEFT_ALT L - >; - }; - }; -}; - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,100) - ZMK_MOCK_PRESS(0,1,100) - ZMK_MOCK_PRESS(1,0,100) - ZMK_MOCK_PRESS(1,1,100) - ZMK_MOCK_RELEASE(0,0,100) - ZMK_MOCK_RELEASE(0,1,100) - ZMK_MOCK_RELEASE(1,0,100) - ZMK_MOCK_RELEASE(1,1,100) - >; -}; diff --git a/app/tests/hold-tap/hold-preferred/1-dn-up/events.patterns b/app/tests/hold-tap/hold-preferred/1-dn-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/hold-preferred/1-dn-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/hold-preferred/1-dn-up/keycode_events.snapshot b/app/tests/hold-tap/hold-preferred/1-dn-up/keycode_events.snapshot deleted file mode 100644 index 36dc281a212..00000000000 --- a/app/tests/hold-tap/hold-preferred/1-dn-up/keycode_events.snapshot +++ /dev/null @@ -1,5 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (hold-preferred decision moment key-up) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/hold-preferred/1-dn-up/native_posix_64.keymap b/app/tests/hold-tap/hold-preferred/1-dn-up/native_posix_64.keymap deleted file mode 100644 index 5b725bb1536..00000000000 --- a/app/tests/hold-tap/hold-preferred/1-dn-up/native_posix_64.keymap +++ /dev/null @@ -1,11 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/hold-preferred/2-dn-timer-up/events.patterns b/app/tests/hold-tap/hold-preferred/2-dn-timer-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/hold-preferred/2-dn-timer-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/hold-preferred/2-dn-timer-up/keycode_events.snapshot b/app/tests/hold-tap/hold-preferred/2-dn-timer-up/keycode_events.snapshot deleted file mode 100644 index 7298dc10616..00000000000 --- a/app/tests/hold-tap/hold-preferred/2-dn-timer-up/keycode_events.snapshot +++ /dev/null @@ -1,5 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-timer (hold-preferred decision moment timer) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/hold-preferred/2-dn-timer-up/native_posix_64.keymap b/app/tests/hold-tap/hold-preferred/2-dn-timer-up/native_posix_64.keymap deleted file mode 100644 index bb20a323fde..00000000000 --- a/app/tests/hold-tap/hold-preferred/2-dn-timer-up/native_posix_64.keymap +++ /dev/null @@ -1,11 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,500) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/hold-preferred/3a-moddn-dn-modup-up/events.patterns b/app/tests/hold-tap/hold-preferred/3a-moddn-dn-modup-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/hold-preferred/3a-moddn-dn-modup-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/hold-preferred/3a-moddn-dn-modup-up/keycode_events.snapshot b/app/tests/hold-tap/hold-preferred/3a-moddn-dn-modup-up/keycode_events.snapshot deleted file mode 100644 index 83e2182cb0f..00000000000 --- a/app/tests/hold-tap/hold-preferred/3a-moddn-dn-modup-up/keycode_events.snapshot +++ /dev/null @@ -1,7 +0,0 @@ -kp_pressed: usage_page 0x07 keycode 0xE4 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (hold-preferred decision moment key-up) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE4 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/hold-preferred/3a-moddn-dn-modup-up/native_posix_64.keymap b/app/tests/hold-tap/hold-preferred/3a-moddn-dn-modup-up/native_posix_64.keymap deleted file mode 100644 index 3a696af79b3..00000000000 --- a/app/tests/hold-tap/hold-preferred/3a-moddn-dn-modup-up/native_posix_64.keymap +++ /dev/null @@ -1,13 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(1,1,10) /*ctrl*/ - ZMK_MOCK_PRESS(0,0,100) /*mt f-shift */ - ZMK_MOCK_RELEASE(1,1,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/hold-preferred/3b-moddn-dn-modup-timer-up/events.patterns b/app/tests/hold-tap/hold-preferred/3b-moddn-dn-modup-timer-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/hold-preferred/3b-moddn-dn-modup-timer-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/hold-preferred/3b-moddn-dn-modup-timer-up/keycode_events.snapshot b/app/tests/hold-tap/hold-preferred/3b-moddn-dn-modup-timer-up/keycode_events.snapshot deleted file mode 100644 index fd0adb58631..00000000000 --- a/app/tests/hold-tap/hold-preferred/3b-moddn-dn-modup-timer-up/keycode_events.snapshot +++ /dev/null @@ -1,7 +0,0 @@ -kp_pressed: usage_page 0x07 keycode 0xE4 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-timer (hold-preferred decision moment timer) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE4 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/hold-preferred/3b-moddn-dn-modup-timer-up/native_posix_64.keymap b/app/tests/hold-tap/hold-preferred/3b-moddn-dn-modup-timer-up/native_posix_64.keymap deleted file mode 100644 index 5704ca4b529..00000000000 --- a/app/tests/hold-tap/hold-preferred/3b-moddn-dn-modup-timer-up/native_posix_64.keymap +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(1,1,10) /*ctrl*/ - ZMK_MOCK_PRESS(0,0,50) /*mt f-shift */ - ZMK_MOCK_RELEASE(1,1,300) - /*timer*/ - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/hold-preferred/3c-kcdn-dn-kcup-up/events.patterns b/app/tests/hold-tap/hold-preferred/3c-kcdn-dn-kcup-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/hold-preferred/3c-kcdn-dn-kcup-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/hold-preferred/3c-kcdn-dn-kcup-up/keycode_events.snapshot b/app/tests/hold-tap/hold-preferred/3c-kcdn-dn-kcup-up/keycode_events.snapshot deleted file mode 100644 index a5b9f134591..00000000000 --- a/app/tests/hold-tap/hold-preferred/3c-kcdn-dn-kcup-up/keycode_events.snapshot +++ /dev/null @@ -1,7 +0,0 @@ -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_pressed: 0 new undecided hold_tap -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -ht_decide: 0 decided tap (hold-preferred decision moment key-up) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/hold-preferred/3c-kcdn-dn-kcup-up/native_posix_64.keymap b/app/tests/hold-tap/hold-preferred/3c-kcdn-dn-kcup-up/native_posix_64.keymap deleted file mode 100644 index df066fb0c49..00000000000 --- a/app/tests/hold-tap/hold-preferred/3c-kcdn-dn-kcup-up/native_posix_64.keymap +++ /dev/null @@ -1,13 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(1,0,10) /*d*/ - ZMK_MOCK_PRESS(0,0,100) /*mt f-shift */ - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/hold-preferred/3d-kcdn-dn-kcup-timer-up/events.patterns b/app/tests/hold-tap/hold-preferred/3d-kcdn-dn-kcup-timer-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/hold-preferred/3d-kcdn-dn-kcup-timer-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/hold-preferred/3d-kcdn-dn-kcup-timer-up/keycode_events.snapshot b/app/tests/hold-tap/hold-preferred/3d-kcdn-dn-kcup-timer-up/keycode_events.snapshot deleted file mode 100644 index 7afa3fe95e6..00000000000 --- a/app/tests/hold-tap/hold-preferred/3d-kcdn-dn-kcup-timer-up/keycode_events.snapshot +++ /dev/null @@ -1,7 +0,0 @@ -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_pressed: 0 new undecided hold_tap -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -ht_decide: 0 decided hold-timer (hold-preferred decision moment timer) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/hold-preferred/3d-kcdn-dn-kcup-timer-up/native_posix_64.keymap b/app/tests/hold-tap/hold-preferred/3d-kcdn-dn-kcup-timer-up/native_posix_64.keymap deleted file mode 100644 index 34645ad4a43..00000000000 --- a/app/tests/hold-tap/hold-preferred/3d-kcdn-dn-kcup-timer-up/native_posix_64.keymap +++ /dev/null @@ -1,13 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(1,0,10) /* d */ - ZMK_MOCK_PRESS(0,0,100) /* mt f-shift */ - ZMK_MOCK_RELEASE(1,0,400) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/hold-preferred/4a-dn-htdn-timer-htup-up/events.patterns b/app/tests/hold-tap/hold-preferred/4a-dn-htdn-timer-htup-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/hold-preferred/4a-dn-htdn-timer-htup-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/hold-preferred/4a-dn-htdn-timer-htup-up/keycode_events.snapshot b/app/tests/hold-tap/hold-preferred/4a-dn-htdn-timer-htup-up/keycode_events.snapshot deleted file mode 100644 index fcae0aac284..00000000000 --- a/app/tests/hold-tap/hold-preferred/4a-dn-htdn-timer-htup-up/keycode_events.snapshot +++ /dev/null @@ -1,10 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-interrupt (hold-preferred decision moment other-key-down) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_pressed: 1 new undecided hold_tap -ht_decide: 1 decided tap (hold-preferred decision moment key-up) -kp_pressed: usage_page 0x07 keycode 0x0D implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x0D implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 1 cleaning up hold-tap -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/hold-preferred/4a-dn-htdn-timer-htup-up/native_posix_64.keymap b/app/tests/hold-tap/hold-preferred/4a-dn-htdn-timer-htup-up/native_posix_64.keymap deleted file mode 100644 index 9c108d32ff5..00000000000 --- a/app/tests/hold-tap/hold-preferred/4a-dn-htdn-timer-htup-up/native_posix_64.keymap +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,200) - ZMK_MOCK_PRESS(0,1,200) - /* timer fires */ - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/hold-preferred/4a-dn-kcdn-timer-kcup-up/events.patterns b/app/tests/hold-tap/hold-preferred/4a-dn-kcdn-timer-kcup-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/hold-preferred/4a-dn-kcdn-timer-kcup-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/hold-preferred/4a-dn-kcdn-timer-kcup-up/keycode_events.snapshot b/app/tests/hold-tap/hold-preferred/4a-dn-kcdn-timer-kcup-up/keycode_events.snapshot deleted file mode 100644 index 026646cc793..00000000000 --- a/app/tests/hold-tap/hold-preferred/4a-dn-kcdn-timer-kcup-up/keycode_events.snapshot +++ /dev/null @@ -1,7 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-interrupt (hold-preferred decision moment other-key-down) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/hold-preferred/4a-dn-kcdn-timer-kcup-up/native_posix_64.keymap b/app/tests/hold-tap/hold-preferred/4a-dn-kcdn-timer-kcup-up/native_posix_64.keymap deleted file mode 100644 index 9fd7cbf09e6..00000000000 --- a/app/tests/hold-tap/hold-preferred/4a-dn-kcdn-timer-kcup-up/native_posix_64.keymap +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,200) - ZMK_MOCK_PRESS(1,0,200) - /* timer fires */ - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/hold-preferred/4b-dn-kcdn-kcup-timer-up/events.patterns b/app/tests/hold-tap/hold-preferred/4b-dn-kcdn-kcup-timer-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/hold-preferred/4b-dn-kcdn-kcup-timer-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/hold-preferred/4b-dn-kcdn-kcup-timer-up/keycode_events.snapshot b/app/tests/hold-tap/hold-preferred/4b-dn-kcdn-kcup-timer-up/keycode_events.snapshot deleted file mode 100644 index 026646cc793..00000000000 --- a/app/tests/hold-tap/hold-preferred/4b-dn-kcdn-kcup-timer-up/keycode_events.snapshot +++ /dev/null @@ -1,7 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-interrupt (hold-preferred decision moment other-key-down) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/hold-preferred/4b-dn-kcdn-kcup-timer-up/native_posix_64.keymap b/app/tests/hold-tap/hold-preferred/4b-dn-kcdn-kcup-timer-up/native_posix_64.keymap deleted file mode 100644 index f586b97862f..00000000000 --- a/app/tests/hold-tap/hold-preferred/4b-dn-kcdn-kcup-timer-up/native_posix_64.keymap +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,100) - ZMK_MOCK_PRESS(1,0,100) - ZMK_MOCK_RELEASE(1,0,200) - /* timer fires */ - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/hold-preferred/4c-dn-kcdn-kcup-up/events.patterns b/app/tests/hold-tap/hold-preferred/4c-dn-kcdn-kcup-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/hold-preferred/4c-dn-kcdn-kcup-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/hold-preferred/4c-dn-kcdn-kcup-up/keycode_events.snapshot b/app/tests/hold-tap/hold-preferred/4c-dn-kcdn-kcup-up/keycode_events.snapshot deleted file mode 100644 index 026646cc793..00000000000 --- a/app/tests/hold-tap/hold-preferred/4c-dn-kcdn-kcup-up/keycode_events.snapshot +++ /dev/null @@ -1,7 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-interrupt (hold-preferred decision moment other-key-down) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/hold-preferred/4c-dn-kcdn-kcup-up/native_posix_64.keymap b/app/tests/hold-tap/hold-preferred/4c-dn-kcdn-kcup-up/native_posix_64.keymap deleted file mode 100644 index 3a5eab10c4f..00000000000 --- a/app/tests/hold-tap/hold-preferred/4c-dn-kcdn-kcup-up/native_posix_64.keymap +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,0,10) - /* timer */ - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/hold-preferred/4d-dn-kcdn-timer-up-kcup/events.patterns b/app/tests/hold-tap/hold-preferred/4d-dn-kcdn-timer-up-kcup/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/hold-preferred/4d-dn-kcdn-timer-up-kcup/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/hold-preferred/4d-dn-kcdn-timer-up-kcup/keycode_events.snapshot b/app/tests/hold-tap/hold-preferred/4d-dn-kcdn-timer-up-kcup/keycode_events.snapshot deleted file mode 100644 index ad3ead5bd9c..00000000000 --- a/app/tests/hold-tap/hold-preferred/4d-dn-kcdn-timer-up-kcup/keycode_events.snapshot +++ /dev/null @@ -1,7 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-interrupt (hold-preferred decision moment other-key-down) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/hold-tap/hold-preferred/4d-dn-kcdn-timer-up-kcup/native_posix_64.keymap b/app/tests/hold-tap/hold-preferred/4d-dn-kcdn-timer-up-kcup/native_posix_64.keymap deleted file mode 100644 index cc7412f7f37..00000000000 --- a/app/tests/hold-tap/hold-preferred/4d-dn-kcdn-timer-up-kcup/native_posix_64.keymap +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,100) - ZMK_MOCK_PRESS(1,0,100) - ZMK_MOCK_RELEASE(0,0,200) - /* timer fires */ - ZMK_MOCK_RELEASE(1,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/hold-preferred/5-quick-tap/events.patterns b/app/tests/hold-tap/hold-preferred/5-quick-tap/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/hold-preferred/5-quick-tap/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/hold-preferred/5-quick-tap/keycode_events.snapshot b/app/tests/hold-tap/hold-preferred/5-quick-tap/keycode_events.snapshot deleted file mode 100644 index 704cf41c9d6..00000000000 --- a/app/tests/hold-tap/hold-preferred/5-quick-tap/keycode_events.snapshot +++ /dev/null @@ -1,10 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (hold-preferred decision moment key-up) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (hold-preferred decision moment quick-tap) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/hold-preferred/5-quick-tap/native_posix_64.keymap b/app/tests/hold-tap/hold-preferred/5-quick-tap/native_posix_64.keymap deleted file mode 100644 index bd431ceb095..00000000000 --- a/app/tests/hold-tap/hold-preferred/5-quick-tap/native_posix_64.keymap +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_PRESS(0,0,400) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/hold-preferred/6-retro-tap/events.patterns b/app/tests/hold-tap/hold-preferred/6-retro-tap/events.patterns deleted file mode 100644 index 4db21917caf..00000000000 --- a/app/tests/hold-tap/hold-preferred/6-retro-tap/events.patterns +++ /dev/null @@ -1,6 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p -s/.*update_hold_status_for_retro_tap/update_hold_status_for_retro_tap/p -s/.*decide_retro_tap/decide_retro_tap/p \ No newline at end of file diff --git a/app/tests/hold-tap/hold-preferred/6-retro-tap/keycode_events.snapshot b/app/tests/hold-tap/hold-preferred/6-retro-tap/keycode_events.snapshot deleted file mode 100644 index a0d44794d5b..00000000000 --- a/app/tests/hold-tap/hold-preferred/6-retro-tap/keycode_events.snapshot +++ /dev/null @@ -1,19 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (hold-preferred decision moment key-up) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-timer (hold-preferred decision moment timer) -decide_retro_tap: 0 retro tap -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-timer (hold-preferred decision moment timer) -update_hold_status_for_retro_tap: Update hold tap 0 status to hold-interrupt -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/hold-preferred/6-retro-tap/native_posix_64.keymap b/app/tests/hold-tap/hold-preferred/6-retro-tap/native_posix_64.keymap deleted file mode 100644 index 8dbc7d82c6b..00000000000 --- a/app/tests/hold-tap/hold-preferred/6-retro-tap/native_posix_64.keymap +++ /dev/null @@ -1,45 +0,0 @@ -#include -#include -#include - -/ { - behaviors { - hp: behavior_hold_preferred { - compatible = "zmk,behavior-hold-tap"; - label = "MOD_TAP"; - #binding-cells = <2>; - flavor = "hold-preferred"; - tapping_term_ms = <300>; - bindings = <&kp>, <&kp>; - retro-tap; - }; - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &hp LEFT_SHIFT F &none - &kp D &none>; - }; - }; -}; - - -&kscan { - events = < - /* tap */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - /* retro tap */ - ZMK_MOCK_PRESS(0,0,400) - ZMK_MOCK_RELEASE(0,0,10) - /* hold */ - ZMK_MOCK_PRESS(0,0,400) - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/hold-preferred/7-positional/2-dn-timer-up/events.patterns b/app/tests/hold-tap/hold-preferred/7-positional/2-dn-timer-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/hold-preferred/7-positional/2-dn-timer-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/hold-preferred/7-positional/2-dn-timer-up/keycode_events.snapshot b/app/tests/hold-tap/hold-preferred/7-positional/2-dn-timer-up/keycode_events.snapshot deleted file mode 100644 index 7298dc10616..00000000000 --- a/app/tests/hold-tap/hold-preferred/7-positional/2-dn-timer-up/keycode_events.snapshot +++ /dev/null @@ -1,5 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-timer (hold-preferred decision moment timer) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/hold-preferred/7-positional/2-dn-timer-up/native_posix_64.keymap b/app/tests/hold-tap/hold-preferred/7-positional/2-dn-timer-up/native_posix_64.keymap deleted file mode 100644 index bb20a323fde..00000000000 --- a/app/tests/hold-tap/hold-preferred/7-positional/2-dn-timer-up/native_posix_64.keymap +++ /dev/null @@ -1,11 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,500) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/hold-preferred/7-positional/4a-dn-ntgdn-timer-ntgup-up/events.patterns b/app/tests/hold-tap/hold-preferred/7-positional/4a-dn-ntgdn-timer-ntgup-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/hold-preferred/7-positional/4a-dn-ntgdn-timer-ntgup-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/hold-preferred/7-positional/4a-dn-ntgdn-timer-ntgup-up/keycode_events.snapshot b/app/tests/hold-tap/hold-preferred/7-positional/4a-dn-ntgdn-timer-ntgup-up/keycode_events.snapshot deleted file mode 100644 index 964cbafe45a..00000000000 --- a/app/tests/hold-tap/hold-preferred/7-positional/4a-dn-ntgdn-timer-ntgup-up/keycode_events.snapshot +++ /dev/null @@ -1,7 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (hold-preferred decision moment other-key-down) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x08 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x08 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/hold-preferred/7-positional/4a-dn-ntgdn-timer-ntgup-up/native_posix_64.keymap b/app/tests/hold-tap/hold-preferred/7-positional/4a-dn-ntgdn-timer-ntgup-up/native_posix_64.keymap deleted file mode 100644 index 9ee237d3a99..00000000000 --- a/app/tests/hold-tap/hold-preferred/7-positional/4a-dn-ntgdn-timer-ntgup-up/native_posix_64.keymap +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,200) - ZMK_MOCK_PRESS(1,1,200) // non trigger key - /* timer fires */ - ZMK_MOCK_RELEASE(1,1,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/hold-preferred/7-positional/4a-dn-tgdn-timer-tgup-up/events.patterns b/app/tests/hold-tap/hold-preferred/7-positional/4a-dn-tgdn-timer-tgup-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/hold-preferred/7-positional/4a-dn-tgdn-timer-tgup-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/hold-preferred/7-positional/4a-dn-tgdn-timer-tgup-up/keycode_events.snapshot b/app/tests/hold-tap/hold-preferred/7-positional/4a-dn-tgdn-timer-tgup-up/keycode_events.snapshot deleted file mode 100644 index 026646cc793..00000000000 --- a/app/tests/hold-tap/hold-preferred/7-positional/4a-dn-tgdn-timer-tgup-up/keycode_events.snapshot +++ /dev/null @@ -1,7 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-interrupt (hold-preferred decision moment other-key-down) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/hold-preferred/7-positional/4a-dn-tgdn-timer-tgup-up/native_posix_64.keymap b/app/tests/hold-tap/hold-preferred/7-positional/4a-dn-tgdn-timer-tgup-up/native_posix_64.keymap deleted file mode 100644 index f2f2f8bd068..00000000000 --- a/app/tests/hold-tap/hold-preferred/7-positional/4a-dn-tgdn-timer-tgup-up/native_posix_64.keymap +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,200) - ZMK_MOCK_PRESS(1,0,200) // trigger key - /* timer fires */ - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/hold-preferred/7-positional/behavior_keymap.dtsi b/app/tests/hold-tap/hold-preferred/7-positional/behavior_keymap.dtsi deleted file mode 100644 index 71f3aba5773..00000000000 --- a/app/tests/hold-tap/hold-preferred/7-positional/behavior_keymap.dtsi +++ /dev/null @@ -1,29 +0,0 @@ -#include -#include -#include - -/ { - behaviors { - ht_hold: behavior_hold_hold_tap { - compatible = "zmk,behavior-hold-tap"; - label = "hold_hold_tap"; - #binding-cells = <2>; - flavor = "hold-preferred"; - tapping-term-ms = <300>; - quick-tap-ms = <200>; - bindings = <&kp>, <&kp>; - hold-trigger-key-positions = <2>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &ht_hold LEFT_SHIFT F &ht_hold LEFT_CONTROL J - &kp D &kp E>; - }; - }; -}; diff --git a/app/tests/hold-tap/hold-preferred/7-positional/on-release-no-trigger/events.patterns b/app/tests/hold-tap/hold-preferred/7-positional/on-release-no-trigger/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/hold-preferred/7-positional/on-release-no-trigger/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/hold-preferred/7-positional/on-release-no-trigger/keycode_events.snapshot b/app/tests/hold-tap/hold-preferred/7-positional/on-release-no-trigger/keycode_events.snapshot deleted file mode 100644 index 1df24b0c26c..00000000000 --- a/app/tests/hold-tap/hold-preferred/7-positional/on-release-no-trigger/keycode_events.snapshot +++ /dev/null @@ -1,12 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-interrupt (hold-preferred decision moment other-key-down) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_pressed: 1 new undecided hold_tap -ht_decide: 1 decided hold-interrupt (hold-preferred decision moment other-key-down) -kp_pressed: usage_page 0x07 keycode 0xE0 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x08 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE0 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 1 cleaning up hold-tap -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/hold-preferred/7-positional/on-release-no-trigger/native_posix_64.keymap b/app/tests/hold-tap/hold-preferred/7-positional/on-release-no-trigger/native_posix_64.keymap deleted file mode 100644 index f35b73ba701..00000000000 --- a/app/tests/hold-tap/hold-preferred/7-positional/on-release-no-trigger/native_posix_64.keymap +++ /dev/null @@ -1,17 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&ht_hold { hold-trigger-on-release; }; - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) // mod 1 - ZMK_MOCK_PRESS(0,1,10) // mod 2 - ZMK_MOCK_PRESS(1,1,10) // not trigger position - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; diff --git a/app/tests/hold-tap/hold-preferred/7-positional/on-release-trigger/events.patterns b/app/tests/hold-tap/hold-preferred/7-positional/on-release-trigger/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/hold-preferred/7-positional/on-release-trigger/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/hold-preferred/7-positional/on-release-trigger/keycode_events.snapshot b/app/tests/hold-tap/hold-preferred/7-positional/on-release-trigger/keycode_events.snapshot deleted file mode 100644 index e35848cdc52..00000000000 --- a/app/tests/hold-tap/hold-preferred/7-positional/on-release-trigger/keycode_events.snapshot +++ /dev/null @@ -1,12 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-interrupt (hold-preferred decision moment other-key-down) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_pressed: 1 new undecided hold_tap -ht_decide: 1 decided hold-interrupt (hold-preferred decision moment other-key-down) -kp_pressed: usage_page 0x07 keycode 0xE0 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE0 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 1 cleaning up hold-tap -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/hold-preferred/7-positional/on-release-trigger/native_posix_64.keymap b/app/tests/hold-tap/hold-preferred/7-positional/on-release-trigger/native_posix_64.keymap deleted file mode 100644 index 0b4eb32094d..00000000000 --- a/app/tests/hold-tap/hold-preferred/7-positional/on-release-trigger/native_posix_64.keymap +++ /dev/null @@ -1,17 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&ht_hold { hold-trigger-on-release; }; - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) // mod 1 - ZMK_MOCK_PRESS(0,1,10) // mod 2 - ZMK_MOCK_PRESS(1,0,10) // trigger position - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; diff --git a/app/tests/hold-tap/hold-preferred/7-positional/tgdn-dn-ntgdn-timer-ntgup-tgup-up/events.patterns b/app/tests/hold-tap/hold-preferred/7-positional/tgdn-dn-ntgdn-timer-ntgup-tgup-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/hold-preferred/7-positional/tgdn-dn-ntgdn-timer-ntgup-tgup-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/hold-preferred/7-positional/tgdn-dn-ntgdn-timer-ntgup-tgup-up/keycode_events.snapshot b/app/tests/hold-tap/hold-preferred/7-positional/tgdn-dn-ntgdn-timer-ntgup-tgup-up/keycode_events.snapshot deleted file mode 100644 index 2838194d498..00000000000 --- a/app/tests/hold-tap/hold-preferred/7-positional/tgdn-dn-ntgdn-timer-ntgup-tgup-up/keycode_events.snapshot +++ /dev/null @@ -1,9 +0,0 @@ -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (hold-preferred decision moment other-key-down) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x08 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x08 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/hold-preferred/7-positional/tgdn-dn-ntgdn-timer-ntgup-tgup-up/native_posix_64.keymap b/app/tests/hold-tap/hold-preferred/7-positional/tgdn-dn-ntgdn-timer-ntgup-tgup-up/native_posix_64.keymap deleted file mode 100644 index 78404536bed..00000000000 --- a/app/tests/hold-tap/hold-preferred/7-positional/tgdn-dn-ntgdn-timer-ntgup-tgup-up/native_posix_64.keymap +++ /dev/null @@ -1,16 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(1,0,10) // trigger key - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(1,1,400) // not trigger key - /* timer fires */ - ZMK_MOCK_RELEASE(1,1,10) - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/hold-preferred/8-require-prior-idle/1-basic/events.patterns b/app/tests/hold-tap/hold-preferred/8-require-prior-idle/1-basic/events.patterns deleted file mode 100644 index 4db21917caf..00000000000 --- a/app/tests/hold-tap/hold-preferred/8-require-prior-idle/1-basic/events.patterns +++ /dev/null @@ -1,6 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p -s/.*update_hold_status_for_retro_tap/update_hold_status_for_retro_tap/p -s/.*decide_retro_tap/decide_retro_tap/p \ No newline at end of file diff --git a/app/tests/hold-tap/hold-preferred/8-require-prior-idle/1-basic/keycode_events.snapshot b/app/tests/hold-tap/hold-preferred/8-require-prior-idle/1-basic/keycode_events.snapshot deleted file mode 100644 index 22c7f64b20a..00000000000 --- a/app/tests/hold-tap/hold-preferred/8-require-prior-idle/1-basic/keycode_events.snapshot +++ /dev/null @@ -1,24 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (hold-preferred decision moment key-up) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (hold-preferred decision moment quick-tap) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-interrupt (hold-preferred decision moment other-key-down) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (hold-preferred decision moment quick-tap) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/hold-preferred/8-require-prior-idle/1-basic/native_posix_64.keymap b/app/tests/hold-tap/hold-preferred/8-require-prior-idle/1-basic/native_posix_64.keymap deleted file mode 100644 index 6db79abc381..00000000000 --- a/app/tests/hold-tap/hold-preferred/8-require-prior-idle/1-basic/native_posix_64.keymap +++ /dev/null @@ -1,25 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - /* tap */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,250) - /* normal quick tap */ - ZMK_MOCK_PRESS(0,0,400) - ZMK_MOCK_RELEASE(0,0,400) - /* hold */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,0,400) - /* require-prior-idle */ - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_PRESS(0,0,400) - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; diff --git a/app/tests/hold-tap/hold-preferred/8-require-prior-idle/2-double-hold/events.patterns b/app/tests/hold-tap/hold-preferred/8-require-prior-idle/2-double-hold/events.patterns deleted file mode 100644 index 4db21917caf..00000000000 --- a/app/tests/hold-tap/hold-preferred/8-require-prior-idle/2-double-hold/events.patterns +++ /dev/null @@ -1,6 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p -s/.*update_hold_status_for_retro_tap/update_hold_status_for_retro_tap/p -s/.*decide_retro_tap/decide_retro_tap/p \ No newline at end of file diff --git a/app/tests/hold-tap/hold-preferred/8-require-prior-idle/2-double-hold/keycode_events.snapshot b/app/tests/hold-tap/hold-preferred/8-require-prior-idle/2-double-hold/keycode_events.snapshot deleted file mode 100644 index fb65b8cee48..00000000000 --- a/app/tests/hold-tap/hold-preferred/8-require-prior-idle/2-double-hold/keycode_events.snapshot +++ /dev/null @@ -1,12 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-timer (hold-preferred decision moment timer) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_pressed: 1 new undecided hold_tap -ht_decide: 1 decided hold-timer (hold-preferred decision moment timer) -kp_pressed: usage_page 0x07 keycode 0xE0 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap -kp_released: usage_page 0x07 keycode 0xE0 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 1 cleaning up hold-tap diff --git a/app/tests/hold-tap/hold-preferred/8-require-prior-idle/2-double-hold/native_posix_64.keymap b/app/tests/hold-tap/hold-preferred/8-require-prior-idle/2-double-hold/native_posix_64.keymap deleted file mode 100644 index 69d691cee8e..00000000000 --- a/app/tests/hold-tap/hold-preferred/8-require-prior-idle/2-double-hold/native_posix_64.keymap +++ /dev/null @@ -1,20 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - /* hold the first mod tap */ - ZMK_MOCK_PRESS(0,0,400) - /* hold the second mod tap */ - ZMK_MOCK_PRESS(0,1,400) - /* press the normal key */ - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_RELEASE(1,0,10) - - /* release the hold taps */ - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) - >; -}; diff --git a/app/tests/hold-tap/hold-preferred/8-require-prior-idle/behavior_keymap.dtsi b/app/tests/hold-tap/hold-preferred/8-require-prior-idle/behavior_keymap.dtsi deleted file mode 100644 index a99eb3f56f8..00000000000 --- a/app/tests/hold-tap/hold-preferred/8-require-prior-idle/behavior_keymap.dtsi +++ /dev/null @@ -1,29 +0,0 @@ -#include -#include -#include - -/ { - behaviors { - hp: behavior_hold_preferred { - compatible = "zmk,behavior-hold-tap"; - label = "MOD_TAP"; - #binding-cells = <2>; - flavor = "hold-preferred"; - tapping-term-ms = <300>; - quick-tap-ms = <300>; - require-prior-idle-ms = <100>; - bindings = <&kp>, <&kp>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &hp LEFT_SHIFT F &hp LEFT_CONTROL G - &kp D &none>; - }; - }; -}; diff --git a/app/tests/hold-tap/hold-preferred/behavior_keymap.dtsi b/app/tests/hold-tap/hold-preferred/behavior_keymap.dtsi deleted file mode 100644 index da6b8362da1..00000000000 --- a/app/tests/hold-tap/hold-preferred/behavior_keymap.dtsi +++ /dev/null @@ -1,30 +0,0 @@ -#include -#include -#include - - - -/ { - behaviors { - ht_hold: behavior_hold_hold_tap { - compatible = "zmk,behavior-hold-tap"; - label = "hold_hold_tap"; - #binding-cells = <2>; - flavor = "hold-preferred"; - tapping-term-ms = <300>; - quick-tap-ms = <200>; - bindings = <&kp>, <&kp>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &ht_hold LEFT_SHIFT F &ht_hold LEFT_CONTROL J - &kp D &kp RIGHT_CONTROL>; - }; - }; -}; diff --git a/app/tests/hold-tap/tap-preferred/1-dn-up/events.patterns b/app/tests/hold-tap/tap-preferred/1-dn-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/tap-preferred/1-dn-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/tap-preferred/1-dn-up/keycode_events.snapshot b/app/tests/hold-tap/tap-preferred/1-dn-up/keycode_events.snapshot deleted file mode 100644 index d1f01261c81..00000000000 --- a/app/tests/hold-tap/tap-preferred/1-dn-up/keycode_events.snapshot +++ /dev/null @@ -1,5 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (tap-preferred decision moment key-up) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/tap-preferred/1-dn-up/native_posix_64.keymap b/app/tests/hold-tap/tap-preferred/1-dn-up/native_posix_64.keymap deleted file mode 100644 index 5b725bb1536..00000000000 --- a/app/tests/hold-tap/tap-preferred/1-dn-up/native_posix_64.keymap +++ /dev/null @@ -1,11 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/tap-preferred/2-dn-timer-up/events.patterns b/app/tests/hold-tap/tap-preferred/2-dn-timer-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/tap-preferred/2-dn-timer-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/tap-preferred/2-dn-timer-up/keycode_events.snapshot b/app/tests/hold-tap/tap-preferred/2-dn-timer-up/keycode_events.snapshot deleted file mode 100644 index a8d82ae692f..00000000000 --- a/app/tests/hold-tap/tap-preferred/2-dn-timer-up/keycode_events.snapshot +++ /dev/null @@ -1,5 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-timer (tap-preferred decision moment timer) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/tap-preferred/2-dn-timer-up/native_posix_64.keymap b/app/tests/hold-tap/tap-preferred/2-dn-timer-up/native_posix_64.keymap deleted file mode 100644 index bb20a323fde..00000000000 --- a/app/tests/hold-tap/tap-preferred/2-dn-timer-up/native_posix_64.keymap +++ /dev/null @@ -1,11 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,500) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/tap-preferred/3a-moddn-dn-modup-up/events.patterns b/app/tests/hold-tap/tap-preferred/3a-moddn-dn-modup-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/tap-preferred/3a-moddn-dn-modup-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/tap-preferred/3a-moddn-dn-modup-up/keycode_events.snapshot b/app/tests/hold-tap/tap-preferred/3a-moddn-dn-modup-up/keycode_events.snapshot deleted file mode 100644 index ace1f88b7b5..00000000000 --- a/app/tests/hold-tap/tap-preferred/3a-moddn-dn-modup-up/keycode_events.snapshot +++ /dev/null @@ -1,7 +0,0 @@ -kp_pressed: usage_page 0x07 keycode 0xE4 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (tap-preferred decision moment key-up) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE4 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/tap-preferred/3a-moddn-dn-modup-up/native_posix_64.keymap b/app/tests/hold-tap/tap-preferred/3a-moddn-dn-modup-up/native_posix_64.keymap deleted file mode 100644 index 3a696af79b3..00000000000 --- a/app/tests/hold-tap/tap-preferred/3a-moddn-dn-modup-up/native_posix_64.keymap +++ /dev/null @@ -1,13 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(1,1,10) /*ctrl*/ - ZMK_MOCK_PRESS(0,0,100) /*mt f-shift */ - ZMK_MOCK_RELEASE(1,1,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/tap-preferred/3b-moddn-dn-modup-timer-up/events.patterns b/app/tests/hold-tap/tap-preferred/3b-moddn-dn-modup-timer-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/tap-preferred/3b-moddn-dn-modup-timer-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/tap-preferred/3b-moddn-dn-modup-timer-up/keycode_events.snapshot b/app/tests/hold-tap/tap-preferred/3b-moddn-dn-modup-timer-up/keycode_events.snapshot deleted file mode 100644 index 2ea80bcdfe6..00000000000 --- a/app/tests/hold-tap/tap-preferred/3b-moddn-dn-modup-timer-up/keycode_events.snapshot +++ /dev/null @@ -1,7 +0,0 @@ -kp_pressed: usage_page 0x07 keycode 0xE4 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-timer (tap-preferred decision moment timer) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE4 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/tap-preferred/3b-moddn-dn-modup-timer-up/native_posix_64.keymap b/app/tests/hold-tap/tap-preferred/3b-moddn-dn-modup-timer-up/native_posix_64.keymap deleted file mode 100644 index 5704ca4b529..00000000000 --- a/app/tests/hold-tap/tap-preferred/3b-moddn-dn-modup-timer-up/native_posix_64.keymap +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(1,1,10) /*ctrl*/ - ZMK_MOCK_PRESS(0,0,50) /*mt f-shift */ - ZMK_MOCK_RELEASE(1,1,300) - /*timer*/ - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/tap-preferred/3c-kcdn-dn-kcup-up/events.patterns b/app/tests/hold-tap/tap-preferred/3c-kcdn-dn-kcup-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/tap-preferred/3c-kcdn-dn-kcup-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/tap-preferred/3c-kcdn-dn-kcup-up/keycode_events.snapshot b/app/tests/hold-tap/tap-preferred/3c-kcdn-dn-kcup-up/keycode_events.snapshot deleted file mode 100644 index 72e3755a115..00000000000 --- a/app/tests/hold-tap/tap-preferred/3c-kcdn-dn-kcup-up/keycode_events.snapshot +++ /dev/null @@ -1,7 +0,0 @@ -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_pressed: 0 new undecided hold_tap -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -ht_decide: 0 decided tap (tap-preferred decision moment key-up) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/tap-preferred/3c-kcdn-dn-kcup-up/native_posix_64.keymap b/app/tests/hold-tap/tap-preferred/3c-kcdn-dn-kcup-up/native_posix_64.keymap deleted file mode 100644 index df066fb0c49..00000000000 --- a/app/tests/hold-tap/tap-preferred/3c-kcdn-dn-kcup-up/native_posix_64.keymap +++ /dev/null @@ -1,13 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(1,0,10) /*d*/ - ZMK_MOCK_PRESS(0,0,100) /*mt f-shift */ - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/tap-preferred/3d-kcdn-dn-kcup-timer-up/events.patterns b/app/tests/hold-tap/tap-preferred/3d-kcdn-dn-kcup-timer-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/tap-preferred/3d-kcdn-dn-kcup-timer-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/tap-preferred/3d-kcdn-dn-kcup-timer-up/keycode_events.snapshot b/app/tests/hold-tap/tap-preferred/3d-kcdn-dn-kcup-timer-up/keycode_events.snapshot deleted file mode 100644 index ef6ab73b0ca..00000000000 --- a/app/tests/hold-tap/tap-preferred/3d-kcdn-dn-kcup-timer-up/keycode_events.snapshot +++ /dev/null @@ -1,7 +0,0 @@ -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_pressed: 0 new undecided hold_tap -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -ht_decide: 0 decided hold-timer (tap-preferred decision moment timer) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/tap-preferred/3d-kcdn-dn-kcup-timer-up/native_posix_64.keymap b/app/tests/hold-tap/tap-preferred/3d-kcdn-dn-kcup-timer-up/native_posix_64.keymap deleted file mode 100644 index 34645ad4a43..00000000000 --- a/app/tests/hold-tap/tap-preferred/3d-kcdn-dn-kcup-timer-up/native_posix_64.keymap +++ /dev/null @@ -1,13 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(1,0,10) /* d */ - ZMK_MOCK_PRESS(0,0,100) /* mt f-shift */ - ZMK_MOCK_RELEASE(1,0,400) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/tap-preferred/4a-dn-htdn-timer-htup-up/events.patterns b/app/tests/hold-tap/tap-preferred/4a-dn-htdn-timer-htup-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/tap-preferred/4a-dn-htdn-timer-htup-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/tap-preferred/4a-dn-htdn-timer-htup-up/keycode_events.snapshot b/app/tests/hold-tap/tap-preferred/4a-dn-htdn-timer-htup-up/keycode_events.snapshot deleted file mode 100644 index 11ab645187d..00000000000 --- a/app/tests/hold-tap/tap-preferred/4a-dn-htdn-timer-htup-up/keycode_events.snapshot +++ /dev/null @@ -1,10 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-timer (tap-preferred decision moment timer) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_pressed: 1 new undecided hold_tap -ht_decide: 1 decided tap (tap-preferred decision moment key-up) -kp_pressed: usage_page 0x07 keycode 0x0D implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x0D implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 1 cleaning up hold-tap -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/tap-preferred/4a-dn-htdn-timer-htup-up/native_posix_64.keymap b/app/tests/hold-tap/tap-preferred/4a-dn-htdn-timer-htup-up/native_posix_64.keymap deleted file mode 100644 index 9c108d32ff5..00000000000 --- a/app/tests/hold-tap/tap-preferred/4a-dn-htdn-timer-htup-up/native_posix_64.keymap +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,200) - ZMK_MOCK_PRESS(0,1,200) - /* timer fires */ - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/tap-preferred/4a-dn-kcdn-timer-kcup-up/events.patterns b/app/tests/hold-tap/tap-preferred/4a-dn-kcdn-timer-kcup-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/tap-preferred/4a-dn-kcdn-timer-kcup-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/tap-preferred/4a-dn-kcdn-timer-kcup-up/keycode_events.snapshot b/app/tests/hold-tap/tap-preferred/4a-dn-kcdn-timer-kcup-up/keycode_events.snapshot deleted file mode 100644 index a0a2e232f73..00000000000 --- a/app/tests/hold-tap/tap-preferred/4a-dn-kcdn-timer-kcup-up/keycode_events.snapshot +++ /dev/null @@ -1,7 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-timer (tap-preferred decision moment timer) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/tap-preferred/4a-dn-kcdn-timer-kcup-up/native_posix_64.keymap b/app/tests/hold-tap/tap-preferred/4a-dn-kcdn-timer-kcup-up/native_posix_64.keymap deleted file mode 100644 index 9fd7cbf09e6..00000000000 --- a/app/tests/hold-tap/tap-preferred/4a-dn-kcdn-timer-kcup-up/native_posix_64.keymap +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,200) - ZMK_MOCK_PRESS(1,0,200) - /* timer fires */ - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/tap-preferred/4b-dn-kcdn-kcup-timer-up/events.patterns b/app/tests/hold-tap/tap-preferred/4b-dn-kcdn-kcup-timer-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/tap-preferred/4b-dn-kcdn-kcup-timer-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/tap-preferred/4b-dn-kcdn-kcup-timer-up/keycode_events.snapshot b/app/tests/hold-tap/tap-preferred/4b-dn-kcdn-kcup-timer-up/keycode_events.snapshot deleted file mode 100644 index a0a2e232f73..00000000000 --- a/app/tests/hold-tap/tap-preferred/4b-dn-kcdn-kcup-timer-up/keycode_events.snapshot +++ /dev/null @@ -1,7 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-timer (tap-preferred decision moment timer) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/tap-preferred/4b-dn-kcdn-kcup-timer-up/native_posix_64.keymap b/app/tests/hold-tap/tap-preferred/4b-dn-kcdn-kcup-timer-up/native_posix_64.keymap deleted file mode 100644 index f586b97862f..00000000000 --- a/app/tests/hold-tap/tap-preferred/4b-dn-kcdn-kcup-timer-up/native_posix_64.keymap +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,100) - ZMK_MOCK_PRESS(1,0,100) - ZMK_MOCK_RELEASE(1,0,200) - /* timer fires */ - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/tap-preferred/4c-dn-kcdn-kcup-up/events.patterns b/app/tests/hold-tap/tap-preferred/4c-dn-kcdn-kcup-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/tap-preferred/4c-dn-kcdn-kcup-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/tap-preferred/4c-dn-kcdn-kcup-up/keycode_events.snapshot b/app/tests/hold-tap/tap-preferred/4c-dn-kcdn-kcup-up/keycode_events.snapshot deleted file mode 100644 index 93fa43be6d2..00000000000 --- a/app/tests/hold-tap/tap-preferred/4c-dn-kcdn-kcup-up/keycode_events.snapshot +++ /dev/null @@ -1,7 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (tap-preferred decision moment key-up) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/tap-preferred/4c-dn-kcdn-kcup-up/native_posix_64.keymap b/app/tests/hold-tap/tap-preferred/4c-dn-kcdn-kcup-up/native_posix_64.keymap deleted file mode 100644 index 3a5eab10c4f..00000000000 --- a/app/tests/hold-tap/tap-preferred/4c-dn-kcdn-kcup-up/native_posix_64.keymap +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,0,10) - /* timer */ - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/tap-preferred/4d-dn-kcdn-timer-up-kcup/events.patterns b/app/tests/hold-tap/tap-preferred/4d-dn-kcdn-timer-up-kcup/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/tap-preferred/4d-dn-kcdn-timer-up-kcup/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/tap-preferred/4d-dn-kcdn-timer-up-kcup/keycode_events.snapshot b/app/tests/hold-tap/tap-preferred/4d-dn-kcdn-timer-up-kcup/keycode_events.snapshot deleted file mode 100644 index e10f263eb15..00000000000 --- a/app/tests/hold-tap/tap-preferred/4d-dn-kcdn-timer-up-kcup/keycode_events.snapshot +++ /dev/null @@ -1,7 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (tap-preferred decision moment key-up) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/hold-tap/tap-preferred/4d-dn-kcdn-timer-up-kcup/native_posix_64.keymap b/app/tests/hold-tap/tap-preferred/4d-dn-kcdn-timer-up-kcup/native_posix_64.keymap deleted file mode 100644 index cc7412f7f37..00000000000 --- a/app/tests/hold-tap/tap-preferred/4d-dn-kcdn-timer-up-kcup/native_posix_64.keymap +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,100) - ZMK_MOCK_PRESS(1,0,100) - ZMK_MOCK_RELEASE(0,0,200) - /* timer fires */ - ZMK_MOCK_RELEASE(1,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/tap-preferred/5-quick-tap/events.patterns b/app/tests/hold-tap/tap-preferred/5-quick-tap/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/tap-preferred/5-quick-tap/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/tap-preferred/5-quick-tap/keycode_events.snapshot b/app/tests/hold-tap/tap-preferred/5-quick-tap/keycode_events.snapshot deleted file mode 100644 index 3e8ec42b520..00000000000 --- a/app/tests/hold-tap/tap-preferred/5-quick-tap/keycode_events.snapshot +++ /dev/null @@ -1,10 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (tap-preferred decision moment key-up) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (tap-preferred decision moment quick-tap) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/tap-preferred/5-quick-tap/native_posix_64.keymap b/app/tests/hold-tap/tap-preferred/5-quick-tap/native_posix_64.keymap deleted file mode 100644 index bd431ceb095..00000000000 --- a/app/tests/hold-tap/tap-preferred/5-quick-tap/native_posix_64.keymap +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_PRESS(0,0,400) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/tap-preferred/6-nested-timeouts/events.patterns b/app/tests/hold-tap/tap-preferred/6-nested-timeouts/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/tap-preferred/6-nested-timeouts/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/tap-preferred/6-nested-timeouts/keycode_events.snapshot b/app/tests/hold-tap/tap-preferred/6-nested-timeouts/keycode_events.snapshot deleted file mode 100644 index 11ab645187d..00000000000 --- a/app/tests/hold-tap/tap-preferred/6-nested-timeouts/keycode_events.snapshot +++ /dev/null @@ -1,10 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-timer (tap-preferred decision moment timer) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_pressed: 1 new undecided hold_tap -ht_decide: 1 decided tap (tap-preferred decision moment key-up) -kp_pressed: usage_page 0x07 keycode 0x0D implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x0D implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 1 cleaning up hold-tap -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/tap-preferred/6-nested-timeouts/native_posix_64.keymap b/app/tests/hold-tap/tap-preferred/6-nested-timeouts/native_posix_64.keymap deleted file mode 100644 index 500d2670b96..00000000000 --- a/app/tests/hold-tap/tap-preferred/6-nested-timeouts/native_posix_64.keymap +++ /dev/null @@ -1,53 +0,0 @@ -#include -#include -#include - -/* -* A hold-tap with long tapping term is pressed first. -* A hold-tap with short tapping term is quickly tapped. -* The short tapping term hold-tap should 'tap', not 'hold'. -*/ - -/ { - behaviors { - tp_short: short_tap { - compatible = "zmk,behavior-hold-tap"; - label = "MOD_TAP_SHORT"; - #binding-cells = <2>; - flavor = "tap-preferred"; - tapping-term-ms = <100>; - quick-tap-ms = <200>; - bindings = <&kp>, <&kp>; - }; - tp_long: long_tap { - compatible = "zmk,behavior-hold-tap"; - label = "MOD_TAP_LONG"; - #binding-cells = <2>; - flavor = "tap-preferred"; - tapping-term-ms = <200>; - quick-tap-ms = <200>; - bindings = <&kp>, <&kp>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &tp_long LEFT_SHIFT F &tp_short LEFT_CONTROL J - &kp D &kp RIGHT_CONTROL>; - }; - }; -}; - - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,20) - ZMK_MOCK_PRESS(0,1,20) - ZMK_MOCK_RELEASE(0,1,200) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/tap-preferred/7-positional/2-dn-timer-up/events.patterns b/app/tests/hold-tap/tap-preferred/7-positional/2-dn-timer-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/tap-preferred/7-positional/2-dn-timer-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/tap-preferred/7-positional/2-dn-timer-up/keycode_events.snapshot b/app/tests/hold-tap/tap-preferred/7-positional/2-dn-timer-up/keycode_events.snapshot deleted file mode 100644 index a8d82ae692f..00000000000 --- a/app/tests/hold-tap/tap-preferred/7-positional/2-dn-timer-up/keycode_events.snapshot +++ /dev/null @@ -1,5 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-timer (tap-preferred decision moment timer) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/tap-preferred/7-positional/2-dn-timer-up/native_posix_64.keymap b/app/tests/hold-tap/tap-preferred/7-positional/2-dn-timer-up/native_posix_64.keymap deleted file mode 100644 index bb20a323fde..00000000000 --- a/app/tests/hold-tap/tap-preferred/7-positional/2-dn-timer-up/native_posix_64.keymap +++ /dev/null @@ -1,11 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,500) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/tap-preferred/7-positional/4a-dn-ntgdn-timer-ntgup-up/events.patterns b/app/tests/hold-tap/tap-preferred/7-positional/4a-dn-ntgdn-timer-ntgup-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/tap-preferred/7-positional/4a-dn-ntgdn-timer-ntgup-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/tap-preferred/7-positional/4a-dn-ntgdn-timer-ntgup-up/keycode_events.snapshot b/app/tests/hold-tap/tap-preferred/7-positional/4a-dn-ntgdn-timer-ntgup-up/keycode_events.snapshot deleted file mode 100644 index 337af3e9f20..00000000000 --- a/app/tests/hold-tap/tap-preferred/7-positional/4a-dn-ntgdn-timer-ntgup-up/keycode_events.snapshot +++ /dev/null @@ -1,7 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (tap-preferred decision moment timer) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x08 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x08 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/tap-preferred/7-positional/4a-dn-ntgdn-timer-ntgup-up/native_posix_64.keymap b/app/tests/hold-tap/tap-preferred/7-positional/4a-dn-ntgdn-timer-ntgup-up/native_posix_64.keymap deleted file mode 100644 index 9ee237d3a99..00000000000 --- a/app/tests/hold-tap/tap-preferred/7-positional/4a-dn-ntgdn-timer-ntgup-up/native_posix_64.keymap +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,200) - ZMK_MOCK_PRESS(1,1,200) // non trigger key - /* timer fires */ - ZMK_MOCK_RELEASE(1,1,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/tap-preferred/7-positional/4a-dn-tgdn-timer-tgup-up/events.patterns b/app/tests/hold-tap/tap-preferred/7-positional/4a-dn-tgdn-timer-tgup-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/tap-preferred/7-positional/4a-dn-tgdn-timer-tgup-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/tap-preferred/7-positional/4a-dn-tgdn-timer-tgup-up/keycode_events.snapshot b/app/tests/hold-tap/tap-preferred/7-positional/4a-dn-tgdn-timer-tgup-up/keycode_events.snapshot deleted file mode 100644 index a0a2e232f73..00000000000 --- a/app/tests/hold-tap/tap-preferred/7-positional/4a-dn-tgdn-timer-tgup-up/keycode_events.snapshot +++ /dev/null @@ -1,7 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-timer (tap-preferred decision moment timer) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/tap-preferred/7-positional/4a-dn-tgdn-timer-tgup-up/native_posix_64.keymap b/app/tests/hold-tap/tap-preferred/7-positional/4a-dn-tgdn-timer-tgup-up/native_posix_64.keymap deleted file mode 100644 index f2f2f8bd068..00000000000 --- a/app/tests/hold-tap/tap-preferred/7-positional/4a-dn-tgdn-timer-tgup-up/native_posix_64.keymap +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,200) - ZMK_MOCK_PRESS(1,0,200) // trigger key - /* timer fires */ - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/tap-preferred/7-positional/behavior_keymap.dtsi b/app/tests/hold-tap/tap-preferred/7-positional/behavior_keymap.dtsi deleted file mode 100644 index 79a88eb2c51..00000000000 --- a/app/tests/hold-tap/tap-preferred/7-positional/behavior_keymap.dtsi +++ /dev/null @@ -1,29 +0,0 @@ -#include -#include -#include - -/ { - behaviors { - tp: behavior_tap_preferred { - compatible = "zmk,behavior-hold-tap"; - label = "MOD_TAP"; - #binding-cells = <2>; - flavor = "tap-preferred"; - tapping-term-ms = <300>; - quick-tap-ms = <200>; - bindings = <&kp>, <&kp>; - hold-trigger-key-positions = <2>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &tp LEFT_SHIFT F &tp LEFT_CONTROL J - &kp D &kp E>; - }; - }; -}; diff --git a/app/tests/hold-tap/tap-preferred/7-positional/on-release-no-trigger/events.patterns b/app/tests/hold-tap/tap-preferred/7-positional/on-release-no-trigger/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/tap-preferred/7-positional/on-release-no-trigger/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/tap-preferred/7-positional/on-release-no-trigger/keycode_events.snapshot b/app/tests/hold-tap/tap-preferred/7-positional/on-release-no-trigger/keycode_events.snapshot deleted file mode 100644 index d72f20d61e0..00000000000 --- a/app/tests/hold-tap/tap-preferred/7-positional/on-release-no-trigger/keycode_events.snapshot +++ /dev/null @@ -1,12 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -ht_decide: 0 decided tap (tap-preferred decision moment key-up) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_pressed: 1 new undecided hold_tap -ht_decide: 1 decided tap (tap-preferred decision moment key-up) -kp_pressed: usage_page 0x07 keycode 0x0D implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x08 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x0D implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 1 cleaning up hold-tap -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/tap-preferred/7-positional/on-release-no-trigger/native_posix_64.keymap b/app/tests/hold-tap/tap-preferred/7-positional/on-release-no-trigger/native_posix_64.keymap deleted file mode 100644 index 179b64ee2d8..00000000000 --- a/app/tests/hold-tap/tap-preferred/7-positional/on-release-no-trigger/native_posix_64.keymap +++ /dev/null @@ -1,17 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&tp { hold-trigger-on-release; }; - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) // mod 1 - ZMK_MOCK_PRESS(0,1,10) // mod 2 - ZMK_MOCK_PRESS(1,1,10) // not trigger position - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; diff --git a/app/tests/hold-tap/tap-preferred/7-positional/on-release-trigger/events.patterns b/app/tests/hold-tap/tap-preferred/7-positional/on-release-trigger/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/tap-preferred/7-positional/on-release-trigger/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/tap-preferred/7-positional/on-release-trigger/keycode_events.snapshot b/app/tests/hold-tap/tap-preferred/7-positional/on-release-trigger/keycode_events.snapshot deleted file mode 100644 index a330a93c147..00000000000 --- a/app/tests/hold-tap/tap-preferred/7-positional/on-release-trigger/keycode_events.snapshot +++ /dev/null @@ -1,12 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (tap-preferred decision moment key-up) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_pressed: 1 new undecided hold_tap -ht_decide: 1 decided tap (tap-preferred decision moment key-up) -kp_pressed: usage_page 0x07 keycode 0x0D implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x0D implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 1 cleaning up hold-tap -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/tap-preferred/7-positional/on-release-trigger/native_posix_64.keymap b/app/tests/hold-tap/tap-preferred/7-positional/on-release-trigger/native_posix_64.keymap deleted file mode 100644 index e926b45c4fe..00000000000 --- a/app/tests/hold-tap/tap-preferred/7-positional/on-release-trigger/native_posix_64.keymap +++ /dev/null @@ -1,17 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&tp { hold-trigger-on-release; }; - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) // mod 1 - ZMK_MOCK_PRESS(0,1,10) // mod 2 - ZMK_MOCK_PRESS(1,0,10) // trigger position - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; diff --git a/app/tests/hold-tap/tap-preferred/7-positional/tgdn-dn-ntgdn-timer-ntgup-tgup-up/events.patterns b/app/tests/hold-tap/tap-preferred/7-positional/tgdn-dn-ntgdn-timer-ntgup-tgup-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/tap-preferred/7-positional/tgdn-dn-ntgdn-timer-ntgup-tgup-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/tap-preferred/7-positional/tgdn-dn-ntgdn-timer-ntgup-tgup-up/keycode_events.snapshot b/app/tests/hold-tap/tap-preferred/7-positional/tgdn-dn-ntgdn-timer-ntgup-tgup-up/keycode_events.snapshot deleted file mode 100644 index 4ecb1b8e08a..00000000000 --- a/app/tests/hold-tap/tap-preferred/7-positional/tgdn-dn-ntgdn-timer-ntgup-tgup-up/keycode_events.snapshot +++ /dev/null @@ -1,9 +0,0 @@ -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (tap-preferred decision moment timer) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x08 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x08 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/tap-preferred/7-positional/tgdn-dn-ntgdn-timer-ntgup-tgup-up/native_posix_64.keymap b/app/tests/hold-tap/tap-preferred/7-positional/tgdn-dn-ntgdn-timer-ntgup-tgup-up/native_posix_64.keymap deleted file mode 100644 index 78404536bed..00000000000 --- a/app/tests/hold-tap/tap-preferred/7-positional/tgdn-dn-ntgdn-timer-ntgup-tgup-up/native_posix_64.keymap +++ /dev/null @@ -1,16 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(1,0,10) // trigger key - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(1,1,400) // not trigger key - /* timer fires */ - ZMK_MOCK_RELEASE(1,1,10) - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/tap-preferred/8-require-prior-idle/1-basic/events.patterns b/app/tests/hold-tap/tap-preferred/8-require-prior-idle/1-basic/events.patterns deleted file mode 100644 index 4db21917caf..00000000000 --- a/app/tests/hold-tap/tap-preferred/8-require-prior-idle/1-basic/events.patterns +++ /dev/null @@ -1,6 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p -s/.*update_hold_status_for_retro_tap/update_hold_status_for_retro_tap/p -s/.*decide_retro_tap/decide_retro_tap/p \ No newline at end of file diff --git a/app/tests/hold-tap/tap-preferred/8-require-prior-idle/1-basic/keycode_events.snapshot b/app/tests/hold-tap/tap-preferred/8-require-prior-idle/1-basic/keycode_events.snapshot deleted file mode 100644 index 84522da3d67..00000000000 --- a/app/tests/hold-tap/tap-preferred/8-require-prior-idle/1-basic/keycode_events.snapshot +++ /dev/null @@ -1,24 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (tap-preferred decision moment key-up) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (tap-preferred decision moment quick-tap) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-timer (tap-preferred decision moment timer) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (tap-preferred decision moment quick-tap) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/tap-preferred/8-require-prior-idle/1-basic/native_posix_64.keymap b/app/tests/hold-tap/tap-preferred/8-require-prior-idle/1-basic/native_posix_64.keymap deleted file mode 100644 index aa629498073..00000000000 --- a/app/tests/hold-tap/tap-preferred/8-require-prior-idle/1-basic/native_posix_64.keymap +++ /dev/null @@ -1,25 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - /* tap */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,250) - /* normal quick tap */ - ZMK_MOCK_PRESS(0,0,400) - ZMK_MOCK_RELEASE(0,0,400) - /* hold */ - ZMK_MOCK_PRESS(0,0,400) - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,0,400) - /* require-prior-idle */ - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_PRESS(0,0,400) - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; diff --git a/app/tests/hold-tap/tap-preferred/8-require-prior-idle/2-double-hold/events.patterns b/app/tests/hold-tap/tap-preferred/8-require-prior-idle/2-double-hold/events.patterns deleted file mode 100644 index 4db21917caf..00000000000 --- a/app/tests/hold-tap/tap-preferred/8-require-prior-idle/2-double-hold/events.patterns +++ /dev/null @@ -1,6 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p -s/.*update_hold_status_for_retro_tap/update_hold_status_for_retro_tap/p -s/.*decide_retro_tap/decide_retro_tap/p \ No newline at end of file diff --git a/app/tests/hold-tap/tap-preferred/8-require-prior-idle/2-double-hold/keycode_events.snapshot b/app/tests/hold-tap/tap-preferred/8-require-prior-idle/2-double-hold/keycode_events.snapshot deleted file mode 100644 index 756dcf2e838..00000000000 --- a/app/tests/hold-tap/tap-preferred/8-require-prior-idle/2-double-hold/keycode_events.snapshot +++ /dev/null @@ -1,12 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-timer (tap-preferred decision moment timer) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_pressed: 1 new undecided hold_tap -ht_decide: 1 decided hold-timer (tap-preferred decision moment timer) -kp_pressed: usage_page 0x07 keycode 0xE0 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap -kp_released: usage_page 0x07 keycode 0xE0 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 1 cleaning up hold-tap diff --git a/app/tests/hold-tap/tap-preferred/8-require-prior-idle/2-double-hold/native_posix_64.keymap b/app/tests/hold-tap/tap-preferred/8-require-prior-idle/2-double-hold/native_posix_64.keymap deleted file mode 100644 index 068ae81a8c6..00000000000 --- a/app/tests/hold-tap/tap-preferred/8-require-prior-idle/2-double-hold/native_posix_64.keymap +++ /dev/null @@ -1,20 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - /* hold the first mod tap */ - ZMK_MOCK_PRESS(0,0,10) - /* hold the second mod tap */ - ZMK_MOCK_PRESS(0,1,400) - /* press the normal key */ - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_RELEASE(1,0,10) - - /* release the hold taps */ - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) - >; -}; diff --git a/app/tests/hold-tap/tap-preferred/8-require-prior-idle/behavior_keymap.dtsi b/app/tests/hold-tap/tap-preferred/8-require-prior-idle/behavior_keymap.dtsi deleted file mode 100644 index c66dc934092..00000000000 --- a/app/tests/hold-tap/tap-preferred/8-require-prior-idle/behavior_keymap.dtsi +++ /dev/null @@ -1,29 +0,0 @@ -#include -#include -#include - -/ { - behaviors { - tp: behavior_tap_preferred { - compatible = "zmk,behavior-hold-tap"; - label = "MOD_TAP"; - #binding-cells = <2>; - flavor = "tap-preferred"; - tapping-term-ms = <300>; - quick-tap-ms = <300>; - require-prior-idle-ms = <100>; - bindings = <&kp>, <&kp>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &tp LEFT_SHIFT F &tp LEFT_CONTROL C - &kp D &none>; - }; - }; -}; diff --git a/app/tests/hold-tap/tap-preferred/behavior_keymap.dtsi b/app/tests/hold-tap/tap-preferred/behavior_keymap.dtsi deleted file mode 100644 index df307740199..00000000000 --- a/app/tests/hold-tap/tap-preferred/behavior_keymap.dtsi +++ /dev/null @@ -1,28 +0,0 @@ -#include -#include -#include - -/ { - behaviors { - tp: behavior_tap_preferred { - compatible = "zmk,behavior-hold-tap"; - label = "MOD_TAP"; - #binding-cells = <2>; - flavor = "tap-preferred"; - tapping-term-ms = <300>; - quick-tap-ms = <200>; - bindings = <&kp>, <&kp>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &tp LEFT_SHIFT F &tp LEFT_CONTROL J - &kp D &kp RIGHT_CONTROL>; - }; - }; -}; diff --git a/app/tests/hold-tap/tap-unless-interrupted/1-dn-up/events.patterns b/app/tests/hold-tap/tap-unless-interrupted/1-dn-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/1-dn-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/tap-unless-interrupted/1-dn-up/keycode_events.snapshot b/app/tests/hold-tap/tap-unless-interrupted/1-dn-up/keycode_events.snapshot deleted file mode 100644 index 1eb2d1e3246..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/1-dn-up/keycode_events.snapshot +++ /dev/null @@ -1,5 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (tap-unless-interrupted decision moment key-up) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/tap-unless-interrupted/1-dn-up/native_posix_64.keymap b/app/tests/hold-tap/tap-unless-interrupted/1-dn-up/native_posix_64.keymap deleted file mode 100644 index 5b725bb1536..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/1-dn-up/native_posix_64.keymap +++ /dev/null @@ -1,11 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/tap-unless-interrupted/2-dn-timer-up/events.patterns b/app/tests/hold-tap/tap-unless-interrupted/2-dn-timer-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/2-dn-timer-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/tap-unless-interrupted/2-dn-timer-up/keycode_events.snapshot b/app/tests/hold-tap/tap-unless-interrupted/2-dn-timer-up/keycode_events.snapshot deleted file mode 100644 index e036acb9d28..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/2-dn-timer-up/keycode_events.snapshot +++ /dev/null @@ -1,5 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (tap-unless-interrupted decision moment timer) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/tap-unless-interrupted/2-dn-timer-up/native_posix_64.keymap b/app/tests/hold-tap/tap-unless-interrupted/2-dn-timer-up/native_posix_64.keymap deleted file mode 100644 index bb20a323fde..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/2-dn-timer-up/native_posix_64.keymap +++ /dev/null @@ -1,11 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,500) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/tap-unless-interrupted/3a-moddn-dn-modup-up/events.patterns b/app/tests/hold-tap/tap-unless-interrupted/3a-moddn-dn-modup-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/3a-moddn-dn-modup-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/tap-unless-interrupted/3a-moddn-dn-modup-up/keycode_events.snapshot b/app/tests/hold-tap/tap-unless-interrupted/3a-moddn-dn-modup-up/keycode_events.snapshot deleted file mode 100644 index ad1b0911ad5..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/3a-moddn-dn-modup-up/keycode_events.snapshot +++ /dev/null @@ -1,7 +0,0 @@ -kp_pressed: usage_page 0x07 keycode 0xE4 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (tap-unless-interrupted decision moment key-up) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE4 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/tap-unless-interrupted/3a-moddn-dn-modup-up/native_posix_64.keymap b/app/tests/hold-tap/tap-unless-interrupted/3a-moddn-dn-modup-up/native_posix_64.keymap deleted file mode 100644 index 3a696af79b3..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/3a-moddn-dn-modup-up/native_posix_64.keymap +++ /dev/null @@ -1,13 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(1,1,10) /*ctrl*/ - ZMK_MOCK_PRESS(0,0,100) /*mt f-shift */ - ZMK_MOCK_RELEASE(1,1,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/tap-unless-interrupted/3b-moddn-dn-modup-timer-up/events.patterns b/app/tests/hold-tap/tap-unless-interrupted/3b-moddn-dn-modup-timer-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/3b-moddn-dn-modup-timer-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/tap-unless-interrupted/3b-moddn-dn-modup-timer-up/keycode_events.snapshot b/app/tests/hold-tap/tap-unless-interrupted/3b-moddn-dn-modup-timer-up/keycode_events.snapshot deleted file mode 100644 index 7922ade455e..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/3b-moddn-dn-modup-timer-up/keycode_events.snapshot +++ /dev/null @@ -1,7 +0,0 @@ -kp_pressed: usage_page 0x07 keycode 0xE4 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (tap-unless-interrupted decision moment timer) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE4 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/tap-unless-interrupted/3b-moddn-dn-modup-timer-up/native_posix_64.keymap b/app/tests/hold-tap/tap-unless-interrupted/3b-moddn-dn-modup-timer-up/native_posix_64.keymap deleted file mode 100644 index 5704ca4b529..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/3b-moddn-dn-modup-timer-up/native_posix_64.keymap +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(1,1,10) /*ctrl*/ - ZMK_MOCK_PRESS(0,0,50) /*mt f-shift */ - ZMK_MOCK_RELEASE(1,1,300) - /*timer*/ - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/tap-unless-interrupted/3c-kcdn-dn-kcup-up/events.patterns b/app/tests/hold-tap/tap-unless-interrupted/3c-kcdn-dn-kcup-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/3c-kcdn-dn-kcup-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/tap-unless-interrupted/3c-kcdn-dn-kcup-up/keycode_events.snapshot b/app/tests/hold-tap/tap-unless-interrupted/3c-kcdn-dn-kcup-up/keycode_events.snapshot deleted file mode 100644 index 3a9b3dcb502..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/3c-kcdn-dn-kcup-up/keycode_events.snapshot +++ /dev/null @@ -1,7 +0,0 @@ -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_pressed: 0 new undecided hold_tap -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -ht_decide: 0 decided tap (tap-unless-interrupted decision moment key-up) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/tap-unless-interrupted/3c-kcdn-dn-kcup-up/native_posix_64.keymap b/app/tests/hold-tap/tap-unless-interrupted/3c-kcdn-dn-kcup-up/native_posix_64.keymap deleted file mode 100644 index df066fb0c49..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/3c-kcdn-dn-kcup-up/native_posix_64.keymap +++ /dev/null @@ -1,13 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(1,0,10) /*d*/ - ZMK_MOCK_PRESS(0,0,100) /*mt f-shift */ - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/tap-unless-interrupted/3d-kcdn-dn-kcup-timer-up/events.patterns b/app/tests/hold-tap/tap-unless-interrupted/3d-kcdn-dn-kcup-timer-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/3d-kcdn-dn-kcup-timer-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/tap-unless-interrupted/3d-kcdn-dn-kcup-timer-up/keycode_events.snapshot b/app/tests/hold-tap/tap-unless-interrupted/3d-kcdn-dn-kcup-timer-up/keycode_events.snapshot deleted file mode 100644 index 0a72c83a3a0..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/3d-kcdn-dn-kcup-timer-up/keycode_events.snapshot +++ /dev/null @@ -1,7 +0,0 @@ -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_pressed: 0 new undecided hold_tap -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -ht_decide: 0 decided tap (tap-unless-interrupted decision moment timer) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/tap-unless-interrupted/3d-kcdn-dn-kcup-timer-up/native_posix_64.keymap b/app/tests/hold-tap/tap-unless-interrupted/3d-kcdn-dn-kcup-timer-up/native_posix_64.keymap deleted file mode 100644 index 34645ad4a43..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/3d-kcdn-dn-kcup-timer-up/native_posix_64.keymap +++ /dev/null @@ -1,13 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(1,0,10) /* d */ - ZMK_MOCK_PRESS(0,0,100) /* mt f-shift */ - ZMK_MOCK_RELEASE(1,0,400) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/tap-unless-interrupted/4a-dn-htdn-timer-htup-up/events.patterns b/app/tests/hold-tap/tap-unless-interrupted/4a-dn-htdn-timer-htup-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/4a-dn-htdn-timer-htup-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/tap-unless-interrupted/4a-dn-htdn-timer-htup-up/native_posix_64.keymap b/app/tests/hold-tap/tap-unless-interrupted/4a-dn-htdn-timer-htup-up/native_posix_64.keymap deleted file mode 100644 index 9c108d32ff5..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/4a-dn-htdn-timer-htup-up/native_posix_64.keymap +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,200) - ZMK_MOCK_PRESS(0,1,200) - /* timer fires */ - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/tap-unless-interrupted/4a-dn-kcdn-timer-kcup-up/events.patterns b/app/tests/hold-tap/tap-unless-interrupted/4a-dn-kcdn-timer-kcup-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/4a-dn-kcdn-timer-kcup-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/tap-unless-interrupted/4a-dn-kcdn-timer-kcup-up/keycode_events.snapshot b/app/tests/hold-tap/tap-unless-interrupted/4a-dn-kcdn-timer-kcup-up/keycode_events.snapshot deleted file mode 100644 index 2f3484256df..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/4a-dn-kcdn-timer-kcup-up/keycode_events.snapshot +++ /dev/null @@ -1,7 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-interrupt (tap-unless-interrupted decision moment other-key-down) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/tap-unless-interrupted/4a-dn-kcdn-timer-kcup-up/native_posix_64.keymap b/app/tests/hold-tap/tap-unless-interrupted/4a-dn-kcdn-timer-kcup-up/native_posix_64.keymap deleted file mode 100644 index 9fd7cbf09e6..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/4a-dn-kcdn-timer-kcup-up/native_posix_64.keymap +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,200) - ZMK_MOCK_PRESS(1,0,200) - /* timer fires */ - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/tap-unless-interrupted/4b-dn-kcdn-kcup-timer-up/events.patterns b/app/tests/hold-tap/tap-unless-interrupted/4b-dn-kcdn-kcup-timer-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/4b-dn-kcdn-kcup-timer-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/tap-unless-interrupted/4b-dn-kcdn-kcup-timer-up/keycode_events.snapshot b/app/tests/hold-tap/tap-unless-interrupted/4b-dn-kcdn-kcup-timer-up/keycode_events.snapshot deleted file mode 100644 index 2f3484256df..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/4b-dn-kcdn-kcup-timer-up/keycode_events.snapshot +++ /dev/null @@ -1,7 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-interrupt (tap-unless-interrupted decision moment other-key-down) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/tap-unless-interrupted/4b-dn-kcdn-kcup-timer-up/native_posix_64.keymap b/app/tests/hold-tap/tap-unless-interrupted/4b-dn-kcdn-kcup-timer-up/native_posix_64.keymap deleted file mode 100644 index f586b97862f..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/4b-dn-kcdn-kcup-timer-up/native_posix_64.keymap +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,100) - ZMK_MOCK_PRESS(1,0,100) - ZMK_MOCK_RELEASE(1,0,200) - /* timer fires */ - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/tap-unless-interrupted/4c-dn-kcdn-kcup-up/events.patterns b/app/tests/hold-tap/tap-unless-interrupted/4c-dn-kcdn-kcup-up/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/4c-dn-kcdn-kcup-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/tap-unless-interrupted/4c-dn-kcdn-kcup-up/keycode_events.snapshot b/app/tests/hold-tap/tap-unless-interrupted/4c-dn-kcdn-kcup-up/keycode_events.snapshot deleted file mode 100644 index 2f3484256df..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/4c-dn-kcdn-kcup-up/keycode_events.snapshot +++ /dev/null @@ -1,7 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-interrupt (tap-unless-interrupted decision moment other-key-down) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/tap-unless-interrupted/4c-dn-kcdn-kcup-up/native_posix_64.keymap b/app/tests/hold-tap/tap-unless-interrupted/4c-dn-kcdn-kcup-up/native_posix_64.keymap deleted file mode 100644 index 3a5eab10c4f..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/4c-dn-kcdn-kcup-up/native_posix_64.keymap +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,0,10) - /* timer */ - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/tap-unless-interrupted/4d-dn-kcdn-timer-up-kcup/events.patterns b/app/tests/hold-tap/tap-unless-interrupted/4d-dn-kcdn-timer-up-kcup/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/4d-dn-kcdn-timer-up-kcup/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/tap-unless-interrupted/4d-dn-kcdn-timer-up-kcup/keycode_events.snapshot b/app/tests/hold-tap/tap-unless-interrupted/4d-dn-kcdn-timer-up-kcup/keycode_events.snapshot deleted file mode 100644 index ae7c79466dd..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/4d-dn-kcdn-timer-up-kcup/keycode_events.snapshot +++ /dev/null @@ -1,7 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided hold-interrupt (tap-unless-interrupted decision moment other-key-down) -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/hold-tap/tap-unless-interrupted/4d-dn-kcdn-timer-up-kcup/native_posix_64.keymap b/app/tests/hold-tap/tap-unless-interrupted/4d-dn-kcdn-timer-up-kcup/native_posix_64.keymap deleted file mode 100644 index cc7412f7f37..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/4d-dn-kcdn-timer-up-kcup/native_posix_64.keymap +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,100) - ZMK_MOCK_PRESS(1,0,100) - ZMK_MOCK_RELEASE(0,0,200) - /* timer fires */ - ZMK_MOCK_RELEASE(1,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/tap-unless-interrupted/5-quick-tap/events.patterns b/app/tests/hold-tap/tap-unless-interrupted/5-quick-tap/events.patterns deleted file mode 100644 index fdf2b15cf25..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/5-quick-tap/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p \ No newline at end of file diff --git a/app/tests/hold-tap/tap-unless-interrupted/5-quick-tap/keycode_events.snapshot b/app/tests/hold-tap/tap-unless-interrupted/5-quick-tap/keycode_events.snapshot deleted file mode 100644 index 070b9938b18..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/5-quick-tap/keycode_events.snapshot +++ /dev/null @@ -1,10 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (tap-unless-interrupted decision moment key-up) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (tap-unless-interrupted decision moment quick-tap) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/tap-unless-interrupted/5-quick-tap/native_posix_64.keymap b/app/tests/hold-tap/tap-unless-interrupted/5-quick-tap/native_posix_64.keymap deleted file mode 100644 index bd431ceb095..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/5-quick-tap/native_posix_64.keymap +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_PRESS(0,0,400) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/1-basic/events.patterns b/app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/1-basic/events.patterns deleted file mode 100644 index 4db21917caf..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/1-basic/events.patterns +++ /dev/null @@ -1,6 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p -s/.*update_hold_status_for_retro_tap/update_hold_status_for_retro_tap/p -s/.*decide_retro_tap/decide_retro_tap/p \ No newline at end of file diff --git a/app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/1-basic/keycode_events.snapshot b/app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/1-basic/keycode_events.snapshot deleted file mode 100644 index 03bc028906d..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/1-basic/keycode_events.snapshot +++ /dev/null @@ -1,24 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (tap-unless-interrupted decision moment key-up) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (tap-unless-interrupted decision moment quick-tap) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (tap-unless-interrupted decision moment timer) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (tap-unless-interrupted decision moment quick-tap) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap diff --git a/app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/1-basic/native_posix_64.keymap b/app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/1-basic/native_posix_64.keymap deleted file mode 100644 index aa629498073..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/1-basic/native_posix_64.keymap +++ /dev/null @@ -1,25 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - /* tap */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,250) - /* normal quick tap */ - ZMK_MOCK_PRESS(0,0,400) - ZMK_MOCK_RELEASE(0,0,400) - /* hold */ - ZMK_MOCK_PRESS(0,0,400) - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,0,400) - /* require-prior-idle */ - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_PRESS(0,0,400) - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; diff --git a/app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/2-double-hold/events.patterns b/app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/2-double-hold/events.patterns deleted file mode 100644 index 4db21917caf..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/2-double-hold/events.patterns +++ /dev/null @@ -1,6 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*on_hold_tap_binding/ht_binding/p -s/.*decide_hold_tap/ht_decide/p -s/.*update_hold_status_for_retro_tap/update_hold_status_for_retro_tap/p -s/.*decide_retro_tap/decide_retro_tap/p \ No newline at end of file diff --git a/app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/2-double-hold/keycode_events.snapshot b/app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/2-double-hold/keycode_events.snapshot deleted file mode 100644 index bf3ab9c0586..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/2-double-hold/keycode_events.snapshot +++ /dev/null @@ -1,12 +0,0 @@ -ht_binding_pressed: 0 new undecided hold_tap -ht_decide: 0 decided tap (tap-unless-interrupted decision moment timer) -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_pressed: 1 new undecided hold_tap -ht_decide: 1 decided tap (tap-unless-interrupted decision moment timer) -kp_pressed: usage_page 0x07 keycode 0x0D implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 0 cleaning up hold-tap -kp_released: usage_page 0x07 keycode 0x0D implicit_mods 0x00 explicit_mods 0x00 -ht_binding_released: 1 cleaning up hold-tap diff --git a/app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/2-double-hold/native_posix_64.keymap b/app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/2-double-hold/native_posix_64.keymap deleted file mode 100644 index 69d691cee8e..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/2-double-hold/native_posix_64.keymap +++ /dev/null @@ -1,20 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - /* hold the first mod tap */ - ZMK_MOCK_PRESS(0,0,400) - /* hold the second mod tap */ - ZMK_MOCK_PRESS(0,1,400) - /* press the normal key */ - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_RELEASE(1,0,10) - - /* release the hold taps */ - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) - >; -}; diff --git a/app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/behavior_keymap.dtsi b/app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/behavior_keymap.dtsi deleted file mode 100644 index 7aa3940833f..00000000000 --- a/app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/behavior_keymap.dtsi +++ /dev/null @@ -1,29 +0,0 @@ -#include -#include -#include - -/ { - behaviors { - ht_tui: behavior_hold_tap_tap_unless_interrupted { - compatible = "zmk,behavior-hold-tap"; - label = "hold_tap_tap_unless_interrupted"; - #binding-cells = <2>; - flavor = "tap-unless-interrupted"; - tapping-term-ms = <300>; - quick-tap-ms = <300>; - require-prior-idle-ms = <100>; - bindings = <&kp>, <&kp>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &ht_tui LEFT_SHIFT F &ht_tui LEFT_CONTROL J - &kp D &kp RIGHT_CONTROL>; - }; - }; -}; diff --git a/app/tests/hold-tap/README.md b/app/tests/jamie/README.md similarity index 100% rename from app/tests/hold-tap/README.md rename to app/tests/jamie/README.md diff --git a/app/tests/hold-tap/balanced/1-dn-up/events.patterns b/app/tests/jamie/tap-unless-interrupted/4a-dn-htdn-timer-htup-up/events.patterns similarity index 100% rename from app/tests/hold-tap/balanced/1-dn-up/events.patterns rename to app/tests/jamie/tap-unless-interrupted/4a-dn-htdn-timer-htup-up/events.patterns diff --git a/app/tests/hold-tap/tap-unless-interrupted/4a-dn-htdn-timer-htup-up/keycode_events.snapshot b/app/tests/jamie/tap-unless-interrupted/4a-dn-htdn-timer-htup-up/keycode_events.snapshot similarity index 100% rename from app/tests/hold-tap/tap-unless-interrupted/4a-dn-htdn-timer-htup-up/keycode_events.snapshot rename to app/tests/jamie/tap-unless-interrupted/4a-dn-htdn-timer-htup-up/keycode_events.snapshot diff --git a/app/tests/hold-tap/balanced/4a-dn-htdn-timer-htup-up/native_posix_64.keymap b/app/tests/jamie/tap-unless-interrupted/4a-dn-htdn-timer-htup-up/native_posix_64.keymap similarity index 75% rename from app/tests/hold-tap/balanced/4a-dn-htdn-timer-htup-up/native_posix_64.keymap rename to app/tests/jamie/tap-unless-interrupted/4a-dn-htdn-timer-htup-up/native_posix_64.keymap index 9c108d32ff5..eeb2084dd5d 100644 --- a/app/tests/hold-tap/balanced/4a-dn-htdn-timer-htup-up/native_posix_64.keymap +++ b/app/tests/jamie/tap-unless-interrupted/4a-dn-htdn-timer-htup-up/native_posix_64.keymap @@ -6,8 +6,9 @@ &kscan { events = < ZMK_MOCK_PRESS(0,0,200) - ZMK_MOCK_PRESS(0,1,200) - /* timer fires */ + ZMK_MOCK_PRESS(0,1,400) + /* timer 0 fires */ + /* timer 1 fires */ ZMK_MOCK_RELEASE(0,1,10) ZMK_MOCK_RELEASE(0,0,10) >; diff --git a/app/tests/hold-tap/tap-unless-interrupted/behavior_keymap.dtsi b/app/tests/jamie/tap-unless-interrupted/behavior_keymap.dtsi similarity index 94% rename from app/tests/hold-tap/tap-unless-interrupted/behavior_keymap.dtsi rename to app/tests/jamie/tap-unless-interrupted/behavior_keymap.dtsi index b24de6dd257..2329ecc8f3d 100644 --- a/app/tests/hold-tap/tap-unless-interrupted/behavior_keymap.dtsi +++ b/app/tests/jamie/tap-unless-interrupted/behavior_keymap.dtsi @@ -14,6 +14,7 @@ tapping-term-ms = <300>; quick-tap-ms = <200>; bindings = <&kp>, <&kp>; + hold-trigger-key-positions = <1>; }; }; diff --git a/app/tests/hold-tap/zmk-modtap-proposal.odg b/app/tests/jamie/zmk-modtap-proposal.odg similarity index 100% rename from app/tests/hold-tap/zmk-modtap-proposal.odg rename to app/tests/jamie/zmk-modtap-proposal.odg diff --git a/app/tests/hold-tap/zmk-modtap-proposal.pdf b/app/tests/jamie/zmk-modtap-proposal.pdf similarity index 100% rename from app/tests/hold-tap/zmk-modtap-proposal.pdf rename to app/tests/jamie/zmk-modtap-proposal.pdf diff --git a/app/tests/keypress/behavior_keymap.dtsi b/app/tests/keypress/behavior_keymap.dtsi deleted file mode 100644 index 52f9421c2fb..00000000000 --- a/app/tests/keypress/behavior_keymap.dtsi +++ /dev/null @@ -1,17 +0,0 @@ -#include -#include -#include - -/ { - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kp B &none - &none &none - >; - }; - }; -}; diff --git a/app/tests/keypress/kp-press-release/events.patterns b/app/tests/keypress/kp-press-release/events.patterns deleted file mode 100644 index 833100f6ac4..00000000000 --- a/app/tests/keypress/kp-press-release/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*hid_listener_keycode_//p \ No newline at end of file diff --git a/app/tests/keypress/kp-press-release/keycode_events.snapshot b/app/tests/keypress/kp-press-release/keycode_events.snapshot deleted file mode 100644 index 259501ba3d9..00000000000 --- a/app/tests/keypress/kp-press-release/keycode_events.snapshot +++ /dev/null @@ -1,2 +0,0 @@ -pressed: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/keypress/kp-press-release/native_posix_64.keymap b/app/tests/keypress/kp-press-release/native_posix_64.keymap deleted file mode 100644 index a414f34ba63..00000000000 --- a/app/tests/keypress/kp-press-release/native_posix_64.keymap +++ /dev/null @@ -1,8 +0,0 @@ -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/keytoggle/behavior_keymap.dtsi b/app/tests/keytoggle/behavior_keymap.dtsi deleted file mode 100644 index 45d48164b0c..00000000000 --- a/app/tests/keytoggle/behavior_keymap.dtsi +++ /dev/null @@ -1,17 +0,0 @@ -#include -#include -#include - -/ { - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kt B &none - &none &none - >; - }; - }; -}; diff --git a/app/tests/keytoggle/kt-alt-tab/events.patterns b/app/tests/keytoggle/kt-alt-tab/events.patterns deleted file mode 100644 index 69eeca5afd6..00000000000 --- a/app/tests/keytoggle/kt-alt-tab/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*\(hid_listener_keycode_\|hid_implicit_modifiers_\)//p diff --git a/app/tests/keytoggle/kt-alt-tab/keycode_events.snapshot b/app/tests/keytoggle/kt-alt-tab/keycode_events.snapshot deleted file mode 100644 index 3318db42364..00000000000 --- a/app/tests/keytoggle/kt-alt-tab/keycode_events.snapshot +++ /dev/null @@ -1,28 +0,0 @@ -pressed: usage_page 0x07 keycode 0xE2 implicit_mods 0x00 explicit_mods 0x00 -press: Modifiers set to 0x04 -pressed: usage_page 0x07 keycode 0x2B implicit_mods 0x00 explicit_mods 0x00 -press: Modifiers set to 0x04 -released: usage_page 0x07 keycode 0x2B implicit_mods 0x00 explicit_mods 0x00 -release: Modifiers set to 0x04 -pressed: usage_page 0x07 keycode 0x2B implicit_mods 0x00 explicit_mods 0x00 -press: Modifiers set to 0x04 -released: usage_page 0x07 keycode 0x2B implicit_mods 0x00 explicit_mods 0x00 -release: Modifiers set to 0x04 -pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -press: Modifiers set to 0x06 -pressed: usage_page 0x07 keycode 0x2B implicit_mods 0x00 explicit_mods 0x00 -press: Modifiers set to 0x06 -released: usage_page 0x07 keycode 0x2B implicit_mods 0x00 explicit_mods 0x00 -release: Modifiers set to 0x06 -released: usage_page 0x07 keycode 0xE2 implicit_mods 0x00 explicit_mods 0x00 -release: Modifiers set to 0x02 -pressed: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -press: Modifiers set to 0x02 -released: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -release: Modifiers set to 0x02 -released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -release: Modifiers set to 0x00 -pressed: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -press: Modifiers set to 0x00 -released: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -release: Modifiers set to 0x00 diff --git a/app/tests/keytoggle/kt-alt-tab/native_posix_64.keymap b/app/tests/keytoggle/kt-alt-tab/native_posix_64.keymap deleted file mode 100644 index 4f70b591105..00000000000 --- a/app/tests/keytoggle/kt-alt-tab/native_posix_64.keymap +++ /dev/null @@ -1,48 +0,0 @@ -#include -#include -#include - -&kscan { - events = < - /* Toggle LALT on */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - /* Tap TAB twice */ - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - /* Toggle LSHFT on */ - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_RELEASE(1,0,10) - /* Tap TAB once */ - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - /* Toggle LALT off */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - /* Tap A */ - ZMK_MOCK_PRESS(1,1,10) - ZMK_MOCK_RELEASE(1,1,10) - /* Toggle LSHFT off */ - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_RELEASE(1,0,10) - /* Tap A */ - ZMK_MOCK_PRESS(1,1,10) - ZMK_MOCK_RELEASE(1,1,10) - >; -}; - -/ { - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kt LALT &kp TAB - &kt LSHFT &kp A - >; - }; - }; -}; \ No newline at end of file diff --git a/app/tests/keytoggle/kt-modded-alpha/events.patterns b/app/tests/keytoggle/kt-modded-alpha/events.patterns deleted file mode 100644 index 69eeca5afd6..00000000000 --- a/app/tests/keytoggle/kt-modded-alpha/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*\(hid_listener_keycode_\|hid_implicit_modifiers_\)//p diff --git a/app/tests/keytoggle/kt-modded-alpha/keycode_events.snapshot b/app/tests/keytoggle/kt-modded-alpha/keycode_events.snapshot deleted file mode 100644 index 6fd41cb2168..00000000000 --- a/app/tests/keytoggle/kt-modded-alpha/keycode_events.snapshot +++ /dev/null @@ -1,12 +0,0 @@ -pressed: usage_page 0x07 keycode 0x04 implicit_mods 0x02 explicit_mods 0x00 -press: Modifiers set to 0x02 -released: usage_page 0x07 keycode 0x04 implicit_mods 0x02 explicit_mods 0x00 -release: Modifiers set to 0x00 -pressed: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -press: Modifiers set to 0x00 -released: usage_page 0x07 keycode 0x04 implicit_mods 0x02 explicit_mods 0x00 -release: Modifiers set to 0x00 -pressed: usage_page 0x07 keycode 0x04 implicit_mods 0x02 explicit_mods 0x00 -press: Modifiers set to 0x02 -released: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -release: Modifiers set to 0x00 diff --git a/app/tests/keytoggle/kt-modded-alpha/native_posix_64.keymap b/app/tests/keytoggle/kt-modded-alpha/native_posix_64.keymap deleted file mode 100644 index b07f297f795..00000000000 --- a/app/tests/keytoggle/kt-modded-alpha/native_posix_64.keymap +++ /dev/null @@ -1,38 +0,0 @@ -#include -#include -#include - -&kscan { - events = < - /* Toggle LS(A) on */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - /* Toggle LS(A) off */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - /* Press A */ - ZMK_MOCK_PRESS(1,0,10) - /* Toggle LS(A) on */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - /* Toggle LS(A) off */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - /* Release A */ - ZMK_MOCK_RELEASE(1,0,10) - >; -}; - -/ { - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kt LS(A) &trans - &kp A &trans - >; - }; - }; -}; \ No newline at end of file diff --git a/app/tests/keytoggle/kt-press-release-nkro/events.patterns b/app/tests/keytoggle/kt-press-release-nkro/events.patterns deleted file mode 100644 index 833100f6ac4..00000000000 --- a/app/tests/keytoggle/kt-press-release-nkro/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*hid_listener_keycode_//p \ No newline at end of file diff --git a/app/tests/keytoggle/kt-press-release-nkro/keycode_events.snapshot b/app/tests/keytoggle/kt-press-release-nkro/keycode_events.snapshot deleted file mode 100644 index 259501ba3d9..00000000000 --- a/app/tests/keytoggle/kt-press-release-nkro/keycode_events.snapshot +++ /dev/null @@ -1,2 +0,0 @@ -pressed: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/keytoggle/kt-press-release-nkro/native_posix_64.conf b/app/tests/keytoggle/kt-press-release-nkro/native_posix_64.conf deleted file mode 100644 index 01abac5ee19..00000000000 --- a/app/tests/keytoggle/kt-press-release-nkro/native_posix_64.conf +++ /dev/null @@ -1,7 +0,0 @@ -CONFIG_GPIO=n -CONFIG_LOG=y -CONFIG_LOG_BACKEND_SHOW_COLOR=n -CONFIG_ZMK_LOG_LEVEL_DBG=y -CONFIG_DEBUG=y -CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000 -CONFIG_ZMK_HID_REPORT_TYPE_NKRO=y \ No newline at end of file diff --git a/app/tests/keytoggle/kt-press-release-nkro/native_posix_64.keymap b/app/tests/keytoggle/kt-press-release-nkro/native_posix_64.keymap deleted file mode 100644 index 5c2d202850b..00000000000 --- a/app/tests/keytoggle/kt-press-release-nkro/native_posix_64.keymap +++ /dev/null @@ -1,10 +0,0 @@ -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/keytoggle/kt-press-release/events.patterns b/app/tests/keytoggle/kt-press-release/events.patterns deleted file mode 100644 index 833100f6ac4..00000000000 --- a/app/tests/keytoggle/kt-press-release/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*hid_listener_keycode_//p \ No newline at end of file diff --git a/app/tests/keytoggle/kt-press-release/keycode_events.snapshot b/app/tests/keytoggle/kt-press-release/keycode_events.snapshot deleted file mode 100644 index 259501ba3d9..00000000000 --- a/app/tests/keytoggle/kt-press-release/keycode_events.snapshot +++ /dev/null @@ -1,2 +0,0 @@ -pressed: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 -released: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/keytoggle/kt-press-release/native_posix_64.keymap b/app/tests/keytoggle/kt-press-release/native_posix_64.keymap deleted file mode 100644 index 5c2d202850b..00000000000 --- a/app/tests/keytoggle/kt-press-release/native_posix_64.keymap +++ /dev/null @@ -1,10 +0,0 @@ -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/macros/basic/events.patterns b/app/tests/macros/basic/events.patterns deleted file mode 100644 index 0a5f25ca647..00000000000 --- a/app/tests/macros/basic/events.patterns +++ /dev/null @@ -1,2 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*behavior_queue_process_next/queue_process_next/p \ No newline at end of file diff --git a/app/tests/macros/basic/keycode_events.snapshot b/app/tests/macros/basic/keycode_events.snapshot deleted file mode 100644 index b238a2fff23..00000000000 --- a/app/tests/macros/basic/keycode_events.snapshot +++ /dev/null @@ -1,18 +0,0 @@ -queue_process_next: Invoking KEY_PRESS: 0x70004 0x00 -kp_pressed: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -queue_process_next: Processing next queued behavior in 50ms -queue_process_next: Invoking KEY_PRESS: 0x70004 0x00 -kp_released: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -queue_process_next: Processing next queued behavior in 10ms -queue_process_next: Invoking KEY_PRESS: 0x70005 0x00 -kp_pressed: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 -queue_process_next: Processing next queued behavior in 50ms -queue_process_next: Invoking KEY_PRESS: 0x70005 0x00 -kp_released: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 -queue_process_next: Processing next queued behavior in 10ms -queue_process_next: Invoking KEY_PRESS: 0x70006 0x00 -kp_pressed: usage_page 0x07 keycode 0x06 implicit_mods 0x00 explicit_mods 0x00 -queue_process_next: Processing next queued behavior in 50ms -queue_process_next: Invoking KEY_PRESS: 0x70006 0x00 -kp_released: usage_page 0x07 keycode 0x06 implicit_mods 0x00 explicit_mods 0x00 -queue_process_next: Processing next queued behavior in 10ms diff --git a/app/tests/macros/basic/native_posix_64.keymap b/app/tests/macros/basic/native_posix_64.keymap deleted file mode 100644 index a34ba99f72e..00000000000 --- a/app/tests/macros/basic/native_posix_64.keymap +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright (c) 2022 The ZMK Contributors - * - * SPDX-License-Identifier: MIT - */ - -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = ; -}; \ No newline at end of file diff --git a/app/tests/macros/behavior_keymap.dtsi b/app/tests/macros/behavior_keymap.dtsi deleted file mode 100644 index 90322e42818..00000000000 --- a/app/tests/macros/behavior_keymap.dtsi +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (c) 2022 The ZMK Contributors - * - * SPDX-License-Identifier: MIT - */ - -#include -#include -#include - -/ { - macros { - ZMK_MACRO(abc_macro, - wait-ms = <10>; - tap-ms = <50>; - bindings = <&kp A &kp B &kp C>; - ) - - ZMK_MACRO(hold_shift_macro, - bindings - = <¯o_press &kp LSHFT> - , <¯o_tap> - , <&kp D &kp O &kp G> - , <¯o_release &kp LSHFT> - ; - ) - - ZMK_MACRO(custom_timing, - bindings - = <¯o_wait_time 50> - , <&kp A> - , <¯o_tap_time 20> - , <&kp B &kp C> - ; - ) - - ZMK_MACRO(dual_sequence_macro, - wait-ms = <10>; - tap-ms = <40>; - bindings - = <¯o_press &kp LALT> - , <¯o_tap> - , <&kp TAB> - , <¯o_pause_for_release> - , <¯o_release &kp LALT> - ; - ) - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &abc_macro &mo 1 - &hold_shift_macro &custom_timing>; - }; - - extra_layer { - bindings = < - &dual_sequence_macro &trans - &kp TAB &none>; - - }; - - }; -}; diff --git a/app/tests/macros/mo-plus-modifier-from-hold-tap/events.patterns b/app/tests/macros/mo-plus-modifier-from-hold-tap/events.patterns deleted file mode 100644 index 3c9d3f838c6..00000000000 --- a/app/tests/macros/mo-plus-modifier-from-hold-tap/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*hid_listener_keycode/kp/p \ No newline at end of file diff --git a/app/tests/macros/mo-plus-modifier-from-hold-tap/keycode_events.snapshot b/app/tests/macros/mo-plus-modifier-from-hold-tap/keycode_events.snapshot deleted file mode 100644 index 6e1257c6026..00000000000 --- a/app/tests/macros/mo-plus-modifier-from-hold-tap/keycode_events.snapshot +++ /dev/null @@ -1,4 +0,0 @@ -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x08 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x08 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/macros/mo-plus-modifier-from-hold-tap/native_posix_64.keymap b/app/tests/macros/mo-plus-modifier-from-hold-tap/native_posix_64.keymap deleted file mode 100644 index bdf89abfdc9..00000000000 --- a/app/tests/macros/mo-plus-modifier-from-hold-tap/native_posix_64.keymap +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright (c) 2022 The ZMK Contributors - * - * SPDX-License-Identifier: MIT - */ - -#include -#include -#include - -/ { - macros { - ZMK_MACRO( - mo_mod_macro, - wait-ms = <0>; - tap-ms = <20>; - bindings - = <¯o_press &mo 1 &kp LSHFT> - , <¯o_pause_for_release> - , <¯o_release &mo 1 &kp LSHFT>; - ) - }; - - behaviors { - mth: macro_tap_hold { - compatible = "zmk,behavior-hold-tap"; - label = "MACRO_TAP_HOLD"; - #binding-cells = <2>; - flavor = "tap-unless-interrupted"; - tapping-term-ms = <200>; - bindings = <&mo_mod_macro>, <&kp>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &mth 0 TAB &kp A - &kp B &kp C>; - }; - - extra_layer { - bindings = < - &kp D &kp E - &kp F &kp G>; - - }; - - }; -}; - -&kscan { - events = ; -}; \ No newline at end of file diff --git a/app/tests/macros/mo-plus-modifier-macro/events.patterns b/app/tests/macros/mo-plus-modifier-macro/events.patterns deleted file mode 100644 index 3c9d3f838c6..00000000000 --- a/app/tests/macros/mo-plus-modifier-macro/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*hid_listener_keycode/kp/p \ No newline at end of file diff --git a/app/tests/macros/mo-plus-modifier-macro/keycode_events.snapshot b/app/tests/macros/mo-plus-modifier-macro/keycode_events.snapshot deleted file mode 100644 index 6e1257c6026..00000000000 --- a/app/tests/macros/mo-plus-modifier-macro/keycode_events.snapshot +++ /dev/null @@ -1,4 +0,0 @@ -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x08 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x08 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/macros/mo-plus-modifier-macro/native_posix_64.keymap b/app/tests/macros/mo-plus-modifier-macro/native_posix_64.keymap deleted file mode 100644 index 4cc60bf5b00..00000000000 --- a/app/tests/macros/mo-plus-modifier-macro/native_posix_64.keymap +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (c) 2022 The ZMK Contributors - * - * SPDX-License-Identifier: MIT - */ - -#include -#include -#include - -/ { - macros { - ZMK_MACRO( - mo_mod_macro, - wait-ms = <0>; - tap-ms = <20>; - bindings - = <¯o_press &mo 1 &kp LSHFT> - , <¯o_pause_for_release> - , <¯o_release &mo 1 &kp LSHFT>; - ) - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &mo_mod_macro &kp A - &kp B &kp C>; - }; - - extra_layer { - bindings = < - &kp D &kp E - &kp F &kp G>; - - }; - - }; -}; - -&kscan { - events = ; -}; \ No newline at end of file diff --git a/app/tests/macros/place-holder-parameters/events.patterns b/app/tests/macros/place-holder-parameters/events.patterns deleted file mode 100644 index 3c9d3f838c6..00000000000 --- a/app/tests/macros/place-holder-parameters/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*hid_listener_keycode/kp/p \ No newline at end of file diff --git a/app/tests/macros/place-holder-parameters/keycode_events.snapshot b/app/tests/macros/place-holder-parameters/keycode_events.snapshot deleted file mode 100644 index f198a49b81e..00000000000 --- a/app/tests/macros/place-holder-parameters/keycode_events.snapshot +++ /dev/null @@ -1,16 +0,0 @@ -kp_pressed: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x38 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x38 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x34 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x34 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x34 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x34 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x08 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x08 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x09 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/macros/place-holder-parameters/native_posix_64.keymap b/app/tests/macros/place-holder-parameters/native_posix_64.keymap deleted file mode 100644 index 59d78b5e8fb..00000000000 --- a/app/tests/macros/place-holder-parameters/native_posix_64.keymap +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright (c) 2022 The ZMK Contributors - * - * SPDX-License-Identifier: MIT - */ - -#include -#include -#include - -/ { - macros { - slash_macro: slash_macro { - #binding-cells = <2>; - label = "ZM_SLASH"; - compatible = "zmk,behavior-macro-two-param"; - wait-ms = <40>; - tap-ms = <40>; - bindings = < - ¯o_param_1to1 &kp MACRO_PLACEHOLDER - &kp SLASH - ¯o_param_2to1 &kp MACRO_PLACEHOLDER>; - }; - - to_second_macro: to_second_macro { - #binding-cells = <2>; - label = "ZMK_TO_SECOND"; - compatible = "zmk,behavior-macro-two-param"; - wait-ms = <40>; - tap-ms = <40>; - bindings = < - ¯o_param_1to2 &mt LSHIFT MACRO_PLACEHOLDER - ¯o_param_2to2 &mt RSHIFT MACRO_PLACEHOLDER>; - }; - - quote_letter_macro: quote_letter_macro { - #binding-cells = <1>; - label = "ZMK_QLET"; - compatible = "zmk,behavior-macro-one-param"; - wait-ms = <40>; - tap-ms = <40>; - bindings = < - &kp QUOT - ¯o_param_1to1 &kp MACRO_PLACEHOLDER - &kp QUOT>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - label = "Default keymap"; - - default_layer { - bindings = < - &slash_macro A B "e_letter_macro B - &to_second_macro E F &kp C>; - }; - }; -}; - -&kscan { - events = ; -}; \ No newline at end of file diff --git a/app/tests/macros/press-mid-macro/events.patterns b/app/tests/macros/press-mid-macro/events.patterns deleted file mode 100644 index cedbda8bc6d..00000000000 --- a/app/tests/macros/press-mid-macro/events.patterns +++ /dev/null @@ -1,2 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*keymap_apply_position_state/pos_state/p \ No newline at end of file diff --git a/app/tests/macros/press-mid-macro/keycode_events.snapshot b/app/tests/macros/press-mid-macro/keycode_events.snapshot deleted file mode 100644 index 22393a3ad63..00000000000 --- a/app/tests/macros/press-mid-macro/keycode_events.snapshot +++ /dev/null @@ -1,10 +0,0 @@ -pos_state: layer: 0 position: 0, binding name: ZM_abc_macro -kp_pressed: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -pos_state: layer: 0 position: 0, binding name: ZM_abc_macro -pos_state: layer: 0 position: 1, binding name: MO -pos_state: layer: 0 position: 1, binding name: MO -kp_released: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x06 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x06 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/macros/press-mid-macro/native_posix_64.keymap b/app/tests/macros/press-mid-macro/native_posix_64.keymap deleted file mode 100644 index 8010a8e79dc..00000000000 --- a/app/tests/macros/press-mid-macro/native_posix_64.keymap +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright (c) 2022 The ZMK Contributors - * - * SPDX-License-Identifier: MIT - */ - -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = ; -}; \ No newline at end of file diff --git a/app/tests/macros/press-release/events.patterns b/app/tests/macros/press-release/events.patterns deleted file mode 100644 index 3c9d3f838c6..00000000000 --- a/app/tests/macros/press-release/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*hid_listener_keycode/kp/p \ No newline at end of file diff --git a/app/tests/macros/press-release/keycode_events.snapshot b/app/tests/macros/press-release/keycode_events.snapshot deleted file mode 100644 index d40cfb65a86..00000000000 --- a/app/tests/macros/press-release/keycode_events.snapshot +++ /dev/null @@ -1,8 +0,0 @@ -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x12 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x12 implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x0A implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x0A implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/macros/press-release/native_posix_64.keymap b/app/tests/macros/press-release/native_posix_64.keymap deleted file mode 100644 index 75333333783..00000000000 --- a/app/tests/macros/press-release/native_posix_64.keymap +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright (c) 2022 The ZMK Contributors - * - * SPDX-License-Identifier: MIT - */ - -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = ; -}; \ No newline at end of file diff --git a/app/tests/macros/timing-override/events.patterns b/app/tests/macros/timing-override/events.patterns deleted file mode 100644 index 0a5f25ca647..00000000000 --- a/app/tests/macros/timing-override/events.patterns +++ /dev/null @@ -1,2 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*behavior_queue_process_next/queue_process_next/p \ No newline at end of file diff --git a/app/tests/macros/timing-override/keycode_events.snapshot b/app/tests/macros/timing-override/keycode_events.snapshot deleted file mode 100644 index 0ff45904b25..00000000000 --- a/app/tests/macros/timing-override/keycode_events.snapshot +++ /dev/null @@ -1,18 +0,0 @@ -queue_process_next: Invoking KEY_PRESS: 0x70004 0x00 -kp_pressed: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -queue_process_next: Processing next queued behavior in 30ms -queue_process_next: Invoking KEY_PRESS: 0x70004 0x00 -kp_released: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -queue_process_next: Processing next queued behavior in 50ms -queue_process_next: Invoking KEY_PRESS: 0x70005 0x00 -kp_pressed: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 -queue_process_next: Processing next queued behavior in 20ms -queue_process_next: Invoking KEY_PRESS: 0x70005 0x00 -kp_released: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 -queue_process_next: Processing next queued behavior in 50ms -queue_process_next: Invoking KEY_PRESS: 0x70006 0x00 -kp_pressed: usage_page 0x07 keycode 0x06 implicit_mods 0x00 explicit_mods 0x00 -queue_process_next: Processing next queued behavior in 20ms -queue_process_next: Invoking KEY_PRESS: 0x70006 0x00 -kp_released: usage_page 0x07 keycode 0x06 implicit_mods 0x00 explicit_mods 0x00 -queue_process_next: Processing next queued behavior in 50ms diff --git a/app/tests/macros/timing-override/native_posix_64.keymap b/app/tests/macros/timing-override/native_posix_64.keymap deleted file mode 100644 index e5d35e88de4..00000000000 --- a/app/tests/macros/timing-override/native_posix_64.keymap +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright (c) 2022 The ZMK Contributors - * - * SPDX-License-Identifier: MIT - */ - -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = ; -}; \ No newline at end of file diff --git a/app/tests/macros/wait-macro-release/events.patterns b/app/tests/macros/wait-macro-release/events.patterns deleted file mode 100644 index 02e0c505c12..00000000000 --- a/app/tests/macros/wait-macro-release/events.patterns +++ /dev/null @@ -1,3 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*behavior_queue_process_next/queue_process_next/p -s/.*queue_macro/qm/p \ No newline at end of file diff --git a/app/tests/macros/wait-macro-release/keycode_events.snapshot b/app/tests/macros/wait-macro-release/keycode_events.snapshot deleted file mode 100644 index 21d47a29991..00000000000 --- a/app/tests/macros/wait-macro-release/keycode_events.snapshot +++ /dev/null @@ -1,16 +0,0 @@ -qm: Iterating macro bindings - starting: 0, count: 4 -queue_process_next: Invoking KEY_PRESS: 0x700e2 0x00 -kp_pressed: usage_page 0x07 keycode 0xE2 implicit_mods 0x00 explicit_mods 0x00 -queue_process_next: Processing next queued behavior in 10ms -queue_process_next: Invoking KEY_PRESS: 0x7002b 0x00 -kp_pressed: usage_page 0x07 keycode 0x2B implicit_mods 0x00 explicit_mods 0x00 -queue_process_next: Processing next queued behavior in 40ms -queue_process_next: Invoking KEY_PRESS: 0x7002b 0x00 -kp_released: usage_page 0x07 keycode 0x2B implicit_mods 0x00 explicit_mods 0x00 -queue_process_next: Processing next queued behavior in 10ms -kp_pressed: usage_page 0x07 keycode 0x2B implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x2B implicit_mods 0x00 explicit_mods 0x00 -qm: Iterating macro bindings - starting: 5, count: 2 -queue_process_next: Invoking KEY_PRESS: 0x700e2 0x00 -kp_released: usage_page 0x07 keycode 0xE2 implicit_mods 0x00 explicit_mods 0x00 -queue_process_next: Processing next queued behavior in 0ms diff --git a/app/tests/macros/wait-macro-release/native_posix_64.keymap b/app/tests/macros/wait-macro-release/native_posix_64.keymap deleted file mode 100644 index 394e4a88a4f..00000000000 --- a/app/tests/macros/wait-macro-release/native_posix_64.keymap +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright (c) 2022 The ZMK Contributors - * - * SPDX-License-Identifier: MIT - */ - -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = ; -}; \ No newline at end of file diff --git a/app/tests/mod-morph/1-no-morph/events.patterns b/app/tests/mod-morph/1-no-morph/events.patterns deleted file mode 100644 index f1a41fcf2c3..00000000000 --- a/app/tests/mod-morph/1-no-morph/events.patterns +++ /dev/null @@ -1,8 +0,0 @@ -s/.*hid_listener_keycode_pressed.*keycode/pressed: keycode/p -s/.*hid_listener_keycode_released.*keycode/released: keycode/p -s/.*hid_register_mod.*Modifiers set to /reg explicit: Modifiers set to /p -s/.*hid_unregister_mod.*Modifiers set to /unreg explicit: Modifiers set to /p -s/.*hid_implicit_modifiers_press.*Modifiers set to /reg implicit: Modifiers set to /p -s/.*hid_implicit_modifiers_release.*Modifiers set to /unreg implicit: Modifiers set to /p -s/.*hid_masked_modifiers_set.*Modifiers set to /mask mods: Modifiers set to /p -s/.*hid_masked_modifiers_clear.*Modifiers set to /unmask mods: Modifiers set to /p diff --git a/app/tests/mod-morph/1-no-morph/keycode_events.snapshot b/app/tests/mod-morph/1-no-morph/keycode_events.snapshot deleted file mode 100644 index 3a2d70febeb..00000000000 --- a/app/tests/mod-morph/1-no-morph/keycode_events.snapshot +++ /dev/null @@ -1,5 +0,0 @@ -pressed: keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -reg implicit: Modifiers set to 0x00 -released: keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -unreg implicit: Modifiers set to 0x00 -unmask mods: Modifiers set to 0x00 diff --git a/app/tests/mod-morph/1-no-morph/native_posix_64.keymap b/app/tests/mod-morph/1-no-morph/native_posix_64.keymap deleted file mode 100644 index 916aa569652..00000000000 --- a/app/tests/mod-morph/1-no-morph/native_posix_64.keymap +++ /dev/null @@ -1,11 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - >; -}; diff --git a/app/tests/mod-morph/2a-masked-morph/events.patterns b/app/tests/mod-morph/2a-masked-morph/events.patterns deleted file mode 100644 index f1a41fcf2c3..00000000000 --- a/app/tests/mod-morph/2a-masked-morph/events.patterns +++ /dev/null @@ -1,8 +0,0 @@ -s/.*hid_listener_keycode_pressed.*keycode/pressed: keycode/p -s/.*hid_listener_keycode_released.*keycode/released: keycode/p -s/.*hid_register_mod.*Modifiers set to /reg explicit: Modifiers set to /p -s/.*hid_unregister_mod.*Modifiers set to /unreg explicit: Modifiers set to /p -s/.*hid_implicit_modifiers_press.*Modifiers set to /reg implicit: Modifiers set to /p -s/.*hid_implicit_modifiers_release.*Modifiers set to /unreg implicit: Modifiers set to /p -s/.*hid_masked_modifiers_set.*Modifiers set to /mask mods: Modifiers set to /p -s/.*hid_masked_modifiers_clear.*Modifiers set to /unmask mods: Modifiers set to /p diff --git a/app/tests/mod-morph/2a-masked-morph/keycode_events.snapshot b/app/tests/mod-morph/2a-masked-morph/keycode_events.snapshot deleted file mode 100644 index dcf2aae6384..00000000000 --- a/app/tests/mod-morph/2a-masked-morph/keycode_events.snapshot +++ /dev/null @@ -1,12 +0,0 @@ -pressed: keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -reg explicit: Modifiers set to 0x02 -reg implicit: Modifiers set to 0x02 -mask mods: Modifiers set to 0x00 -pressed: keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 -reg implicit: Modifiers set to 0x00 -released: keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 -unreg implicit: Modifiers set to 0x00 -unmask mods: Modifiers set to 0x02 -released: keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -unreg explicit: Modifiers set to 0x00 -unreg implicit: Modifiers set to 0x00 diff --git a/app/tests/mod-morph/2a-masked-morph/native_posix_64.keymap b/app/tests/mod-morph/2a-masked-morph/native_posix_64.keymap deleted file mode 100644 index ec0591e5a07..00000000000 --- a/app/tests/mod-morph/2a-masked-morph/native_posix_64.keymap +++ /dev/null @@ -1,13 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_RELEASE(1,0,10) - >; -}; diff --git a/app/tests/mod-morph/2b-masked-morph-implicit-overwrite/events.patterns b/app/tests/mod-morph/2b-masked-morph-implicit-overwrite/events.patterns deleted file mode 100644 index f1a41fcf2c3..00000000000 --- a/app/tests/mod-morph/2b-masked-morph-implicit-overwrite/events.patterns +++ /dev/null @@ -1,8 +0,0 @@ -s/.*hid_listener_keycode_pressed.*keycode/pressed: keycode/p -s/.*hid_listener_keycode_released.*keycode/released: keycode/p -s/.*hid_register_mod.*Modifiers set to /reg explicit: Modifiers set to /p -s/.*hid_unregister_mod.*Modifiers set to /unreg explicit: Modifiers set to /p -s/.*hid_implicit_modifiers_press.*Modifiers set to /reg implicit: Modifiers set to /p -s/.*hid_implicit_modifiers_release.*Modifiers set to /unreg implicit: Modifiers set to /p -s/.*hid_masked_modifiers_set.*Modifiers set to /mask mods: Modifiers set to /p -s/.*hid_masked_modifiers_clear.*Modifiers set to /unmask mods: Modifiers set to /p diff --git a/app/tests/mod-morph/2b-masked-morph-implicit-overwrite/keycode_events.snapshot b/app/tests/mod-morph/2b-masked-morph-implicit-overwrite/keycode_events.snapshot deleted file mode 100644 index ce85f25db6c..00000000000 --- a/app/tests/mod-morph/2b-masked-morph-implicit-overwrite/keycode_events.snapshot +++ /dev/null @@ -1,12 +0,0 @@ -pressed: keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -reg explicit: Modifiers set to 0x02 -reg implicit: Modifiers set to 0x02 -mask mods: Modifiers set to 0x00 -pressed: keycode 0x05 implicit_mods 0x02 explicit_mods 0x00 -reg implicit: Modifiers set to 0x02 -released: keycode 0x05 implicit_mods 0x02 explicit_mods 0x00 -unreg implicit: Modifiers set to 0x00 -unmask mods: Modifiers set to 0x02 -released: keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -unreg explicit: Modifiers set to 0x00 -unreg implicit: Modifiers set to 0x00 diff --git a/app/tests/mod-morph/2b-masked-morph-implicit-overwrite/native_posix_64.keymap b/app/tests/mod-morph/2b-masked-morph-implicit-overwrite/native_posix_64.keymap deleted file mode 100644 index 66fb1ed0f58..00000000000 --- a/app/tests/mod-morph/2b-masked-morph-implicit-overwrite/native_posix_64.keymap +++ /dev/null @@ -1,37 +0,0 @@ -#include -#include -#include - -/ { - behaviors { - mod_morph: mod_morph { - compatible = "zmk,behavior-mod-morph"; - label = "MOD_MORPH_TEST"; - #binding-cells = <0>; - bindings = <&kp A>, <&kp LS(B)>; // implict mod overwrite - mods = <(MOD_LSFT|MOD_RSFT)>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kp LEFT_ALT &mod_morph - &kp LEFT_SHIFT &kp RIGHT_SHIFT - >; - }; - }; -}; - -&kscan { - events = < - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_RELEASE(1,0,10) - >; -}; - diff --git a/app/tests/mod-morph/2c-masked-morph-and-explicit-mods/events.patterns b/app/tests/mod-morph/2c-masked-morph-and-explicit-mods/events.patterns deleted file mode 100644 index f1a41fcf2c3..00000000000 --- a/app/tests/mod-morph/2c-masked-morph-and-explicit-mods/events.patterns +++ /dev/null @@ -1,8 +0,0 @@ -s/.*hid_listener_keycode_pressed.*keycode/pressed: keycode/p -s/.*hid_listener_keycode_released.*keycode/released: keycode/p -s/.*hid_register_mod.*Modifiers set to /reg explicit: Modifiers set to /p -s/.*hid_unregister_mod.*Modifiers set to /unreg explicit: Modifiers set to /p -s/.*hid_implicit_modifiers_press.*Modifiers set to /reg implicit: Modifiers set to /p -s/.*hid_implicit_modifiers_release.*Modifiers set to /unreg implicit: Modifiers set to /p -s/.*hid_masked_modifiers_set.*Modifiers set to /mask mods: Modifiers set to /p -s/.*hid_masked_modifiers_clear.*Modifiers set to /unmask mods: Modifiers set to /p diff --git a/app/tests/mod-morph/2c-masked-morph-and-explicit-mods/keycode_events.snapshot b/app/tests/mod-morph/2c-masked-morph-and-explicit-mods/keycode_events.snapshot deleted file mode 100644 index 561f88a9297..00000000000 --- a/app/tests/mod-morph/2c-masked-morph-and-explicit-mods/keycode_events.snapshot +++ /dev/null @@ -1,18 +0,0 @@ -pressed: keycode 0xE2 implicit_mods 0x00 explicit_mods 0x00 -reg explicit: Modifiers set to 0x04 -reg implicit: Modifiers set to 0x04 -pressed: keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -reg explicit: Modifiers set to 0x06 -reg implicit: Modifiers set to 0x06 -mask mods: Modifiers set to 0x04 -pressed: keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 -reg implicit: Modifiers set to 0x04 -released: keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 -unreg implicit: Modifiers set to 0x04 -unmask mods: Modifiers set to 0x06 -released: keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -unreg explicit: Modifiers set to 0x04 -unreg implicit: Modifiers set to 0x04 -released: keycode 0xE2 implicit_mods 0x00 explicit_mods 0x00 -unreg explicit: Modifiers set to 0x00 -unreg implicit: Modifiers set to 0x00 diff --git a/app/tests/mod-morph/2c-masked-morph-and-explicit-mods/native_posix_64.keymap b/app/tests/mod-morph/2c-masked-morph-and-explicit-mods/native_posix_64.keymap deleted file mode 100644 index de1368bdafa..00000000000 --- a/app/tests/mod-morph/2c-masked-morph-and-explicit-mods/native_posix_64.keymap +++ /dev/null @@ -1,15 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; diff --git a/app/tests/mod-morph/2d-masked-morph-into-hold-tap-tap/events.patterns b/app/tests/mod-morph/2d-masked-morph-into-hold-tap-tap/events.patterns deleted file mode 100644 index f1a41fcf2c3..00000000000 --- a/app/tests/mod-morph/2d-masked-morph-into-hold-tap-tap/events.patterns +++ /dev/null @@ -1,8 +0,0 @@ -s/.*hid_listener_keycode_pressed.*keycode/pressed: keycode/p -s/.*hid_listener_keycode_released.*keycode/released: keycode/p -s/.*hid_register_mod.*Modifiers set to /reg explicit: Modifiers set to /p -s/.*hid_unregister_mod.*Modifiers set to /unreg explicit: Modifiers set to /p -s/.*hid_implicit_modifiers_press.*Modifiers set to /reg implicit: Modifiers set to /p -s/.*hid_implicit_modifiers_release.*Modifiers set to /unreg implicit: Modifiers set to /p -s/.*hid_masked_modifiers_set.*Modifiers set to /mask mods: Modifiers set to /p -s/.*hid_masked_modifiers_clear.*Modifiers set to /unmask mods: Modifiers set to /p diff --git a/app/tests/mod-morph/2d-masked-morph-into-hold-tap-tap/keycode_events.snapshot b/app/tests/mod-morph/2d-masked-morph-into-hold-tap-tap/keycode_events.snapshot deleted file mode 100644 index dcf2aae6384..00000000000 --- a/app/tests/mod-morph/2d-masked-morph-into-hold-tap-tap/keycode_events.snapshot +++ /dev/null @@ -1,12 +0,0 @@ -pressed: keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -reg explicit: Modifiers set to 0x02 -reg implicit: Modifiers set to 0x02 -mask mods: Modifiers set to 0x00 -pressed: keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 -reg implicit: Modifiers set to 0x00 -released: keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 -unreg implicit: Modifiers set to 0x00 -unmask mods: Modifiers set to 0x02 -released: keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -unreg explicit: Modifiers set to 0x00 -unreg implicit: Modifiers set to 0x00 diff --git a/app/tests/mod-morph/2d-masked-morph-into-hold-tap-tap/native_posix_64.keymap b/app/tests/mod-morph/2d-masked-morph-into-hold-tap-tap/native_posix_64.keymap deleted file mode 100644 index 9b7f4fe1826..00000000000 --- a/app/tests/mod-morph/2d-masked-morph-into-hold-tap-tap/native_posix_64.keymap +++ /dev/null @@ -1,45 +0,0 @@ -#include -#include -#include - -&kscan { - events = < - /* Shift + tap &mod_morph --> expect B (but get Shift + B) */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; - -/ { - behaviors { - mod_morph: mod_morph { - compatible = "zmk,behavior-mod-morph"; - label = "MOD_MORPH_TEST"; - #binding-cells = <0>; - bindings = <&kp A>, << 1 B>; - mods = <(MOD_LSFT|MOD_RSFT)>; - }; - - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kp LEFT_SHIFT &mod_morph - &kp C &none - >; - }; - - second_layer { - bindings = < - &trans &trans - &kp D &trans - >; - }; - }; -}; diff --git a/app/tests/mod-morph/2e-masked-morph-into-hold-tap-hold/events.patterns b/app/tests/mod-morph/2e-masked-morph-into-hold-tap-hold/events.patterns deleted file mode 100644 index f1a41fcf2c3..00000000000 --- a/app/tests/mod-morph/2e-masked-morph-into-hold-tap-hold/events.patterns +++ /dev/null @@ -1,8 +0,0 @@ -s/.*hid_listener_keycode_pressed.*keycode/pressed: keycode/p -s/.*hid_listener_keycode_released.*keycode/released: keycode/p -s/.*hid_register_mod.*Modifiers set to /reg explicit: Modifiers set to /p -s/.*hid_unregister_mod.*Modifiers set to /unreg explicit: Modifiers set to /p -s/.*hid_implicit_modifiers_press.*Modifiers set to /reg implicit: Modifiers set to /p -s/.*hid_implicit_modifiers_release.*Modifiers set to /unreg implicit: Modifiers set to /p -s/.*hid_masked_modifiers_set.*Modifiers set to /mask mods: Modifiers set to /p -s/.*hid_masked_modifiers_clear.*Modifiers set to /unmask mods: Modifiers set to /p diff --git a/app/tests/mod-morph/2e-masked-morph-into-hold-tap-hold/keycode_events.snapshot b/app/tests/mod-morph/2e-masked-morph-into-hold-tap-hold/keycode_events.snapshot deleted file mode 100644 index ba70ee98177..00000000000 --- a/app/tests/mod-morph/2e-masked-morph-into-hold-tap-hold/keycode_events.snapshot +++ /dev/null @@ -1,12 +0,0 @@ -pressed: keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -reg explicit: Modifiers set to 0x02 -reg implicit: Modifiers set to 0x02 -mask mods: Modifiers set to 0x00 -pressed: keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -reg implicit: Modifiers set to 0x00 -released: keycode 0x07 implicit_mods 0x00 explicit_mods 0x00 -unreg implicit: Modifiers set to 0x00 -unmask mods: Modifiers set to 0x02 -released: keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -unreg explicit: Modifiers set to 0x00 -unreg implicit: Modifiers set to 0x00 diff --git a/app/tests/mod-morph/2e-masked-morph-into-hold-tap-hold/native_posix_64.keymap b/app/tests/mod-morph/2e-masked-morph-into-hold-tap-hold/native_posix_64.keymap deleted file mode 100644 index e0c1d1e57b3..00000000000 --- a/app/tests/mod-morph/2e-masked-morph-into-hold-tap-hold/native_posix_64.keymap +++ /dev/null @@ -1,47 +0,0 @@ -#include -#include -#include - -&kscan { - events = < - /* Shift + hold &mod_morph --> expect and get D (no shift) */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(0,1,200) - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; - -/ { - behaviors { - mod_morph: mod_morph { - compatible = "zmk,behavior-mod-morph"; - label = "MOD_MORPH_TEST"; - #binding-cells = <0>; - bindings = <&kp A>, << 1 B>; - mods = <(MOD_LSFT|MOD_RSFT)>; - }; - - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kp LEFT_SHIFT &mod_morph - &kp C &none - >; - }; - - second_layer { - bindings = < - &trans &trans - &kp D &trans - >; - }; - }; -}; diff --git a/app/tests/mod-morph/3-unmasked-morph/events.patterns b/app/tests/mod-morph/3-unmasked-morph/events.patterns deleted file mode 100644 index f1a41fcf2c3..00000000000 --- a/app/tests/mod-morph/3-unmasked-morph/events.patterns +++ /dev/null @@ -1,8 +0,0 @@ -s/.*hid_listener_keycode_pressed.*keycode/pressed: keycode/p -s/.*hid_listener_keycode_released.*keycode/released: keycode/p -s/.*hid_register_mod.*Modifiers set to /reg explicit: Modifiers set to /p -s/.*hid_unregister_mod.*Modifiers set to /unreg explicit: Modifiers set to /p -s/.*hid_implicit_modifiers_press.*Modifiers set to /reg implicit: Modifiers set to /p -s/.*hid_implicit_modifiers_release.*Modifiers set to /unreg implicit: Modifiers set to /p -s/.*hid_masked_modifiers_set.*Modifiers set to /mask mods: Modifiers set to /p -s/.*hid_masked_modifiers_clear.*Modifiers set to /unmask mods: Modifiers set to /p diff --git a/app/tests/mod-morph/3-unmasked-morph/keycode_events.snapshot b/app/tests/mod-morph/3-unmasked-morph/keycode_events.snapshot deleted file mode 100644 index 424242d599e..00000000000 --- a/app/tests/mod-morph/3-unmasked-morph/keycode_events.snapshot +++ /dev/null @@ -1,12 +0,0 @@ -pressed: keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -reg explicit: Modifiers set to 0x02 -reg implicit: Modifiers set to 0x02 -mask mods: Modifiers set to 0x02 -pressed: keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 -reg implicit: Modifiers set to 0x02 -released: keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 -unreg implicit: Modifiers set to 0x02 -unmask mods: Modifiers set to 0x02 -released: keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -unreg explicit: Modifiers set to 0x00 -unreg implicit: Modifiers set to 0x00 diff --git a/app/tests/mod-morph/3-unmasked-morph/native_posix_64.keymap b/app/tests/mod-morph/3-unmasked-morph/native_posix_64.keymap deleted file mode 100644 index a20c04d5dfc..00000000000 --- a/app/tests/mod-morph/3-unmasked-morph/native_posix_64.keymap +++ /dev/null @@ -1,37 +0,0 @@ -#include -#include -#include - -/ { - behaviors { - mod_morph: mod_morph { - compatible = "zmk,behavior-mod-morph"; - label = "MOD_MORPH_TEST"; - #binding-cells = <0>; - bindings = <&kp A>, <&kp B>; - mods = <(MOD_LSFT|MOD_RSFT)>; - keep-mods = <(MOD_LSFT|MOD_RSFT)>; // no masking - }; - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kp LEFT_ALT &mod_morph - &kp LEFT_SHIFT &kp RIGHT_SHIFT - >; - }; - }; -}; - -&kscan { - events = < - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_RELEASE(1,0,10) - >; -}; diff --git a/app/tests/mod-morph/behavior_keymap.dtsi b/app/tests/mod-morph/behavior_keymap.dtsi deleted file mode 100644 index 2f880540564..00000000000 --- a/app/tests/mod-morph/behavior_keymap.dtsi +++ /dev/null @@ -1,23 +0,0 @@ -/ { - behaviors { - mod_morph: mod_morph { - compatible = "zmk,behavior-mod-morph"; - label = "MOD_MORPH_TEST"; - #binding-cells = <0>; - bindings = <&kp A>, <&kp B>; - mods = <(MOD_LSFT|MOD_RSFT)>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kp LEFT_ALT &mod_morph - &kp LEFT_SHIFT &kp RIGHT_SHIFT - >; - }; - }; -}; diff --git a/app/tests/modifiers/explicit/kp-hyper-dn-a-dn-a-up-hyper-up/events.patterns b/app/tests/modifiers/explicit/kp-hyper-dn-a-dn-a-up-hyper-up/events.patterns deleted file mode 100644 index cbf21aff278..00000000000 --- a/app/tests/modifiers/explicit/kp-hyper-dn-a-dn-a-up-hyper-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode_//p -s/.*hid_register_mod/reg/p -s/.*hid_unregister_mod/unreg/p -s/.*zmk_hid_.*Modifiers set to /mods: Modifiers set to /p \ No newline at end of file diff --git a/app/tests/modifiers/explicit/kp-hyper-dn-a-dn-a-up-hyper-up/keycode_events.snapshot b/app/tests/modifiers/explicit/kp-hyper-dn-a-dn-a-up-hyper-up/keycode_events.snapshot deleted file mode 100644 index ab200cbf11f..00000000000 --- a/app/tests/modifiers/explicit/kp-hyper-dn-a-dn-a-up-hyper-up/keycode_events.snapshot +++ /dev/null @@ -1,28 +0,0 @@ -pressed: usage_page 0x07 keycode 0xE0 implicit_mods 0x00 explicit_mods 0x0E -reg: Modifier 0 count 1 -reg: Modifiers set to 0x01 -reg: Modifier 1 count 1 -reg: Modifiers set to 0x03 -reg: Modifier 2 count 1 -reg: Modifiers set to 0x07 -reg: Modifier 3 count 1 -reg: Modifiers set to 0x0F -mods: Modifiers set to 0x0F -pressed: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -mods: Modifiers set to 0x0F -released: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -mods: Modifiers set to 0x0F -released: usage_page 0x07 keycode 0xE0 implicit_mods 0x00 explicit_mods 0x0E -unreg: Modifier 0 count: 0 -unreg: Modifier 0 released -unreg: Modifiers set to 0x0E -unreg: Modifier 1 count: 0 -unreg: Modifier 1 released -unreg: Modifiers set to 0x0C -unreg: Modifier 2 count: 0 -unreg: Modifier 2 released -unreg: Modifiers set to 0x08 -unreg: Modifier 3 count: 0 -unreg: Modifier 3 released -unreg: Modifiers set to 0x00 -mods: Modifiers set to 0x00 diff --git a/app/tests/modifiers/explicit/kp-hyper-dn-a-dn-a-up-hyper-up/native_posix_64.keymap b/app/tests/modifiers/explicit/kp-hyper-dn-a-dn-a-up-hyper-up/native_posix_64.keymap deleted file mode 100644 index 72b218f510f..00000000000 --- a/app/tests/modifiers/explicit/kp-hyper-dn-a-dn-a-up-hyper-up/native_posix_64.keymap +++ /dev/null @@ -1,28 +0,0 @@ -#include -#include -#include - - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,0,10) - - >; -}; - -/ { - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kp LS(LA(LG(LEFT_CONTROL))) &kp LEFT_CONTROL - &kp A &none - >; - }; - }; -}; diff --git a/app/tests/modifiers/explicit/kp-lctl-dn-lctl-dn-lctl-up-lctl-up/events.patterns b/app/tests/modifiers/explicit/kp-lctl-dn-lctl-dn-lctl-up-lctl-up/events.patterns deleted file mode 100644 index cbf21aff278..00000000000 --- a/app/tests/modifiers/explicit/kp-lctl-dn-lctl-dn-lctl-up-lctl-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode_//p -s/.*hid_register_mod/reg/p -s/.*hid_unregister_mod/unreg/p -s/.*zmk_hid_.*Modifiers set to /mods: Modifiers set to /p \ No newline at end of file diff --git a/app/tests/modifiers/explicit/kp-lctl-dn-lctl-dn-lctl-up-lctl-up/keycode_events.snapshot b/app/tests/modifiers/explicit/kp-lctl-dn-lctl-dn-lctl-up-lctl-up/keycode_events.snapshot deleted file mode 100644 index 1cbbf91bf28..00000000000 --- a/app/tests/modifiers/explicit/kp-lctl-dn-lctl-dn-lctl-up-lctl-up/keycode_events.snapshot +++ /dev/null @@ -1,17 +0,0 @@ -pressed: usage_page 0x07 keycode 0xE0 implicit_mods 0x00 explicit_mods 0x00 -reg: Modifier 0 count 1 -reg: Modifiers set to 0x01 -mods: Modifiers set to 0x01 -pressed: usage_page 0x07 keycode 0xE0 implicit_mods 0x00 explicit_mods 0x00 -reg: Modifier 0 count 2 -reg: Modifiers set to 0x01 -mods: Modifiers set to 0x01 -released: usage_page 0x07 keycode 0xE0 implicit_mods 0x00 explicit_mods 0x00 -unreg: Modifier 0 count: 1 -unreg: Modifiers set to 0x01 -mods: Modifiers set to 0x01 -released: usage_page 0x07 keycode 0xE0 implicit_mods 0x00 explicit_mods 0x00 -unreg: Modifier 0 count: 0 -unreg: Modifier 0 released -unreg: Modifiers set to 0x00 -mods: Modifiers set to 0x00 diff --git a/app/tests/modifiers/explicit/kp-lctl-dn-lctl-dn-lctl-up-lctl-up/native_posix_64.keymap b/app/tests/modifiers/explicit/kp-lctl-dn-lctl-dn-lctl-up-lctl-up/native_posix_64.keymap deleted file mode 100644 index d68f89213d9..00000000000 --- a/app/tests/modifiers/explicit/kp-lctl-dn-lctl-dn-lctl-up-lctl-up/native_posix_64.keymap +++ /dev/null @@ -1,27 +0,0 @@ -#include -#include -#include - - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) - >; -}; - -/ { - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kp LEFT_CONTROL &kp LEFT_CONTROL - &kp LEFT_SHIFT &none - >; - }; - }; -}; diff --git a/app/tests/modifiers/explicit/kp-lctl-dn-lctl-up/events.patterns b/app/tests/modifiers/explicit/kp-lctl-dn-lctl-up/events.patterns deleted file mode 100644 index cbf21aff278..00000000000 --- a/app/tests/modifiers/explicit/kp-lctl-dn-lctl-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode_//p -s/.*hid_register_mod/reg/p -s/.*hid_unregister_mod/unreg/p -s/.*zmk_hid_.*Modifiers set to /mods: Modifiers set to /p \ No newline at end of file diff --git a/app/tests/modifiers/explicit/kp-lctl-dn-lctl-up/keycode_events.snapshot b/app/tests/modifiers/explicit/kp-lctl-dn-lctl-up/keycode_events.snapshot deleted file mode 100644 index 47832094196..00000000000 --- a/app/tests/modifiers/explicit/kp-lctl-dn-lctl-up/keycode_events.snapshot +++ /dev/null @@ -1,9 +0,0 @@ -pressed: usage_page 0x07 keycode 0xE0 implicit_mods 0x00 explicit_mods 0x00 -reg: Modifier 0 count 1 -reg: Modifiers set to 0x01 -mods: Modifiers set to 0x01 -released: usage_page 0x07 keycode 0xE0 implicit_mods 0x00 explicit_mods 0x00 -unreg: Modifier 0 count: 0 -unreg: Modifier 0 released -unreg: Modifiers set to 0x00 -mods: Modifiers set to 0x00 diff --git a/app/tests/modifiers/explicit/kp-lctl-dn-lctl-up/native_posix_64.keymap b/app/tests/modifiers/explicit/kp-lctl-dn-lctl-up/native_posix_64.keymap deleted file mode 100644 index c2d12eb2104..00000000000 --- a/app/tests/modifiers/explicit/kp-lctl-dn-lctl-up/native_posix_64.keymap +++ /dev/null @@ -1,25 +0,0 @@ -#include -#include -#include - - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; - -/ { - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kp LEFT_CONTROL &kp LEFT_CONTROL - &kp LEFT_SHIFT &none - >; - }; - }; -}; diff --git a/app/tests/modifiers/explicit/kp-lctl-dn-lsft-dn-lctl-up-lsft-up/events.patterns b/app/tests/modifiers/explicit/kp-lctl-dn-lsft-dn-lctl-up-lsft-up/events.patterns deleted file mode 100644 index cbf21aff278..00000000000 --- a/app/tests/modifiers/explicit/kp-lctl-dn-lsft-dn-lctl-up-lsft-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode_//p -s/.*hid_register_mod/reg/p -s/.*hid_unregister_mod/unreg/p -s/.*zmk_hid_.*Modifiers set to /mods: Modifiers set to /p \ No newline at end of file diff --git a/app/tests/modifiers/explicit/kp-lctl-dn-lsft-dn-lctl-up-lsft-up/keycode_events.snapshot b/app/tests/modifiers/explicit/kp-lctl-dn-lsft-dn-lctl-up-lsft-up/keycode_events.snapshot deleted file mode 100644 index 85c14ca201e..00000000000 --- a/app/tests/modifiers/explicit/kp-lctl-dn-lsft-dn-lctl-up-lsft-up/keycode_events.snapshot +++ /dev/null @@ -1,18 +0,0 @@ -pressed: usage_page 0x07 keycode 0xE0 implicit_mods 0x00 explicit_mods 0x00 -reg: Modifier 0 count 1 -reg: Modifiers set to 0x01 -mods: Modifiers set to 0x01 -pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -reg: Modifier 1 count 1 -reg: Modifiers set to 0x03 -mods: Modifiers set to 0x03 -released: usage_page 0x07 keycode 0xE0 implicit_mods 0x00 explicit_mods 0x00 -unreg: Modifier 0 count: 0 -unreg: Modifier 0 released -unreg: Modifiers set to 0x02 -mods: Modifiers set to 0x02 -released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -unreg: Modifier 1 count: 0 -unreg: Modifier 1 released -unreg: Modifiers set to 0x00 -mods: Modifiers set to 0x00 diff --git a/app/tests/modifiers/explicit/kp-lctl-dn-lsft-dn-lctl-up-lsft-up/native_posix_64.keymap b/app/tests/modifiers/explicit/kp-lctl-dn-lsft-dn-lctl-up-lsft-up/native_posix_64.keymap deleted file mode 100644 index 7be62b9455d..00000000000 --- a/app/tests/modifiers/explicit/kp-lctl-dn-lsft-dn-lctl-up-lsft-up/native_posix_64.keymap +++ /dev/null @@ -1,27 +0,0 @@ -#include -#include -#include - - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(1,0,10) - >; -}; - -/ { - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kp LEFT_CONTROL &kp LEFT_CONTROL - &kp LEFT_SHIFT &none - >; - }; - }; -}; diff --git a/app/tests/modifiers/explicit/kp-lctl-dn-lsft-dn-lsft-up-lctl-up/events.patterns b/app/tests/modifiers/explicit/kp-lctl-dn-lsft-dn-lsft-up-lctl-up/events.patterns deleted file mode 100644 index cbf21aff278..00000000000 --- a/app/tests/modifiers/explicit/kp-lctl-dn-lsft-dn-lsft-up-lctl-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode_//p -s/.*hid_register_mod/reg/p -s/.*hid_unregister_mod/unreg/p -s/.*zmk_hid_.*Modifiers set to /mods: Modifiers set to /p \ No newline at end of file diff --git a/app/tests/modifiers/explicit/kp-lctl-dn-lsft-dn-lsft-up-lctl-up/keycode_events.snapshot b/app/tests/modifiers/explicit/kp-lctl-dn-lsft-dn-lsft-up-lctl-up/keycode_events.snapshot deleted file mode 100644 index 80b246763b3..00000000000 --- a/app/tests/modifiers/explicit/kp-lctl-dn-lsft-dn-lsft-up-lctl-up/keycode_events.snapshot +++ /dev/null @@ -1,18 +0,0 @@ -pressed: usage_page 0x07 keycode 0xE0 implicit_mods 0x00 explicit_mods 0x00 -reg: Modifier 0 count 1 -reg: Modifiers set to 0x01 -mods: Modifiers set to 0x01 -pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -reg: Modifier 1 count 1 -reg: Modifiers set to 0x03 -mods: Modifiers set to 0x03 -released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -unreg: Modifier 1 count: 0 -unreg: Modifier 1 released -unreg: Modifiers set to 0x01 -mods: Modifiers set to 0x01 -released: usage_page 0x07 keycode 0xE0 implicit_mods 0x00 explicit_mods 0x00 -unreg: Modifier 0 count: 0 -unreg: Modifier 0 released -unreg: Modifiers set to 0x00 -mods: Modifiers set to 0x00 diff --git a/app/tests/modifiers/explicit/kp-lctl-dn-lsft-dn-lsft-up-lctl-up/native_posix_64.keymap b/app/tests/modifiers/explicit/kp-lctl-dn-lsft-dn-lsft-up-lctl-up/native_posix_64.keymap deleted file mode 100644 index 8d1d773efbd..00000000000 --- a/app/tests/modifiers/explicit/kp-lctl-dn-lsft-dn-lsft-up-lctl-up/native_posix_64.keymap +++ /dev/null @@ -1,28 +0,0 @@ -#include -#include -#include - - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,0,10) - - >; -}; - -/ { - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kp LEFT_CONTROL &kp LEFT_CONTROL - &kp LEFT_SHIFT &none - >; - }; - }; -}; diff --git a/app/tests/modifiers/implicit/kp-mod1-dn-mod2-dn-mod1-up-mod2-up/events.patterns b/app/tests/modifiers/implicit/kp-mod1-dn-mod2-dn-mod1-up-mod2-up/events.patterns deleted file mode 100644 index cbf21aff278..00000000000 --- a/app/tests/modifiers/implicit/kp-mod1-dn-mod2-dn-mod1-up-mod2-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode_//p -s/.*hid_register_mod/reg/p -s/.*hid_unregister_mod/unreg/p -s/.*zmk_hid_.*Modifiers set to /mods: Modifiers set to /p \ No newline at end of file diff --git a/app/tests/modifiers/implicit/kp-mod1-dn-mod2-dn-mod1-up-mod2-up/keycode_events.snapshot b/app/tests/modifiers/implicit/kp-mod1-dn-mod2-dn-mod1-up-mod2-up/keycode_events.snapshot deleted file mode 100644 index 6dad3dea426..00000000000 --- a/app/tests/modifiers/implicit/kp-mod1-dn-mod2-dn-mod1-up-mod2-up/keycode_events.snapshot +++ /dev/null @@ -1,8 +0,0 @@ -pressed: usage_page 0x07 keycode 0x05 implicit_mods 0x02 explicit_mods 0x00 -mods: Modifiers set to 0x02 -pressed: usage_page 0x07 keycode 0x04 implicit_mods 0x01 explicit_mods 0x00 -mods: Modifiers set to 0x01 -released: usage_page 0x07 keycode 0x05 implicit_mods 0x02 explicit_mods 0x00 -mods: Modifiers set to 0x01 -released: usage_page 0x07 keycode 0x04 implicit_mods 0x01 explicit_mods 0x00 -mods: Modifiers set to 0x00 diff --git a/app/tests/modifiers/implicit/kp-mod1-dn-mod2-dn-mod1-up-mod2-up/native_posix_64.keymap b/app/tests/modifiers/implicit/kp-mod1-dn-mod2-dn-mod1-up-mod2-up/native_posix_64.keymap deleted file mode 100644 index 87101d837e0..00000000000 --- a/app/tests/modifiers/implicit/kp-mod1-dn-mod2-dn-mod1-up-mod2-up/native_posix_64.keymap +++ /dev/null @@ -1,27 +0,0 @@ -#include -#include -#include - - -&kscan { - events = < - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; - -/ { - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kp LC(A) &kp LS(B) - &kp LEFT_CONTROL &none - >; - }; - }; -}; diff --git a/app/tests/modifiers/implicit/kp-mod1-dn-mod2-dn-mod1-up-mod2-up/pending b/app/tests/modifiers/implicit/kp-mod1-dn-mod2-dn-mod1-up-mod2-up/pending deleted file mode 100644 index f3df27cabd5..00000000000 --- a/app/tests/modifiers/implicit/kp-mod1-dn-mod2-dn-mod1-up-mod2-up/pending +++ /dev/null @@ -1,9 +0,0 @@ -This test fails because the hid_listener_keycode_released function -releases implicit modifiers always, even if they were not set by the -key that's going up. Also see the comment in that function: - - If LC(A) is pressed, then LS(B), then LC(A) is released, the shift for B will be released - prematurely. This causes if LS(B) to repeat like Bbbbbbbb when pressed for a long time. - Solving this would require keeping track of which key's implicit modifiers are currently - active and only releasing modifiers at that time. - diff --git a/app/tests/modifiers/implicit/kp-mod1-dn-mod2-dn-mod2-up-mod1-up/events.patterns b/app/tests/modifiers/implicit/kp-mod1-dn-mod2-dn-mod2-up-mod1-up/events.patterns deleted file mode 100644 index cbf21aff278..00000000000 --- a/app/tests/modifiers/implicit/kp-mod1-dn-mod2-dn-mod2-up-mod1-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode_//p -s/.*hid_register_mod/reg/p -s/.*hid_unregister_mod/unreg/p -s/.*zmk_hid_.*Modifiers set to /mods: Modifiers set to /p \ No newline at end of file diff --git a/app/tests/modifiers/implicit/kp-mod1-dn-mod2-dn-mod2-up-mod1-up/keycode_events.snapshot b/app/tests/modifiers/implicit/kp-mod1-dn-mod2-dn-mod2-up-mod1-up/keycode_events.snapshot deleted file mode 100644 index 723b03e58a6..00000000000 --- a/app/tests/modifiers/implicit/kp-mod1-dn-mod2-dn-mod2-up-mod1-up/keycode_events.snapshot +++ /dev/null @@ -1,8 +0,0 @@ -pressed: usage_page 0x07 keycode 0x04 implicit_mods 0x01 explicit_mods 0x00 -mods: Modifiers set to 0x01 -pressed: usage_page 0x07 keycode 0x05 implicit_mods 0x02 explicit_mods 0x00 -mods: Modifiers set to 0x02 -released: usage_page 0x07 keycode 0x05 implicit_mods 0x02 explicit_mods 0x00 -mods: Modifiers set to 0x00 -released: usage_page 0x07 keycode 0x04 implicit_mods 0x01 explicit_mods 0x00 -mods: Modifiers set to 0x00 diff --git a/app/tests/modifiers/implicit/kp-mod1-dn-mod2-dn-mod2-up-mod1-up/native_posix_64.keymap b/app/tests/modifiers/implicit/kp-mod1-dn-mod2-dn-mod2-up-mod1-up/native_posix_64.keymap deleted file mode 100644 index 6b40fef158a..00000000000 --- a/app/tests/modifiers/implicit/kp-mod1-dn-mod2-dn-mod2-up-mod1-up/native_posix_64.keymap +++ /dev/null @@ -1,27 +0,0 @@ -#include -#include -#include - - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; - -/ { - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kp LC(A) &kp LS(B) - &none &none - >; - }; - }; -}; diff --git a/app/tests/modifiers/implicit/kp-rolling-symbols-same-key/events.patterns b/app/tests/modifiers/implicit/kp-rolling-symbols-same-key/events.patterns deleted file mode 100644 index cbf21aff278..00000000000 --- a/app/tests/modifiers/implicit/kp-rolling-symbols-same-key/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode_//p -s/.*hid_register_mod/reg/p -s/.*hid_unregister_mod/unreg/p -s/.*zmk_hid_.*Modifiers set to /mods: Modifiers set to /p \ No newline at end of file diff --git a/app/tests/modifiers/implicit/kp-rolling-symbols-same-key/keycode_events.snapshot b/app/tests/modifiers/implicit/kp-rolling-symbols-same-key/keycode_events.snapshot deleted file mode 100644 index 0b06bd91d88..00000000000 --- a/app/tests/modifiers/implicit/kp-rolling-symbols-same-key/keycode_events.snapshot +++ /dev/null @@ -1,9 +0,0 @@ -pressed: usage_page 0x07 keycode 0x2E implicit_mods 0x02 explicit_mods 0x00 -mods: Modifiers set to 0x02 -pressed: unregistering usage_page 0x07 keycode 0x2E since it was already pressed -pressed: usage_page 0x07 keycode 0x2E implicit_mods 0x00 explicit_mods 0x00 -mods: Modifiers set to 0x00 -released: usage_page 0x07 keycode 0x2E implicit_mods 0x02 explicit_mods 0x00 -mods: Modifiers set to 0x00 -released: usage_page 0x07 keycode 0x2E implicit_mods 0x00 explicit_mods 0x00 -mods: Modifiers set to 0x00 diff --git a/app/tests/modifiers/implicit/kp-rolling-symbols-same-key/native_posix_64.keymap b/app/tests/modifiers/implicit/kp-rolling-symbols-same-key/native_posix_64.keymap deleted file mode 100644 index 3926eb57a29..00000000000 --- a/app/tests/modifiers/implicit/kp-rolling-symbols-same-key/native_posix_64.keymap +++ /dev/null @@ -1,27 +0,0 @@ -#include -#include -#include - - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) - >; -}; - -/ { - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kp PLUS &kp EQUAL - &none &none - >; - }; - }; -}; diff --git a/app/tests/modifiers/mixed/kp-lctl-dn-mod-dn-lctl-up-mod-up/events.patterns b/app/tests/modifiers/mixed/kp-lctl-dn-mod-dn-lctl-up-mod-up/events.patterns deleted file mode 100644 index cbf21aff278..00000000000 --- a/app/tests/modifiers/mixed/kp-lctl-dn-mod-dn-lctl-up-mod-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode_//p -s/.*hid_register_mod/reg/p -s/.*hid_unregister_mod/unreg/p -s/.*zmk_hid_.*Modifiers set to /mods: Modifiers set to /p \ No newline at end of file diff --git a/app/tests/modifiers/mixed/kp-lctl-dn-mod-dn-lctl-up-mod-up/keycode_events.snapshot b/app/tests/modifiers/mixed/kp-lctl-dn-mod-dn-lctl-up-mod-up/keycode_events.snapshot deleted file mode 100644 index 45719679dfb..00000000000 --- a/app/tests/modifiers/mixed/kp-lctl-dn-mod-dn-lctl-up-mod-up/keycode_events.snapshot +++ /dev/null @@ -1,13 +0,0 @@ -pressed: usage_page 0x07 keycode 0xE0 implicit_mods 0x00 explicit_mods 0x00 -reg: Modifier 0 count 1 -reg: Modifiers set to 0x01 -mods: Modifiers set to 0x01 -pressed: usage_page 0x07 keycode 0x05 implicit_mods 0x02 explicit_mods 0x00 -mods: Modifiers set to 0x03 -released: usage_page 0x07 keycode 0xE0 implicit_mods 0x00 explicit_mods 0x00 -unreg: Modifier 0 count: 0 -unreg: Modifier 0 released -unreg: Modifiers set to 0x02 -mods: Modifiers set to 0x00 -released: usage_page 0x07 keycode 0x05 implicit_mods 0x02 explicit_mods 0x00 -mods: Modifiers set to 0x00 diff --git a/app/tests/modifiers/mixed/kp-lctl-dn-mod-dn-lctl-up-mod-up/native_posix_64.keymap b/app/tests/modifiers/mixed/kp-lctl-dn-mod-dn-lctl-up-mod-up/native_posix_64.keymap deleted file mode 100644 index 4b2ca139da9..00000000000 --- a/app/tests/modifiers/mixed/kp-lctl-dn-mod-dn-lctl-up-mod-up/native_posix_64.keymap +++ /dev/null @@ -1,27 +0,0 @@ -#include -#include -#include - - -&kscan { - events = < - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,1,10) - >; -}; - -/ { - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kp LC(A) &kp LS(B) - &kp LEFT_CONTROL &none - >; - }; - }; -}; diff --git a/app/tests/modifiers/mixed/kp-lctl-dn-mod-dn-mod-up-lctl-up/events.patterns b/app/tests/modifiers/mixed/kp-lctl-dn-mod-dn-mod-up-lctl-up/events.patterns deleted file mode 100644 index cbf21aff278..00000000000 --- a/app/tests/modifiers/mixed/kp-lctl-dn-mod-dn-mod-up-lctl-up/events.patterns +++ /dev/null @@ -1,4 +0,0 @@ -s/.*hid_listener_keycode_//p -s/.*hid_register_mod/reg/p -s/.*hid_unregister_mod/unreg/p -s/.*zmk_hid_.*Modifiers set to /mods: Modifiers set to /p \ No newline at end of file diff --git a/app/tests/modifiers/mixed/kp-lctl-dn-mod-dn-mod-up-lctl-up/keycode_events.snapshot b/app/tests/modifiers/mixed/kp-lctl-dn-mod-dn-mod-up-lctl-up/keycode_events.snapshot deleted file mode 100644 index fdc7aec446d..00000000000 --- a/app/tests/modifiers/mixed/kp-lctl-dn-mod-dn-mod-up-lctl-up/keycode_events.snapshot +++ /dev/null @@ -1,13 +0,0 @@ -pressed: usage_page 0x07 keycode 0xE0 implicit_mods 0x00 explicit_mods 0x00 -reg: Modifier 0 count 1 -reg: Modifiers set to 0x01 -mods: Modifiers set to 0x01 -pressed: usage_page 0x07 keycode 0x05 implicit_mods 0x02 explicit_mods 0x00 -mods: Modifiers set to 0x03 -released: usage_page 0x07 keycode 0x05 implicit_mods 0x02 explicit_mods 0x00 -mods: Modifiers set to 0x01 -released: usage_page 0x07 keycode 0xE0 implicit_mods 0x00 explicit_mods 0x00 -unreg: Modifier 0 count: 0 -unreg: Modifier 0 released -unreg: Modifiers set to 0x00 -mods: Modifiers set to 0x00 diff --git a/app/tests/modifiers/mixed/kp-lctl-dn-mod-dn-mod-up-lctl-up/native_posix_64.keymap b/app/tests/modifiers/mixed/kp-lctl-dn-mod-dn-mod-up-lctl-up/native_posix_64.keymap deleted file mode 100644 index a256476252d..00000000000 --- a/app/tests/modifiers/mixed/kp-lctl-dn-mod-dn-mod-up-lctl-up/native_posix_64.keymap +++ /dev/null @@ -1,27 +0,0 @@ -#include -#include -#include - - -&kscan { - events = < - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_RELEASE(1,0,10) - >; -}; - -/ { - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kp LC(A) &kp LS(B) - &kp LEFT_CONTROL &none - >; - }; - }; -}; diff --git a/app/tests/momentary-layer/1-normal/events.patterns b/app/tests/momentary-layer/1-normal/events.patterns deleted file mode 100644 index bd7b4880193..00000000000 --- a/app/tests/momentary-layer/1-normal/events.patterns +++ /dev/null @@ -1,2 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p \ No newline at end of file diff --git a/app/tests/momentary-layer/1-normal/keycode_events.snapshot b/app/tests/momentary-layer/1-normal/keycode_events.snapshot deleted file mode 100644 index 0a00aa27150..00000000000 --- a/app/tests/momentary-layer/1-normal/keycode_events.snapshot +++ /dev/null @@ -1,4 +0,0 @@ -mo_pressed: position 1 layer 1 -kp_pressed: usage_page 0x07 keycode 0x06 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x06 implicit_mods 0x00 explicit_mods 0x00 -mo_released: position 1 layer 1 diff --git a/app/tests/momentary-layer/1-normal/native_posix_64.keymap b/app/tests/momentary-layer/1-normal/native_posix_64.keymap deleted file mode 100644 index 387a1322ff1..00000000000 --- a/app/tests/momentary-layer/1-normal/native_posix_64.keymap +++ /dev/null @@ -1,32 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -/ { - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kp B &mo 1 - &none &none>; - }; - - layer_1 { - bindings = < - &kp C &trans - &none &none>; - }; - }; -}; - -&kscan { - events = < - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) - >; -}; \ No newline at end of file diff --git a/app/tests/momentary-layer/2-early-key-release/events.patterns b/app/tests/momentary-layer/2-early-key-release/events.patterns deleted file mode 100644 index bd7b4880193..00000000000 --- a/app/tests/momentary-layer/2-early-key-release/events.patterns +++ /dev/null @@ -1,2 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p \ No newline at end of file diff --git a/app/tests/momentary-layer/2-early-key-release/keycode_events.snapshot b/app/tests/momentary-layer/2-early-key-release/keycode_events.snapshot deleted file mode 100644 index e24f11f9039..00000000000 --- a/app/tests/momentary-layer/2-early-key-release/keycode_events.snapshot +++ /dev/null @@ -1,4 +0,0 @@ -kp_pressed: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 -mo_pressed: position 1 layer 1 -kp_released: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 -mo_released: position 1 layer 1 diff --git a/app/tests/momentary-layer/2-early-key-release/native_posix_64.keymap b/app/tests/momentary-layer/2-early-key-release/native_posix_64.keymap deleted file mode 100644 index 776fc761be5..00000000000 --- a/app/tests/momentary-layer/2-early-key-release/native_posix_64.keymap +++ /dev/null @@ -1,32 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -/ { - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kp B &mo 1 - &none &none>; - }; - - layer_1 { - bindings = < - &kp C &none - &none &none>; - }; - }; -}; - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) - >; -}; \ No newline at end of file diff --git a/app/tests/momentary-layer/3-covered/events.patterns b/app/tests/momentary-layer/3-covered/events.patterns deleted file mode 100644 index 08b1e987eef..00000000000 --- a/app/tests/momentary-layer/3-covered/events.patterns +++ /dev/null @@ -1,3 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*keymap_position_state_changed/kp_st/p \ No newline at end of file diff --git a/app/tests/momentary-layer/3-covered/keycode_events.snapshot b/app/tests/momentary-layer/3-covered/keycode_events.snapshot deleted file mode 100644 index 87d12817327..00000000000 --- a/app/tests/momentary-layer/3-covered/keycode_events.snapshot +++ /dev/null @@ -1,2 +0,0 @@ -mo_pressed: position 1 layer 1 -mo_released: position 1 layer 1 diff --git a/app/tests/momentary-layer/3-covered/native_posix_64.keymap b/app/tests/momentary-layer/3-covered/native_posix_64.keymap deleted file mode 100644 index a7939d9e95e..00000000000 --- a/app/tests/momentary-layer/3-covered/native_posix_64.keymap +++ /dev/null @@ -1,33 +0,0 @@ -#include -#include -#include - -/* -this test verifies that the correct key is released when a layer is enabled "on top" -and the original key is "covered". -*/ -/ { - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &trans &mo 1 - &trans &trans>; - }; - - layer_1 { - bindings = < - &trans &kp A - &trans &trans>; - }; - }; -}; - -&kscan { - events = < - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - >; -}; diff --git a/app/tests/momentary-layer/4-nested/events.patterns b/app/tests/momentary-layer/4-nested/events.patterns deleted file mode 100644 index 08b1e987eef..00000000000 --- a/app/tests/momentary-layer/4-nested/events.patterns +++ /dev/null @@ -1,3 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*keymap_position_state_changed/kp_st/p \ No newline at end of file diff --git a/app/tests/momentary-layer/4-nested/keycode_events.snapshot b/app/tests/momentary-layer/4-nested/keycode_events.snapshot deleted file mode 100644 index 29b2e3fd3db..00000000000 --- a/app/tests/momentary-layer/4-nested/keycode_events.snapshot +++ /dev/null @@ -1,6 +0,0 @@ -mo_pressed: position 1 layer 1 -mo_pressed: position 0 layer 2 -kp_pressed: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 -mo_released: position 0 layer 2 -mo_released: position 1 layer 1 diff --git a/app/tests/momentary-layer/4-nested/native_posix_64.keymap b/app/tests/momentary-layer/4-nested/native_posix_64.keymap deleted file mode 100644 index 1f4f0aea219..00000000000 --- a/app/tests/momentary-layer/4-nested/native_posix_64.keymap +++ /dev/null @@ -1,39 +0,0 @@ -#include -#include -#include - -/ { - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &none &mo 1 - &none &none>; - }; - - layer_1 { - bindings = < - &mo 2 &none - &none &none>; - }; - - layer_2 { - bindings = < - &none &none - &kp B &none>; - }; - }; -}; - -&kscan { - events = < - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) - >; -}; \ No newline at end of file diff --git a/app/tests/momentary-layer/5-nested-early-key-release/events.patterns b/app/tests/momentary-layer/5-nested-early-key-release/events.patterns deleted file mode 100644 index 08b1e987eef..00000000000 --- a/app/tests/momentary-layer/5-nested-early-key-release/events.patterns +++ /dev/null @@ -1,3 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*mo_keymap_binding/mo/p -s/.*keymap_position_state_changed/kp_st/p \ No newline at end of file diff --git a/app/tests/momentary-layer/5-nested-early-key-release/keycode_events.snapshot b/app/tests/momentary-layer/5-nested-early-key-release/keycode_events.snapshot deleted file mode 100644 index d14d7881336..00000000000 --- a/app/tests/momentary-layer/5-nested-early-key-release/keycode_events.snapshot +++ /dev/null @@ -1,6 +0,0 @@ -mo_pressed: position 1 layer 1 -mo_pressed: position 0 layer 2 -kp_pressed: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 -mo_released: position 1 layer 1 -mo_released: position 0 layer 2 -kp_released: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/momentary-layer/5-nested-early-key-release/native_posix_64.keymap b/app/tests/momentary-layer/5-nested-early-key-release/native_posix_64.keymap deleted file mode 100644 index 4c8f789089d..00000000000 --- a/app/tests/momentary-layer/5-nested-early-key-release/native_posix_64.keymap +++ /dev/null @@ -1,39 +0,0 @@ -#include -#include -#include - -/ { - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &none &mo 1 - &none &none>; - }; - - layer_1 { - bindings = < - &mo 2 &none - &none &none>; - }; - - layer_2 { - bindings = < - &none &none - &kp B &none>; - }; - }; -}; - -&kscan { - events = < - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(1,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/momentary-layer/behavior_keymap.dtsi b/app/tests/momentary-layer/behavior_keymap.dtsi deleted file mode 100644 index 63127a393d1..00000000000 --- a/app/tests/momentary-layer/behavior_keymap.dtsi +++ /dev/null @@ -1,22 +0,0 @@ -#include -#include -#include - -/ { - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kp B &mo 1 - &trans &trans>; - }; - - layer_1 { - bindings = < - &kp C_NEXT &trans - &trans &trans>; - }; - }; -}; diff --git a/app/tests/none/behavior_keymap.dtsi b/app/tests/none/behavior_keymap.dtsi deleted file mode 100644 index 7a4c099bfb1..00000000000 --- a/app/tests/none/behavior_keymap.dtsi +++ /dev/null @@ -1,22 +0,0 @@ -#include -#include -#include - -/ { - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &none &mo 1 - &kp A &none>; - }; - - lower_layer { - bindings = < - &none &trans - &none &kp A>; - }; - }; -}; diff --git a/app/tests/none/layered/events.patterns b/app/tests/none/layered/events.patterns deleted file mode 100644 index 3c9d3f838c6..00000000000 --- a/app/tests/none/layered/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*hid_listener_keycode/kp/p \ No newline at end of file diff --git a/app/tests/none/layered/keycode_events.snapshot b/app/tests/none/layered/keycode_events.snapshot deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/app/tests/none/layered/native_posix_64.keymap b/app/tests/none/layered/native_posix_64.keymap deleted file mode 100644 index b1e84c30661..00000000000 --- a/app/tests/none/layered/native_posix_64.keymap +++ /dev/null @@ -1,8 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = ; -}; \ No newline at end of file diff --git a/app/tests/none/normal/events.patterns b/app/tests/none/normal/events.patterns deleted file mode 100644 index 3c9d3f838c6..00000000000 --- a/app/tests/none/normal/events.patterns +++ /dev/null @@ -1 +0,0 @@ -s/.*hid_listener_keycode/kp/p \ No newline at end of file diff --git a/app/tests/none/normal/keycode_events.snapshot b/app/tests/none/normal/keycode_events.snapshot deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/app/tests/none/normal/native_posix.keymap b/app/tests/none/normal/native_posix.keymap deleted file mode 100644 index 502f7ccc473..00000000000 --- a/app/tests/none/normal/native_posix.keymap +++ /dev/null @@ -1,8 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = ; -}; \ No newline at end of file diff --git a/app/tests/none/normal/native_posix_64.keymap b/app/tests/none/normal/native_posix_64.keymap deleted file mode 100644 index 502f7ccc473..00000000000 --- a/app/tests/none/normal/native_posix_64.keymap +++ /dev/null @@ -1,8 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = ; -}; \ No newline at end of file diff --git a/app/tests/tap-dance/1a-tap1/events.patterns b/app/tests/tap-dance/1a-tap1/events.patterns deleted file mode 100644 index 1768fc21062..00000000000 --- a/app/tests/tap-dance/1a-tap1/events.patterns +++ /dev/null @@ -1,2 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*on_tap_dance_binding/td_binding/p \ No newline at end of file diff --git a/app/tests/tap-dance/1a-tap1/keycode_events.snapshot b/app/tests/tap-dance/1a-tap1/keycode_events.snapshot deleted file mode 100644 index 38bc54c3b31..00000000000 --- a/app/tests/tap-dance/1a-tap1/keycode_events.snapshot +++ /dev/null @@ -1,5 +0,0 @@ -td_binding_pressed: 0 created new tap dance -td_binding_pressed: 0 tap dance pressed -td_binding_released: 0 tap dance keybind released -kp_pressed: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/tap-dance/1a-tap1/native_posix_64.keymap b/app/tests/tap-dance/1a-tap1/native_posix_64.keymap deleted file mode 100644 index 4e65cfa1186..00000000000 --- a/app/tests/tap-dance/1a-tap1/native_posix_64.keymap +++ /dev/null @@ -1,11 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,200) - >; -}; \ No newline at end of file diff --git a/app/tests/tap-dance/1b-tap2/events.patterns b/app/tests/tap-dance/1b-tap2/events.patterns deleted file mode 100644 index 1768fc21062..00000000000 --- a/app/tests/tap-dance/1b-tap2/events.patterns +++ /dev/null @@ -1,2 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*on_tap_dance_binding/td_binding/p \ No newline at end of file diff --git a/app/tests/tap-dance/1b-tap2/keycode_events.snapshot b/app/tests/tap-dance/1b-tap2/keycode_events.snapshot deleted file mode 100644 index c23537b9c45..00000000000 --- a/app/tests/tap-dance/1b-tap2/keycode_events.snapshot +++ /dev/null @@ -1,7 +0,0 @@ -td_binding_pressed: 0 created new tap dance -td_binding_pressed: 0 tap dance pressed -td_binding_released: 0 tap dance keybind released -td_binding_pressed: 0 tap dance pressed -td_binding_released: 0 tap dance keybind released -kp_pressed: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/tap-dance/1b-tap2/native_posix_64.keymap b/app/tests/tap-dance/1b-tap2/native_posix_64.keymap deleted file mode 100644 index 47fa8c3398b..00000000000 --- a/app/tests/tap-dance/1b-tap2/native_posix_64.keymap +++ /dev/null @@ -1,13 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,200) - >; -}; \ No newline at end of file diff --git a/app/tests/tap-dance/1c-tap3/events.patterns b/app/tests/tap-dance/1c-tap3/events.patterns deleted file mode 100644 index 1768fc21062..00000000000 --- a/app/tests/tap-dance/1c-tap3/events.patterns +++ /dev/null @@ -1,2 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*on_tap_dance_binding/td_binding/p \ No newline at end of file diff --git a/app/tests/tap-dance/1c-tap3/keycode_events.snapshot b/app/tests/tap-dance/1c-tap3/keycode_events.snapshot deleted file mode 100644 index 1e68bae9fa9..00000000000 --- a/app/tests/tap-dance/1c-tap3/keycode_events.snapshot +++ /dev/null @@ -1,9 +0,0 @@ -td_binding_pressed: 0 created new tap dance -td_binding_pressed: 0 tap dance pressed -td_binding_released: 0 tap dance keybind released -td_binding_pressed: 0 tap dance pressed -td_binding_released: 0 tap dance keybind released -td_binding_pressed: 0 tap dance pressed -td_binding_released: 0 tap dance keybind released -kp_pressed: usage_page 0x07 keycode 0x06 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x06 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/tap-dance/1c-tap3/native_posix_64.keymap b/app/tests/tap-dance/1c-tap3/native_posix_64.keymap deleted file mode 100644 index 6b01dfff761..00000000000 --- a/app/tests/tap-dance/1c-tap3/native_posix_64.keymap +++ /dev/null @@ -1,15 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,200) - >; -}; \ No newline at end of file diff --git a/app/tests/tap-dance/2a-hold1/events.patterns b/app/tests/tap-dance/2a-hold1/events.patterns deleted file mode 100644 index 1768fc21062..00000000000 --- a/app/tests/tap-dance/2a-hold1/events.patterns +++ /dev/null @@ -1,2 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*on_tap_dance_binding/td_binding/p \ No newline at end of file diff --git a/app/tests/tap-dance/2a-hold1/keycode_events.snapshot b/app/tests/tap-dance/2a-hold1/keycode_events.snapshot deleted file mode 100644 index 5af4e5f0a3d..00000000000 --- a/app/tests/tap-dance/2a-hold1/keycode_events.snapshot +++ /dev/null @@ -1,5 +0,0 @@ -td_binding_pressed: 0 created new tap dance -td_binding_pressed: 0 tap dance pressed -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -td_binding_released: 0 tap dance keybind released -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/tap-dance/2a-hold1/native_posix_64.keymap b/app/tests/tap-dance/2a-hold1/native_posix_64.keymap deleted file mode 100644 index c16f875b42f..00000000000 --- a/app/tests/tap-dance/2a-hold1/native_posix_64.keymap +++ /dev/null @@ -1,11 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,400) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/tap-dance/2b-hold2/events.patterns b/app/tests/tap-dance/2b-hold2/events.patterns deleted file mode 100644 index 1768fc21062..00000000000 --- a/app/tests/tap-dance/2b-hold2/events.patterns +++ /dev/null @@ -1,2 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*on_tap_dance_binding/td_binding/p \ No newline at end of file diff --git a/app/tests/tap-dance/2b-hold2/keycode_events.snapshot b/app/tests/tap-dance/2b-hold2/keycode_events.snapshot deleted file mode 100644 index 0a44f7465b3..00000000000 --- a/app/tests/tap-dance/2b-hold2/keycode_events.snapshot +++ /dev/null @@ -1,7 +0,0 @@ -td_binding_pressed: 0 created new tap dance -td_binding_pressed: 0 tap dance pressed -td_binding_released: 0 tap dance keybind released -td_binding_pressed: 0 tap dance pressed -kp_pressed: usage_page 0x07 keycode 0xE2 implicit_mods 0x00 explicit_mods 0x00 -td_binding_released: 0 tap dance keybind released -kp_released: usage_page 0x07 keycode 0xE2 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/tap-dance/2b-hold2/native_posix_64.keymap b/app/tests/tap-dance/2b-hold2/native_posix_64.keymap deleted file mode 100644 index 499488867fa..00000000000 --- a/app/tests/tap-dance/2b-hold2/native_posix_64.keymap +++ /dev/null @@ -1,13 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_PRESS(0,0,400) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/tap-dance/2c-hold3/events.patterns b/app/tests/tap-dance/2c-hold3/events.patterns deleted file mode 100644 index 1768fc21062..00000000000 --- a/app/tests/tap-dance/2c-hold3/events.patterns +++ /dev/null @@ -1,2 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*on_tap_dance_binding/td_binding/p \ No newline at end of file diff --git a/app/tests/tap-dance/2c-hold3/keycode_events.snapshot b/app/tests/tap-dance/2c-hold3/keycode_events.snapshot deleted file mode 100644 index f8a232a1de0..00000000000 --- a/app/tests/tap-dance/2c-hold3/keycode_events.snapshot +++ /dev/null @@ -1,9 +0,0 @@ -td_binding_pressed: 0 created new tap dance -td_binding_pressed: 0 tap dance pressed -td_binding_released: 0 tap dance keybind released -td_binding_pressed: 0 tap dance pressed -td_binding_released: 0 tap dance keybind released -td_binding_pressed: 0 tap dance pressed -kp_pressed: usage_page 0x07 keycode 0xE3 implicit_mods 0x00 explicit_mods 0x00 -td_binding_released: 0 tap dance keybind released -kp_released: usage_page 0x07 keycode 0xE3 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/tap-dance/2c-hold3/native_posix_64.keymap b/app/tests/tap-dance/2c-hold3/native_posix_64.keymap deleted file mode 100644 index 7bedd6508b6..00000000000 --- a/app/tests/tap-dance/2c-hold3/native_posix_64.keymap +++ /dev/null @@ -1,15 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_PRESS(0,0,400) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/tap-dance/3a-tap-int-mid/events.patterns b/app/tests/tap-dance/3a-tap-int-mid/events.patterns deleted file mode 100644 index 1768fc21062..00000000000 --- a/app/tests/tap-dance/3a-tap-int-mid/events.patterns +++ /dev/null @@ -1,2 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*on_tap_dance_binding/td_binding/p \ No newline at end of file diff --git a/app/tests/tap-dance/3a-tap-int-mid/keycode_events.snapshot b/app/tests/tap-dance/3a-tap-int-mid/keycode_events.snapshot deleted file mode 100644 index fe67e6e1108..00000000000 --- a/app/tests/tap-dance/3a-tap-int-mid/keycode_events.snapshot +++ /dev/null @@ -1,10 +0,0 @@ -td_binding_pressed: 2 created new tap dance -td_binding_pressed: 2 tap dance pressed -kp_pressed: usage_page 0x07 keycode 0x1E implicit_mods 0x00 explicit_mods 0x00 -td_binding_pressed: 1 created new tap dance -td_binding_pressed: 1 tap dance pressed -kp_pressed: usage_page 0x07 keycode 0x16 implicit_mods 0x00 explicit_mods 0x00 -td_binding_released: 1 tap dance keybind released -kp_released: usage_page 0x07 keycode 0x16 implicit_mods 0x00 explicit_mods 0x00 -td_binding_released: 2 tap dance keybind released -kp_released: usage_page 0x07 keycode 0x1E implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/tap-dance/3a-tap-int-mid/native_posix_64.keymap b/app/tests/tap-dance/3a-tap-int-mid/native_posix_64.keymap deleted file mode 100644 index 903b9a88c72..00000000000 --- a/app/tests/tap-dance/3a-tap-int-mid/native_posix_64.keymap +++ /dev/null @@ -1,13 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_RELEASE(1,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/tap-dance/3b-tap-int-seq/events.patterns b/app/tests/tap-dance/3b-tap-int-seq/events.patterns deleted file mode 100644 index 1768fc21062..00000000000 --- a/app/tests/tap-dance/3b-tap-int-seq/events.patterns +++ /dev/null @@ -1,2 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*on_tap_dance_binding/td_binding/p \ No newline at end of file diff --git a/app/tests/tap-dance/3b-tap-int-seq/keycode_events.snapshot b/app/tests/tap-dance/3b-tap-int-seq/keycode_events.snapshot deleted file mode 100644 index 31113ffc4aa..00000000000 --- a/app/tests/tap-dance/3b-tap-int-seq/keycode_events.snapshot +++ /dev/null @@ -1,10 +0,0 @@ -td_binding_pressed: 2 created new tap dance -td_binding_pressed: 2 tap dance pressed -kp_pressed: usage_page 0x07 keycode 0x1E implicit_mods 0x00 explicit_mods 0x00 -td_binding_pressed: 1 created new tap dance -td_binding_pressed: 1 tap dance pressed -kp_pressed: usage_page 0x07 keycode 0x16 implicit_mods 0x00 explicit_mods 0x00 -td_binding_released: 2 tap dance keybind released -kp_released: usage_page 0x07 keycode 0x1E implicit_mods 0x00 explicit_mods 0x00 -td_binding_released: 1 tap dance keybind released -kp_released: usage_page 0x07 keycode 0x16 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/tap-dance/3b-tap-int-seq/native_posix_64.keymap b/app/tests/tap-dance/3b-tap-int-seq/native_posix_64.keymap deleted file mode 100644 index 7d10b7152ab..00000000000 --- a/app/tests/tap-dance/3b-tap-int-seq/native_posix_64.keymap +++ /dev/null @@ -1,13 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,1,10) - >; -}; \ No newline at end of file diff --git a/app/tests/tap-dance/3c-tap-int-after/events.patterns b/app/tests/tap-dance/3c-tap-int-after/events.patterns deleted file mode 100644 index 1768fc21062..00000000000 --- a/app/tests/tap-dance/3c-tap-int-after/events.patterns +++ /dev/null @@ -1,2 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*on_tap_dance_binding/td_binding/p \ No newline at end of file diff --git a/app/tests/tap-dance/3c-tap-int-after/keycode_events.snapshot b/app/tests/tap-dance/3c-tap-int-after/keycode_events.snapshot deleted file mode 100644 index 38b560dbfde..00000000000 --- a/app/tests/tap-dance/3c-tap-int-after/keycode_events.snapshot +++ /dev/null @@ -1,10 +0,0 @@ -td_binding_pressed: 2 created new tap dance -td_binding_pressed: 2 tap dance pressed -td_binding_released: 2 tap dance keybind released -kp_pressed: usage_page 0x07 keycode 0x1E implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x1E implicit_mods 0x00 explicit_mods 0x00 -td_binding_pressed: 1 created new tap dance -td_binding_pressed: 1 tap dance pressed -kp_pressed: usage_page 0x07 keycode 0x16 implicit_mods 0x00 explicit_mods 0x00 -td_binding_released: 1 tap dance keybind released -kp_released: usage_page 0x07 keycode 0x16 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/tap-dance/3c-tap-int-after/native_posix_64.keymap b/app/tests/tap-dance/3c-tap-int-after/native_posix_64.keymap deleted file mode 100644 index 571a877f642..00000000000 --- a/app/tests/tap-dance/3c-tap-int-after/native_posix_64.keymap +++ /dev/null @@ -1,13 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - >; -}; \ No newline at end of file diff --git a/app/tests/tap-dance/3d-hold-int-mid/events.patterns b/app/tests/tap-dance/3d-hold-int-mid/events.patterns deleted file mode 100644 index 1768fc21062..00000000000 --- a/app/tests/tap-dance/3d-hold-int-mid/events.patterns +++ /dev/null @@ -1,2 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*on_tap_dance_binding/td_binding/p \ No newline at end of file diff --git a/app/tests/tap-dance/3d-hold-int-mid/keycode_events.snapshot b/app/tests/tap-dance/3d-hold-int-mid/keycode_events.snapshot deleted file mode 100644 index 7787336f361..00000000000 --- a/app/tests/tap-dance/3d-hold-int-mid/keycode_events.snapshot +++ /dev/null @@ -1,10 +0,0 @@ -td_binding_pressed: 0 created new tap dance -td_binding_pressed: 0 tap dance pressed -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -td_binding_pressed: 1 created new tap dance -td_binding_pressed: 1 tap dance pressed -kp_pressed: usage_page 0x07 keycode 0x16 implicit_mods 0x00 explicit_mods 0x00 -td_binding_released: 1 tap dance keybind released -kp_released: usage_page 0x07 keycode 0x16 implicit_mods 0x00 explicit_mods 0x00 -td_binding_released: 0 tap dance keybind released -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/tap-dance/3d-hold-int-mid/native_posix_64.keymap b/app/tests/tap-dance/3d-hold-int-mid/native_posix_64.keymap deleted file mode 100644 index 0220977a6dd..00000000000 --- a/app/tests/tap-dance/3d-hold-int-mid/native_posix_64.keymap +++ /dev/null @@ -1,13 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,400) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) - >; -}; \ No newline at end of file diff --git a/app/tests/tap-dance/3e-hold-int-seq/events.patterns b/app/tests/tap-dance/3e-hold-int-seq/events.patterns deleted file mode 100644 index 1768fc21062..00000000000 --- a/app/tests/tap-dance/3e-hold-int-seq/events.patterns +++ /dev/null @@ -1,2 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*on_tap_dance_binding/td_binding/p \ No newline at end of file diff --git a/app/tests/tap-dance/3e-hold-int-seq/keycode_events.snapshot b/app/tests/tap-dance/3e-hold-int-seq/keycode_events.snapshot deleted file mode 100644 index 052caec25de..00000000000 --- a/app/tests/tap-dance/3e-hold-int-seq/keycode_events.snapshot +++ /dev/null @@ -1,10 +0,0 @@ -td_binding_pressed: 0 created new tap dance -td_binding_pressed: 0 tap dance pressed -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -td_binding_pressed: 1 created new tap dance -td_binding_pressed: 1 tap dance pressed -kp_pressed: usage_page 0x07 keycode 0x16 implicit_mods 0x00 explicit_mods 0x00 -td_binding_released: 0 tap dance keybind released -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -td_binding_released: 1 tap dance keybind released -kp_released: usage_page 0x07 keycode 0x16 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/tap-dance/3e-hold-int-seq/native_posix_64.keymap b/app/tests/tap-dance/3e-hold-int-seq/native_posix_64.keymap deleted file mode 100644 index 58595291bdd..00000000000 --- a/app/tests/tap-dance/3e-hold-int-seq/native_posix_64.keymap +++ /dev/null @@ -1,13 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,400) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) - >; -}; \ No newline at end of file diff --git a/app/tests/tap-dance/3f-hold-int-after/events.patterns b/app/tests/tap-dance/3f-hold-int-after/events.patterns deleted file mode 100644 index 1768fc21062..00000000000 --- a/app/tests/tap-dance/3f-hold-int-after/events.patterns +++ /dev/null @@ -1,2 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*on_tap_dance_binding/td_binding/p \ No newline at end of file diff --git a/app/tests/tap-dance/3f-hold-int-after/keycode_events.snapshot b/app/tests/tap-dance/3f-hold-int-after/keycode_events.snapshot deleted file mode 100644 index f4250f4941e..00000000000 --- a/app/tests/tap-dance/3f-hold-int-after/keycode_events.snapshot +++ /dev/null @@ -1,10 +0,0 @@ -td_binding_pressed: 0 created new tap dance -td_binding_pressed: 0 tap dance pressed -kp_pressed: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -td_binding_released: 0 tap dance keybind released -kp_released: usage_page 0x07 keycode 0xE1 implicit_mods 0x00 explicit_mods 0x00 -td_binding_pressed: 1 created new tap dance -td_binding_pressed: 1 tap dance pressed -kp_pressed: usage_page 0x07 keycode 0x16 implicit_mods 0x00 explicit_mods 0x00 -td_binding_released: 1 tap dance keybind released -kp_released: usage_page 0x07 keycode 0x16 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/tap-dance/3f-hold-int-after/native_posix_64.keymap b/app/tests/tap-dance/3f-hold-int-after/native_posix_64.keymap deleted file mode 100644 index 78770b13d80..00000000000 --- a/app/tests/tap-dance/3f-hold-int-after/native_posix_64.keymap +++ /dev/null @@ -1,13 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,400) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - >; -}; \ No newline at end of file diff --git a/app/tests/tap-dance/4a-single/events.patterns b/app/tests/tap-dance/4a-single/events.patterns deleted file mode 100644 index 1768fc21062..00000000000 --- a/app/tests/tap-dance/4a-single/events.patterns +++ /dev/null @@ -1,2 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*on_tap_dance_binding/td_binding/p \ No newline at end of file diff --git a/app/tests/tap-dance/4a-single/keycode_events.snapshot b/app/tests/tap-dance/4a-single/keycode_events.snapshot deleted file mode 100644 index 6d60e8429af..00000000000 --- a/app/tests/tap-dance/4a-single/keycode_events.snapshot +++ /dev/null @@ -1,5 +0,0 @@ -td_binding_pressed: 1 created new tap dance -td_binding_pressed: 1 tap dance pressed -kp_pressed: usage_page 0x07 keycode 0x16 implicit_mods 0x00 explicit_mods 0x00 -td_binding_released: 1 tap dance keybind released -kp_released: usage_page 0x07 keycode 0x16 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/tap-dance/4a-single/native_posix_64.keymap b/app/tests/tap-dance/4a-single/native_posix_64.keymap deleted file mode 100644 index d473a7d2e69..00000000000 --- a/app/tests/tap-dance/4a-single/native_posix_64.keymap +++ /dev/null @@ -1,11 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,1,10) - >; -}; \ No newline at end of file diff --git a/app/tests/tap-dance/5a-tdint-mid/events.patterns b/app/tests/tap-dance/5a-tdint-mid/events.patterns deleted file mode 100644 index 1768fc21062..00000000000 --- a/app/tests/tap-dance/5a-tdint-mid/events.patterns +++ /dev/null @@ -1,2 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*on_tap_dance_binding/td_binding/p \ No newline at end of file diff --git a/app/tests/tap-dance/5a-tdint-mid/keycode_events.snapshot b/app/tests/tap-dance/5a-tdint-mid/keycode_events.snapshot deleted file mode 100644 index a84766e302c..00000000000 --- a/app/tests/tap-dance/5a-tdint-mid/keycode_events.snapshot +++ /dev/null @@ -1,10 +0,0 @@ -td_binding_pressed: 2 created new tap dance -td_binding_pressed: 2 tap dance pressed -kp_pressed: usage_page 0x07 keycode 0x1E implicit_mods 0x00 explicit_mods 0x00 -td_binding_pressed: 3 created new tap dance -td_binding_pressed: 3 tap dance pressed -td_binding_released: 3 tap dance keybind released -td_binding_released: 2 tap dance keybind released -kp_released: usage_page 0x07 keycode 0x1E implicit_mods 0x00 explicit_mods 0x00 -kp_pressed: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/tap-dance/5a-tdint-mid/native_posix_64.keymap b/app/tests/tap-dance/5a-tdint-mid/native_posix_64.keymap deleted file mode 100644 index 79bdf2f7081..00000000000 --- a/app/tests/tap-dance/5a-tdint-mid/native_posix_64.keymap +++ /dev/null @@ -1,13 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_PRESS(1,1,10) - ZMK_MOCK_RELEASE(1,1,10) - ZMK_MOCK_RELEASE(1,0,200) - >; -}; \ No newline at end of file diff --git a/app/tests/tap-dance/5b-tdint-seq/events.patterns b/app/tests/tap-dance/5b-tdint-seq/events.patterns deleted file mode 100644 index 1768fc21062..00000000000 --- a/app/tests/tap-dance/5b-tdint-seq/events.patterns +++ /dev/null @@ -1,2 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*on_tap_dance_binding/td_binding/p \ No newline at end of file diff --git a/app/tests/tap-dance/5b-tdint-seq/keycode_events.snapshot b/app/tests/tap-dance/5b-tdint-seq/keycode_events.snapshot deleted file mode 100644 index 4380a057560..00000000000 --- a/app/tests/tap-dance/5b-tdint-seq/keycode_events.snapshot +++ /dev/null @@ -1,10 +0,0 @@ -td_binding_pressed: 2 created new tap dance -td_binding_pressed: 2 tap dance pressed -kp_pressed: usage_page 0x07 keycode 0x1E implicit_mods 0x00 explicit_mods 0x00 -td_binding_pressed: 3 created new tap dance -td_binding_pressed: 3 tap dance pressed -td_binding_released: 2 tap dance keybind released -kp_released: usage_page 0x07 keycode 0x1E implicit_mods 0x00 explicit_mods 0x00 -td_binding_released: 3 tap dance keybind released -kp_pressed: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/tap-dance/5b-tdint-seq/native_posix_64.keymap b/app/tests/tap-dance/5b-tdint-seq/native_posix_64.keymap deleted file mode 100644 index 012d932d60e..00000000000 --- a/app/tests/tap-dance/5b-tdint-seq/native_posix_64.keymap +++ /dev/null @@ -1,13 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_PRESS(1,1,10) - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(1,1,200) - >; -}; \ No newline at end of file diff --git a/app/tests/tap-dance/5c-tdint-after/events.patterns b/app/tests/tap-dance/5c-tdint-after/events.patterns deleted file mode 100644 index 1768fc21062..00000000000 --- a/app/tests/tap-dance/5c-tdint-after/events.patterns +++ /dev/null @@ -1,2 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*on_tap_dance_binding/td_binding/p \ No newline at end of file diff --git a/app/tests/tap-dance/5c-tdint-after/keycode_events.snapshot b/app/tests/tap-dance/5c-tdint-after/keycode_events.snapshot deleted file mode 100644 index 4e54ac22942..00000000000 --- a/app/tests/tap-dance/5c-tdint-after/keycode_events.snapshot +++ /dev/null @@ -1,10 +0,0 @@ -td_binding_pressed: 2 created new tap dance -td_binding_pressed: 2 tap dance pressed -td_binding_released: 2 tap dance keybind released -kp_pressed: usage_page 0x07 keycode 0x1E implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x1E implicit_mods 0x00 explicit_mods 0x00 -td_binding_pressed: 3 created new tap dance -td_binding_pressed: 3 tap dance pressed -td_binding_released: 3 tap dance keybind released -kp_pressed: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/tap-dance/5c-tdint-after/native_posix_64.keymap b/app/tests/tap-dance/5c-tdint-after/native_posix_64.keymap deleted file mode 100644 index fea96a563d9..00000000000 --- a/app/tests/tap-dance/5c-tdint-after/native_posix_64.keymap +++ /dev/null @@ -1,13 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_PRESS(1,1,10) - ZMK_MOCK_RELEASE(1,1,200) - >; -}; \ No newline at end of file diff --git a/app/tests/tap-dance/5d-tdint-multiple/events.patterns b/app/tests/tap-dance/5d-tdint-multiple/events.patterns deleted file mode 100644 index 1768fc21062..00000000000 --- a/app/tests/tap-dance/5d-tdint-multiple/events.patterns +++ /dev/null @@ -1,2 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*on_tap_dance_binding/td_binding/p \ No newline at end of file diff --git a/app/tests/tap-dance/5d-tdint-multiple/keycode_events.snapshot b/app/tests/tap-dance/5d-tdint-multiple/keycode_events.snapshot deleted file mode 100644 index e5e024a8129..00000000000 --- a/app/tests/tap-dance/5d-tdint-multiple/keycode_events.snapshot +++ /dev/null @@ -1,15 +0,0 @@ -td_binding_pressed: 2 created new tap dance -td_binding_pressed: 2 tap dance pressed -td_binding_released: 2 tap dance keybind released -kp_pressed: usage_page 0x07 keycode 0x1E implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x1E implicit_mods 0x00 explicit_mods 0x00 -td_binding_pressed: 3 created new tap dance -td_binding_pressed: 3 tap dance pressed -td_binding_released: 3 tap dance keybind released -kp_pressed: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x04 implicit_mods 0x00 explicit_mods 0x00 -td_binding_pressed: 2 created new tap dance -td_binding_pressed: 2 tap dance pressed -td_binding_released: 2 tap dance keybind released -kp_pressed: usage_page 0x07 keycode 0x1E implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x1E implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/tap-dance/5d-tdint-multiple/native_posix_64.keymap b/app/tests/tap-dance/5d-tdint-multiple/native_posix_64.keymap deleted file mode 100644 index f98be05ff99..00000000000 --- a/app/tests/tap-dance/5d-tdint-multiple/native_posix_64.keymap +++ /dev/null @@ -1,15 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_PRESS(1,1,10) - ZMK_MOCK_RELEASE(1,1,10) - ZMK_MOCK_PRESS(1,0,10) - ZMK_MOCK_RELEASE(1,0,200) - >; -}; \ No newline at end of file diff --git a/app/tests/tap-dance/6-combo-tap2/events.patterns b/app/tests/tap-dance/6-combo-tap2/events.patterns deleted file mode 100644 index 1768fc21062..00000000000 --- a/app/tests/tap-dance/6-combo-tap2/events.patterns +++ /dev/null @@ -1,2 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*on_tap_dance_binding/td_binding/p \ No newline at end of file diff --git a/app/tests/tap-dance/6-combo-tap2/keycode_events.snapshot b/app/tests/tap-dance/6-combo-tap2/keycode_events.snapshot deleted file mode 100644 index 227d9cf2983..00000000000 --- a/app/tests/tap-dance/6-combo-tap2/keycode_events.snapshot +++ /dev/null @@ -1,7 +0,0 @@ -td_binding_pressed: 4 created new tap dance -td_binding_pressed: 4 tap dance pressed -td_binding_released: 4 tap dance keybind released -td_binding_pressed: 4 tap dance pressed -td_binding_released: 4 tap dance keybind released -kp_pressed: usage_page 0x07 keycode 0x1F implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x1F implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/tap-dance/6-combo-tap2/native_posix_64.keymap b/app/tests/tap-dance/6-combo-tap2/native_posix_64.keymap deleted file mode 100644 index a8a82fd9f6b..00000000000 --- a/app/tests/tap-dance/6-combo-tap2/native_posix_64.keymap +++ /dev/null @@ -1,17 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = < - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,1,10) - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_PRESS(0,1,10) - ZMK_MOCK_RELEASE(0,0,10) - ZMK_MOCK_RELEASE(0,1,200) - >; -}; \ No newline at end of file diff --git a/app/tests/tap-dance/behavior_keymap.dtsi b/app/tests/tap-dance/behavior_keymap.dtsi deleted file mode 100644 index ce80e958d23..00000000000 --- a/app/tests/tap-dance/behavior_keymap.dtsi +++ /dev/null @@ -1,70 +0,0 @@ -#include -#include -#include - -/ { - behaviors { - ht: hold_tap { - compatible = "zmk,behavior-hold-tap"; - label = "HOLD_TAP"; - #binding-cells = <2>; - tapping-term-ms = <200>; - quick_tap_ms = <0>; - flavor = "tap-preferred"; - bindings = <&kp>, <&kp>; - }; - - tdm: tap_dance_mixed { - compatible = "zmk,behavior-tap-dance"; - label = "TAP_DANCE_MOD"; - #binding-cells = <0>; - tapping-term-ms = <200>; - bindings = <&ht LSHIFT A>, <&ht LALT B>, <&ht LGUI C>; - }; - - tdb: tap_dance_basic { - compatible = "zmk,behavior-tap-dance"; - label = "TAP_DANCE_BASIC"; - #binding-cells = <0>; - tapping-term-ms = <200>; - bindings = <&kp N1>, <&kp N2>, <&kp N3>; - }; - - td2: tap_dance_basic_2 { - compatible = "zmk,behavior-tap-dance"; - label = "TAP_DANCE_BASIC_2"; - #binding-cells = <0>; - tapping-term-ms = <200>; - bindings = <&kp A>, <&kp B>, <&kp C>; - }; - - tds: tap_dance_single { - compatible = "zmk,behavior-tap-dance"; - label = "TAP_DANCE_SINGlE"; - #binding-cells = <0>; - tapping-term-ms = <200>; - bindings = <&kp S>; - }; - }; - - combos { - compatible = "zmk,combos"; - - td_combo { - bindings = <&tdb>; - key-positions = <0 1>; - timeout-ms = <50>; - }; - }; - - keymap { - compatible = "zmk,keymap"; - label = "Default keymap"; - - default_layer { - bindings = < - &tdm &tds - &tdb &td2>; - }; - }; -}; diff --git a/app/tests/to-layer/behavior_keymap.dtsi b/app/tests/to-layer/behavior_keymap.dtsi deleted file mode 100644 index 7dc857fe143..00000000000 --- a/app/tests/to-layer/behavior_keymap.dtsi +++ /dev/null @@ -1,22 +0,0 @@ -#include -#include -#include - -/ { - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &to 0 &to 1 - &kp A &kp S>; - }; - - second_layer { - bindings = < - &to 0 &to 1 - &kp J &kp K>; - }; - }; -}; diff --git a/app/tests/to-layer/normal/events.patterns b/app/tests/to-layer/normal/events.patterns deleted file mode 100644 index fcebc4b0eb0..00000000000 --- a/app/tests/to-layer/normal/events.patterns +++ /dev/null @@ -1,3 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*to_keymap_binding/to/p -s/.*layer_changed/layer_changed/p \ No newline at end of file diff --git a/app/tests/to-layer/normal/keycode_events.snapshot b/app/tests/to-layer/normal/keycode_events.snapshot deleted file mode 100644 index a98f7479ac9..00000000000 --- a/app/tests/to-layer/normal/keycode_events.snapshot +++ /dev/null @@ -1,18 +0,0 @@ -kp_pressed: usage_page 0x07 keycode 0x16 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x16 implicit_mods 0x00 explicit_mods 0x00 -to_pressed: position 1 layer 1 -layer_changed: layer 1 state 1 -to_released: position 1 layer 1 -kp_pressed: usage_page 0x07 keycode 0x0E implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x0E implicit_mods 0x00 explicit_mods 0x00 -to_pressed: position 0 layer 0 -layer_changed: layer 1 state 0 -layer_changed: layer 0 state 1 -to_released: position 0 layer 0 -kp_pressed: usage_page 0x07 keycode 0x16 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x07 keycode 0x16 implicit_mods 0x00 explicit_mods 0x00 -to_pressed: position 0 layer 0 -to_released: position 0 layer 0 -to_pressed: position 1 layer 1 -layer_changed: layer 1 state 1 -to_released: position 1 layer 1 diff --git a/app/tests/to-layer/normal/native_posix_64.keymap b/app/tests/to-layer/normal/native_posix_64.keymap deleted file mode 100644 index 6ccc9088bb2..00000000000 --- a/app/tests/to-layer/normal/native_posix_64.keymap +++ /dev/null @@ -1,29 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -// Press key A -// To layer 1 -// Press key J -// To layer 0 -// Press key S -// To layer 0 -- does nothing - -&kscan { - events = ; -}; \ No newline at end of file diff --git a/app/tests/toggle-layer/behavior_keymap.dtsi b/app/tests/toggle-layer/behavior_keymap.dtsi deleted file mode 100644 index 1ecf8599259..00000000000 --- a/app/tests/toggle-layer/behavior_keymap.dtsi +++ /dev/null @@ -1,28 +0,0 @@ -#include -#include -#include - -/ { - keymap { - compatible = "zmk,keymap"; - label ="Default keymap"; - - default_layer { - bindings = < - &kp B &tog 1 - &kp D &kp G>; - }; - - lower_layer { - bindings = < - &kp C_NEXT &trans - &kp L &kp J>; - }; - - raise_layer { - bindings = < - &kp W &kp U - &kp X &kp M>; - }; - }; -}; diff --git a/app/tests/toggle-layer/early-key-release/events.patterns b/app/tests/toggle-layer/early-key-release/events.patterns deleted file mode 100644 index 397fef4f319..00000000000 --- a/app/tests/toggle-layer/early-key-release/events.patterns +++ /dev/null @@ -1,2 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*tog_keymap_binding/tog/p \ No newline at end of file diff --git a/app/tests/toggle-layer/early-key-release/keycode_events.snapshot b/app/tests/toggle-layer/early-key-release/keycode_events.snapshot deleted file mode 100644 index 8ac4a3d291c..00000000000 --- a/app/tests/toggle-layer/early-key-release/keycode_events.snapshot +++ /dev/null @@ -1,6 +0,0 @@ -kp_pressed: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 -tog_pressed: position 1 layer 1 -kp_released: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00 -tog_released: position 1 layer 1 -kp_pressed: usage_page 0x0C keycode 0xB5 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x0C keycode 0xB5 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/toggle-layer/early-key-release/native_posix_64.keymap b/app/tests/toggle-layer/early-key-release/native_posix_64.keymap deleted file mode 100644 index 0a0c88ea845..00000000000 --- a/app/tests/toggle-layer/early-key-release/native_posix_64.keymap +++ /dev/null @@ -1,9 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = ; -}; \ No newline at end of file diff --git a/app/tests/toggle-layer/normal/events.patterns b/app/tests/toggle-layer/normal/events.patterns deleted file mode 100644 index 397fef4f319..00000000000 --- a/app/tests/toggle-layer/normal/events.patterns +++ /dev/null @@ -1,2 +0,0 @@ -s/.*hid_listener_keycode/kp/p -s/.*tog_keymap_binding/tog/p \ No newline at end of file diff --git a/app/tests/toggle-layer/normal/keycode_events.snapshot b/app/tests/toggle-layer/normal/keycode_events.snapshot deleted file mode 100644 index 515772a4d1f..00000000000 --- a/app/tests/toggle-layer/normal/keycode_events.snapshot +++ /dev/null @@ -1,4 +0,0 @@ -tog_pressed: position 1 layer 1 -tog_released: position 1 layer 1 -kp_pressed: usage_page 0x0C keycode 0xB5 implicit_mods 0x00 explicit_mods 0x00 -kp_released: usage_page 0x0C keycode 0xB5 implicit_mods 0x00 explicit_mods 0x00 diff --git a/app/tests/toggle-layer/normal/native_posix_64.keymap b/app/tests/toggle-layer/normal/native_posix_64.keymap deleted file mode 100644 index 97bdd17993d..00000000000 --- a/app/tests/toggle-layer/normal/native_posix_64.keymap +++ /dev/null @@ -1,8 +0,0 @@ -#include -#include -#include -#include "../behavior_keymap.dtsi" - -&kscan { - events = ; -}; \ No newline at end of file