aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJoel Spadin <[email protected]>2023-04-22 23:16:36 -0500
committerPete Johanson <[email protected]>2023-04-24 16:07:04 -0700
commit32ae776c42215d7302ab47787cbfb47298ccb532 (patch)
tree683b220ca15ec1ab8a7cd130ee86f2512c2b3432
parent9c4f1e02d14e2903d7ec377fc3042bb704cc7253 (diff)
downloadzmk-32ae776c42215d7302ab47787cbfb47298ccb532.tar.gz
zmk-32ae776c42215d7302ab47787cbfb47298ccb532.zip
refactor: Add more checks to pre-commit
Updated existing pre-commit hooks and added some new hooks: - Remove trailing whitespace - Ensure every non-empty file ends with a new line - Check YAML file validity - Prevent adding large files - Ensure any scripts with shebangs are executable Added a GitHub action to run pre-commit on every commit. Removed any existing actions which duplicate pre-commit. Ran pre-commit on the codebase.
-rw-r--r--.github/pull_request_template.md24
-rw-r--r--.github/workflows/build-user-config.yml4
-rw-r--r--.github/workflows/build.yml6
-rw-r--r--.github/workflows/clang-format-lint.yml29
-rw-r--r--.github/workflows/doc-checks.yml10
-rw-r--r--.github/workflows/hardware-metadata-validation.yml11
-rw-r--r--.github/workflows/pre-commit.yml15
-rw-r--r--.pre-commit-config.yaml12
-rw-r--r--.vscode/settings.json2
-rw-r--r--app/.prettierrc.js2
-rw-r--r--app/boards/arm/bluemicro840/arduino_pro_micro_pins.dtsi10
-rw-r--r--app/boards/arm/corneish_zen/corneish_zen_v2_left.dts2
-rw-r--r--app/boards/arm/corneish_zen/corneish_zen_v2_right.dts2
-rw-r--r--app/boards/arm/ferris/README.md1
-rw-r--r--app/boards/arm/nice60/README.md2
-rw-r--r--app/boards/arm/nice60/nice60.keymap4
-rw-r--r--app/boards/arm/pillbug/pillbug.dts2
-rw-r--r--app/boards/arm/preonic/preonic_rev3.yaml2
-rw-r--r--app/boards/arm/s40nc/README.md2
-rw-r--r--app/boards/arm/s40nc/s40nc.keymap8
-rw-r--r--app/boards/shields/bfo9000/README.md8
-rw-r--r--app/boards/shields/boardsource5x12/boardsource5x12.keymap6
-rw-r--r--app/boards/shields/boardsource5x12/boardsource5x12.overlay2
-rw-r--r--app/boards/shields/chalice/chalice.keymap8
-rw-r--r--app/boards/shields/chalice/chalice.overlay4
-rw-r--r--app/boards/shields/clog/clog.dtsi2
-rw-r--r--app/boards/shields/corne/corne.dtsi2
-rw-r--r--app/boards/shields/eek/eek.keymap12
-rw-r--r--app/boards/shields/eek/eek.overlay2
-rw-r--r--app/boards/shields/elephant42/Kconfig.defconfig2
-rw-r--r--app/boards/shields/elephant42/elephant42.dtsi4
-rw-r--r--app/boards/shields/elephant42/elephant42.keymap4
-rw-r--r--app/boards/shields/elephant42/elephant42_left.overlay2
-rw-r--r--app/boards/shields/elephant42/elephant42_right.overlay2
-rw-r--r--app/boards/shields/helix/helix.dtsi2
-rw-r--r--app/boards/shields/helix/helix.keymap4
-rw-r--r--app/boards/shields/helix/helix_left.overlay2
-rw-r--r--app/boards/shields/hummingbird/hummingbird.overlay2
-rw-r--r--app/boards/shields/iris/Kconfig.defconfig2
-rw-r--r--app/boards/shields/iris/iris.dtsi2
-rw-r--r--app/boards/shields/jian/jian.dtsi2
-rw-r--r--app/boards/shields/jiran/jiran.dtsi2
-rw-r--r--app/boards/shields/jorne/Kconfig.defconfig2
-rw-r--r--app/boards/shields/jorne/jorne.dtsi2
-rw-r--r--app/boards/shields/kyria/Kconfig.defconfig2
-rw-r--r--app/boards/shields/kyria/kyria_common.dtsi2
-rw-r--r--app/boards/shields/leeloo/Kconfig.defconfig2
-rw-r--r--app/boards/shields/leeloo/README.md19
-rw-r--r--app/boards/shields/lily58/lily58.dtsi2
-rw-r--r--app/boards/shields/lotus58/Kconfig.defconfig2
-rw-r--r--app/boards/shields/lotus58/lotus58.dtsi2
-rw-r--r--app/boards/shields/lotus58/lotus58.keymap10
-rw-r--r--app/boards/shields/lotus58/lotus58_left.overlay2
-rw-r--r--app/boards/shields/microdox/Kconfig.defconfig2
-rw-r--r--app/boards/shields/microdox/microdox.dtsi2
-rw-r--r--app/boards/shields/murphpad/murphpad.keymap24
-rw-r--r--app/boards/shields/murphpad/murphpad.overlay2
-rw-r--r--app/boards/shields/naked60/naked60.keymap4
-rw-r--r--app/boards/shields/nibble/nibble.keymap2
-rw-r--r--app/boards/shields/nibble/nibble.overlay2
-rw-r--r--app/boards/shields/nice_view/README.md2
-rw-r--r--app/boards/shields/nice_view_adapter/README.md2
-rw-r--r--app/boards/shields/pancake/pancake.keymap12
-rw-r--r--app/boards/shields/pancake/pancake.overlay4
-rw-r--r--app/boards/shields/qaz/qaz.overlay2
-rw-r--r--app/boards/shields/quefrency/Kconfig.defconfig4
-rw-r--r--app/boards/shields/quefrency/quefrency.dtsi10
-rw-r--r--app/boards/shields/quefrency/quefrency_right.overlay2
-rw-r--r--app/boards/shields/redox/redox.dtsi4
-rw-r--r--app/boards/shields/redox/redox.keymap4
-rw-r--r--app/boards/shields/snap/Kconfig.defconfig2
-rw-r--r--app/boards/shields/snap/snap.dtsi2
-rw-r--r--app/boards/shields/snap/snap.keymap2
-rw-r--r--app/boards/shields/snap/snap_left.overlay2
-rw-r--r--app/boards/shields/snap/snap_right.overlay2
-rw-r--r--app/boards/shields/sofle/Kconfig.defconfig2
-rw-r--r--app/boards/shields/splitkb_aurora_corne/Kconfig.defconfig2
-rw-r--r--app/boards/shields/splitkb_aurora_corne/splitkb_aurora_corne_left.overlay2
-rw-r--r--app/boards/shields/splitkb_aurora_corne/splitkb_aurora_corne_right.overlay2
-rw-r--r--app/boards/shields/splitkb_aurora_lily58/Kconfig.defconfig2
-rw-r--r--app/boards/shields/splitkb_aurora_lily58/splitkb_aurora_lily58_left.overlay2
-rw-r--r--app/boards/shields/splitkb_aurora_lily58/splitkb_aurora_lily58_right.overlay2
-rw-r--r--app/boards/shields/splitkb_aurora_sweep/Kconfig.defconfig2
-rw-r--r--app/boards/shields/splitkb_aurora_sweep/splitkb_aurora_sweep.keymap52
-rw-r--r--app/boards/shields/splitkb_aurora_sweep/splitkb_aurora_sweep_left.overlay2
-rw-r--r--app/boards/shields/splitkb_aurora_sweep/splitkb_aurora_sweep_right.overlay2
-rw-r--r--app/boards/shields/splitreus62/Kconfig.defconfig6
-rw-r--r--app/boards/shields/splitreus62/splitreus62.dtsi2
-rw-r--r--app/boards/shields/splitreus62/splitreus62_right.overlay2
-rw-r--r--app/boards/shields/tg4x/README.md6
-rw-r--r--app/boards/shields/tg4x/tg4x.overlay2
-rw-r--r--app/boards/shields/tidbit/tidbit.keymap2
-rw-r--r--app/boards/shields/tidbit/tidbit_19key.keymap2
-rw-r--r--app/boards/shields/two_percent_milk/two_percent_milk.keymap4
-rw-r--r--app/boards/shields/waterfowl/Kconfig.defconfig2
-rw-r--r--app/boards/shields/waterfowl/waterfowl.dtsi2
-rw-r--r--app/boards/shields/waterfowl/waterfowl.keymap12
-rw-r--r--app/boards/shields/zmk_uno/zmk_uno.keymap8
-rw-r--r--app/boards/shields/zodiark/Kconfig.defconfig2
-rw-r--r--app/boards/shields/zodiark/zodiark.keymap2
-rw-r--r--app/core-coverage.yml64
-rw-r--r--app/drivers/zephyr/dts/bindings/gpio/maxim,max7318.yaml20
-rw-r--r--app/dts/bindings/behaviors/zmk,behavior-macro.yaml2
-rw-r--r--app/dts/bindings/behaviors/zmk,behavior-tap-dance.yaml2
-rw-r--r--app/dts/bindings/display/gooddisplay,il0323.yaml102
-rw-r--r--app/dts/bindings/macros/zmk,macro-control-mode-press.yaml2
-rw-r--r--app/dts/bindings/macros/zmk,macro-control-mode-release.yaml2
-rw-r--r--app/dts/bindings/macros/zmk,macro-control-tap-time.yaml2
-rw-r--r--app/dts/bindings/macros/zmk,macro-control-wait-time.yaml2
-rw-r--r--app/dts/bindings/macros/zmk,macro-pause-for-release.yaml2
-rw-r--r--app/dts/bindings/zmk,combos.yaml2
-rw-r--r--app/include/linker/zmk-events.ld2
-rw-r--r--app/package.json4
-rw-r--r--app/src/activity.c4
-rw-r--r--app/src/display/widgets/Kconfig2
-rw-r--r--app/tests/combo/combos-and-holdtaps-0/native_posix_64.keymap12
-rw-r--r--app/tests/combo/combos-and-holdtaps-1/native_posix_64.keymap10
-rw-r--r--app/tests/combo/layer-filter-0/native_posix_64.keymap26
-rw-r--r--app/tests/combo/layer-filter-1/native_posix_64.keymap6
-rw-r--r--app/tests/combo/multiple-timeouts/native_posix_64.keymap2
-rw-r--r--app/tests/combo/overlapping-combos-0/native_posix_64.keymap76
-rw-r--r--app/tests/combo/overlapping-combos-1/native_posix_64.keymap24
-rw-r--r--app/tests/combo/overlapping-combos-2/native_posix_64.keymap14
-rw-r--r--app/tests/combo/overlapping-combos-3/native_posix_64.keymap14
-rw-r--r--app/tests/combo/partially-overlapping-combos/native_posix_64.keymap46
-rw-r--r--app/tests/combo/press-release-long-combo-incomplete/native_posix_64.keymap8
-rw-r--r--app/tests/combo/press-release/native_posix_64.keymap26
-rw-r--r--app/tests/combo/press-timeout/native_posix_64.keymap6
-rw-r--r--app/tests/combo/press1-press2-release1-release2/native_posix_64.keymap12
-rw-r--r--app/tests/combo/press1-press2-release2-release1/native_posix_64.keymap14
-rw-r--r--app/tests/combo/press1-release1-press2-release2/native_posix_64.keymap12
-rw-r--r--app/tests/combo/slowrelease-disabled/native_posix_64.keymap6
-rw-r--r--app/tests/combo/slowrelease-enabled/native_posix_64.keymap6
-rw-r--r--app/tests/gresc/gresc-press-release/native_posix_64.keymap18
-rw-r--r--app/tests/gresc/gresc-two-instances/native_posix_64.keymap6
-rw-r--r--app/tests/hold-tap/balanced/1-dn-up/native_posix_64.keymap4
-rw-r--r--app/tests/hold-tap/balanced/2-dn-timer-up/native_posix_64.keymap4
-rw-r--r--app/tests/hold-tap/balanced/3a-moddn-dn-modup-up/native_posix_64.keymap2
-rw-r--r--app/tests/hold-tap/balanced/3b-moddn-dn-modup-timer-up/native_posix_64.keymap2
-rw-r--r--app/tests/hold-tap/balanced/3c-kcdn-dn-kcup-up/native_posix_64.keymap2
-rw-r--r--app/tests/hold-tap/balanced/3d-kcdn-dn-kcup-timer-up/native_posix_64.keymap2
-rw-r--r--app/tests/hold-tap/balanced/4a-dn-htdn-timer-htup-up/native_posix_64.keymap2
-rw-r--r--app/tests/hold-tap/balanced/4a-dn-kcdn-timer-kcup-up/native_posix_64.keymap2
-rw-r--r--app/tests/hold-tap/balanced/4b-dn-kcdn-kcup-timer-up/native_posix_64.keymap2
-rw-r--r--app/tests/hold-tap/balanced/4c-dn-kcdn-kcup-up/native_posix_64.keymap2
-rw-r--r--app/tests/hold-tap/balanced/5-quick-tap/native_posix_64.keymap6
-rw-r--r--app/tests/hold-tap/balanced/6-retro-tap/native_posix_64.keymap8
-rw-r--r--app/tests/hold-tap/balanced/7-positional/2-dn-timer-up/native_posix_64.keymap4
-rw-r--r--app/tests/hold-tap/balanced/7-positional/4a-dn-ntgdn-timer-ntgup-up/native_posix_64.keymap2
-rw-r--r--app/tests/hold-tap/balanced/7-positional/4a-dn-tgdn-timer-tgup-up/native_posix_64.keymap2
-rw-r--r--app/tests/hold-tap/balanced/7-positional/tgdn-dn-ntgdn-timer-ntgup-tgup-up/native_posix_64.keymap2
-rw-r--r--app/tests/hold-tap/balanced/8-global-quick-tap/1-basic/native_posix_64.keymap4
-rw-r--r--app/tests/hold-tap/balanced/many-nested/native_posix_64.keymap16
-rw-r--r--app/tests/hold-tap/hold-preferred/1-dn-up/native_posix_64.keymap4
-rw-r--r--app/tests/hold-tap/hold-preferred/2-dn-timer-up/native_posix_64.keymap4
-rw-r--r--app/tests/hold-tap/hold-preferred/3a-moddn-dn-modup-up/native_posix_64.keymap2
-rw-r--r--app/tests/hold-tap/hold-preferred/3b-moddn-dn-modup-timer-up/native_posix_64.keymap2
-rw-r--r--app/tests/hold-tap/hold-preferred/3c-kcdn-dn-kcup-up/native_posix_64.keymap2
-rw-r--r--app/tests/hold-tap/hold-preferred/3d-kcdn-dn-kcup-timer-up/native_posix_64.keymap2
-rw-r--r--app/tests/hold-tap/hold-preferred/4a-dn-htdn-timer-htup-up/native_posix_64.keymap2
-rw-r--r--app/tests/hold-tap/hold-preferred/4a-dn-kcdn-timer-kcup-up/native_posix_64.keymap2
-rw-r--r--app/tests/hold-tap/hold-preferred/4b-dn-kcdn-kcup-timer-up/native_posix_64.keymap2
-rw-r--r--app/tests/hold-tap/hold-preferred/4c-dn-kcdn-kcup-up/native_posix_64.keymap2
-rw-r--r--app/tests/hold-tap/hold-preferred/5-quick-tap/native_posix_64.keymap6
-rw-r--r--app/tests/hold-tap/hold-preferred/6-retro-tap/native_posix_64.keymap8
-rw-r--r--app/tests/hold-tap/hold-preferred/7-positional/2-dn-timer-up/native_posix_64.keymap4
-rw-r--r--app/tests/hold-tap/hold-preferred/7-positional/4a-dn-ntgdn-timer-ntgup-up/native_posix_64.keymap2
-rw-r--r--app/tests/hold-tap/hold-preferred/7-positional/4a-dn-tgdn-timer-tgup-up/native_posix_64.keymap2
-rw-r--r--app/tests/hold-tap/hold-preferred/7-positional/tgdn-dn-ntgdn-timer-ntgup-tgup-up/native_posix_64.keymap2
-rw-r--r--app/tests/hold-tap/hold-preferred/8-global-quick-tap/1-basic/native_posix_64.keymap4
-rw-r--r--app/tests/hold-tap/tap-preferred/1-dn-up/native_posix_64.keymap4
-rw-r--r--app/tests/hold-tap/tap-preferred/2-dn-timer-up/native_posix_64.keymap4
-rw-r--r--app/tests/hold-tap/tap-preferred/3a-moddn-dn-modup-up/native_posix_64.keymap2
-rw-r--r--app/tests/hold-tap/tap-preferred/3b-moddn-dn-modup-timer-up/native_posix_64.keymap2
-rw-r--r--app/tests/hold-tap/tap-preferred/3c-kcdn-dn-kcup-up/native_posix_64.keymap2
-rw-r--r--app/tests/hold-tap/tap-preferred/3d-kcdn-dn-kcup-timer-up/native_posix_64.keymap2
-rw-r--r--app/tests/hold-tap/tap-preferred/4a-dn-htdn-timer-htup-up/native_posix_64.keymap2
-rw-r--r--app/tests/hold-tap/tap-preferred/4a-dn-kcdn-timer-kcup-up/native_posix_64.keymap2
-rw-r--r--app/tests/hold-tap/tap-preferred/4b-dn-kcdn-kcup-timer-up/native_posix_64.keymap2
-rw-r--r--app/tests/hold-tap/tap-preferred/4c-dn-kcdn-kcup-up/native_posix_64.keymap2
-rw-r--r--app/tests/hold-tap/tap-preferred/5-quick-tap/native_posix_64.keymap6
-rw-r--r--app/tests/hold-tap/tap-preferred/6-nested-timeouts/native_posix_64.keymap10
-rw-r--r--app/tests/hold-tap/tap-preferred/7-positional/2-dn-timer-up/native_posix_64.keymap4
-rw-r--r--app/tests/hold-tap/tap-preferred/7-positional/4a-dn-ntgdn-timer-ntgup-up/native_posix_64.keymap2
-rw-r--r--app/tests/hold-tap/tap-preferred/7-positional/4a-dn-tgdn-timer-tgup-up/native_posix_64.keymap2
-rw-r--r--app/tests/hold-tap/tap-preferred/7-positional/tgdn-dn-ntgdn-timer-ntgup-tgup-up/native_posix_64.keymap2
-rw-r--r--app/tests/hold-tap/tap-preferred/8-global-quick-tap/1-basic/native_posix_64.keymap4
-rw-r--r--app/tests/hold-tap/tap-unless-interrupted/1-dn-up/native_posix_64.keymap4
-rw-r--r--app/tests/hold-tap/tap-unless-interrupted/2-dn-timer-up/native_posix_64.keymap4
-rw-r--r--app/tests/hold-tap/tap-unless-interrupted/3a-moddn-dn-modup-up/native_posix_64.keymap2
-rw-r--r--app/tests/hold-tap/tap-unless-interrupted/3b-moddn-dn-modup-timer-up/native_posix_64.keymap2
-rw-r--r--app/tests/hold-tap/tap-unless-interrupted/3c-kcdn-dn-kcup-up/native_posix_64.keymap2
-rw-r--r--app/tests/hold-tap/tap-unless-interrupted/3d-kcdn-dn-kcup-timer-up/native_posix_64.keymap2
-rw-r--r--app/tests/hold-tap/tap-unless-interrupted/4a-dn-htdn-timer-htup-up/native_posix_64.keymap2
-rw-r--r--app/tests/hold-tap/tap-unless-interrupted/4a-dn-kcdn-timer-kcup-up/native_posix_64.keymap2
-rw-r--r--app/tests/hold-tap/tap-unless-interrupted/4b-dn-kcdn-kcup-timer-up/native_posix_64.keymap2
-rw-r--r--app/tests/hold-tap/tap-unless-interrupted/4c-dn-kcdn-kcup-up/native_posix_64.keymap2
-rw-r--r--app/tests/hold-tap/tap-unless-interrupted/5-quick-tap/native_posix_64.keymap6
-rw-r--r--app/tests/hold-tap/tap-unless-interrupted/6-global-quick-tap/1-basic/native_posix_64.keymap4
-rw-r--r--app/tests/keypress/kp-press-release/native_posix_64.keymap2
-rw-r--r--app/tests/keytoggle/kt-alt-tab/native_posix_64.keymap18
-rw-r--r--app/tests/keytoggle/kt-modded-alpha/native_posix_64.keymap10
-rw-r--r--app/tests/keytoggle/kt-press-release-nkro/native_posix_64.keymap4
-rw-r--r--app/tests/keytoggle/kt-press-release/native_posix_64.keymap4
-rw-r--r--app/tests/macros/basic/native_posix_64.keymap2
-rw-r--r--app/tests/macros/mo-plus-modifier-from-hold-tap/native_posix_64.keymap2
-rw-r--r--app/tests/macros/mo-plus-modifier-macro/native_posix_64.keymap2
-rw-r--r--app/tests/macros/press-mid-macro/native_posix_64.keymap2
-rw-r--r--app/tests/macros/press-release/native_posix_64.keymap2
-rw-r--r--app/tests/modifiers/explicit/kp-hyper-dn-a-dn-a-up-hyper-up/native_posix_64.keymap8
-rw-r--r--app/tests/modifiers/explicit/kp-lctl-dn-lctl-dn-lctl-up-lctl-up/native_posix_64.keymap8
-rw-r--r--app/tests/modifiers/explicit/kp-lctl-dn-lctl-up/native_posix_64.keymap4
-rw-r--r--app/tests/modifiers/explicit/kp-lctl-dn-lsft-dn-lctl-up-lsft-up/native_posix_64.keymap8
-rw-r--r--app/tests/modifiers/explicit/kp-lctl-dn-lsft-dn-lsft-up-lctl-up/native_posix_64.keymap8
-rw-r--r--app/tests/modifiers/implicit/kp-mod1-dn-mod2-dn-mod1-up-mod2-up/native_posix_64.keymap6
-rw-r--r--app/tests/modifiers/implicit/kp-mod1-dn-mod2-dn-mod1-up-mod2-up/pending4
-rw-r--r--app/tests/modifiers/implicit/kp-mod1-dn-mod2-dn-mod2-up-mod1-up/native_posix_64.keymap6
-rw-r--r--app/tests/modifiers/mixed/kp-lctl-dn-mod-dn-lctl-up-mod-up/native_posix_64.keymap6
-rw-r--r--app/tests/modifiers/mixed/kp-lctl-dn-mod-dn-mod-up-lctl-up/native_posix_64.keymap6
-rw-r--r--app/tests/momentary-layer/1-normal/native_posix_64.keymap6
-rw-r--r--app/tests/momentary-layer/2-early-key-release/native_posix_64.keymap6
-rw-r--r--app/tests/momentary-layer/3-covered/native_posix_64.keymap2
-rw-r--r--app/tests/sticky-keys/1-os-dn-up/native_posix_64.keymap4
-rw-r--r--app/tests/sticky-keys/10-callum-mods/native_posix_64.keymap12
-rw-r--r--app/tests/sticky-keys/10-sl-sl-kp/native_posix_64.keymap16
-rw-r--r--app/tests/sticky-keys/2-os-dn-up-kcdn-kcup-quick-release/native_posix_64.keymap10
-rw-r--r--app/tests/sticky-keys/2-os-dn-up-kcdn-kcup/native_posix_64.keymap8
-rw-r--r--app/tests/sticky-keys/2-sl-dn-up-kcdn-kcup/native_posix_64.keymap8
-rw-r--r--app/tests/sticky-keys/3a-os-dn-kcdn-kcup-up/native_posix_64.keymap4
-rw-r--r--app/tests/sticky-keys/3b-os-dn-kcdn-up-kcup/native_posix_64.keymap4
-rw-r--r--app/tests/sticky-keys/4-os-dn-up-kcdn-timer-kcup/native_posix_64.keymap4
-rw-r--r--app/tests/sticky-keys/5-os-kcdn-dn-kcup-up/native_posix_64.keymap4
-rw-r--r--app/tests/sticky-keys/7-os-dn-up-kc1dn-kc2dn-kc1up-kc2up/native_posix_64.keymap4
-rw-r--r--app/tests/sticky-keys/8-lsk-osk-combination/native_posix_64.keymap18
-rw-r--r--app/tests/sticky-keys/9-sk-dn-up-dn-up/native_posix_64.keymap6
-rw-r--r--app/tests/tap-dance/1b-tap2/native_posix_64.keymap4
-rw-r--r--app/tests/tap-dance/1c-tap3/native_posix_64.keymap4
-rw-r--r--app/tests/tap-dance/2a-hold1/native_posix_64.keymap2
-rw-r--r--app/tests/tap-dance/2b-hold2/native_posix_64.keymap4
-rw-r--r--app/tests/tap-dance/2c-hold3/native_posix_64.keymap4
-rw-r--r--app/tests/wpm/1-single_keypress/native_posix_64.keymap4
-rw-r--r--app/tests/wpm/2-multiple_keypress/native_posix_64.keymap6
-rw-r--r--docs/package-lock.json17
-rw-r--r--docs/package.json2
-rw-r--r--docs/src/templates/setup.ps1.mustache4
-rw-r--r--docs/src/templates/setup.sh.mustache2
-rw-r--r--schema/hardware-metadata.schema.json32
247 files changed, 768 insertions, 806 deletions
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
index 9c3543dd28..9e523a36c5 100644
--- a/.github/pull_request_template.md
+++ b/.github/pull_request_template.md
@@ -1,13 +1,15 @@
<!-- If you're adding a board/shield please fill out this check-list, otherwise you can delete it -->
+
## Board/Shield Check-list
- - [ ] This board/shield is tested working on real hardware
- - [ ] Definitions follow the general style of other shields/boards upstream ([Reference](https://zmk.dev/docs/development/new-shield))
- - [ ] `.zmk.yml` metadata file added
- - [ ] Proper Copyright + License headers added to applicable files (Generally, we stick to "The ZMK Contributors" for copyrights to help avoid churn when files get edited)
- - [ ] General consistent formatting of DeviceTree files
- - [ ] Keymaps do not use deprecated key defines (Check using the [upgrader tool](https://zmk.dev/docs/codes/keymap-upgrader))
- - [ ] `&pro_micro` used in favor of `&pro_micro_d/a` if applicable
- - [ ] If split, no name added for the right/peripheral half
- - [ ] Kconfig.defconfig file correctly wraps *all* configuration in conditional on the shield symbol
- - [ ] `.conf` file has optional extra features commented out
- - [ ] Keyboard/PCB is part of a shipped group buy or is generally available in stock to purchase (OSH/personal projects without general availability should create a zmk-config repo instead)
+
+- [ ] This board/shield is tested working on real hardware
+- [ ] Definitions follow the general style of other shields/boards upstream ([Reference](https://zmk.dev/docs/development/new-shield))
+- [ ] `.zmk.yml` metadata file added
+- [ ] Proper Copyright + License headers added to applicable files (Generally, we stick to "The ZMK Contributors" for copyrights to help avoid churn when files get edited)
+- [ ] General consistent formatting of DeviceTree files
+- [ ] Keymaps do not use deprecated key defines (Check using the [upgrader tool](https://zmk.dev/docs/codes/keymap-upgrader))
+- [ ] `&pro_micro` used in favor of `&pro_micro_d/a` if applicable
+- [ ] If split, no name added for the right/peripheral half
+- [ ] Kconfig.defconfig file correctly wraps _all_ configuration in conditional on the shield symbol
+- [ ] `.conf` file has optional extra features commented out
+- [ ] Keyboard/PCB is part of a shipped group buy or is generally available in stock to purchase (OSH/personal projects without general availability should create a zmk-config repo instead)
diff --git a/.github/workflows/build-user-config.yml b/.github/workflows/build-user-config.yml
index 3d89ed7b32..b1e0602d54 100644
--- a/.github/workflows/build-user-config.yml
+++ b/.github/workflows/build-user-config.yml
@@ -19,8 +19,8 @@ on:
required: false
type: string
archive_name:
- description: 'Archive output file name'
- default: 'firmware'
+ description: "Archive output file name"
+ default: "firmware"
required: false
type: string
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index f472f755c9..82b156e106 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -131,7 +131,7 @@ jobs:
for (const configuration of combinedUnique) {
if (!perBoard[configuration.board])
perBoard[configuration.board] = [];
-
+
perBoard[configuration.board].push({
shield: configuration.shield,
'cmake-args': configuration['cmake-args'],
@@ -234,7 +234,7 @@ jobs:
};
}
} else if (hm.exposes) {
- return hm.exposes.flatMap(i =>
+ return hm.exposes.flatMap(i =>
metadata.interconnects[i].shields.flatMap(s => boardAndShield(hm, s))
);
} else {
@@ -243,7 +243,7 @@ jobs:
break;
case "shield":
if (hm.features && hm.features.includes("keys")) {
- return hm.requires.flatMap(i =>
+ return hm.requires.flatMap(i =>
metadata.interconnects[i].boards.flatMap(b => boardAndShield(b, hm))
);
} else {
diff --git a/.github/workflows/clang-format-lint.yml b/.github/workflows/clang-format-lint.yml
deleted file mode 100644
index 8c2cfbcfce..0000000000
--- a/.github/workflows/clang-format-lint.yml
+++ /dev/null
@@ -1,29 +0,0 @@
-name: Clang Format
-
-on:
- push:
- paths:
- - ".github/workflows/clang-format-lint.yml"
- - "app/boards/**/*.c"
- - "app/include/**/*.h"
- - "app/src/**"
- - "app/drivers/**/*.c"
- - "app/drivers/**/*.h"
- pull_request:
- paths:
- - ".github/workflows/clang-format-lint.yml"
- - "app/boards/**/*.c"
- - "app/include/**/*.h"
- - "app/src/**"
- - "app/drivers/**/*.c"
- - "app/drivers/**/*.h"
-
-jobs:
- build:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v3
- - uses: DoozyX/[email protected]
- with:
- source: "./app"
- extensions: "h,c"
diff --git a/.github/workflows/doc-checks.yml b/.github/workflows/doc-checks.yml
index d048a03e0a..91e65e6d31 100644
--- a/.github/workflows/doc-checks.yml
+++ b/.github/workflows/doc-checks.yml
@@ -21,16 +21,6 @@ jobs:
- name: ESLint
run: npm run lint
working-directory: docs
- prettier:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v3
- - uses: bahmutov/npm-install@v1
- with:
- working-directory: docs
- - name: Prettier check
- run: npm run prettier:check
- working-directory: docs
typecheck:
runs-on: ubuntu-latest
steps:
diff --git a/.github/workflows/hardware-metadata-validation.yml b/.github/workflows/hardware-metadata-validation.yml
index 4b10a28b12..100928368e 100644
--- a/.github/workflows/hardware-metadata-validation.yml
+++ b/.github/workflows/hardware-metadata-validation.yml
@@ -15,17 +15,6 @@ on:
- "app/scripts/west_commands/metadata.py"
jobs:
- check-metadata-format:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v3
- - uses: actions/checkout@v3
- - uses: bahmutov/npm-install@v1
- with:
- working-directory: app
- - name: Prettier Check
- run: npm run prettier:check
- working-directory: app
validate-metadata:
runs-on: ubuntu-latest
container:
diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml
new file mode 100644
index 0000000000..a6583d4f71
--- /dev/null
+++ b/.github/workflows/pre-commit.yml
@@ -0,0 +1,15 @@
+name: pre-commit
+
+on:
+ pull_request:
+ push:
+
+jobs:
+ pre-commit:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - uses: actions/setup-python@v4
+ with:
+ python-version: 3.x
+ - uses: pre-commit/[email protected]
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 02adf09cd1..7687fc6ee2 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,12 +1,20 @@
fail_fast: false
repos:
- repo: https://github.com/pocc/pre-commit-hooks
- rev: v1.1.1
+ rev: v1.3.5
hooks:
- id: clang-format
args:
- -i
- repo: https://github.com/pre-commit/mirrors-prettier
- rev: v2.2.1
+ rev: v2.7.1
hooks:
- id: prettier
+ - repo: https://github.com/pre-commit/pre-commit-hooks
+ rev: v4.4.0
+ hooks:
+ - id: trailing-whitespace
+ - id: check-yaml
+ - id: check-added-large-files
+ - id: check-shebang-scripts-are-executable
+ exclude: "\\.mustache$"
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 2730549a23..aea29cf009 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -4,4 +4,4 @@
"*.keymap": "dts"
},
"python.formatting.provider": "black"
-} \ No newline at end of file
+}
diff --git a/app/.prettierrc.js b/app/.prettierrc.js
index 806328d923..2a1f0b48af 100644
--- a/app/.prettierrc.js
+++ b/app/.prettierrc.js
@@ -1,3 +1,3 @@
module.exports = {
- endOfLine: "auto",
+ endOfLine: "auto",
};
diff --git a/app/boards/arm/bluemicro840/arduino_pro_micro_pins.dtsi b/app/boards/arm/bluemicro840/arduino_pro_micro_pins.dtsi
index 237f5c450d..53514d6449 100644
--- a/app/boards/arm/bluemicro840/arduino_pro_micro_pins.dtsi
+++ b/app/boards/arm/bluemicro840/arduino_pro_micro_pins.dtsi
@@ -11,11 +11,11 @@
gpio-map-mask = <0xffffffff 0xffffffc0>;
gpio-map-pass-thru = <0 0x3f>;
gpio-map
- = <0 0 &gpio0 8 0> /* D0 D2 */
- , <1 0 &gpio0 6 0> /* D1 D3*/
- , <2 0 &gpio0 15 0> /* D2 D1*/
- , <3 0 &gpio0 17 0> /* D3 D0*/
- , <4 0 &gpio0 20 0> /* D4/A6 D4*/
+ = <0 0 &gpio0 8 0> /* D0 D2 */
+ , <1 0 &gpio0 6 0> /* D1 D3*/
+ , <2 0 &gpio0 15 0> /* D2 D1*/
+ , <3 0 &gpio0 17 0> /* D3 D0*/
+ , <4 0 &gpio0 20 0> /* D4/A6 D4*/
, <5 0 &gpio0 13 0> /* D5 C6*/
, <6 0 &gpio0 24 0> /* D6/A7 D7*/
, <7 0 &gpio0 9 0> /* D7 E6*/
diff --git a/app/boards/arm/corneish_zen/corneish_zen_v2_left.dts b/app/boards/arm/corneish_zen/corneish_zen_v2_left.dts
index 4dbdaef529..65092dc5a0 100644
--- a/app/boards/arm/corneish_zen/corneish_zen_v2_left.dts
+++ b/app/boards/arm/corneish_zen/corneish_zen_v2_left.dts
@@ -32,7 +32,7 @@
, <&gpio1 9 GPIO_ACTIVE_HIGH>
, <&gpio0 7 GPIO_ACTIVE_HIGH>
, <&gpio0 5 GPIO_ACTIVE_HIGH>
- ;
+ ;
};
leds {
diff --git a/app/boards/arm/corneish_zen/corneish_zen_v2_right.dts b/app/boards/arm/corneish_zen/corneish_zen_v2_right.dts
index 52439e4f3c..980c990020 100644
--- a/app/boards/arm/corneish_zen/corneish_zen_v2_right.dts
+++ b/app/boards/arm/corneish_zen/corneish_zen_v2_right.dts
@@ -33,7 +33,7 @@
, <&gpio1 9 GPIO_ACTIVE_HIGH>
, <&gpio0 7 GPIO_ACTIVE_HIGH>
;
-
+
};
leds {
diff --git a/app/boards/arm/ferris/README.md b/app/boards/arm/ferris/README.md
index 2793c6fac4..b6fdcdf26a 100644
--- a/app/boards/arm/ferris/README.md
+++ b/app/boards/arm/ferris/README.md
@@ -1,6 +1,5 @@
# Building ZMK for the Ferris 0.2
-
## Standard Build
```
diff --git a/app/boards/arm/nice60/README.md b/app/boards/arm/nice60/README.md
index 49433df8f5..dce230ae79 100644
--- a/app/boards/arm/nice60/README.md
+++ b/app/boards/arm/nice60/README.md
@@ -1,9 +1,11 @@
# nice!60
+
![nice!60](https://i.imgur.com/0YWv5PE.png)
The nice!60 is a hotswap 60% made by Nice Keyboards. https://nicekeyboards.com/nice-60
## Building nice!60 ZMK firmware
+
```
west build -p -b nice60
```
diff --git a/app/boards/arm/nice60/nice60.keymap b/app/boards/arm/nice60/nice60.keymap
index bdb188df05..edfec32e93 100644
--- a/app/boards/arm/nice60/nice60.keymap
+++ b/app/boards/arm/nice60/nice60.keymap
@@ -12,7 +12,7 @@
/ {
keymap {
compatible = "zmk,keymap";
-
+
default_layer {
// ------------------------------------------------------------------------------------------
// | ESC | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | BKSP |
@@ -40,7 +40,7 @@
// ------------------------------------------------------------------------------------------------
bindings = <
&bt BT_CLR &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12 &rgb_ug RGB_EFR
- &bt BT_SEL 0 &trans &kp UP &trans &rgb_ug RGB_HUI &rgb_ug RGB_SAI &rgb_ug RGB_BRI &rgb_ug RGB_SPI &trans &trans &trans &trans &trans &trans
+ &bt BT_SEL 0 &trans &kp UP &trans &rgb_ug RGB_HUI &rgb_ug RGB_SAI &rgb_ug RGB_BRI &rgb_ug RGB_SPI &trans &trans &trans &trans &trans &trans
&bt BT_SEL 1 &kp LEFT &kp DOWN &kp RIGHT &rgb_ug RGB_HUD &rgb_ug RGB_SAD &rgb_ug RGB_BRD &rgb_ug RGB_SPD &trans &trans &trans &trans &rgb_ug RGB_EFF
&bt BT_SEL 2 &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&bt BT_SEL 3 &trans &trans &rgb_ug RGB_TOG &kp PSCRN &trans &trans &kp DEL
diff --git a/app/boards/arm/pillbug/pillbug.dts b/app/boards/arm/pillbug/pillbug.dts
index c1330319ea..a2e56df3e8 100644
--- a/app/boards/arm/pillbug/pillbug.dts
+++ b/app/boards/arm/pillbug/pillbug.dts
@@ -29,7 +29,7 @@
label = "Blue LED";
};
};
-
+
ext-power {
compatible = "zmk,ext-power-generic";
label = "EXT_POWER";
diff --git a/app/boards/arm/preonic/preonic_rev3.yaml b/app/boards/arm/preonic/preonic_rev3.yaml
index 679e1464ee..861f1d2da9 100644
--- a/app/boards/arm/preonic/preonic_rev3.yaml
+++ b/app/boards/arm/preonic/preonic_rev3.yaml
@@ -16,4 +16,4 @@ supported:
- lsm303dlhc
- nvs
- can
- - kscan \ No newline at end of file
+ - kscan
diff --git a/app/boards/arm/s40nc/README.md b/app/boards/arm/s40nc/README.md
index 32db57e991..96bebb3369 100644
--- a/app/boards/arm/s40nc/README.md
+++ b/app/boards/arm/s40nc/README.md
@@ -1,9 +1,11 @@
# S40NC
+
![S40NC](https://i.imgur.com/fk8587n.jpg)
Shorty40NoCordy (S40NC) is a limited run 40% bluetooth keyboard originally made and sold by MechWild.
## Building S40NC ZMK firmware
+
```
west build -p -b s40nc
```
diff --git a/app/boards/arm/s40nc/s40nc.keymap b/app/boards/arm/s40nc/s40nc.keymap
index c43bc671a8..f0e60e7d10 100644
--- a/app/boards/arm/s40nc/s40nc.keymap
+++ b/app/boards/arm/s40nc/s40nc.keymap
@@ -17,7 +17,7 @@
/ {
keymap {
compatible = "zmk,keymap";
-
+
default_layer {
bindings = <
&kp ESC &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BSPC
@@ -35,7 +35,7 @@
&trans &trans &trans &kp TAB &kp TAB &kp TAB &kp HOME &kp PG_DN &kp END
>;
};
-
+
raise_layer {
bindings = <
&kp TILDE &kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp CARET &kp AMPS &kp STAR &kp LPAR &kp RPAR &trans
@@ -44,7 +44,7 @@
&trans &trans &trans &kp TAB &kp TAB &kp TAB &kp HOME &kp PG_DN &kp END
>;
};
-
+
control_layer {
bindings = <
&bt BT_CLR &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp C_PP
@@ -55,4 +55,4 @@
};
};
};
-
+
diff --git a/app/boards/shields/bfo9000/README.md b/app/boards/shields/bfo9000/README.md
index 1e91fdcf5c..54893aedfe 100644
--- a/app/boards/shields/bfo9000/README.md
+++ b/app/boards/shields/bfo9000/README.md
@@ -4,10 +4,10 @@ Customizable full-size split ortholinear.
## Features
-* Compatible with MX-compatible, Alps-compatible, and Kailh Low-Profile Choc switches.
-* Breakoff pieces to allow for 4 to 6 rows and 7 to 9 columns.
-* RGB LED connections
+- Compatible with MX-compatible, Alps-compatible, and Kailh Low-Profile Choc switches.
+- Breakoff pieces to allow for 4 to 6 rows and 7 to 9 columns.
+- RGB LED connections
## Hardware Notes
-[Included default keymap](http://www.keyboard-layout-editor.com/#/gists/51293c31afcd5f1765e8f413a46bfcf8) \ No newline at end of file
+[Included default keymap](http://www.keyboard-layout-editor.com/#/gists/51293c31afcd5f1765e8f413a46bfcf8)
diff --git a/app/boards/shields/boardsource5x12/boardsource5x12.keymap b/app/boards/shields/boardsource5x12/boardsource5x12.keymap
index 8956ca9831..cb851c35ca 100644
--- a/app/boards/shields/boardsource5x12/boardsource5x12.keymap
+++ b/app/boards/shields/boardsource5x12/boardsource5x12.keymap
@@ -3,7 +3,7 @@
*
* SPDX-License-Identifier: MIT
*/
-
+
#include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/bt.h>
@@ -28,7 +28,7 @@
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BSLH
&kp LSHFT &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
&kp LCTRL &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RET
- &mo 3 &kp LCTRL &kp LALT &kp LGUI &mo 1 &kp SPACE &kp SPACE &mo 2 &kp LEFT &kp DOWN &kp UP &kp RIGHT
+ &mo 3 &kp LCTRL &kp LALT &kp LGUI &mo 1 &kp SPACE &kp SPACE &mo 2 &kp LEFT &kp DOWN &kp UP &kp RIGHT
>;
};
@@ -44,7 +44,7 @@
&kp TILDE &kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp CARET &kp AMPS &kp ASTRK &kp LPAR &kp RPAR &kp DEL
&trans &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp UNDER &kp PLUS &kp LBRC &kp RBRC &kp PIPE
&trans &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12 &kp LS(NON_US_HASH) &kp LS(NON_US_BSLH) &trans &trans &trans
- &trans &trans &trans &trans &trans &trans &trans &mo 3 &kp C_NEXT &kp C_VOL_DN &kp C_VOL_UP &kp C_PLAY_PAUSE
+ &trans &trans &trans &trans &trans &trans &trans &mo 3 &kp C_NEXT &kp C_VOL_DN &kp C_VOL_UP &kp C_PLAY_PAUSE
>;
};
diff --git a/app/boards/shields/boardsource5x12/boardsource5x12.overlay b/app/boards/shields/boardsource5x12/boardsource5x12.overlay
index 0fafe8a18c..080a239291 100644
--- a/app/boards/shields/boardsource5x12/boardsource5x12.overlay
+++ b/app/boards/shields/boardsource5x12/boardsource5x12.overlay
@@ -39,4 +39,4 @@
, <&pro_micro 6 GPIO_ACTIVE_HIGH>
;
};
-}; \ No newline at end of file
+}; \ No newline at end of file
diff --git a/app/boards/shields/chalice/chalice.keymap b/app/boards/shields/chalice/chalice.keymap
index cba93d035e..c72e3ee1b8 100644
--- a/app/boards/shields/chalice/chalice.keymap
+++ b/app/boards/shields/chalice/chalice.keymap
@@ -19,9 +19,9 @@
bindings = <
&kp ESC &kp GRAVE &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp MINUS &kp EQUAL &kp BSPC
&kp INSERT &kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp LBKT &kp RBKT &kp BSLH
- &kp DELETE &kp CAPS &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT &kp ENTER
+ &kp DELETE &kp CAPS &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT &kp ENTER
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp B &kp N &kp M &kp COMMA &kp DOT &kp SLASH &kp RSHFT &kp UP
- &kp LCTRL &kp LALT &kp SPACE &mo 1 &kp SPACE &kp RALT &kp RCTRL &kp LEFT &kp DOWN &kp RIGHT
+ &kp LCTRL &kp LALT &kp SPACE &mo 1 &kp SPACE &kp RALT &kp RCTRL &kp LEFT &kp DOWN &kp RIGHT
>;
};
@@ -30,9 +30,9 @@
bindings = <
&bootloader &out OUT_TOG &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12 &trans
&trans &bt BT_CLR &rgb_ug RGB_TOG &rgb_ug RGB_HUD &rgb_ug RGB_HUI &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
- &trans &bt BT_SEL 0 &rgb_ug RGB_EFF &rgb_ug RGB_SAD &rgb_ug RGB_SAI &trans &trans &trans &trans &trans &trans &trans &trans &trans
+ &trans &bt BT_SEL 0 &rgb_ug RGB_EFF &rgb_ug RGB_SAD &rgb_ug RGB_SAI &trans &trans &trans &trans &trans &trans &trans &trans &trans
&bt BT_SEL 1 &rgb_ug RGB_EFR &rgb_ug RGB_BRD &rgb_ug RGB_BRI &trans &trans &trans &trans &trans &trans &trans &trans &trans &kp PG_UP
- &bt BT_SEL 2 &trans &trans &trans &trans &trans &trans &kp HOME &kp PG_DN &kp END
+ &bt BT_SEL 2 &trans &trans &trans &trans &trans &trans &kp HOME &kp PG_DN &kp END
>;
};
};
diff --git a/app/boards/shields/chalice/chalice.overlay b/app/boards/shields/chalice/chalice.overlay
index 34cbd34ea3..6778588bf1 100644
--- a/app/boards/shields/chalice/chalice.overlay
+++ b/app/boards/shields/chalice/chalice.overlay
@@ -21,7 +21,7 @@
map = <
RC(0,0) RC(1,0) RC(0,1) RC(1,1) RC(0,2) RC(1,2) RC(0,3) RC(1,3) RC(0,4) RC(1,4) RC(0,5) RC(1,5) RC(0,6) RC(1,6) RC(4,6)
RC(2,0) RC(3,0) RC(2,1) RC(3,1) RC(2,2) RC(3,2) RC(2,3) RC(3,3) RC(2,4) RC(3,4) RC(2,5) RC(3,5) RC(2,6) RC(3,6) RC(5,6)
- RC(4,0) RC(5,0) RC(4,1) RC(5,1) RC(4,2) RC(5,2) RC(4,3) RC(5,3) RC(4,4) RC(5,4) RC(4,5) RC(5,5) RC(6,6) RC(7,6)
+ RC(4,0) RC(5,0) RC(4,1) RC(5,1) RC(4,2) RC(5,2) RC(4,3) RC(5,3) RC(4,4) RC(5,4) RC(4,5) RC(5,5) RC(6,6) RC(7,6)
RC(6,0) RC(7,0) RC(6,1) RC(7,1) RC(6,2) RC(7,2) RC(6,3) RC(7,3) RC(6,4) RC(7,4) RC(6,5) RC(7,5) RC(8,6) RC(9,6)
RC(8,0) RC(9,1) RC(8,2) RC(9,2) RC(8,3) RC(9,3) RC(8,4) RC(9,4) RC(8,5) RC(9,5)
>;
@@ -35,7 +35,7 @@
map = <
RC(0,0) RC(1,0) RC(0,1) RC(1,1) RC(0,2) RC(1,2) RC(0,3) RC(1,3) RC(0,4) RC(1,4) RC(0,5) RC(1,5) RC(0,6) RC(1,6) RC(4,6) RC(8,1)
RC(2,0) RC(3,0) RC(2,1) RC(3,1) RC(2,2) RC(3,2) RC(2,3) RC(3,3) RC(2,4) RC(3,4) RC(2,5) RC(3,5) RC(2,6) RC(3,6) RC(5,6)
- RC(4,0) RC(5,0) RC(4,1) RC(5,1) RC(4,2) RC(5,2) RC(4,3) RC(5,3) RC(4,4) RC(5,4) RC(4,5) RC(5,5) RC(6,6) RC(7,6)
+ RC(4,0) RC(5,0) RC(4,1) RC(5,1) RC(4,2) RC(5,2) RC(4,3) RC(5,3) RC(4,4) RC(5,4) RC(4,5) RC(5,5) RC(6,6) RC(7,6)
RC(6,0) RC(7,0) RC(6,1) RC(7,1) RC(6,2) RC(7,2) RC(6,3) RC(7,3) RC(6,4) RC(7,4) RC(6,5) RC(7,5) RC(8,6) RC(9,6)
RC(8,0) RC(9,1) RC(8,2) RC(9,2) RC(8,3) RC(9,3) RC(8,4) RC(9,4) RC(8,5) RC(9,5)
>;
diff --git a/app/boards/shields/clog/clog.dtsi b/app/boards/shields/clog/clog.dtsi
index 279431006d..ccad150c77 100644
--- a/app/boards/shields/clog/clog.dtsi
+++ b/app/boards/shields/clog/clog.dtsi
@@ -27,7 +27,7 @@
kscan0: kscan {
compatible = "zmk,kscan-gpio-direct";
label = "KSCAN";
-
+
input-gpios
= <&pro_micro 18 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
, <&pro_micro 19 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
diff --git a/app/boards/shields/corne/corne.dtsi b/app/boards/shields/corne/corne.dtsi
index e81afcf8da..a9c1c287f1 100644
--- a/app/boards/shields/corne/corne.dtsi
+++ b/app/boards/shields/corne/corne.dtsi
@@ -56,7 +56,7 @@ RC(2,1) RC(2,2) RC(2,3) RC(2,4) RC(2,5) RC(2,6) RC(2,7) RC(2,8) RC(2,9) RC(2,10
, <&pro_micro 6 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
, <&pro_micro 7 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
;
-
+
};
// TODO: per-key RGB node(s)?
diff --git a/app/boards/shields/eek/eek.keymap b/app/boards/shields/eek/eek.keymap
index d250cb0150..74ecc4071e 100644
--- a/app/boards/shields/eek/eek.keymap
+++ b/app/boards/shields/eek/eek.keymap
@@ -15,9 +15,9 @@
default {
// --------------------------------------------------------------------------------------------------------------------------------------------------------------------
-// Q | W | E | R | T | | Y | U | I | O | P |
-// A | S | D | F | G | | H | J | K | L | ; |
-// Lsft/Z| X | C | V | B | | N | M | , | . |Rsft//|
+// Q | W | E | R | T | | Y | U | I | O | P |
+// A | S | D | F | G | | H | J | K | L | ; |
+// Lsft/Z| X | C | V | B | | N | M | , | . |Rsft//|
// | LCTL | Bspc/LMOD | SPC | | Del/Num | Ent | Sym |
bindings = <
&kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P
@@ -28,7 +28,7 @@
};
numbers {
// --------------------------------------------------------------------------------------------------------------------------------------------------------------------
-// 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 |
+// 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 |
// TAB | BT_PRV | BT_NXT | VOL-| VOL+| | < | v | ∧ | > | ' |
// Lsft| BT_SEL0| BT_CLR | MUTE| | | HOME| END | PGUP| PGDN| Rsft|
// | LCTL | LMOD| LALT | | Num | | BL-reset |
@@ -41,8 +41,8 @@
};
symbols {
// --------------------------------------------------------------------------------------------------------------------------------------------------------------------
-// ESC | F1 | F2 | F3 | F4 | | OUT_USB | OUT_BLE | | = | - |
-// CAPS| F5 | F6 | F7 | F8 | | [ | ] | | ` | \ |
+// ESC | F1 | F2 | F3 | F4 | | OUT_USB | OUT_BLE | | = | - |
+// CAPS| F5 | F6 | F7 | F8 | | [ | ] | | ` | \ |
// LSFT| F9 | F10 | F11 | F12 | | | | | | RSFT |
// | LCTL | LMOD| LALT | | RESET | | SYM |
bindings = <
diff --git a/app/boards/shields/eek/eek.overlay b/app/boards/shields/eek/eek.overlay
index 3f830f079e..f53c6b5bb8 100644
--- a/app/boards/shields/eek/eek.overlay
+++ b/app/boards/shields/eek/eek.overlay
@@ -20,7 +20,7 @@
RC(0,9) RC(0,8) RC(0,7) RC(0,6) RC(0,5) RC(0,4) RC(0,3) RC(0,2) RC(0,1) RC(0,0)
RC(1,9) RC(1,8) RC(1,7) RC(1,6) RC(1,5) RC(1,4) RC(1,3) RC(1,2) RC(1,1) RC(1,0)
RC(2,9) RC(2,8) RC(2,7) RC(2,6) RC(2,5) RC(2,4) RC(2,3) RC(2,2) RC(2,1) RC(2,0)
- RC(3,7) RC(3,6) RC(3,5) RC(3,4) RC(3,3) RC(3,2)
+ RC(3,7) RC(3,6) RC(3,5) RC(3,4) RC(3,3) RC(3,2)
>;
};
diff --git a/app/boards/shields/elephant42/Kconfig.defconfig b/app/boards/shields/elephant42/Kconfig.defconfig
index e507f2c62f..55ee6c87d3 100644
--- a/app/boards/shields/elephant42/Kconfig.defconfig
+++ b/app/boards/shields/elephant42/Kconfig.defconfig
@@ -15,7 +15,7 @@ if SHIELD_ELEPHANT42_LEFT || SHIELD_ELEPHANT42_RIGHT
config ZMK_SPLIT
default y
-
+
if ZMK_DISPLAY
config I2C
diff --git a/app/boards/shields/elephant42/elephant42.dtsi b/app/boards/shields/elephant42/elephant42.dtsi
index e2b708ca6c..2d3f5166d5 100644
--- a/app/boards/shields/elephant42/elephant42.dtsi
+++ b/app/boards/shields/elephant42/elephant42.dtsi
@@ -3,7 +3,7 @@
*
* SPDX-License-Identifier: MIT
*/
-
+
#include <dt-bindings/zmk/matrix_transform.h>
/ {
@@ -36,7 +36,7 @@ RC(1,0) RC(1,1) RC(1,2) RC(1,3) RC(1,4) RC(1,5) RC(1,6) RC(1,7)
, <&pro_micro 7 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
;
- };
+ };
};
&pro_micro_i2c {
diff --git a/app/boards/shields/elephant42/elephant42.keymap b/app/boards/shields/elephant42/elephant42.keymap
index 8594c1171f..62484728ff 100644
--- a/app/boards/shields/elephant42/elephant42.keymap
+++ b/app/boards/shields/elephant42/elephant42.keymap
@@ -3,7 +3,7 @@
*
* SPDX-License-Identifier: MIT
*/
-
+
#include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/bt.h>
@@ -19,7 +19,7 @@
default_layer {
bindings = <
- &lt ADJT ESC &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp DEL
+ &lt ADJT ESC &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp DEL
&mt LCTRL TAB &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
&kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH
&kp LSHFT &mo LOWR &kp LGUI &kp BSPC &kp SPACE &kp ENTER &mo RAIS &kp LALT
diff --git a/app/boards/shields/elephant42/elephant42_left.overlay b/app/boards/shields/elephant42/elephant42_left.overlay
index 72fe2251d7..104734389b 100644
--- a/app/boards/shields/elephant42/elephant42_left.overlay
+++ b/app/boards/shields/elephant42/elephant42_left.overlay
@@ -3,7 +3,7 @@
*
* SPDX-License-Identifier: MIT
*/
-
+
#include "elephant42.dtsi"
&kscan0 {
diff --git a/app/boards/shields/elephant42/elephant42_right.overlay b/app/boards/shields/elephant42/elephant42_right.overlay
index 35bd5895ef..c8f69a04a5 100644
--- a/app/boards/shields/elephant42/elephant42_right.overlay
+++ b/app/boards/shields/elephant42/elephant42_right.overlay
@@ -3,7 +3,7 @@
*
* SPDX-License-Identifier: MIT
*/
-
+
#include "elephant42.dtsi"
&default_transform {
diff --git a/app/boards/shields/helix/helix.dtsi b/app/boards/shields/helix/helix.dtsi
index 4545756085..bbaec63608 100644
--- a/app/boards/shields/helix/helix.dtsi
+++ b/app/boards/shields/helix/helix.dtsi
@@ -42,6 +42,6 @@ RC(4,0) RC(4,1) RC(4,2) RC(4,3) RC(4,4) RC(4,5) RC(4,6) RC(4,7) RC(4,8) RC(4,9
, <&pro_micro 7 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
, <&pro_micro 8 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
;
-
+
};
}; \ No newline at end of file
diff --git a/app/boards/shields/helix/helix.keymap b/app/boards/shields/helix/helix.keymap
index 82327c329a..80678fe609 100644
--- a/app/boards/shields/helix/helix.keymap
+++ b/app/boards/shields/helix/helix.keymap
@@ -23,7 +23,7 @@ As such, those are in use within the default layer at this time.*/
/ {
keymap {
compatible = "zmk,keymap";
-
+
default_layer {
// ---------------------------------------------------------------------------------------------------------------------------------
// | GRAVE | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | DEL |
@@ -78,7 +78,7 @@ As such, those are in use within the default layer at this time.*/
// | | | | | | | | | | | | | | | |
bindings = <
&kp GRAVE &kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp CARET &kp AMPS &kp ASTRK &kp LPAR &kp RPAR &ext_power EP_TOG
- &bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &rgb_ug RGB_EFF &rgb_ug RGB_HUI &rgb_ug RGB_SAI &rgb_ug RGB_SPI &rgb_ug RGB_BRI &rgb_ug RGB_TOG
+ &bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &rgb_ug RGB_EFF &rgb_ug RGB_HUI &rgb_ug RGB_SAI &rgb_ug RGB_SPI &rgb_ug RGB_BRI &rgb_ug RGB_TOG
&bt BT_NXT &out OUT_TOG &out OUT_USB &out OUT_BLE &trans &trans &rgb_ug RGB_EFR &rgb_ug RGB_HUD &rgb_ug RGB_SAD &rgb_ug RGB_SPD &rgb_ug RGB_BRD &trans
&bt BT_PRV &trans &trans &trans &trans &trans &kp LBRC &kp RBRC &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
diff --git a/app/boards/shields/helix/helix_left.overlay b/app/boards/shields/helix/helix_left.overlay
index 5b0c762345..2a7ac8057a 100644
--- a/app/boards/shields/helix/helix_left.overlay
+++ b/app/boards/shields/helix/helix_left.overlay
@@ -3,7 +3,7 @@
*
* SPDX-License-Identifier: MIT
*/
-
+
#include "helix.dtsi"
&kscan0 {
diff --git a/app/boards/shields/hummingbird/hummingbird.overlay b/app/boards/shields/hummingbird/hummingbird.overlay
index 4af9cbdfeb..0c48c1285f 100644
--- a/app/boards/shields/hummingbird/hummingbird.overlay
+++ b/app/boards/shields/hummingbird/hummingbird.overlay
@@ -49,7 +49,7 @@
, <&xiao_d 5 GPIO_ACTIVE_HIGH>
;
};
-
+
};
&xiao_spi { status = "disabled"; };
diff --git a/app/boards/shields/iris/Kconfig.defconfig b/app/boards/shields/iris/Kconfig.defconfig
index 972884dbe4..83331d1097 100644
--- a/app/boards/shields/iris/Kconfig.defconfig
+++ b/app/boards/shields/iris/Kconfig.defconfig
@@ -15,5 +15,5 @@ if SHIELD_IRIS_LEFT || SHIELD_IRIS_RIGHT
config ZMK_SPLIT
default y
-
+
endif \ No newline at end of file
diff --git a/app/boards/shields/iris/iris.dtsi b/app/boards/shields/iris/iris.dtsi
index 24099f61f8..0e976f86b3 100644
--- a/app/boards/shields/iris/iris.dtsi
+++ b/app/boards/shields/iris/iris.dtsi
@@ -42,6 +42,6 @@ RC(3,0) RC(3,1) RC(3,2) RC(3,3) RC(3,4) RC(3,5) RC(4,2) RC(4,9) RC(3,6) RC(3,7)
, <&pro_micro 0 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
, <&pro_micro 4 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
;
-
+
};
}; \ No newline at end of file
diff --git a/app/boards/shields/jian/jian.dtsi b/app/boards/shields/jian/jian.dtsi
index 34c0298ed6..2b1eb3910b 100644
--- a/app/boards/shields/jian/jian.dtsi
+++ b/app/boards/shields/jian/jian.dtsi
@@ -71,6 +71,6 @@
, <&pro_micro 15 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
, <&pro_micro 14 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
;
-
+
};
};
diff --git a/app/boards/shields/jiran/jiran.dtsi b/app/boards/shields/jiran/jiran.dtsi
index 5dfaa46b74..f0727dd4e6 100644
--- a/app/boards/shields/jiran/jiran.dtsi
+++ b/app/boards/shields/jiran/jiran.dtsi
@@ -77,6 +77,6 @@
, <&pro_micro 20 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
, <&pro_micro 19 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
;
-
+
};
};
diff --git a/app/boards/shields/jorne/Kconfig.defconfig b/app/boards/shields/jorne/Kconfig.defconfig
index 4664debf17..775bb56a96 100644
--- a/app/boards/shields/jorne/Kconfig.defconfig
+++ b/app/boards/shields/jorne/Kconfig.defconfig
@@ -13,7 +13,7 @@ if SHIELD_JORNE_LEFT || SHIELD_JORNE_RIGHT
config ZMK_SPLIT
default y
-
+
if ZMK_DISPLAY
config I2C
diff --git a/app/boards/shields/jorne/jorne.dtsi b/app/boards/shields/jorne/jorne.dtsi
index 6f43393d52..bb862b8d9e 100644
--- a/app/boards/shields/jorne/jorne.dtsi
+++ b/app/boards/shields/jorne/jorne.dtsi
@@ -72,7 +72,7 @@ RC(2,1) RC(2,2) RC(2,3) RC(2,4) RC(2,5) RC(2,6) RC(2,7) RC(2,8) RC(2,9) RC(2,10
, <&pro_micro 6 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
, <&pro_micro 7 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
;
-
+
};
// TODO: per-key RGB node(s)?
diff --git a/app/boards/shields/kyria/Kconfig.defconfig b/app/boards/shields/kyria/Kconfig.defconfig
index 53b441cba0..82f48b4c4f 100644
--- a/app/boards/shields/kyria/Kconfig.defconfig
+++ b/app/boards/shields/kyria/Kconfig.defconfig
@@ -13,7 +13,7 @@ if SHIELD_KYRIA
config ZMK_SPLIT
default y
-
+
if ZMK_DISPLAY
config I2C
diff --git a/app/boards/shields/kyria/kyria_common.dtsi b/app/boards/shields/kyria/kyria_common.dtsi
index c52ab05abf..1e61cc6bb7 100644
--- a/app/boards/shields/kyria/kyria_common.dtsi
+++ b/app/boards/shields/kyria/kyria_common.dtsi
@@ -17,7 +17,7 @@
compatible = "zmk,kscan-gpio-matrix";
label = "KSCAN";
- diode-direction = "col2row";
+ diode-direction = "col2row";
};
left_encoder: encoder_left {
diff --git a/app/boards/shields/leeloo/Kconfig.defconfig b/app/boards/shields/leeloo/Kconfig.defconfig
index 36306757e2..d5bfab3d79 100644
--- a/app/boards/shields/leeloo/Kconfig.defconfig
+++ b/app/boards/shields/leeloo/Kconfig.defconfig
@@ -8,7 +8,7 @@ config ZMK_KEYBOARD_NAME
config ZMK_SPLIT_ROLE_CENTRAL
default y
-
+
endif
if SHIELD_LEELOO_LEFT || SHIELD_LEELOO_RIGHT
diff --git a/app/boards/shields/leeloo/README.md b/app/boards/shields/leeloo/README.md
index 35e0499405..a807843f08 100644
--- a/app/boards/shields/leeloo/README.md
+++ b/app/boards/shields/leeloo/README.md
@@ -6,20 +6,22 @@ Keyboard Designer: [clicketysplit.ca](https://clicketysplit.ca)
GitHub: [ClicketySplit](https://github.com/ClicketySplit)
Hardware Supported: Pro Micro, Elite-C, nice!nano v2
-Albeit, there is no doubt where Leeloo's heritage is derived from—Lily58, and Corne. It is not a copy-paste-modify implementation.
+Albeit, there is no doubt where Leeloo's heritage is derived from—Lily58, and Corne. It is not a copy-paste-modify implementation.
Leeloo has been designed from scratch; everything from the schematic to its PCB footprints, and column stagger. There are some subtle differences that may not be apparent; however, its subtle changes enable an interesting future.
Features:
-* 4x6x5m Split Keyboard
-* Support for MX/Box or Low Profile Choc switches.
-* 90% of the switches are socketed; with the exception to the rotary encoder positions—6 positions require soldering.
-* Support for 128x32 OLED Displays.
-* The option to select one of three positions for an EC11 rotary encoder on each half.
-* Support for Alps Alpine Micro Switch
-* Support for 3.7v 301230 LiPo Battery
+
+- 4x6x5m Split Keyboard
+- Support for MX/Box or Low Profile Choc switches.
+- 90% of the switches are socketed; with the exception to the rotary encoder positions—6 positions require soldering.
+- Support for 128x32 OLED Displays.
+- The option to select one of three positions for an EC11 rotary encoder on each half.
+- Support for Alps Alpine Micro Switch
+- Support for 3.7v 301230 LiPo Battery
# Building Your Firmware
+
ZMK Firmware: [Introduction to ZMK](https://zmk.dev/docs/)
Installation: [Installing ZMK](https://zmk.dev/docs/user-setup)
Customization: [Customizing ZMK](https://zmk.dev/docs/customization)
@@ -36,6 +38,7 @@ Build command for your custom keymap of Leeloo:
west build -d build/left -p -b nice_nano_v2 -- -DSHIELD=leeloo_left -DZMK_CONFIG="C:/dev/zmk/[yourName]/leeloo/config"
# Support
+
If you have any questions with regards to Leeloo, please [Contact Us](https://clicketysplit.ca/pages/contact-us).
Clickety Split
diff --git a/app/boards/shields/lily58/lily58.dtsi b/app/boards/shields/lily58/lily58.dtsi
index 4efa10699f..1a296a8c6b 100644
--- a/app/boards/shields/lily58/lily58.dtsi
+++ b/app/boards/shields/lily58/lily58.dtsi
@@ -43,7 +43,7 @@ RC(3,0) RC(3,1) RC(3,2) RC(3,3) RC(3,4) RC(3,5) RC(4,5) RC(4,6) RC(3,6) RC(3,7)
, <&pro_micro 8 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
, <&pro_micro 9 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
;
-
+
};
left_encoder: encoder_left {
diff --git a/app/boards/shields/lotus58/Kconfig.defconfig b/app/boards/shields/lotus58/Kconfig.defconfig
index 56eef35958..b6bb37d852 100644
--- a/app/boards/shields/lotus58/Kconfig.defconfig
+++ b/app/boards/shields/lotus58/Kconfig.defconfig
@@ -8,7 +8,7 @@ config ZMK_KEYBOARD_NAME
config ZMK_SPLIT_ROLE_CENTRAL
default y
-
+
endif
if SHIELD_LOTUS58_LEFT || SHIELD_LOTUS58_RIGHT
diff --git a/app/boards/shields/lotus58/lotus58.dtsi b/app/boards/shields/lotus58/lotus58.dtsi
index 1df0bf38f0..e24d75e70d 100644
--- a/app/boards/shields/lotus58/lotus58.dtsi
+++ b/app/boards/shields/lotus58/lotus58.dtsi
@@ -27,7 +27,7 @@ RC(0,0) RC(0,1) RC(0,2) RC(0,3) RC(0,4) RC(0,5) RC(0,6) RC(0,7
RC(1,0) RC(1,1) RC(1,2) RC(1,3) RC(1,4) RC(1,5) RC(1,6) RC(1,7) RC(1,8) RC(1,9) RC(1,10) RC(1,11)
RC(2,0) RC(2,1) RC(2,2) RC(2,3) RC(2,4) RC(2,5) RC(4,0) RC(4,11) RC(2,6) RC(2,7) RC(2,8) RC(2,9) RC(2,10) RC(2,11)
RC(3,0) RC(3,1) RC(3,2) RC(3,3) RC(3,4) RC(3,5) RC(4,5) RC(4,6) RC(3,6) RC(3,7) RC(3,8) RC(3,9) RC(3,10) RC(3,11)
- RC(4,1) RC(4,2) RC(4,3) RC(4,4) RC(4,7) RC(4,8) RC(4,9) RC(4,10)
+ RC(4,1) RC(4,2) RC(4,3) RC(4,4) RC(4,7) RC(4,8) RC(4,9) RC(4,10)
>;
};
diff --git a/app/boards/shields/lotus58/lotus58.keymap b/app/boards/shields/lotus58/lotus58.keymap
index 50249146d7..fae463c92a 100644
--- a/app/boards/shields/lotus58/lotus58.keymap
+++ b/app/boards/shields/lotus58/lotus58.keymap
@@ -17,7 +17,7 @@
key-positions = <24 52>;
layers = <0>;
bindings = <&kp LGUI>;
- };
+ };
};
behaviors {
@@ -59,7 +59,7 @@
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp LBKT
&kp LSHFT &kp A &sleft &kp D &fright &kp G &sys_reset &sys_reset &kp H &kp J &kp K &kp L &kp SEMI &mt RSHFT SQT
&kp LCTRL &kp Z &kp X &kp C &kp V &kp B &kp C_MUTE &kp C_PP &kp N &kp M &kp COMMA &kp DOT &kp FSLH &mt RCTRL BSLH
- &lt 2 RET &kp LALT &kp SPACE &lt 1 DEL &lt 2 RET &kp BSPC &lt 1 RBKT &kp LGUI
+ &lt 2 RET &kp LALT &kp SPACE &lt 1 DEL &lt 2 RET &kp BSPC &lt 1 RBKT &kp LGUI
>;
sensor-bindings = <&inc_dec_kp C_VOL_DN C_VOL_UP &inc_dec_kp PG_UP PG_DN>;
@@ -71,7 +71,7 @@
// | | ! | HOME| ^ | END | % | | VOL^ | PGUP | INS | ^ | PSCR | - |
// | | # | <- | v | -> | $ | | | | VOLv | <- | ^ | -> | ~ | _ |
// | | @ | - | ( | ) | & | | | | MUTE | PGDN | v | : | * | | |
-// | F11 | | | | | | | | F12 |
+// | F11 | | | | | | | | F12 |
bindings = <
&kp GRAVE &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp PLUS
&trans &kp EXCL &kp HOME &kp UP &kp END &kp PRCNT &kp C_VOL_UP &kp PG_UP &kp INS &kp CARET &kp PSCRN &kp MINUS
@@ -89,13 +89,13 @@
// | | INS | PSCR | GUI | RESET | | | PGUP | | ^ | | | |
// | | ALT | CTRL | SHIFT | FLASH | CAPS | | | | PGDN | <- | v | -> | DEL | BSPC |
// | | UNDO | CUT | COPY | PASTE | | | | | | |> | <|<| | |>|> | | |
-// | | | | | | | | | |
+// | | | | | | | | | |
bindings = <
&bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &out OUT_TOG &out OUT_USB &out OUT_BLE &trans &sys_reset &bootloader
&trans &kp INS &kp PSCRN &kp K_CMENU &sys_reset &trans &kp PG_UP &trans &kp UP &trans &trans &trans
&trans &kp LALT &kp LCTRL &kp LSHFT &bootloader &kp CLCK &trans &trans &kp PG_DN &kp LEFT &kp DOWN &kp RIGHT &kp DEL &kp BSPC
&trans &kp K_UNDO &kp K_CUT &kp K_COPY &kp K_PASTE &trans &trans &trans &trans &kp C_PP &kp C_PREV &kp C_NEXT &trans &trans
- &trans &trans &trans &trans &trans &trans &trans &trans
+ &trans &trans &trans &trans &trans &trans &trans &trans
>;
sensor-bindings = <&inc_dec_kp C_VOL_DN C_VOL_UP &inc_dec_kp PG_UP PG_DN>;
diff --git a/app/boards/shields/lotus58/lotus58_left.overlay b/app/boards/shields/lotus58/lotus58_left.overlay
index 9755ae0b3e..a51659dfb1 100644
--- a/app/boards/shields/lotus58/lotus58_left.overlay
+++ b/app/boards/shields/lotus58/lotus58_left.overlay
@@ -8,7 +8,7 @@
&kscan0 {
col-gpios
- = <&pro_micro 15 GPIO_ACTIVE_HIGH>
+ = <&pro_micro 15 GPIO_ACTIVE_HIGH>
, <&pro_micro 16 GPIO_ACTIVE_HIGH>
, <&pro_micro 14 GPIO_ACTIVE_HIGH>
, <&pro_micro 10 GPIO_ACTIVE_HIGH>
diff --git a/app/boards/shields/microdox/Kconfig.defconfig b/app/boards/shields/microdox/Kconfig.defconfig
index 28f8c811d3..8c0b042e2c 100644
--- a/app/boards/shields/microdox/Kconfig.defconfig
+++ b/app/boards/shields/microdox/Kconfig.defconfig
@@ -15,7 +15,7 @@ if SHIELD_MICRODOX_LEFT || SHIELD_MICRODOX_RIGHT
config ZMK_SPLIT
default y
-
+
if ZMK_DISPLAY
config I2C
diff --git a/app/boards/shields/microdox/microdox.dtsi b/app/boards/shields/microdox/microdox.dtsi
index b8d47b2a0e..e3fabb3e85 100644
--- a/app/boards/shields/microdox/microdox.dtsi
+++ b/app/boards/shields/microdox/microdox.dtsi
@@ -40,7 +40,7 @@ RC(2,0) RC(2,1) RC(2,2) RC(2,3) RC(2,4) RC(2,5) RC(2,6) RC(2,7) RC(2,8) RC(2,9)
, <&pro_micro 8 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
, <&pro_micro 9 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
;
-
+
};
// TODO: per-key RGB node(s)?
diff --git a/app/boards/shields/murphpad/murphpad.keymap b/app/boards/shields/murphpad/murphpad.keymap
index 2e8c6f6e71..ccdff9f7a7 100644
--- a/app/boards/shields/murphpad/murphpad.keymap
+++ b/app/boards/shields/murphpad/murphpad.keymap
@@ -44,7 +44,7 @@
bindings = <&bt BT_NXT>;
};
};
-
+
sensors {
compatible = "zmk,keymap-sensors";
sensors = <&encoder_1 &encoder_2>;
@@ -57,29 +57,29 @@
default_layer {
label = "default layer";
bindings = <
- &bt BT_CLR &kp TAB &kp F5 &kp LC(LA(C)) &kp LG(D)
- &rgb_ug RGB_TOG &kp ESC &kp KP_DIVIDE &kp KP_MULTIPLY &kp KP_MINUS
- &rgb_ug RGB_EFF &kp KP_N7 &kp KP_N8 &kp KP_N9 &kp KP_PLUS
+ &bt BT_CLR &kp TAB &kp F5 &kp LC(LA(C)) &kp LG(D)
+ &rgb_ug RGB_TOG &kp ESC &kp KP_DIVIDE &kp KP_MULTIPLY &kp KP_MINUS
+ &rgb_ug RGB_EFF &kp KP_N7 &kp KP_N8 &kp KP_N9 &kp KP_PLUS
&kp C_MUTE &kp KP_N4 &kp KP_N5 &kp KP_N6 &trans
&mo 1 &kp KP_N1 &kp KP_N2 &kp KP_N3 &kp KP_ENTER
&kp BSPC &kp KP_N0 &trans &kp KP_DOT &trans
>;
sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp PG_UP PG_DN>;
- };
-
+ };
+
fn_layer {
label = "fn layer";
bindings = <
- &trans &trans &trans &trans &trans
- &trans &kp KP_NUM &trans &trans &trans
+ &trans &trans &trans &trans &trans
+ &trans &kp KP_NUM &trans &trans &trans
&trans &trans &trans &trans &trans
- &bt BT_CLR &trans &trans &trans &trans
+ &bt BT_CLR &trans &trans &trans &trans
&trans &trans &trans &trans &trans
- &kp DEL &trans &trans &trans &trans
- >;
+ &kp DEL &trans &trans &trans &trans
+ >;
sensor-bindings = <&inc_dec_kp PG_UP PG_DN &inc_dec_kp C_VOL_UP C_VOL_DN>;
-
+
};
};
}; \ No newline at end of file
diff --git a/app/boards/shields/murphpad/murphpad.overlay b/app/boards/shields/murphpad/murphpad.overlay
index c66f2aeffb..b7fead608b 100644
--- a/app/boards/shields/murphpad/murphpad.overlay
+++ b/app/boards/shields/murphpad/murphpad.overlay
@@ -42,7 +42,7 @@
resolution = <4>;
status = "disabled";
};
-
+
encoder_2: encoder_2 {
compatible = "alps,ec11";
label = "Encoder 2";
diff --git a/app/boards/shields/naked60/naked60.keymap b/app/boards/shields/naked60/naked60.keymap
index d380a59974..1c212cd454 100644
--- a/app/boards/shields/naked60/naked60.keymap
+++ b/app/boards/shields/naked60/naked60.keymap
@@ -28,7 +28,7 @@
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BSLH
&kp LSHFT &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
&kp LCTRL &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RET
- &mo 3 &kp LCTRL &kp LALT &kp LGUI &mo 1 &kp SPACE &kp SPACE &mo 2 &kp LEFT &kp DOWN &kp UP &kp RIGHT
+ &mo 3 &kp LCTRL &kp LALT &kp LGUI &mo 1 &kp SPACE &kp SPACE &mo 2 &kp LEFT &kp DOWN &kp UP &kp RIGHT
>;
};
@@ -44,7 +44,7 @@
&kp TILDE &kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp CARET &kp AMPS &kp ASTRK &kp LPAR &kp RPAR &kp DEL
&trans &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp UNDER &kp PLUS &kp LBRC &kp RBRC &kp PIPE
&trans &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12 &kp LS(NON_US_HASH) &kp LS(NON_US_BSLH) &trans &trans &trans
- &trans &trans &trans &trans &trans &trans &trans &mo 3 &kp C_NEXT &kp C_VOL_DN &kp C_VOL_UP &kp C_PLAY_PAUSE
+ &trans &trans &trans &trans &trans &trans &trans &mo 3 &kp C_NEXT &kp C_VOL_DN &kp C_VOL_UP &kp C_PLAY_PAUSE
>;
};
diff --git a/app/boards/shields/nibble/nibble.keymap b/app/boards/shields/nibble/nibble.keymap
index 23c796eae8..c02aad75b6 100644
--- a/app/boards/shields/nibble/nibble.keymap
+++ b/app/boards/shields/nibble/nibble.keymap
@@ -32,7 +32,7 @@
};
function_layer {
label = "Function";
-
+
sensor-bindings = <&inc_dec_kp C_VOLUME_UP C_VOLUME_DOWN>;
bindings = <
diff --git a/app/boards/shields/nibble/nibble.overlay b/app/boards/shields/nibble/nibble.overlay
index 13f2c2fe24..baf1eb1031 100644
--- a/app/boards/shields/nibble/nibble.overlay
+++ b/app/boards/shields/nibble/nibble.overlay
@@ -51,7 +51,7 @@
RC(1,0) RC(1,1) RC(1,2) RC(1,3) RC(1,4) RC(1,5) RC(1,6) RC(1,7) RC(1,8) RC(1,9) RC(1,10) RC(1,11) RC(1,12) RC(1,13) RC(1,14) RC(1,15)
RC(2,0) RC(2,1) RC(2,2) RC(2,3) RC(2,4) RC(2,5) RC(2,6) RC(2,7) RC(2,8) RC(2,9) RC(2,10) RC(2,11) RC(2,12) RC(2,14) RC(2,15)
RC(3,0) RC(3,1) RC(0,0) RC(3,2) RC(3,3) RC(3,4) RC(3,5) RC(3,6) RC(3,7) RC(3,8) RC(3,9) RC(3,10) RC(3,11) RC(3,12) RC(3,14) RC(3,15)
-RC(4,0) RC(4,1) RC(4,2) RC(4,3) RC(4,6) RC(4,9) RC(4,10) RC(4,11) RC(4,12) RC(4,14) RC(4,15)
+RC(4,0) RC(4,1) RC(4,2) RC(4,3) RC(4,6) RC(4,9) RC(4,10) RC(4,11) RC(4,12) RC(4,14) RC(4,15)
>;
};
};
diff --git a/app/boards/shields/nice_view/README.md b/app/boards/shields/nice_view/README.md
index 0b4ac21f84..e3dffa3446 100644
--- a/app/boards/shields/nice_view/README.md
+++ b/app/boards/shields/nice_view/README.md
@@ -2,4 +2,4 @@
The nice!view is a low power, high refresh rate display meant to replace I2C OLEDs traditionally used.
-This shield requires that an `&nice_view_spi` labelled SPI bus is provided with *at least* MOSI, SCK, and CS pins defined.
+This shield requires that an `&nice_view_spi` labelled SPI bus is provided with _at least_ MOSI, SCK, and CS pins defined.
diff --git a/app/boards/shields/nice_view_adapter/README.md b/app/boards/shields/nice_view_adapter/README.md
index ec4665a3fe..fe0a6f0760 100644
--- a/app/boards/shields/nice_view_adapter/README.md
+++ b/app/boards/shields/nice_view_adapter/README.md
@@ -2,7 +2,7 @@
This shield is used as an adapter between the nice!view and existing shields/boards that expose an I2C OLED header.
-To use this shield, you should add this shield to your list of shields *before* `nice_view`.
+To use this shield, you should add this shield to your list of shields _before_ `nice_view`.
The nice!view will use the SDA/SCL pins of the OLED, and then the adapter expects a final pin to be "bodged" from your microcontroller to the nice!view CS pin. This adapter assumes that the CS pin bodged is the `&pro_micro 1` pin or "D1", which is the top left pin when looking at the front of the board. If you can't use this pin, you'll need to override the `cs-gpios` for the `&nice_view_spi` bus (in your `zmk-config` keymap for example) or you will want to define your own `&nice_view_spi` bus without using this adapter.
diff --git a/app/boards/shields/pancake/pancake.keymap b/app/boards/shields/pancake/pancake.keymap
index 99f2aaff21..e5ca437263 100644
--- a/app/boards/shields/pancake/pancake.keymap
+++ b/app/boards/shields/pancake/pancake.keymap
@@ -20,7 +20,7 @@
default_layer {
bindings = <
- &kp ESC &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BSPC
+ &kp ESC &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BSPC
&kp TAB &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SQT &kp SEMI
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp UP &kp ENTER
&kp LCTRL &kp LALT &kp LGUI &mo FNC &mo LWR &kp SPACE &kp SPACE &mo RSE &kp SLASH &kp LEFT &kp DOWN &kp RIGHT
@@ -32,7 +32,7 @@
&kp TILDE &kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp CARET &kp AMPS &kp STAR &kp LPAR &kp RPAR &kp BSPC
&trans &trans &trans &trans &trans &trans &trans &trans &kp UNDER &kp PLUS &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &kp LBRC &kp RBRC &kp C_VOL_UP &trans
- &trans &trans &trans &trans &trans &trans &trans &trans &kp QMARK &trans &kp C_VOL_DN &trans
+ &trans &trans &trans &trans &trans &trans &trans &trans &kp QMARK &trans &kp C_VOL_DN &trans
>;
};
@@ -41,8 +41,8 @@
&kp GRAVE &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp BSPC
&trans &trans &trans &trans &trans &trans &trans &trans &kp MINUS &kp EQUAL &trans &kp BSLH
&trans &trans &trans &trans &trans &trans &trans &trans &kp LBKT &kp RBKT &kp C_VOL_UP &trans
- &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &kp C_VOL_DN &trans
- >;
+ &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &kp C_VOL_DN &trans
+ >;
};
function_layer {
@@ -50,8 +50,8 @@
&bootloader &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &trans
&trans &trans &trans &trans &trans &trans &trans &trans &kp MINUS &kp F11 &kp F12 &trans
&bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &trans &trans &trans &trans &trans &trans
- &out OUT_BLE &out OUT_USB &out OUT_TOG &trans &trans &trans &trans &trans &trans &trans &trans &trans
- >;
+ &out OUT_BLE &out OUT_USB &out OUT_TOG &trans &trans &trans &trans &trans &trans &trans &trans &trans
+ >;
};
};
};
diff --git a/app/boards/shields/pancake/pancake.overlay b/app/boards/shields/pancake/pancake.overlay
index 53e8c8c121..6fae463f42 100644
--- a/app/boards/shields/pancake/pancake.overlay
+++ b/app/boards/shields/pancake/pancake.overlay
@@ -14,7 +14,7 @@
label = "KSCAN";
diode-direction = "col2row";
- col-gpios
+ col-gpios
= <&pro_micro 21 GPIO_ACTIVE_HIGH>
, <&pro_micro 20 GPIO_ACTIVE_HIGH>
, <&pro_micro 19 GPIO_ACTIVE_HIGH>
@@ -28,7 +28,7 @@
, <&pro_micro 3 GPIO_ACTIVE_HIGH>
, <&pro_micro 2 GPIO_ACTIVE_HIGH>
;
-
+
row-gpios
= <&pro_micro 15 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
, <&pro_micro 14 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
diff --git a/app/boards/shields/qaz/qaz.overlay b/app/boards/shields/qaz/qaz.overlay
index 098c9f02ef..76ee5ba767 100644
--- a/app/boards/shields/qaz/qaz.overlay
+++ b/app/boards/shields/qaz/qaz.overlay
@@ -49,5 +49,5 @@
, <&pro_micro 3 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
;
};
-
+
}; \ No newline at end of file
diff --git a/app/boards/shields/quefrency/Kconfig.defconfig b/app/boards/shields/quefrency/Kconfig.defconfig
index 9e51c2bc00..28e46a56c6 100644
--- a/app/boards/shields/quefrency/Kconfig.defconfig
+++ b/app/boards/shields/quefrency/Kconfig.defconfig
@@ -1,7 +1,7 @@
# Copyright (c) 2020 The ZMK Contributors
# SPDX-License-Identifier: MIT
-
-
+
+
if SHIELD_QUEFRENCY_LEFT
config ZMK_KEYBOARD_NAME
diff --git a/app/boards/shields/quefrency/quefrency.dtsi b/app/boards/shields/quefrency/quefrency.dtsi
index 411d3658a1..c9cb7d43de 100644
--- a/app/boards/shields/quefrency/quefrency.dtsi
+++ b/app/boards/shields/quefrency/quefrency.dtsi
@@ -13,7 +13,7 @@
zmk,matrix_transform = &default_transform;
};
- /*
+ /*
* This transform correspondsto the 60% left without macro keypad and 65% right, even this
* combination of PCBs can have keys in different locations based on configuration.
*/
@@ -22,11 +22,11 @@
columns = <15>;
rows = <6>;
map = <
-RC(0,0) RC(0,1) RC(0,2) RC(0,3) RC(0,4) RC(0,5) RC(0,6) /**/ RC(0,7) RC(0,8) RC(0,9) RC(0,10) RC(0,11) RC(0,12) RC(0,14) RC(5,13)
+RC(0,0) RC(0,1) RC(0,2) RC(0,3) RC(0,4) RC(0,5) RC(0,6) /**/ RC(0,7) RC(0,8) RC(0,9) RC(0,10) RC(0,11) RC(0,12) RC(0,14) RC(5,13)
RC(1,0) RC(1,1) RC(1,2) RC(1,3) RC(1,4) RC(1,5) /**/RC(1,7) RC(1,8) RC(1,9) RC(1,10) RC(1,11) RC(1,12) RC(1,13) RC(1,14) RC(5,14)
-RC(2,0) RC(2,1) RC(2,2) RC(2,3) RC(2,4) RC(2,5) /**/ RC(2,7) RC(2,8) RC(2,9) RC(2,10) RC(2,11) RC(2,12) RC(2,14) RC(2,13)
-RC(3,0) RC(3,2) RC(3,3) RC(3,4) RC(3,5) RC(3,6) /**/ RC(3,7) RC(3,8) RC(3,9) RC(3,10) RC(3,12) RC(3,13) RC(3,14) RC(3,11)
-RC(4,0) RC(4,1) RC(4,2) RC(4,4) RC(4,6) /**/ RC(4,7) RC(4,10) RC(4,11) RC(4,12) RC(4,13) RC(4,14) RC(4,9)
+RC(2,0) RC(2,1) RC(2,2) RC(2,3) RC(2,4) RC(2,5) /**/ RC(2,7) RC(2,8) RC(2,9) RC(2,10) RC(2,11) RC(2,12) RC(2,14) RC(2,13)
+RC(3,0) RC(3,2) RC(3,3) RC(3,4) RC(3,5) RC(3,6) /**/ RC(3,7) RC(3,8) RC(3,9) RC(3,10) RC(3,12) RC(3,13) RC(3,14) RC(3,11)
+RC(4,0) RC(4,1) RC(4,2) RC(4,4) RC(4,6) /**/ RC(4,7) RC(4,10) RC(4,11) RC(4,12) RC(4,13) RC(4,14) RC(4,9)
>;
};
};
diff --git a/app/boards/shields/quefrency/quefrency_right.overlay b/app/boards/shields/quefrency/quefrency_right.overlay
index 8e42d55508..bf97d34b76 100644
--- a/app/boards/shields/quefrency/quefrency_right.overlay
+++ b/app/boards/shields/quefrency/quefrency_right.overlay
@@ -12,7 +12,7 @@
/ {
- /* This kscan is for the 65% right half the 60% right half
+ /* This kscan is for the 65% right half the 60% right half
* may require different column and row pins
*/
kscan0: kscan {
diff --git a/app/boards/shields/redox/redox.dtsi b/app/boards/shields/redox/redox.dtsi
index 4825a39f78..9c0705a6c3 100644
--- a/app/boards/shields/redox/redox.dtsi
+++ b/app/boards/shields/redox/redox.dtsi
@@ -3,7 +3,7 @@
*
* SPDX-License-Identifier: MIT
*/
-
+
#include <dt-bindings/zmk/matrix_transform.h>
/ {
@@ -42,7 +42,7 @@ RC(4,0) RC(4,1) RC(4,2) RC(4,3) RC(4,4) RC(4,5) RC(4,6) RC(4,7) RC(4,8)
, <&pro_micro 8 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
, <&pro_micro 9 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
;
-
+
};
};
diff --git a/app/boards/shields/redox/redox.keymap b/app/boards/shields/redox/redox.keymap
index a45595ff44..c88f703bea 100644
--- a/app/boards/shields/redox/redox.keymap
+++ b/app/boards/shields/redox/redox.keymap
@@ -30,7 +30,7 @@
>;
};
-
+
lower_layer {
// --------------------------------------------------------------------------------------------------------------------------
// | ESC | 1 | 2 | 3 | 4 | 5 | --- | 6 | 7 | 8 | 9 | 0 | DEL |
@@ -62,7 +62,7 @@
&trans &trans &trans &mo 3 &trans &mo 3 &trans &trans &trans &trans &trans &trans &trans &trans
>;
};
-
+
adjust_layer {
// -----------------------------------------------------------------------------------------
// | F1 | F2 | F3 | F4 | F5 | F6 | --- | F7 | F8 | F9 | F10 | F11 | F12 |
diff --git a/app/boards/shields/snap/Kconfig.defconfig b/app/boards/shields/snap/Kconfig.defconfig
index fa02421aad..c4a67e65d2 100644
--- a/app/boards/shields/snap/Kconfig.defconfig
+++ b/app/boards/shields/snap/Kconfig.defconfig
@@ -15,7 +15,7 @@ if SHIELD_SNAP_LEFT || SHIELD_SNAP_RIGHT
config ZMK_SPLIT
default y
-
+
if ZMK_DISPLAY
config I2C
diff --git a/app/boards/shields/snap/snap.dtsi b/app/boards/shields/snap/snap.dtsi
index 0b7f32e592..77070db9f5 100644
--- a/app/boards/shields/snap/snap.dtsi
+++ b/app/boards/shields/snap/snap.dtsi
@@ -38,7 +38,7 @@
// R3C07L | R3C06L | R3C05L | R3C04L | R3C03L | R3C02L | R3C00L | | R3C15R | R3C14R | R3C13R | R3C12R | R3C11R | R3C10R | R3C09R | R4C08R |
// R4C07L | R4C06L | R4C05L | R4C04L | R4C03L | R4C02L | R4C01L | R4C00L | | R4C15R | R4C14R | R4C13R | R4C12R | R4C11R | R4C10R | R4C09R | R5C08R |
// R5C07L | R5C06L | R5C05L | R5C04L | R5C02L | R5C00L | | R5C15R | R5C14R | R5C13R | R5C12R | R5C11R | R5C10R | R5C09R |
-
+
map = <
RC(0,6) RC(0,5) RC(0,4) RC(0,3) RC(0,2) RC(0,1) RC(0,0) RC(0,15) RC(0,14) RC(0,13) RC(0,12) RC(0,11) RC(0,10) RC(0,9) RC(0,8)
RC(1,7) RC(1,6) RC(1,5) RC(1,4) RC(1,3) RC(1,2) RC(1,1) RC(1,0) RC(1,15) RC(1,14) RC(1,13) RC(1,12) RC(1,11) RC(1,10) RC(1,9) RC(1,8) RC(1,16)
diff --git a/app/boards/shields/snap/snap.keymap b/app/boards/shields/snap/snap.keymap
index db44eb690a..cc4c525535 100644
--- a/app/boards/shields/snap/snap.keymap
+++ b/app/boards/shields/snap/snap.keymap
@@ -37,7 +37,7 @@
bindings = <
&bootloader &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &bootloader
&kp C_PP &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &kp C_PP
-&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
+&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &rgb_ug RGB_TOG &rgb_ug RGB_BRI &rgb_ug RGB_EFF
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &rgb_ug RGB_HUD &rgb_ug RGB_BRD &rgb_ug RGB_HUI
diff --git a/app/boards/shields/snap/snap_left.overlay b/app/boards/shields/snap/snap_left.overlay
index 90fd66d1fa..b5b8a8413a 100644
--- a/app/boards/shields/snap/snap_left.overlay
+++ b/app/boards/shields/snap/snap_left.overlay
@@ -24,7 +24,7 @@
&left_encoder {
a-gpios = <&pro_micro 15 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>;
- b-gpios = <&pro_micro 14 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>;
+ b-gpios = <&pro_micro 14 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>;
status = "okay";
};
diff --git a/app/boards/shields/snap/snap_right.overlay b/app/boards/shields/snap/snap_right.overlay
index 4243f5189e..dc71a5cf29 100644
--- a/app/boards/shields/snap/snap_right.overlay
+++ b/app/boards/shields/snap/snap_right.overlay
@@ -46,6 +46,6 @@ kscan_direct: kscan_direct {
&right_encoder {
a-gpios = <&pro_micro 9 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>;
- b-gpios = <&pro_micro 8 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>;
+ b-gpios = <&pro_micro 8 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>;
status = "okay";
};
diff --git a/app/boards/shields/sofle/Kconfig.defconfig b/app/boards/shields/sofle/Kconfig.defconfig
index 1c1c5604cf..afa710ffa9 100644
--- a/app/boards/shields/sofle/Kconfig.defconfig
+++ b/app/boards/shields/sofle/Kconfig.defconfig
@@ -8,7 +8,7 @@ config ZMK_KEYBOARD_NAME
config ZMK_SPLIT_ROLE_CENTRAL
default y
-
+
endif
if SHIELD_SOFLE_LEFT || SHIELD_SOFLE_RIGHT
diff --git a/app/boards/shields/splitkb_aurora_corne/Kconfig.defconfig b/app/boards/shields/splitkb_aurora_corne/Kconfig.defconfig
index 29de8d7e1f..03078cd667 100644
--- a/app/boards/shields/splitkb_aurora_corne/Kconfig.defconfig
+++ b/app/boards/shields/splitkb_aurora_corne/Kconfig.defconfig
@@ -21,7 +21,7 @@ config ZMK_RGB_UNDERGLOW
select SPI
config ZMK_DISPLAY
-
+
if ZMK_DISPLAY
config SSD1306
diff --git a/app/boards/shields/splitkb_aurora_corne/splitkb_aurora_corne_left.overlay b/app/boards/shields/splitkb_aurora_corne/splitkb_aurora_corne_left.overlay
index 864321cc15..8223427856 100644
--- a/app/boards/shields/splitkb_aurora_corne/splitkb_aurora_corne_left.overlay
+++ b/app/boards/shields/splitkb_aurora_corne/splitkb_aurora_corne_left.overlay
@@ -24,7 +24,7 @@
, <&pro_micro 9 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>
;
- col-gpios
+ col-gpios
= <&pro_micro 16 GPIO_ACTIVE_HIGH>
, <&pro_micro 10 GPIO_ACTIVE_HIGH>
, <&pro_micro 14 GPIO_ACTIVE_HIGH>
diff --git a/app/boards/shields/splitkb_aurora_corne/splitkb_aurora_corne_right.overlay b/app/boards/shields/splitkb_aurora_corne/splitkb_aurora_corne_right.overlay
index 3433040030..c1d34ffda1 100644
--- a/app/boards/shields/splitkb_aurora_corne/splitkb_aurora_corne_right.overlay
+++ b/app/boards/shields/splitkb_aurora_corne/splitkb_aurora_corne_right.overlay
@@ -24,7 +24,7 @@
, <&pro_micro 10 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>
;
- col-gpios
+ col-gpios
= <&pro_micro 9 GPIO_ACTIVE_HIGH>
, <&pro_micro 8 GPIO_ACTIVE_HIGH>
, <&pro_micro 7 GPIO_ACTIVE_HIGH>
diff --git a/app/boards/shields/splitkb_aurora_lily58/Kconfig.defconfig b/app/boards/shields/splitkb_aurora_lily58/Kconfig.defconfig
index 3c8d5f5893..221bf90af2 100644
--- a/app/boards/shields/splitkb_aurora_lily58/Kconfig.defconfig
+++ b/app/boards/shields/splitkb_aurora_lily58/Kconfig.defconfig
@@ -21,7 +21,7 @@ config ZMK_RGB_UNDERGLOW
select SPI
config ZMK_DISPLAY
-
+
if ZMK_DISPLAY
config SSD1306
diff --git a/app/boards/shields/splitkb_aurora_lily58/splitkb_aurora_lily58_left.overlay b/app/boards/shields/splitkb_aurora_lily58/splitkb_aurora_lily58_left.overlay
index 1fa61286da..10a195ff08 100644
--- a/app/boards/shields/splitkb_aurora_lily58/splitkb_aurora_lily58_left.overlay
+++ b/app/boards/shields/splitkb_aurora_lily58/splitkb_aurora_lily58_left.overlay
@@ -25,7 +25,7 @@
, <&pro_micro 8 GPIO_ACTIVE_HIGH>
;
- col-gpios
+ col-gpios
= <&pro_micro 9 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>
, <&pro_micro 18 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>
, <&pro_micro 15 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>
diff --git a/app/boards/shields/splitkb_aurora_lily58/splitkb_aurora_lily58_right.overlay b/app/boards/shields/splitkb_aurora_lily58/splitkb_aurora_lily58_right.overlay
index 7f281db956..eaebff36da 100644
--- a/app/boards/shields/splitkb_aurora_lily58/splitkb_aurora_lily58_right.overlay
+++ b/app/boards/shields/splitkb_aurora_lily58/splitkb_aurora_lily58_right.overlay
@@ -25,7 +25,7 @@
, <&pro_micro 10 GPIO_ACTIVE_HIGH>
;
- col-gpios
+ col-gpios
= <&pro_micro 9 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>
, <&pro_micro 8 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>
, <&pro_micro 7 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>
diff --git a/app/boards/shields/splitkb_aurora_sweep/Kconfig.defconfig b/app/boards/shields/splitkb_aurora_sweep/Kconfig.defconfig
index 4a2b897368..ac07c935a9 100644
--- a/app/boards/shields/splitkb_aurora_sweep/Kconfig.defconfig
+++ b/app/boards/shields/splitkb_aurora_sweep/Kconfig.defconfig
@@ -21,7 +21,7 @@ config ZMK_RGB_UNDERGLOW
select SPI
config ZMK_DISPLAY
-
+
if ZMK_DISPLAY
config SSD1306
diff --git a/app/boards/shields/splitkb_aurora_sweep/splitkb_aurora_sweep.keymap b/app/boards/shields/splitkb_aurora_sweep/splitkb_aurora_sweep.keymap
index 136e6927f4..385d2022fa 100644
--- a/app/boards/shields/splitkb_aurora_sweep/splitkb_aurora_sweep.keymap
+++ b/app/boards/shields/splitkb_aurora_sweep/splitkb_aurora_sweep.keymap
@@ -14,7 +14,7 @@
// tapping_term_ms = <200>;
};
-/ {
+/ {
combos {
compatible = "zmk,combos";
@@ -23,80 +23,80 @@
key-positions = <0 1>;
bindings = <&kp ESC>;
};
-
+
combo_tab {
timeout-ms = <50>;
key-positions = <10 11>;
bindings = <&kp TAB>;
};
-
+
combo_ralt {
timeout-ms = <50>;
key-positions = <17 16>;
bindings = <&kp RALT>;
};
-
+
combo_lalt {
timeout-ms = <50>;
key-positions = <11 12>;
bindings = <&kp LALT>;
};
-
+
combo_lgui {
timeout-ms = <50>;
key-positions = <12 13>;
bindings = <&kp LGUI>;
};
-
-
+
+
combo_rgui {
timeout-ms = <50>;
key-positions = <17 18>;
bindings = <&kp RGUI>;
};
-
-
+
+
};
keymap {
compatible = "zmk,keymap";
-
+
default_layer {
bindings = <
- &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P
+ &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P
&kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp QUOT
&mt LSFT Z &kp X &kp C &kp V &kp B &kp N &kp M &kp CMMA &kp DOT &mt LSFT RET
- &mo 1 &kp LCTL &kp SPC &mo 2
+ &mo 1 &kp LCTL &kp SPC &mo 2
>;
};
left_layer {
bindings = <
- &kp NUM_1 &kp NUM_2 &kp NUM_3 &kp NUM_4 &kp NUM_5 &kp NUM_6 &kp NUM_7 &kp NUM_8 &kp NUM_9 &kp NUM_0
- &kp TAB &kp LC(S) &kp DQT &kp PIPE2 &kp HASH &kp MINUS &kp EQL &kp LBKT &kp RBKT &kp DEL
- &kp ESC &kp TILDE &kp NON_US_BSLH &kp NON_US_HASH &kp TILDE2 &kp MINUS &kp GRAVE &kp LBKT &kp RBKT &kp DEL
- &mo 1 &kp LGUI &kp RGUI &mo 2
+ &kp NUM_1 &kp NUM_2 &kp NUM_3 &kp NUM_4 &kp NUM_5 &kp NUM_6 &kp NUM_7 &kp NUM_8 &kp NUM_9 &kp NUM_0
+ &kp TAB &kp LC(S) &kp DQT &kp PIPE2 &kp HASH &kp MINUS &kp EQL &kp LBKT &kp RBKT &kp DEL
+ &kp ESC &kp TILDE &kp NON_US_BSLH &kp NON_US_HASH &kp TILDE2 &kp MINUS &kp GRAVE &kp LBKT &kp RBKT &kp DEL
+ &mo 1 &kp LGUI &kp RGUI &mo 2
>;
};
-
+
right_layer {
bindings = <
- &kp BANG &kp ATSN &kp HASH &kp DLLR &kp PRCT &kp CRRT &kp AMPS &kp KMLT &kp LPRN &kp RPRN
+ &kp BANG &kp ATSN &kp HASH &kp DLLR &kp PRCT &kp CRRT &kp AMPS &kp KMLT &kp LPRN &kp RPRN
&kp HASH &kp QMARK &kp FSLH &kp COLN &kp SCLN &kp MINUS &kp KP_EQUAL &kp LBRC &kp RBRC &kp BKSP
&kp LSFT &kp KPLS &kp LBKT &kp RBKT &kp BSLH &kp UNDER &kp LEFT &kp DOWN &kp UP &kp RIGHT
- &mo 3 &kp LCTL &kp SPC &mo 2
+ &mo 3 &kp LCTL &kp SPC &mo 2
>;
- };
-
+ };
+
tri_layer {
bindings = <
&kp NUM_1 &kp NUM_2 &kp NUM_3 &kp NUM_4 &kp NUM_5 &trans &trans &trans &trans &trans
- &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &trans &kp PG_UP &kp K_VOL_UP &kp K_MUTE &trans
- &bt BT_CLR &bt BT_NXT &bt BT_PRV &kp F6 &kp F7 &trans &kp PG_DN &kp K_VOL_DN &trans &trans
- &trans &trans &trans &trans
+ &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &trans &kp PG_UP &kp K_VOL_UP &kp K_MUTE &trans
+ &bt BT_CLR &bt BT_NXT &bt BT_PRV &kp F6 &kp F7 &trans &kp PG_DN &kp K_VOL_DN &trans &trans
+ &trans &trans &trans &trans
>;
- };
-
+ };
+
};
};
diff --git a/app/boards/shields/splitkb_aurora_sweep/splitkb_aurora_sweep_left.overlay b/app/boards/shields/splitkb_aurora_sweep/splitkb_aurora_sweep_left.overlay
index 3dc954c33a..1ff5ed5eae 100644
--- a/app/boards/shields/splitkb_aurora_sweep/splitkb_aurora_sweep_left.overlay
+++ b/app/boards/shields/splitkb_aurora_sweep/splitkb_aurora_sweep_left.overlay
@@ -24,7 +24,7 @@
, <&pro_micro 15 GPIO_ACTIVE_HIGH>
;
- col-gpios
+ col-gpios
= <&pro_micro 10 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>
, <&pro_micro 4 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>
, <&pro_micro 5 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>
diff --git a/app/boards/shields/splitkb_aurora_sweep/splitkb_aurora_sweep_right.overlay b/app/boards/shields/splitkb_aurora_sweep/splitkb_aurora_sweep_right.overlay
index 3811423eee..81ddca404d 100644
--- a/app/boards/shields/splitkb_aurora_sweep/splitkb_aurora_sweep_right.overlay
+++ b/app/boards/shields/splitkb_aurora_sweep/splitkb_aurora_sweep_right.overlay
@@ -24,7 +24,7 @@
, <&pro_micro 14 GPIO_ACTIVE_HIGH>
;
- col-gpios
+ col-gpios
= <&pro_micro 9 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>
, <&pro_micro 8 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>
, <&pro_micro 7 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>
diff --git a/app/boards/shields/splitreus62/Kconfig.defconfig b/app/boards/shields/splitreus62/Kconfig.defconfig
index 88a53a2f0e..14063d3e46 100644
--- a/app/boards/shields/splitreus62/Kconfig.defconfig
+++ b/app/boards/shields/splitreus62/Kconfig.defconfig
@@ -1,8 +1,8 @@
# Copyright (c) 2020 Derek Schmell
# SPDX-License-Identifier: MIT
-
-
+
+
if SHIELD_SPLITREUS62_LEFT
config ZMK_KEYBOARD_NAME
@@ -17,5 +17,5 @@ if SHIELD_SPLITREUS62_LEFT || SHIELD_SPLITREUS62_RIGHT
config ZMK_SPLIT
default y
-
+
endif
diff --git a/app/boards/shields/splitreus62/splitreus62.dtsi b/app/boards/shields/splitreus62/splitreus62.dtsi
index 4b55bb8d18..905605e903 100644
--- a/app/boards/shields/splitreus62/splitreus62.dtsi
+++ b/app/boards/shields/splitreus62/splitreus62.dtsi
@@ -45,6 +45,6 @@ RC(4,0) RC(4,1) RC(4,2) RC(4,3) RC(4,4) RC(4,5) RC(4,6) RC(4,7)
, <&pro_micro 5 GPIO_ACTIVE_HIGH>
, <&pro_micro 6 GPIO_ACTIVE_HIGH>
;
-
+
};
};
diff --git a/app/boards/shields/splitreus62/splitreus62_right.overlay b/app/boards/shields/splitreus62/splitreus62_right.overlay
index f301ab999b..9f76e7eb70 100644
--- a/app/boards/shields/splitreus62/splitreus62_right.overlay
+++ b/app/boards/shields/splitreus62/splitreus62_right.overlay
@@ -3,7 +3,7 @@
*
* SPDX-License-Identifier: MIT
*/
-
+
#include "splitreus62.dtsi"
&default_transform {
diff --git a/app/boards/shields/tg4x/README.md b/app/boards/shields/tg4x/README.md
index 087ce251c3..12709fde0b 100644
--- a/app/boards/shields/tg4x/README.md
+++ b/app/boards/shields/tg4x/README.md
@@ -6,6 +6,6 @@ Standard setup for the [TG4x](https://github.com/MythosMann/tg4x/) 40% keyboard.
This TG4x implementation is for...
-* rev 2.1 of the board
-* Split spacebar with 2.25U on the left and 2.75U on the right
-* 2U right shift
+- rev 2.1 of the board
+- Split spacebar with 2.25U on the left and 2.75U on the right
+- 2U right shift
diff --git a/app/boards/shields/tg4x/tg4x.overlay b/app/boards/shields/tg4x/tg4x.overlay
index 0df94a2b59..ca6e23c318 100644
--- a/app/boards/shields/tg4x/tg4x.overlay
+++ b/app/boards/shields/tg4x/tg4x.overlay
@@ -10,7 +10,7 @@
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
label = "KSCAN";
-
+
diode-direction = "col2row";
row-gpios
diff --git a/app/boards/shields/tidbit/tidbit.keymap b/app/boards/shields/tidbit/tidbit.keymap
index e8cb37890a..11424dc8f2 100644
--- a/app/boards/shields/tidbit/tidbit.keymap
+++ b/app/boards/shields/tidbit/tidbit.keymap
@@ -21,7 +21,7 @@
keymap {
compatible = "zmk,keymap";
-
+
default_layer {
bindings = <
&kp KP_NUMLOCK &kp KP_ASTERISK &kp KP_MINUS
diff --git a/app/boards/shields/tidbit/tidbit_19key.keymap b/app/boards/shields/tidbit/tidbit_19key.keymap
index 8414a012a3..5710aeaf39 100644
--- a/app/boards/shields/tidbit/tidbit_19key.keymap
+++ b/app/boards/shields/tidbit/tidbit_19key.keymap
@@ -22,7 +22,7 @@
keymap {
compatible = "zmk,keymap";
-
+
default_layer {
bindings = <
&tog 1 &kp KP_NUMLOCK &kp KP_SLASH
diff --git a/app/boards/shields/two_percent_milk/two_percent_milk.keymap b/app/boards/shields/two_percent_milk/two_percent_milk.keymap
index 04dc4c0de4..132793b398 100644
--- a/app/boards/shields/two_percent_milk/two_percent_milk.keymap
+++ b/app/boards/shields/two_percent_milk/two_percent_milk.keymap
@@ -7,11 +7,11 @@
#include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/bt.h>
-
+
/ {
keymap {
compatible = "zmk,keymap";
-
+
default_layer {
bindings = <
&kp X
diff --git a/app/boards/shields/waterfowl/Kconfig.defconfig b/app/boards/shields/waterfowl/Kconfig.defconfig
index 70029f0b81..5a77ca11a1 100644
--- a/app/boards/shields/waterfowl/Kconfig.defconfig
+++ b/app/boards/shields/waterfowl/Kconfig.defconfig
@@ -13,7 +13,7 @@ if SHIELD_WATERFOWL_LEFT || SHIELD_WATERFOWL_RIGHT
config ZMK_SPLIT
default y
-
+
if ZMK_DISPLAY
config I2C
diff --git a/app/boards/shields/waterfowl/waterfowl.dtsi b/app/boards/shields/waterfowl/waterfowl.dtsi
index c21dcf07d9..a156360e6a 100644
--- a/app/boards/shields/waterfowl/waterfowl.dtsi
+++ b/app/boards/shields/waterfowl/waterfowl.dtsi
@@ -40,7 +40,7 @@ RC(3,0) RC(3,1) RC(3,2) RC(3,3) RC(3,4) RC(3,5) RC(3,6) RC(3,7) RC(3,8)
, <&pro_micro 6 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
, <&pro_micro 7 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
;
-
+
};
left_encoder: encoder_left { //roller
diff --git a/app/boards/shields/waterfowl/waterfowl.keymap b/app/boards/shields/waterfowl/waterfowl.keymap
index d208fe497d..9583499c2f 100644
--- a/app/boards/shields/waterfowl/waterfowl.keymap
+++ b/app/boards/shields/waterfowl/waterfowl.keymap
@@ -22,8 +22,8 @@
* |------+------+------+------+------| ,-----. ,-----. |------+------+------+------+------|
* | Z | X | C | V | B | | 2 | | 3 | | N | M | , | . | / |
* `----------------------------------' `-----' `-----' `----------------------------------'
- * ,-----. ,--------------------. ,--------------------. ,-----.
- * | 1 | | DEL | SPACE | TAB | | ESC | BS | ENTER | | 4 |
+ * ,-----. ,--------------------. ,--------------------. ,-----.
+ * | 1 | | DEL | SPACE | TAB | | ESC | BS | ENTER | | 4 |
* `-----' `--------------------' `--------------------' `-----'
*/
bindings = <
@@ -46,7 +46,7 @@
* |------+------+------+------+------| ,-----. ,-----. |------+------+------+------+------|
* | | | INS | | | | 2 | | 3 | | 0 | 1 | 2 | 3 | * |
* `----------------------------------' `-----' `-----' `----------------------------------'
- * ,-----. ,--------------------. ,--------------------. ,-----.
+ * ,-----. ,--------------------. ,--------------------. ,-----.
* | 1 | | DEL | SPACE | MO(3)| | ESC | BS | ENTER | | 4 |
* `-----' `--------------------' `--------------------' `-----'
*/
@@ -70,7 +70,7 @@
* |------+------+------+------+------| ,-----. ,-----. |------+------+------+------+------|
* | $ | | { | } | & | | 2 | | 3 | | | | | | |
* `----------------------------------' `-----' `-----' `----------------------------------'
- * ,-----. ,--------------------. ,--------------------. ,-----.
+ * ,-----. ,--------------------. ,--------------------. ,-----.
* | 1 | | DEL | SPACE | TAB | | ESC | BS | ENTER | | 4 |
* `-----' `--------------------' `--------------------' `-----'
*/
@@ -94,7 +94,7 @@
* |------+------+------+------+------| ,-----. ,-----. |------+------+------+------+------|
* | | | | | | | 2 | | 3 | | F10 | F1 | F2 | F3 | F13 |
* `----------------------------------' `-----' `-----' `----------------------------------'
- * ,-----. ,--------------------. ,--------------------. ,-----.
+ * ,-----. ,--------------------. ,--------------------. ,-----.
* | 1 | | DEL | SPACE | TAB | | ESC | BS | ENTER | | 4 |
* `-----' `--------------------' `--------------------' `-----'
*/
@@ -106,7 +106,7 @@
>;
sensor-bindings = <&inc_dec_kp PAGE_UP PAGE_DOWN &inc_dec_kp TAB LS(TAB)>;
- };
+ };
};
}; \ No newline at end of file
diff --git a/app/boards/shields/zmk_uno/zmk_uno.keymap b/app/boards/shields/zmk_uno/zmk_uno.keymap
index 7ab2632a27..0e0fc7954c 100644
--- a/app/boards/shields/zmk_uno/zmk_uno.keymap
+++ b/app/boards/shields/zmk_uno/zmk_uno.keymap
@@ -29,8 +29,8 @@
};
REMOVE ME: */
-
-
+
+
/ {
macros {
ZMK_MACRO(ble_zero,
@@ -47,7 +47,7 @@ REMOVE ME: */
keymap {
compatible = "zmk,keymap";
-
+
default_layer {
bindings = <
&kp A &bl BL_TOG
@@ -55,7 +55,7 @@ REMOVE ME: */
&out OUT_USB &ble_zero &ble_one
>;
-
+
sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN>;
};
};
diff --git a/app/boards/shields/zodiark/Kconfig.defconfig b/app/boards/shields/zodiark/Kconfig.defconfig
index 77648afdf5..c6024694ba 100644
--- a/app/boards/shields/zodiark/Kconfig.defconfig
+++ b/app/boards/shields/zodiark/Kconfig.defconfig
@@ -8,7 +8,7 @@ config ZMK_KEYBOARD_NAME
config ZMK_SPLIT_ROLE_CENTRAL
default y
-
+
endif
if SHIELD_ZODIARK_LEFT || SHIELD_ZODIARK_RIGHT
diff --git a/app/boards/shields/zodiark/zodiark.keymap b/app/boards/shields/zodiark/zodiark.keymap
index 0211f818aa..82639edc8f 100644
--- a/app/boards/shields/zodiark/zodiark.keymap
+++ b/app/boards/shields/zodiark/zodiark.keymap
@@ -39,7 +39,7 @@
// | | 0 | . | Enter| | | | | | | | 0 | . | Enter | |
bindings = <
&trans &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11
-&kp KP_NUM &kp KP_N7 &kp KP_N8 &kp KP_N9 &kp PSCRN &kp SLCK &trans &trans &kp PAUSE_BREAK &trans &kp KP_N7 &kp KP_N8 &kp KP_N9 &kp F12
+&kp KP_NUM &kp KP_N7 &kp KP_N8 &kp KP_N9 &kp PSCRN &kp SLCK &trans &trans &kp PAUSE_BREAK &trans &kp KP_N7 &kp KP_N8 &kp KP_N9 &kp F12
&trans &kp KP_N4 &kp KP_N5 &kp KP_N6 &kp INS &kp HOME &trans &trans &kp PG_UP &trans &kp KP_N4 &kp KP_N5 &kp KP_N6 &trans
&trans &kp KP_N1 &kp KP_N2 &kp KP_N3 &kp DEL &kp END &trans &trans &trans &trans &kp PG_DN &trans &kp KP_N1 &kp KP_N2 &kp KP_N3 &trans
&trans &kp KP_N0 &kp KP_DOT &kp KP_ENTER &trans &trans &trans &trans &trans &trans &kp KP_N0 &kp KP_DOT &kp KP_ENTER &trans
diff --git a/app/core-coverage.yml b/app/core-coverage.yml
index 12c0361358..4a60aad9ca 100644
--- a/app/core-coverage.yml
+++ b/app/core-coverage.yml
@@ -1,35 +1,35 @@
board:
-- nice_nano_v2
-- nrfmicro_13
-- proton_c
+ - nice_nano_v2
+ - nrfmicro_13
+ - proton_c
shield:
-- corne_left
-- corne_right
-- romac
-- settings_reset
-- tidbit
+ - corne_left
+ - corne_right
+ - romac
+ - settings_reset
+ - tidbit
include:
-- board: bdn9_rev2
-- board: nice60
-- board: seeeduino_xiao_ble
- shield: hummingbird
-- board: nrf52840_m2
- shield: m60
-- board: planck_rev6
-- board: proton_c
- shield: clueboard_california
-- board: nice_nano_v2
- shield: kyria_left
- cmake-args: "-DCONFIG_ZMK_DISPLAY=y"
- nickname: "display"
-- board: nice_nano_v2
- shield: kyria_right
- cmake-args: "-DCONFIG_ZMK_DISPLAY=y"
- nickname: "display"
-- board: nice_nano
- shield: romac_plus
- cmake-args: "-DCONFIG_ZMK_RGB_UNDERGLOW=y -DCONFIG_WS2812_STRIP=y"
- nickname: "underglow"
-- board: nice_nano_v2
- shield: lily58_left nice_view_adapter nice_view
- nickname: "niceview"
+ - board: bdn9_rev2
+ - board: nice60
+ - board: seeeduino_xiao_ble
+ shield: hummingbird
+ - board: nrf52840_m2
+ shield: m60
+ - board: planck_rev6
+ - board: proton_c
+ shield: clueboard_california
+ - board: nice_nano_v2
+ shield: kyria_left
+ cmake-args: "-DCONFIG_ZMK_DISPLAY=y"
+ nickname: "display"
+ - board: nice_nano_v2
+ shield: kyria_right
+ cmake-args: "-DCONFIG_ZMK_DISPLAY=y"
+ nickname: "display"
+ - board: nice_nano
+ shield: romac_plus
+ cmake-args: "-DCONFIG_ZMK_RGB_UNDERGLOW=y -DCONFIG_WS2812_STRIP=y"
+ nickname: "underglow"
+ - board: nice_nano_v2
+ shield: lily58_left nice_view_adapter nice_view
+ nickname: "niceview"
diff --git a/app/drivers/zephyr/dts/bindings/gpio/maxim,max7318.yaml b/app/drivers/zephyr/dts/bindings/gpio/maxim,max7318.yaml
index 2db84bcd5a..94952813ed 100644
--- a/app/drivers/zephyr/dts/bindings/gpio/maxim,max7318.yaml
+++ b/app/drivers/zephyr/dts/bindings/gpio/maxim,max7318.yaml
@@ -5,24 +5,24 @@
#
description: >
- This is a representation of the Maxim MAX7318 I2C Gpio Expander.
+ This is a representation of the Maxim MAX7318 I2C Gpio Expander.
compatible: "maxim,max7318"
include: [gpio-controller.yaml, i2c-device.yaml]
properties:
- label:
- required: true
+ label:
+ required: true
- "#gpio-cells":
- const: 2
+ "#gpio-cells":
+ const: 2
- ngpios:
- type: int
- required: true
- const: 16
- description: Number of gpios supported
+ ngpios:
+ type: int
+ required: true
+ const: 16
+ description: Number of gpios supported
gpio-cells:
- pin
diff --git a/app/dts/bindings/behaviors/zmk,behavior-macro.yaml b/app/dts/bindings/behaviors/zmk,behavior-macro.yaml
index 009476855e..e6f6757d49 100644
--- a/app/dts/bindings/behaviors/zmk,behavior-macro.yaml
+++ b/app/dts/bindings/behaviors/zmk,behavior-macro.yaml
@@ -16,4 +16,4 @@ properties:
description: The default time to wait (in milliseconds) before triggering the next behavior in the macro bindings list.
tap-ms:
type: int
- description: The default time to wait (in milliseconds) between the press and release events on a tapped macro behavior binding \ No newline at end of file
+ description: The default time to wait (in milliseconds) between the press and release events on a tapped macro behavior binding
diff --git a/app/dts/bindings/behaviors/zmk,behavior-tap-dance.yaml b/app/dts/bindings/behaviors/zmk,behavior-tap-dance.yaml
index 8f01effc51..82e1517dac 100644
--- a/app/dts/bindings/behaviors/zmk,behavior-tap-dance.yaml
+++ b/app/dts/bindings/behaviors/zmk,behavior-tap-dance.yaml
@@ -13,4 +13,4 @@ properties:
required: true
tapping-term-ms:
type: int
- default: 200 \ No newline at end of file
+ default: 200
diff --git a/app/dts/bindings/display/gooddisplay,il0323.yaml b/app/dts/bindings/display/gooddisplay,il0323.yaml
index d4a9ac7dd5..46fc732658 100644
--- a/app/dts/bindings/display/gooddisplay,il0323.yaml
+++ b/app/dts/bindings/display/gooddisplay,il0323.yaml
@@ -8,54 +8,54 @@ compatible: "gooddisplay,il0323"
include: spi-device.yaml
properties:
- height:
- type: int
- required: true
- description: Height in pixel of the panel driven by the controller
-
- width:
- type: int
- required: true
- description: Width in pixel of the panel driven by the controller
-
- reset-gpios:
- type: phandle-array
- required: true
- description: RESET pin.
-
- The RESET pin of GD7965 is active low.
- If connected directly the MCU pin should be configured
- as active low.
-
- dc-gpios:
- type: phandle-array
- required: true
- description: DC pin.
-
- The DC pin of GD7965 is active low (transmission command byte).
- If connected directly the MCU pin should be configured
- as active low.
-
- busy-gpios:
- type: phandle-array
- required: true
- description: BUSY pin.
-
- The BUSY pin of GD7965 is active low.
- If connected directly the MCU pin should be configured
- as active low.
-
- pwr:
- type: uint8-array
- required: true
- description: Power Setting (PWR) values
-
- cdi:
- type: int
- required: true
- description: VCOM and data interval value
-
- tcon:
- type: int
- required: true
- description: TCON setting value \ No newline at end of file
+ height:
+ type: int
+ required: true
+ description: Height in pixel of the panel driven by the controller
+
+ width:
+ type: int
+ required: true
+ description: Width in pixel of the panel driven by the controller
+
+ reset-gpios:
+ type: phandle-array
+ required: true
+ description: RESET pin.
+
+ The RESET pin of GD7965 is active low.
+ If connected directly the MCU pin should be configured
+ as active low.
+
+ dc-gpios:
+ type: phandle-array
+ required: true
+ description: DC pin.
+
+ The DC pin of GD7965 is active low (transmission command byte).
+ If connected directly the MCU pin should be configured
+ as active low.
+
+ busy-gpios:
+ type: phandle-array
+ required: true
+ description: BUSY pin.
+
+ The BUSY pin of GD7965 is active low.
+ If connected directly the MCU pin should be configured
+ as active low.
+
+ pwr:
+ type: uint8-array
+ required: true
+ description: Power Setting (PWR) values
+
+ cdi:
+ type: int
+ required: true
+ description: VCOM and data interval value
+
+ tcon:
+ type: int
+ required: true
+ description: TCON setting value
diff --git a/app/dts/bindings/macros/zmk,macro-control-mode-press.yaml b/app/dts/bindings/macros/zmk,macro-control-mode-press.yaml
index 64b3939b47..57603f3a14 100644
--- a/app/dts/bindings/macros/zmk,macro-control-mode-press.yaml
+++ b/app/dts/bindings/macros/zmk,macro-control-mode-press.yaml
@@ -5,4 +5,4 @@ description: Set Macro To Press Mode
compatible: "zmk,macro-control-mode-press"
-include: zero_param.yaml \ No newline at end of file
+include: zero_param.yaml
diff --git a/app/dts/bindings/macros/zmk,macro-control-mode-release.yaml b/app/dts/bindings/macros/zmk,macro-control-mode-release.yaml
index c1c2788277..cd4ee2b651 100644
--- a/app/dts/bindings/macros/zmk,macro-control-mode-release.yaml
+++ b/app/dts/bindings/macros/zmk,macro-control-mode-release.yaml
@@ -5,4 +5,4 @@ description: Set Macro To Release Mode
compatible: "zmk,macro-control-mode-release"
-include: zero_param.yaml \ No newline at end of file
+include: zero_param.yaml
diff --git a/app/dts/bindings/macros/zmk,macro-control-tap-time.yaml b/app/dts/bindings/macros/zmk,macro-control-tap-time.yaml
index 8dacdc2afb..f3bfcd5fd5 100644
--- a/app/dts/bindings/macros/zmk,macro-control-tap-time.yaml
+++ b/app/dts/bindings/macros/zmk,macro-control-tap-time.yaml
@@ -5,4 +5,4 @@ description: Set Macro Tap Duration
compatible: "zmk,macro-control-tap-time"
-include: one_param.yaml \ No newline at end of file
+include: one_param.yaml
diff --git a/app/dts/bindings/macros/zmk,macro-control-wait-time.yaml b/app/dts/bindings/macros/zmk,macro-control-wait-time.yaml
index 9e9beac2a5..45da69faa4 100644
--- a/app/dts/bindings/macros/zmk,macro-control-wait-time.yaml
+++ b/app/dts/bindings/macros/zmk,macro-control-wait-time.yaml
@@ -5,4 +5,4 @@ description: Set Macro Wait Duration
compatible: "zmk,macro-control-wait-time"
-include: one_param.yaml \ No newline at end of file
+include: one_param.yaml
diff --git a/app/dts/bindings/macros/zmk,macro-pause-for-release.yaml b/app/dts/bindings/macros/zmk,macro-pause-for-release.yaml
index e89d8b2422..929e2a29f7 100644
--- a/app/dts/bindings/macros/zmk,macro-pause-for-release.yaml
+++ b/app/dts/bindings/macros/zmk,macro-pause-for-release.yaml
@@ -5,4 +5,4 @@ description: Macro Pause Until Release Marker
compatible: "zmk,macro-pause-for-release"
-include: zero_param.yaml \ No newline at end of file
+include: zero_param.yaml
diff --git a/app/dts/bindings/zmk,combos.yaml b/app/dts/bindings/zmk,combos.yaml
index 1a914a7ff0..d094b5c42a 100644
--- a/app/dts/bindings/zmk,combos.yaml
+++ b/app/dts/bindings/zmk,combos.yaml
@@ -22,4 +22,4 @@ child-binding:
type: boolean
layers:
type: array
- default: [-1] \ No newline at end of file
+ default: [-1]
diff --git a/app/include/linker/zmk-events.ld b/app/include/linker/zmk-events.ld
index 66c1264a16..3e307f854f 100644
--- a/app/include/linker/zmk-events.ld
+++ b/app/include/linker/zmk-events.ld
@@ -3,7 +3,7 @@
*
* SPDX-License-Identifier: MIT
*/
-
+
#include <zephyr/linker/linker-defs.h>
__event_type_start = .; \
diff --git a/app/package.json b/app/package.json
index e75d96956c..9ad2878823 100644
--- a/app/package.json
+++ b/app/package.json
@@ -18,6 +18,6 @@
},
"homepage": "https://zmk.dev/",
"devDependencies": {
- "prettier": "^2.4.0"
+ "prettier": "^2.7.1"
}
-} \ No newline at end of file
+}
diff --git a/app/src/activity.c b/app/src/activity.c
index 46af56fbd8..41fe2e15dc 100644
--- a/app/src/activity.c
+++ b/app/src/activity.c
@@ -74,8 +74,8 @@ void activity_work_handler(struct k_work *work) {
} else
#endif /* IS_ENABLED(CONFIG_ZMK_SLEEP) */
if (inactive_time > MAX_IDLE_MS) {
- set_state(ZMK_ACTIVITY_IDLE);
- }
+ set_state(ZMK_ACTIVITY_IDLE);
+ }
}
K_WORK_DEFINE(activity_work, activity_work_handler);
diff --git a/app/src/display/widgets/Kconfig b/app/src/display/widgets/Kconfig
index 5ef32d2041..4c056cf5e0 100644
--- a/app/src/display/widgets/Kconfig
+++ b/app/src/display/widgets/Kconfig
@@ -33,7 +33,7 @@ config ZMK_WIDGET_PERIPHERAL_STATUS
depends on BT && ZMK_SPLIT_BLE && !ZMK_SPLIT_ROLE_CENTRAL
default y if BT && ZMK_SPLIT_BLE && !ZMK_SPLIT_ROLE_CENTRAL
select LV_USE_LABEL
-
+
config ZMK_WIDGET_WPM_STATUS
bool "Widget for displaying typed words per minute"
depends on !ZMK_SPLIT || ZMK_SPLIT_ROLE_CENTRAL
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
index d35c727708..a02f6c64ff 100644
--- a/app/tests/combo/combos-and-holdtaps-0/native_posix_64.keymap
+++ b/app/tests/combo/combos-and-holdtaps-0/native_posix_64.keymap
@@ -8,7 +8,7 @@
/*
This test fails if the order of event handlers for hold-taps
-and combos is wrong. Hold-taps need to process key position events
+and combos is wrong. Hold-taps need to process key position events
first so the decision to hold or tap can be made.
*/
/ {
@@ -37,11 +37,11 @@ first so the decision to hold or tap can be made.
&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_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/native_posix_64.keymap b/app/tests/combo/combos-and-holdtaps-1/native_posix_64.keymap
index a99c15d97f..325da627d2 100644
--- a/app/tests/combo/combos-and-holdtaps-1/native_posix_64.keymap
+++ b/app/tests/combo/combos-and-holdtaps-1/native_posix_64.keymap
@@ -32,11 +32,11 @@
&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_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/layer-filter-0/native_posix_64.keymap b/app/tests/combo/layer-filter-0/native_posix_64.keymap
index aac330f901..337128226d 100644
--- a/app/tests/combo/layer-filter-0/native_posix_64.keymap
+++ b/app/tests/combo/layer-filter-0/native_posix_64.keymap
@@ -52,27 +52,27 @@
&kscan {
events = <
/* Combo One */
- ZMK_MOCK_PRESS(0,0,10)
- ZMK_MOCK_PRESS(0,1,10)
- ZMK_MOCK_RELEASE(0,0,10)
+ 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_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_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_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_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/native_posix_64.keymap b/app/tests/combo/layer-filter-1/native_posix_64.keymap
index 995f27ee89..8eb5e9ebd6 100644
--- a/app/tests/combo/layer-filter-1/native_posix_64.keymap
+++ b/app/tests/combo/layer-filter-1/native_posix_64.keymap
@@ -32,9 +32,9 @@
&kscan {
events = <
/* Combo One */
- ZMK_MOCK_PRESS(0,0,10)
- ZMK_MOCK_PRESS(0,1,10)
- ZMK_MOCK_RELEASE(0,0,10)
+ 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/native_posix_64.keymap b/app/tests/combo/multiple-timeouts/native_posix_64.keymap
index 91bf52353d..87d21be193 100644
--- a/app/tests/combo/multiple-timeouts/native_posix_64.keymap
+++ b/app/tests/combo/multiple-timeouts/native_posix_64.keymap
@@ -34,7 +34,7 @@
events = <
ZMK_MOCK_PRESS(0,0,100)
ZMK_MOCK_PRESS(0,1,10)
- ZMK_MOCK_RELEASE(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/combo/overlapping-combos-0/native_posix_64.keymap b/app/tests/combo/overlapping-combos-0/native_posix_64.keymap
index e3cbf43707..8b7b419626 100644
--- a/app/tests/combo/overlapping-combos-0/native_posix_64.keymap
+++ b/app/tests/combo/overlapping-combos-0/native_posix_64.keymap
@@ -2,7 +2,7 @@
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan-mock.h>
-/*
+/*
combo 0 timeout inf
combo 01 timeout inf
combo 0123 timeout inf
@@ -51,66 +51,66 @@
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_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_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_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,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_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_RELEASE(0,0,10)
- ZMK_MOCK_PRESS(0,2,10)
- ZMK_MOCK_PRESS(0,0,10)
- ZMK_MOCK_PRESS(0,1,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,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_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)
-
+ 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_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_PRESS(0,2,10)
+ ZMK_MOCK_PRESS(0,0,10)
ZMK_MOCK_RELEASE(0,2,10)
- ZMK_MOCK_RELEASE(0,0,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_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_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/overlapping-combos-1/native_posix_64.keymap b/app/tests/combo/overlapping-combos-1/native_posix_64.keymap
index c228c475b9..457378829e 100644
--- a/app/tests/combo/overlapping-combos-1/native_posix_64.keymap
+++ b/app/tests/combo/overlapping-combos-1/native_posix_64.keymap
@@ -39,26 +39,26 @@
&kscan {
events = <
- /* if you're debugging these, remember that the timer can be triggered between
+ /* 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_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_PRESS(0,1,10)
+ ZMK_MOCK_PRESS(0,0,100)
ZMK_MOCK_RELEASE(0,1,10)
- ZMK_MOCK_RELEASE(0,0,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_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_PRESS(0,0,10)
+ ZMK_MOCK_PRESS(0,1,100)
ZMK_MOCK_RELEASE(0,1,10)
ZMK_MOCK_RELEASE(0,0,10)
>;
diff --git a/app/tests/combo/overlapping-combos-2/native_posix_64.keymap b/app/tests/combo/overlapping-combos-2/native_posix_64.keymap
index 3d36421383..ba547dc2e4 100644
--- a/app/tests/combo/overlapping-combos-2/native_posix_64.keymap
+++ b/app/tests/combo/overlapping-combos-2/native_posix_64.keymap
@@ -2,7 +2,7 @@
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan-mock.h>
-/*
+/*
combo 01 timeout 100
combo 0123 timeout 100
press 012, wait until timeout runs out
@@ -40,13 +40,13 @@
&kscan {
events = <
- /* if you're debugging these, remember that the timer can be triggered between
+ /* 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_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/native_posix_64.keymap b/app/tests/combo/overlapping-combos-3/native_posix_64.keymap
index 0622dcd047..0da394b598 100644
--- a/app/tests/combo/overlapping-combos-3/native_posix_64.keymap
+++ b/app/tests/combo/overlapping-combos-3/native_posix_64.keymap
@@ -2,7 +2,7 @@
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan-mock.h>
-/*
+/*
combo 12 timeout 100
combo 0123 timeout 100
press 012, release 2
@@ -41,13 +41,13 @@
&kscan {
events = <
- /* if you're debugging these, remember that the timer can be triggered between
+ /* 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_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/partially-overlapping-combos/native_posix_64.keymap b/app/tests/combo/partially-overlapping-combos/native_posix_64.keymap
index 4e68105fb5..f953734433 100644
--- a/app/tests/combo/partially-overlapping-combos/native_posix_64.keymap
+++ b/app/tests/combo/partially-overlapping-combos/native_posix_64.keymap
@@ -10,7 +10,7 @@
key-positions = <0 1>;
bindings = <&kp X>;
};
-
+
combo_two {
timeout-ms = <30>;
key-positions = <0 2>;
@@ -40,44 +40,44 @@
&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_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_PRESS(0,1,10)
+ ZMK_MOCK_PRESS(0,0,10)
ZMK_MOCK_RELEASE(0,1,10)
- ZMK_MOCK_RELEASE(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_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_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_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_PRESS(0,2,10)
+ ZMK_MOCK_PRESS(0,0,10)
ZMK_MOCK_RELEASE(0,2,10)
- ZMK_MOCK_RELEASE(0,0,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_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_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-incomplete/native_posix_64.keymap b/app/tests/combo/press-release-long-combo-incomplete/native_posix_64.keymap
index 68736d8fbc..c6202365b2 100644
--- 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
@@ -3,7 +3,7 @@
#include <dt-bindings/zmk/kscan-mock.h>
/ {
- combos {
+ combos {
compatible = "zmk,combos";
combo_one {
timeout-ms = <80>;
@@ -27,9 +27,9 @@
&kscan {
events = <
- ZMK_MOCK_PRESS(1,1,10)
- ZMK_MOCK_PRESS(0,1,10)
- ZMK_MOCK_RELEASE(0,1,100)
+ 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/native_posix_64.keymap b/app/tests/combo/press-release/native_posix_64.keymap
index 0f45792ddc..8d81f35b6d 100644
--- a/app/tests/combo/press-release/native_posix_64.keymap
+++ b/app/tests/combo/press-release/native_posix_64.keymap
@@ -3,7 +3,7 @@
#include <dt-bindings/zmk/kscan-mock.h>
/ {
- combos {
+ combos {
compatible = "zmk,combos";
combo_one {
timeout-ms = <30>;
@@ -28,24 +28,24 @@
&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_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_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_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_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/native_posix_64.keymap b/app/tests/combo/press-timeout/native_posix_64.keymap
index ff0b749330..497cf1aa95 100644
--- a/app/tests/combo/press-timeout/native_posix_64.keymap
+++ b/app/tests/combo/press-timeout/native_posix_64.keymap
@@ -27,9 +27,9 @@
&kscan {
events = <
- ZMK_MOCK_PRESS(0,0,100)
- ZMK_MOCK_PRESS(0,1,10)
- ZMK_MOCK_RELEASE(0,0,10)
+ 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/native_posix_64.keymap b/app/tests/combo/press1-press2-release1-release2/native_posix_64.keymap
index 2518bbc90e..cf7e79f7f2 100644
--- a/app/tests/combo/press1-press2-release1-release2/native_posix_64.keymap
+++ b/app/tests/combo/press1-press2-release1-release2/native_posix_64.keymap
@@ -33,13 +33,13 @@
&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_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,0,10)
ZMK_MOCK_RELEASE(1,1,10)
>;
}; \ No newline at end of file
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
index 4895636e2b..0c55eb47db 100644
--- a/app/tests/combo/press1-press2-release2-release1/native_posix_64.keymap
+++ b/app/tests/combo/press1-press2-release2-release1/native_posix_64.keymap
@@ -33,14 +33,14 @@
&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_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,0,10)
ZMK_MOCK_RELEASE(0,1,10)
>;
}; \ No newline at end of file
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
index 0c4a698ce0..248d6e75e0 100644
--- a/app/tests/combo/press1-release1-press2-release2/native_posix_64.keymap
+++ b/app/tests/combo/press1-release1-press2-release2/native_posix_64.keymap
@@ -33,14 +33,14 @@
&kscan {
events = <
- ZMK_MOCK_PRESS(0,0,10)
- ZMK_MOCK_PRESS(0,1,10)
- ZMK_MOCK_RELEASE(0,0,10)
+ 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_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/slowrelease-disabled/native_posix_64.keymap b/app/tests/combo/slowrelease-disabled/native_posix_64.keymap
index 3bacb88698..5af94d45b3 100644
--- a/app/tests/combo/slowrelease-disabled/native_posix_64.keymap
+++ b/app/tests/combo/slowrelease-disabled/native_posix_64.keymap
@@ -28,11 +28,11 @@
&kscan {
events = <
- ZMK_MOCK_PRESS(0,0,10)
- ZMK_MOCK_PRESS(0,1,10)
+ 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)
+ ZMK_MOCK_RELEASE(1,0,10)
>;
}; \ No newline at end of file
diff --git a/app/tests/combo/slowrelease-enabled/native_posix_64.keymap b/app/tests/combo/slowrelease-enabled/native_posix_64.keymap
index 8ac8316b18..88351bea6d 100644
--- a/app/tests/combo/slowrelease-enabled/native_posix_64.keymap
+++ b/app/tests/combo/slowrelease-enabled/native_posix_64.keymap
@@ -28,11 +28,11 @@
&kscan {
events = <
- ZMK_MOCK_PRESS(0,0,10)
- ZMK_MOCK_PRESS(0,1,10)
+ 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)
+ ZMK_MOCK_RELEASE(1,0,10)
>;
}; \ No newline at end of file
diff --git a/app/tests/gresc/gresc-press-release/native_posix_64.keymap b/app/tests/gresc/gresc-press-release/native_posix_64.keymap
index 7ca3d77dfb..4b658a73c4 100644
--- a/app/tests/gresc/gresc-press-release/native_posix_64.keymap
+++ b/app/tests/gresc/gresc-press-release/native_posix_64.keymap
@@ -19,30 +19,30 @@
&kscan {
events = <
/* esc */
- ZMK_MOCK_PRESS(0,0,10)
+ 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_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_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_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_PRESS(1,1,10)
+ ZMK_MOCK_PRESS(0,0,10)
ZMK_MOCK_RELEASE(1,1,10)
ZMK_MOCK_RELEASE(0,0,10)
>;
diff --git a/app/tests/gresc/gresc-two-instances/native_posix_64.keymap b/app/tests/gresc/gresc-two-instances/native_posix_64.keymap
index 0c38721de3..78b8ebcb28 100644
--- a/app/tests/gresc/gresc-two-instances/native_posix_64.keymap
+++ b/app/tests/gresc/gresc-two-instances/native_posix_64.keymap
@@ -27,15 +27,15 @@ The first gresc that is released releases the key.
&kscan {
events = <
/* esc */
- ZMK_MOCK_PRESS(0,0,10)
+ 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(1,0,10)
ZMK_MOCK_PRESS(0,1,10)
- ZMK_MOCK_PRESS(0,0,10) /* the second gresc is ignored */
+ 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 */
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
index 040cdd3ee7..38c8668ca5 100644
--- 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
@@ -5,7 +5,7 @@
&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/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
index 11d033f40d..b5834e06d1 100644
--- 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
@@ -5,7 +5,7 @@
&kscan {
events = <
- ZMK_MOCK_PRESS(0,0,500)
- ZMK_MOCK_RELEASE(0,0,10)
+ 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/native_posix_64.keymap b/app/tests/hold-tap/balanced/3a-moddn-dn-modup-up/native_posix_64.keymap
index abb31b4b3a..a540353b0c 100644
--- 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
@@ -8,6 +8,6 @@
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)
+ 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/native_posix_64.keymap b/app/tests/hold-tap/balanced/3b-moddn-dn-modup-timer-up/native_posix_64.keymap
index 38575e9a20..76bb2fa378 100644
--- 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
@@ -9,6 +9,6 @@
ZMK_MOCK_PRESS(0,0,50) /*mt f-shift */
ZMK_MOCK_RELEASE(1,1,300)
/*timer*/
- ZMK_MOCK_RELEASE(0,0,10)
+ 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/native_posix_64.keymap b/app/tests/hold-tap/balanced/3c-kcdn-dn-kcup-up/native_posix_64.keymap
index 21baa447eb..882f33aa6a 100644
--- 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
@@ -8,6 +8,6 @@
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)
+ 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/native_posix_64.keymap b/app/tests/hold-tap/balanced/3d-kcdn-dn-kcup-timer-up/native_posix_64.keymap
index cd7ff384bf..0fc0b848c3 100644
--- 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
@@ -8,6 +8,6 @@
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)
+ 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/native_posix_64.keymap b/app/tests/hold-tap/balanced/4a-dn-htdn-timer-htup-up/native_posix_64.keymap
index b84aa6265b..5d0fcbfb2e 100644
--- a/app/tests/hold-tap/balanced/4a-dn-htdn-timer-htup-up/native_posix_64.keymap
+++ b/app/tests/hold-tap/balanced/4a-dn-htdn-timer-htup-up/native_posix_64.keymap
@@ -7,7 +7,7 @@
events = <
ZMK_MOCK_PRESS(0,0,200)
ZMK_MOCK_PRESS(0,1,200)
- /* timer fires */
+ /* timer fires */
ZMK_MOCK_RELEASE(0,1,10)
ZMK_MOCK_RELEASE(0,0,10)
>;
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
index bdfaf9d3d9..fca60ba8ed 100644
--- 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
@@ -7,7 +7,7 @@
events = <
ZMK_MOCK_PRESS(0,0,200)
ZMK_MOCK_PRESS(1,0,200)
- /* timer fires */
+ /* timer fires */
ZMK_MOCK_RELEASE(1,0,10)
ZMK_MOCK_RELEASE(0,0,10)
>;
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
index c0fd1bd184..5d0af9ca1b 100644
--- 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
@@ -8,7 +8,7 @@
ZMK_MOCK_PRESS(0,0,100)
ZMK_MOCK_PRESS(1,0,100)
ZMK_MOCK_RELEASE(1,0,200)
- /* timer fires */
+ /* 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/native_posix_64.keymap b/app/tests/hold-tap/balanced/4c-dn-kcdn-kcup-up/native_posix_64.keymap
index 69c19676e7..6b1383523d 100644
--- 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
@@ -9,6 +9,6 @@
ZMK_MOCK_PRESS(1,0,10)
ZMK_MOCK_RELEASE(1,0,10)
ZMK_MOCK_RELEASE(0,0,10)
- /* timer */
+ /* timer */
>;
}; \ No newline at end of file
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
index 8f90ffadb4..d895df0231 100644
--- 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
@@ -6,9 +6,9 @@
&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)
+ ZMK_MOCK_RELEASE(0,0,10)
>;
}; \ No newline at end of file
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
index 706ca54060..832ea7ef7d 100644
--- 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
@@ -31,15 +31,15 @@
&kscan {
events = <
/* tap */
- ZMK_MOCK_PRESS(0,0,10)
- ZMK_MOCK_RELEASE(0,0,10)
+ 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)
+ 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)
+ 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/native_posix_64.keymap b/app/tests/hold-tap/balanced/7-positional/2-dn-timer-up/native_posix_64.keymap
index 11d033f40d..b5834e06d1 100644
--- 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
@@ -5,7 +5,7 @@
&kscan {
events = <
- ZMK_MOCK_PRESS(0,0,500)
- ZMK_MOCK_RELEASE(0,0,10)
+ 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/native_posix_64.keymap b/app/tests/hold-tap/balanced/7-positional/4a-dn-ntgdn-timer-ntgup-up/native_posix_64.keymap
index d1d2b756c3..7560a05a18 100644
--- 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
@@ -7,7 +7,7 @@
events = <
ZMK_MOCK_PRESS(0,0,200)
ZMK_MOCK_PRESS(1,1,200) // non trigger key
- /* timer fires */
+ /* timer fires */
ZMK_MOCK_RELEASE(1,1,10)
ZMK_MOCK_RELEASE(0,0,10)
>;
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
index 94d9a923cc..b915a6a933 100644
--- 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
@@ -7,7 +7,7 @@
events = <
ZMK_MOCK_PRESS(0,0,200)
ZMK_MOCK_PRESS(1,0,200) // trigger key
- /* timer fires */
+ /* timer fires */
ZMK_MOCK_RELEASE(1,0,10)
ZMK_MOCK_RELEASE(0,0,10)
>;
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
index 6ddf87f895..a6ac1507c2 100644
--- 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
@@ -8,7 +8,7 @@
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 */
+ /* timer fires */
ZMK_MOCK_RELEASE(1,1,10)
ZMK_MOCK_RELEASE(1,0,10)
ZMK_MOCK_RELEASE(0,0,10)
diff --git a/app/tests/hold-tap/balanced/8-global-quick-tap/1-basic/native_posix_64.keymap b/app/tests/hold-tap/balanced/8-global-quick-tap/1-basic/native_posix_64.keymap
index 930760553a..9965c9b377 100644
--- a/app/tests/hold-tap/balanced/8-global-quick-tap/1-basic/native_posix_64.keymap
+++ b/app/tests/hold-tap/balanced/8-global-quick-tap/1-basic/native_posix_64.keymap
@@ -6,8 +6,8 @@
&kscan {
events = <
/* tap */
- ZMK_MOCK_PRESS(0,0,10)
- ZMK_MOCK_RELEASE(0,0,10)
+ ZMK_MOCK_PRESS(0,0,10)
+ ZMK_MOCK_RELEASE(0,0,10)
/* normal quick tap */
ZMK_MOCK_PRESS(0,0,400)
ZMK_MOCK_RELEASE(0,0,400)
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
index 2698f0553e..6d016501b1 100644
--- a/app/tests/hold-tap/balanced/many-nested/native_posix_64.keymap
+++ b/app/tests/hold-tap/balanced/many-nested/native_posix_64.keymap
@@ -20,7 +20,7 @@
default_layer {
bindings = <
- &ht_bal LEFT_SHIFT F &ht_bal LEFT_CONTROL J
+ &ht_bal LEFT_SHIFT F &ht_bal LEFT_CONTROL J
&ht_bal LEFT_GUI H &ht_bal LEFT_ALT L
>;
};
@@ -29,13 +29,13 @@
&kscan {
events = <
- ZMK_MOCK_PRESS(0,0,100)
- ZMK_MOCK_PRESS(0,1,100)
+ 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)
+ 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/native_posix_64.keymap b/app/tests/hold-tap/hold-preferred/1-dn-up/native_posix_64.keymap
index 040cdd3ee7..38c8668ca5 100644
--- 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
@@ -5,7 +5,7 @@
&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/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
index 11d033f40d..b5834e06d1 100644
--- 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
@@ -5,7 +5,7 @@
&kscan {
events = <
- ZMK_MOCK_PRESS(0,0,500)
- ZMK_MOCK_RELEASE(0,0,10)
+ 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/native_posix_64.keymap b/app/tests/hold-tap/hold-preferred/3a-moddn-dn-modup-up/native_posix_64.keymap
index abb31b4b3a..a540353b0c 100644
--- 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
@@ -8,6 +8,6 @@
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)
+ 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/native_posix_64.keymap b/app/tests/hold-tap/hold-preferred/3b-moddn-dn-modup-timer-up/native_posix_64.keymap
index 38575e9a20..76bb2fa378 100644
--- 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
@@ -9,6 +9,6 @@
ZMK_MOCK_PRESS(0,0,50) /*mt f-shift */
ZMK_MOCK_RELEASE(1,1,300)
/*timer*/
- ZMK_MOCK_RELEASE(0,0,10)
+ 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/native_posix_64.keymap b/app/tests/hold-tap/hold-preferred/3c-kcdn-dn-kcup-up/native_posix_64.keymap
index 21baa447eb..882f33aa6a 100644
--- 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
@@ -8,6 +8,6 @@
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)
+ 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/native_posix_64.keymap b/app/tests/hold-tap/hold-preferred/3d-kcdn-dn-kcup-timer-up/native_posix_64.keymap
index cd7ff384bf..0fc0b848c3 100644
--- 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
@@ -8,6 +8,6 @@
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)
+ 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/native_posix_64.keymap b/app/tests/hold-tap/hold-preferred/4a-dn-htdn-timer-htup-up/native_posix_64.keymap
index b84aa6265b..5d0fcbfb2e 100644
--- 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
@@ -7,7 +7,7 @@
events = <
ZMK_MOCK_PRESS(0,0,200)
ZMK_MOCK_PRESS(0,1,200)
- /* timer fires */
+ /* timer fires */
ZMK_MOCK_RELEASE(0,1,10)
ZMK_MOCK_RELEASE(0,0,10)
>;
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
index bdfaf9d3d9..fca60ba8ed 100644
--- 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
@@ -7,7 +7,7 @@
events = <
ZMK_MOCK_PRESS(0,0,200)
ZMK_MOCK_PRESS(1,0,200)
- /* timer fires */
+ /* timer fires */
ZMK_MOCK_RELEASE(1,0,10)
ZMK_MOCK_RELEASE(0,0,10)
>;
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
index c0fd1bd184..5d0af9ca1b 100644
--- 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
@@ -8,7 +8,7 @@
ZMK_MOCK_PRESS(0,0,100)
ZMK_MOCK_PRESS(1,0,100)
ZMK_MOCK_RELEASE(1,0,200)
- /* timer fires */
+ /* 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/native_posix_64.keymap b/app/tests/hold-tap/hold-preferred/4c-dn-kcdn-kcup-up/native_posix_64.keymap
index 69c19676e7..6b1383523d 100644
--- 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
@@ -9,6 +9,6 @@
ZMK_MOCK_PRESS(1,0,10)
ZMK_MOCK_RELEASE(1,0,10)
ZMK_MOCK_RELEASE(0,0,10)
- /* timer */
+ /* timer */
>;
}; \ No newline at end of file
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
index 8f90ffadb4..d895df0231 100644
--- 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
@@ -6,9 +6,9 @@
&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)
+ ZMK_MOCK_RELEASE(0,0,10)
>;
}; \ No newline at end of file
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
index 314b7334b8..dc96ee8b09 100644
--- 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
@@ -31,15 +31,15 @@
&kscan {
events = <
/* tap */
- ZMK_MOCK_PRESS(0,0,10)
- ZMK_MOCK_RELEASE(0,0,10)
+ 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)
+ 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)
+ 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/native_posix_64.keymap b/app/tests/hold-tap/hold-preferred/7-positional/2-dn-timer-up/native_posix_64.keymap
index 11d033f40d..b5834e06d1 100644
--- 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
@@ -5,7 +5,7 @@
&kscan {
events = <
- ZMK_MOCK_PRESS(0,0,500)
- ZMK_MOCK_RELEASE(0,0,10)
+ 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/native_posix_64.keymap b/app/tests/hold-tap/hold-preferred/7-positional/4a-dn-ntgdn-timer-ntgup-up/native_posix_64.keymap
index d1d2b756c3..7560a05a18 100644
--- 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
@@ -7,7 +7,7 @@
events = <
ZMK_MOCK_PRESS(0,0,200)
ZMK_MOCK_PRESS(1,1,200) // non trigger key
- /* timer fires */
+ /* timer fires */
ZMK_MOCK_RELEASE(1,1,10)
ZMK_MOCK_RELEASE(0,0,10)
>;
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
index 94d9a923cc..b915a6a933 100644
--- 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
@@ -7,7 +7,7 @@
events = <
ZMK_MOCK_PRESS(0,0,200)
ZMK_MOCK_PRESS(1,0,200) // trigger key
- /* timer fires */
+ /* timer fires */
ZMK_MOCK_RELEASE(1,0,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/native_posix_64.keymap b/app/tests/hold-tap/hold-preferred/7-positional/tgdn-dn-ntgdn-timer-ntgup-tgup-up/native_posix_64.keymap
index 6ddf87f895..a6ac1507c2 100644
--- 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
@@ -8,7 +8,7 @@
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 */
+ /* timer fires */
ZMK_MOCK_RELEASE(1,1,10)
ZMK_MOCK_RELEASE(1,0,10)
ZMK_MOCK_RELEASE(0,0,10)
diff --git a/app/tests/hold-tap/hold-preferred/8-global-quick-tap/1-basic/native_posix_64.keymap b/app/tests/hold-tap/hold-preferred/8-global-quick-tap/1-basic/native_posix_64.keymap
index ee0d5e80a6..13a58c3e39 100644
--- a/app/tests/hold-tap/hold-preferred/8-global-quick-tap/1-basic/native_posix_64.keymap
+++ b/app/tests/hold-tap/hold-preferred/8-global-quick-tap/1-basic/native_posix_64.keymap
@@ -6,8 +6,8 @@
&kscan {
events = <
/* tap */
- ZMK_MOCK_PRESS(0,0,10)
- ZMK_MOCK_RELEASE(0,0,10)
+ ZMK_MOCK_PRESS(0,0,10)
+ ZMK_MOCK_RELEASE(0,0,10)
/* normal quick tap */
ZMK_MOCK_PRESS(0,0,400)
ZMK_MOCK_RELEASE(0,0,400)
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
index 040cdd3ee7..38c8668ca5 100644
--- 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
@@ -5,7 +5,7 @@
&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/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
index 11d033f40d..b5834e06d1 100644
--- 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
@@ -5,7 +5,7 @@
&kscan {
events = <
- ZMK_MOCK_PRESS(0,0,500)
- ZMK_MOCK_RELEASE(0,0,10)
+ 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/native_posix_64.keymap b/app/tests/hold-tap/tap-preferred/3a-moddn-dn-modup-up/native_posix_64.keymap
index abb31b4b3a..a540353b0c 100644
--- 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
@@ -8,6 +8,6 @@
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)
+ 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/native_posix_64.keymap b/app/tests/hold-tap/tap-preferred/3b-moddn-dn-modup-timer-up/native_posix_64.keymap
index 38575e9a20..76bb2fa378 100644
--- 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
@@ -9,6 +9,6 @@
ZMK_MOCK_PRESS(0,0,50) /*mt f-shift */
ZMK_MOCK_RELEASE(1,1,300)
/*timer*/
- ZMK_MOCK_RELEASE(0,0,10)
+ 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/native_posix_64.keymap b/app/tests/hold-tap/tap-preferred/3c-kcdn-dn-kcup-up/native_posix_64.keymap
index 21baa447eb..882f33aa6a 100644
--- 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
@@ -8,6 +8,6 @@
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)
+ 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/native_posix_64.keymap b/app/tests/hold-tap/tap-preferred/3d-kcdn-dn-kcup-timer-up/native_posix_64.keymap
index cd7ff384bf..0fc0b848c3 100644
--- 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
@@ -8,6 +8,6 @@
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)
+ 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/native_posix_64.keymap b/app/tests/hold-tap/tap-preferred/4a-dn-htdn-timer-htup-up/native_posix_64.keymap
index b84aa6265b..5d0fcbfb2e 100644
--- 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
@@ -7,7 +7,7 @@
events = <
ZMK_MOCK_PRESS(0,0,200)
ZMK_MOCK_PRESS(0,1,200)
- /* timer fires */
+ /* timer fires */
ZMK_MOCK_RELEASE(0,1,10)
ZMK_MOCK_RELEASE(0,0,10)
>;
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
index bdfaf9d3d9..fca60ba8ed 100644
--- 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
@@ -7,7 +7,7 @@
events = <
ZMK_MOCK_PRESS(0,0,200)
ZMK_MOCK_PRESS(1,0,200)
- /* timer fires */
+ /* timer fires */
ZMK_MOCK_RELEASE(1,0,10)
ZMK_MOCK_RELEASE(0,0,10)
>;
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
index c0fd1bd184..5d0af9ca1b 100644
--- 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
@@ -8,7 +8,7 @@
ZMK_MOCK_PRESS(0,0,100)
ZMK_MOCK_PRESS(1,0,100)
ZMK_MOCK_RELEASE(1,0,200)
- /* timer fires */
+ /* 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/native_posix_64.keymap b/app/tests/hold-tap/tap-preferred/4c-dn-kcdn-kcup-up/native_posix_64.keymap
index 69c19676e7..6b1383523d 100644
--- 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
@@ -9,6 +9,6 @@
ZMK_MOCK_PRESS(1,0,10)
ZMK_MOCK_RELEASE(1,0,10)
ZMK_MOCK_RELEASE(0,0,10)
- /* timer */
+ /* timer */
>;
}; \ No newline at end of file
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
index 8f90ffadb4..d895df0231 100644
--- 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
@@ -6,9 +6,9 @@
&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)
+ ZMK_MOCK_RELEASE(0,0,10)
>;
}; \ No newline at end of file
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
index adbd648ecc..b733e3a2a0 100644
--- 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
@@ -2,7 +2,7 @@
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan_mock.h>
-/*
+/*
* 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'.
@@ -45,9 +45,9 @@
&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)
+ 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/native_posix_64.keymap b/app/tests/hold-tap/tap-preferred/7-positional/2-dn-timer-up/native_posix_64.keymap
index 11d033f40d..b5834e06d1 100644
--- 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
@@ -5,7 +5,7 @@
&kscan {
events = <
- ZMK_MOCK_PRESS(0,0,500)
- ZMK_MOCK_RELEASE(0,0,10)
+ 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/native_posix_64.keymap b/app/tests/hold-tap/tap-preferred/7-positional/4a-dn-ntgdn-timer-ntgup-up/native_posix_64.keymap
index d1d2b756c3..7560a05a18 100644
--- 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
@@ -7,7 +7,7 @@
events = <
ZMK_MOCK_PRESS(0,0,200)
ZMK_MOCK_PRESS(1,1,200) // non trigger key
- /* timer fires */
+ /* timer fires */
ZMK_MOCK_RELEASE(1,1,10)
ZMK_MOCK_RELEASE(0,0,10)
>;
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
index 94d9a923cc..b915a6a933 100644
--- 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
@@ -7,7 +7,7 @@
events = <
ZMK_MOCK_PRESS(0,0,200)
ZMK_MOCK_PRESS(1,0,200) // trigger key
- /* timer fires */
+ /* timer fires */
ZMK_MOCK_RELEASE(1,0,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/native_posix_64.keymap b/app/tests/hold-tap/tap-preferred/7-positional/tgdn-dn-ntgdn-timer-ntgup-tgup-up/native_posix_64.keymap
index 6ddf87f895..a6ac1507c2 100644
--- 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
@@ -8,7 +8,7 @@
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 */
+ /* timer fires */
ZMK_MOCK_RELEASE(1,1,10)
ZMK_MOCK_RELEASE(1,0,10)
ZMK_MOCK_RELEASE(0,0,10)
diff --git a/app/tests/hold-tap/tap-preferred/8-global-quick-tap/1-basic/native_posix_64.keymap b/app/tests/hold-tap/tap-preferred/8-global-quick-tap/1-basic/native_posix_64.keymap
index 930760553a..9965c9b377 100644
--- a/app/tests/hold-tap/tap-preferred/8-global-quick-tap/1-basic/native_posix_64.keymap
+++ b/app/tests/hold-tap/tap-preferred/8-global-quick-tap/1-basic/native_posix_64.keymap
@@ -6,8 +6,8 @@
&kscan {
events = <
/* tap */
- ZMK_MOCK_PRESS(0,0,10)
- ZMK_MOCK_RELEASE(0,0,10)
+ ZMK_MOCK_PRESS(0,0,10)
+ ZMK_MOCK_RELEASE(0,0,10)
/* normal quick tap */
ZMK_MOCK_PRESS(0,0,400)
ZMK_MOCK_RELEASE(0,0,400)
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
index 040cdd3ee7..38c8668ca5 100644
--- 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
@@ -5,7 +5,7 @@
&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/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
index 11d033f40d..b5834e06d1 100644
--- 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
@@ -5,7 +5,7 @@
&kscan {
events = <
- ZMK_MOCK_PRESS(0,0,500)
- ZMK_MOCK_RELEASE(0,0,10)
+ 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/native_posix_64.keymap b/app/tests/hold-tap/tap-unless-interrupted/3a-moddn-dn-modup-up/native_posix_64.keymap
index abb31b4b3a..a540353b0c 100644
--- 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
@@ -8,6 +8,6 @@
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)
+ 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/native_posix_64.keymap b/app/tests/hold-tap/tap-unless-interrupted/3b-moddn-dn-modup-timer-up/native_posix_64.keymap
index 38575e9a20..76bb2fa378 100644
--- 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
@@ -9,6 +9,6 @@
ZMK_MOCK_PRESS(0,0,50) /*mt f-shift */
ZMK_MOCK_RELEASE(1,1,300)
/*timer*/
- ZMK_MOCK_RELEASE(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/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
index 21baa447eb..882f33aa6a 100644
--- 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
@@ -8,6 +8,6 @@
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)
+ 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/native_posix_64.keymap b/app/tests/hold-tap/tap-unless-interrupted/3d-kcdn-dn-kcup-timer-up/native_posix_64.keymap
index cd7ff384bf..0fc0b848c3 100644
--- 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
@@ -8,6 +8,6 @@
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)
+ 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/native_posix_64.keymap b/app/tests/hold-tap/tap-unless-interrupted/4a-dn-htdn-timer-htup-up/native_posix_64.keymap
index b84aa6265b..5d0fcbfb2e 100644
--- 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
@@ -7,7 +7,7 @@
events = <
ZMK_MOCK_PRESS(0,0,200)
ZMK_MOCK_PRESS(0,1,200)
- /* timer fires */
+ /* timer fires */
ZMK_MOCK_RELEASE(0,1,10)
ZMK_MOCK_RELEASE(0,0,10)
>;
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
index bdfaf9d3d9..fca60ba8ed 100644
--- 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
@@ -7,7 +7,7 @@
events = <
ZMK_MOCK_PRESS(0,0,200)
ZMK_MOCK_PRESS(1,0,200)
- /* timer fires */
+ /* timer fires */
ZMK_MOCK_RELEASE(1,0,10)
ZMK_MOCK_RELEASE(0,0,10)
>;
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
index c0fd1bd184..5d0af9ca1b 100644
--- 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
@@ -8,7 +8,7 @@
ZMK_MOCK_PRESS(0,0,100)
ZMK_MOCK_PRESS(1,0,100)
ZMK_MOCK_RELEASE(1,0,200)
- /* timer fires */
+ /* 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/native_posix_64.keymap b/app/tests/hold-tap/tap-unless-interrupted/4c-dn-kcdn-kcup-up/native_posix_64.keymap
index 69c19676e7..6b1383523d 100644
--- 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
@@ -9,6 +9,6 @@
ZMK_MOCK_PRESS(1,0,10)
ZMK_MOCK_RELEASE(1,0,10)
ZMK_MOCK_RELEASE(0,0,10)
- /* timer */
+ /* timer */
>;
}; \ No newline at end of file
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
index 8f90ffadb4..d895df0231 100644
--- 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
@@ -6,9 +6,9 @@
&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)
+ ZMK_MOCK_RELEASE(0,0,10)
>;
}; \ No newline at end of file
diff --git a/app/tests/hold-tap/tap-unless-interrupted/6-global-quick-tap/1-basic/native_posix_64.keymap b/app/tests/hold-tap/tap-unless-interrupted/6-global-quick-tap/1-basic/native_posix_64.keymap
index 930760553a..9965c9b377 100644
--- a/app/tests/hold-tap/tap-unless-interrupted/6-global-quick-tap/1-basic/native_posix_64.keymap
+++ b/app/tests/hold-tap/tap-unless-interrupted/6-global-quick-tap/1-basic/native_posix_64.keymap
@@ -6,8 +6,8 @@
&kscan {
events = <
/* tap */
- ZMK_MOCK_PRESS(0,0,10)
- ZMK_MOCK_RELEASE(0,0,10)
+ ZMK_MOCK_PRESS(0,0,10)
+ ZMK_MOCK_RELEASE(0,0,10)
/* normal quick tap */
ZMK_MOCK_PRESS(0,0,400)
ZMK_MOCK_RELEASE(0,0,400)
diff --git a/app/tests/keypress/kp-press-release/native_posix_64.keymap b/app/tests/keypress/kp-press-release/native_posix_64.keymap
index 0ddb7ab6ba..c8e744ee7f 100644
--- a/app/tests/keypress/kp-press-release/native_posix_64.keymap
+++ b/app/tests/keypress/kp-press-release/native_posix_64.keymap
@@ -2,7 +2,7 @@
&kscan {
events = <
- ZMK_MOCK_PRESS(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-alt-tab/native_posix_64.keymap b/app/tests/keytoggle/kt-alt-tab/native_posix_64.keymap
index f437989325..f4d034295a 100644
--- a/app/tests/keytoggle/kt-alt-tab/native_posix_64.keymap
+++ b/app/tests/keytoggle/kt-alt-tab/native_posix_64.keymap
@@ -5,30 +5,30 @@
&kscan {
events = <
/* Toggle LALT on */
- ZMK_MOCK_PRESS(0,0,10)
+ ZMK_MOCK_PRESS(0,0,10)
ZMK_MOCK_RELEASE(0,0,10)
/* Tap TAB twice */
- ZMK_MOCK_PRESS(0,1,10)
+ ZMK_MOCK_PRESS(0,1,10)
ZMK_MOCK_RELEASE(0,1,10)
- ZMK_MOCK_PRESS(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_PRESS(1,0,10)
ZMK_MOCK_RELEASE(1,0,10)
/* Tap TAB once */
- ZMK_MOCK_PRESS(0,1,10)
+ ZMK_MOCK_PRESS(0,1,10)
ZMK_MOCK_RELEASE(0,1,10)
/* Toggle LALT off */
- ZMK_MOCK_PRESS(0,0,10)
+ ZMK_MOCK_PRESS(0,0,10)
ZMK_MOCK_RELEASE(0,0,10)
/* Tap A */
- ZMK_MOCK_PRESS(1,1,10)
+ ZMK_MOCK_PRESS(1,1,10)
ZMK_MOCK_RELEASE(1,1,10)
/* Toggle LSHFT off */
- ZMK_MOCK_PRESS(1,0,10)
+ ZMK_MOCK_PRESS(1,0,10)
ZMK_MOCK_RELEASE(1,0,10)
/* Tap A */
- ZMK_MOCK_PRESS(1,1,10)
+ ZMK_MOCK_PRESS(1,1,10)
ZMK_MOCK_RELEASE(1,1,10)
>;
};
diff --git a/app/tests/keytoggle/kt-modded-alpha/native_posix_64.keymap b/app/tests/keytoggle/kt-modded-alpha/native_posix_64.keymap
index 3b14e416bb..0a4ad4ae41 100644
--- a/app/tests/keytoggle/kt-modded-alpha/native_posix_64.keymap
+++ b/app/tests/keytoggle/kt-modded-alpha/native_posix_64.keymap
@@ -5,18 +5,18 @@
&kscan {
events = <
/* Toggle LS(A) on */
- ZMK_MOCK_PRESS(0,0,10)
+ ZMK_MOCK_PRESS(0,0,10)
ZMK_MOCK_RELEASE(0,0,10)
/* Toggle LS(A) off */
- ZMK_MOCK_PRESS(0,0,10)
+ ZMK_MOCK_PRESS(0,0,10)
ZMK_MOCK_RELEASE(0,0,10)
/* Press A */
- ZMK_MOCK_PRESS(1,0,10)
+ ZMK_MOCK_PRESS(1,0,10)
/* Toggle LS(A) on */
- ZMK_MOCK_PRESS(0,0,10)
+ ZMK_MOCK_PRESS(0,0,10)
ZMK_MOCK_RELEASE(0,0,10)
/* Toggle LS(A) off */
- ZMK_MOCK_PRESS(0,0,10)
+ ZMK_MOCK_PRESS(0,0,10)
ZMK_MOCK_RELEASE(0,0,10)
/* Release A */
ZMK_MOCK_RELEASE(1,0,10)
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
index 644caa2629..e25d4b187f 100644
--- a/app/tests/keytoggle/kt-press-release-nkro/native_posix_64.keymap
+++ b/app/tests/keytoggle/kt-press-release-nkro/native_posix_64.keymap
@@ -2,9 +2,9 @@
&kscan {
events = <
- ZMK_MOCK_PRESS(0,0,10)
+ ZMK_MOCK_PRESS(0,0,10)
ZMK_MOCK_RELEASE(0,0,10)
- ZMK_MOCK_PRESS(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/native_posix_64.keymap b/app/tests/keytoggle/kt-press-release/native_posix_64.keymap
index 644caa2629..e25d4b187f 100644
--- a/app/tests/keytoggle/kt-press-release/native_posix_64.keymap
+++ b/app/tests/keytoggle/kt-press-release/native_posix_64.keymap
@@ -2,9 +2,9 @@
&kscan {
events = <
- ZMK_MOCK_PRESS(0,0,10)
+ ZMK_MOCK_PRESS(0,0,10)
ZMK_MOCK_RELEASE(0,0,10)
- ZMK_MOCK_PRESS(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/native_posix_64.keymap b/app/tests/macros/basic/native_posix_64.keymap
index 6a2391db66..a281279259 100644
--- a/app/tests/macros/basic/native_posix_64.keymap
+++ b/app/tests/macros/basic/native_posix_64.keymap
@@ -3,7 +3,7 @@
*
* SPDX-License-Identifier: MIT
*/
-
+
#include <dt-bindings/zmk/keys.h>
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan_mock.h>
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
index 2f3b943a70..e6ef4f490b 100644
--- 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
@@ -3,7 +3,7 @@
*
* SPDX-License-Identifier: MIT
*/
-
+
#include <dt-bindings/zmk/keys.h>
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan_mock.h>
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
index c264a9aba4..c5cde5b499 100644
--- a/app/tests/macros/mo-plus-modifier-macro/native_posix_64.keymap
+++ b/app/tests/macros/mo-plus-modifier-macro/native_posix_64.keymap
@@ -3,7 +3,7 @@
*
* SPDX-License-Identifier: MIT
*/
-
+
#include <dt-bindings/zmk/keys.h>
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan_mock.h>
diff --git a/app/tests/macros/press-mid-macro/native_posix_64.keymap b/app/tests/macros/press-mid-macro/native_posix_64.keymap
index a075a44361..b8ae76f1bc 100644
--- a/app/tests/macros/press-mid-macro/native_posix_64.keymap
+++ b/app/tests/macros/press-mid-macro/native_posix_64.keymap
@@ -3,7 +3,7 @@
*
* SPDX-License-Identifier: MIT
*/
-
+
#include <dt-bindings/zmk/keys.h>
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan_mock.h>
diff --git a/app/tests/macros/press-release/native_posix_64.keymap b/app/tests/macros/press-release/native_posix_64.keymap
index 6814d5421e..2546712672 100644
--- a/app/tests/macros/press-release/native_posix_64.keymap
+++ b/app/tests/macros/press-release/native_posix_64.keymap
@@ -3,7 +3,7 @@
*
* SPDX-License-Identifier: MIT
*/
-
+
#include <dt-bindings/zmk/keys.h>
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan_mock.h>
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
index b814242514..dbb2df5c51 100644
--- 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
@@ -5,10 +5,10 @@
&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)
+ ZMK_MOCK_PRESS(0,0,10)
+ ZMK_MOCK_PRESS(1,0,10)
+ ZMK_MOCK_RELEASE(1,0,10)
+ ZMK_MOCK_RELEASE(0,0,10)
>;
};
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
index 26af565700..b01c625724 100644
--- 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
@@ -5,10 +5,10 @@
&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,10)
>;
};
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
index 9df2c1527a..8993032803 100644
--- 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
@@ -5,8 +5,8 @@
&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)
>;
};
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
index 5f9375fb85..acd55e83a7 100644
--- 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
@@ -5,10 +5,10 @@
&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)
+ 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/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
index 1b175d445e..7e1865a0e2 100644
--- 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
@@ -5,10 +5,10 @@
&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)
+ ZMK_MOCK_PRESS(0,0,10)
+ ZMK_MOCK_PRESS(1,0,10)
+ ZMK_MOCK_RELEASE(1,0,10)
+ ZMK_MOCK_RELEASE(0,0,10)
>;
};
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
index 0e9a2d6a8c..e175d60ef7 100644
--- 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
@@ -5,10 +5,10 @@
&kscan {
events = <
- ZMK_MOCK_PRESS(0,1,10)
- ZMK_MOCK_PRESS(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)
+ ZMK_MOCK_RELEASE(0,0,10)
>;
};
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
index 3f49005af2..f3df27cabd 100644
--- 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
@@ -1,9 +1,9 @@
-This test fails because the hid_listener_keycode_released function
+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.
+ active and only releasing modifiers at that time.
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
index 10d0dbf8ce..8c4534f4f9 100644
--- 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
@@ -5,10 +5,10 @@
&kscan {
events = <
- ZMK_MOCK_PRESS(0,0,10)
- ZMK_MOCK_PRESS(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_RELEASE(0,0,10)
>;
};
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
index 3d6494dd8e..e82182c478 100644
--- 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
@@ -5,9 +5,9 @@
&kscan {
events = <
- ZMK_MOCK_PRESS(1,0,10)
- ZMK_MOCK_PRESS(0,1,10)
- ZMK_MOCK_RELEASE(1,0,10)
+ ZMK_MOCK_PRESS(1,0,10)
+ ZMK_MOCK_PRESS(0,1,10)
+ ZMK_MOCK_RELEASE(1,0,10)
ZMK_MOCK_RELEASE(0,1,10)
>;
};
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
index d5f372f198..a36b85d256 100644
--- 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
@@ -5,10 +5,10 @@
&kscan {
events = <
- ZMK_MOCK_PRESS(1,0,10)
- ZMK_MOCK_PRESS(0,1,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(1,0,10)
>;
};
diff --git a/app/tests/momentary-layer/1-normal/native_posix_64.keymap b/app/tests/momentary-layer/1-normal/native_posix_64.keymap
index b5249f7b75..ed0e8ad1be 100644
--- a/app/tests/momentary-layer/1-normal/native_posix_64.keymap
+++ b/app/tests/momentary-layer/1-normal/native_posix_64.keymap
@@ -24,9 +24,9 @@
&kscan {
events = <
- ZMK_MOCK_PRESS(0,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)
>;
}; \ No newline at end of file
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
index 96e4e8d967..9311fdee55 100644
--- 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
@@ -24,9 +24,9 @@
&kscan {
events = <
- ZMK_MOCK_PRESS(0,0,10)
- ZMK_MOCK_PRESS(0,1,10)
- ZMK_MOCK_RELEASE(0,0,10)
+ 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/native_posix_64.keymap b/app/tests/momentary-layer/3-covered/native_posix_64.keymap
index 2dde6d88c4..62ae301df0 100644
--- a/app/tests/momentary-layer/3-covered/native_posix_64.keymap
+++ b/app/tests/momentary-layer/3-covered/native_posix_64.keymap
@@ -27,7 +27,7 @@ and the original key is "covered".
&kscan {
events = <
- ZMK_MOCK_PRESS(0,1,10)
+ ZMK_MOCK_PRESS(0,1,10)
ZMK_MOCK_RELEASE(0,1,10)
>;
};
diff --git a/app/tests/sticky-keys/1-os-dn-up/native_posix_64.keymap b/app/tests/sticky-keys/1-os-dn-up/native_posix_64.keymap
index d0f26b2f73..230e9566bf 100644
--- a/app/tests/sticky-keys/1-os-dn-up/native_posix_64.keymap
+++ b/app/tests/sticky-keys/1-os-dn-up/native_posix_64.keymap
@@ -5,8 +5,8 @@
&kscan {
events = <
- ZMK_MOCK_PRESS(0,0,10)
- ZMK_MOCK_RELEASE(0,0,1200)
+ ZMK_MOCK_PRESS(0,0,10)
+ ZMK_MOCK_RELEASE(0,0,1200)
ZMK_MOCK_PRESS(1,0,10)
ZMK_MOCK_RELEASE(1,0,10)
>;
diff --git a/app/tests/sticky-keys/10-callum-mods/native_posix_64.keymap b/app/tests/sticky-keys/10-callum-mods/native_posix_64.keymap
index 9febf08c58..79567de9a6 100644
--- a/app/tests/sticky-keys/10-callum-mods/native_posix_64.keymap
+++ b/app/tests/sticky-keys/10-callum-mods/native_posix_64.keymap
@@ -24,7 +24,7 @@
&kscan {
events = <
/* press sl lower_layer */
- ZMK_MOCK_PRESS(0,1,10)
+ ZMK_MOCK_PRESS(0,1,10)
/* tap sk LEFT_CONTROL */
ZMK_MOCK_PRESS(0,0,10)
ZMK_MOCK_RELEASE(0,0,10)
@@ -32,12 +32,12 @@
ZMK_MOCK_PRESS(1,0,10)
ZMK_MOCK_RELEASE(1,0,10)
/* release sl lower_layer */
- ZMK_MOCK_RELEASE(0,1,10)
+ ZMK_MOCK_RELEASE(0,1,10)
/* tap A (with left control and left shift enabled) */
- ZMK_MOCK_PRESS(1,0,10)
- ZMK_MOCK_RELEASE(1,0,10)
+ ZMK_MOCK_PRESS(1,0,10)
+ ZMK_MOCK_RELEASE(1,0,10)
/* tap A (no sticky keys anymore) */
- ZMK_MOCK_PRESS(1,0,10)
- ZMK_MOCK_RELEASE(1,0,10)
+ ZMK_MOCK_PRESS(1,0,10)
+ ZMK_MOCK_RELEASE(1,0,10)
>;
}; \ No newline at end of file
diff --git a/app/tests/sticky-keys/10-sl-sl-kp/native_posix_64.keymap b/app/tests/sticky-keys/10-sl-sl-kp/native_posix_64.keymap
index e9b87f4215..e89faa93ff 100644
--- a/app/tests/sticky-keys/10-sl-sl-kp/native_posix_64.keymap
+++ b/app/tests/sticky-keys/10-sl-sl-kp/native_posix_64.keymap
@@ -35,11 +35,11 @@
&kscan {
events = <
/* press sl 1 */
- ZMK_MOCK_PRESS(0,0,10)
- ZMK_MOCK_RELEASE(0,0,10)
+ ZMK_MOCK_PRESS(0,0,10)
+ ZMK_MOCK_RELEASE(0,0,10)
/* press sl 2 */
- ZMK_MOCK_PRESS(0,0,10)
- ZMK_MOCK_RELEASE(0,0,10)
+ ZMK_MOCK_PRESS(0,0,10)
+ ZMK_MOCK_RELEASE(0,0,10)
/* press 1 */
ZMK_MOCK_PRESS(0,1,10)
ZMK_MOCK_RELEASE(0,1,10)
@@ -49,11 +49,11 @@
/* repeat test to check if cleanup is done correctly */
/* press sl 1 */
- ZMK_MOCK_PRESS(0,0,10)
- ZMK_MOCK_RELEASE(0,0,10)
+ ZMK_MOCK_PRESS(0,0,10)
+ ZMK_MOCK_RELEASE(0,0,10)
/* press sl 2 */
- ZMK_MOCK_PRESS(0,0,10)
- ZMK_MOCK_RELEASE(0,0,10)
+ ZMK_MOCK_PRESS(0,0,10)
+ ZMK_MOCK_RELEASE(0,0,10)
/* press 1 */
ZMK_MOCK_PRESS(0,1,10)
ZMK_MOCK_RELEASE(0,1,10)
diff --git a/app/tests/sticky-keys/2-os-dn-up-kcdn-kcup-quick-release/native_posix_64.keymap b/app/tests/sticky-keys/2-os-dn-up-kcdn-kcup-quick-release/native_posix_64.keymap
index 33115453f0..f52a6bec6b 100644
--- a/app/tests/sticky-keys/2-os-dn-up-kcdn-kcup-quick-release/native_posix_64.keymap
+++ b/app/tests/sticky-keys/2-os-dn-up-kcdn-kcup-quick-release/native_posix_64.keymap
@@ -9,17 +9,17 @@
&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(1,0,10)
/* second key is pressed shortly after the first. It should not be capitalized. */
- ZMK_MOCK_PRESS(1,1,10)
+ ZMK_MOCK_PRESS(1,1,10)
ZMK_MOCK_RELEASE(1,0,10)
ZMK_MOCK_RELEASE(1,1,10)
/* repeat test to check if cleanup is done correctly */
- 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(1,0,10)
ZMK_MOCK_RELEASE(1,0,10)
>;
diff --git a/app/tests/sticky-keys/2-os-dn-up-kcdn-kcup/native_posix_64.keymap b/app/tests/sticky-keys/2-os-dn-up-kcdn-kcup/native_posix_64.keymap
index 2d078ba5f8..63aca99b20 100644
--- a/app/tests/sticky-keys/2-os-dn-up-kcdn-kcup/native_posix_64.keymap
+++ b/app/tests/sticky-keys/2-os-dn-up-kcdn-kcup/native_posix_64.keymap
@@ -5,14 +5,14 @@
&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(1,0,10)
ZMK_MOCK_RELEASE(1,0,10)
/* repeat test to check if cleanup is done correctly */
- 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(1,0,10)
ZMK_MOCK_RELEASE(1,0,10)
>;
diff --git a/app/tests/sticky-keys/2-sl-dn-up-kcdn-kcup/native_posix_64.keymap b/app/tests/sticky-keys/2-sl-dn-up-kcdn-kcup/native_posix_64.keymap
index 4470fb2160..18d09ebc0d 100644
--- a/app/tests/sticky-keys/2-sl-dn-up-kcdn-kcup/native_posix_64.keymap
+++ b/app/tests/sticky-keys/2-sl-dn-up-kcdn-kcup/native_posix_64.keymap
@@ -29,8 +29,8 @@
&kscan {
events = <
/* press sl 1 */
- ZMK_MOCK_PRESS(0,1,10)
- ZMK_MOCK_RELEASE(0,1,10)
+ ZMK_MOCK_PRESS(0,1,10)
+ ZMK_MOCK_RELEASE(0,1,10)
/* press X */
ZMK_MOCK_PRESS(0,1,10)
/* press A */
@@ -40,8 +40,8 @@
/* repeat test to check if cleanup is done correctly */
/* press sl 1 */
- ZMK_MOCK_PRESS(0,1,10)
- ZMK_MOCK_RELEASE(0,1,10)
+ ZMK_MOCK_PRESS(0,1,10)
+ ZMK_MOCK_RELEASE(0,1,10)
/* press X */
ZMK_MOCK_PRESS(0,1,10)
/* press Y */
diff --git a/app/tests/sticky-keys/3a-os-dn-kcdn-kcup-up/native_posix_64.keymap b/app/tests/sticky-keys/3a-os-dn-kcdn-kcup-up/native_posix_64.keymap
index 438880d5ef..4760026997 100644
--- a/app/tests/sticky-keys/3a-os-dn-kcdn-kcup-up/native_posix_64.keymap
+++ b/app/tests/sticky-keys/3a-os-dn-kcdn-kcup-up/native_posix_64.keymap
@@ -5,9 +5,9 @@
&kscan {
events = <
- ZMK_MOCK_PRESS(0,0,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,0,10)
>;
}; \ No newline at end of file
diff --git a/app/tests/sticky-keys/3b-os-dn-kcdn-up-kcup/native_posix_64.keymap b/app/tests/sticky-keys/3b-os-dn-kcdn-up-kcup/native_posix_64.keymap
index 067f237936..2fb661a7f1 100644
--- a/app/tests/sticky-keys/3b-os-dn-kcdn-up-kcup/native_posix_64.keymap
+++ b/app/tests/sticky-keys/3b-os-dn-kcdn-up-kcup/native_posix_64.keymap
@@ -5,9 +5,9 @@
&kscan {
events = <
- ZMK_MOCK_PRESS(0,0,10)
+ ZMK_MOCK_PRESS(0,0,10)
ZMK_MOCK_PRESS(1,0,10)
- ZMK_MOCK_RELEASE(0,0,10)
+ ZMK_MOCK_RELEASE(0,0,10)
ZMK_MOCK_RELEASE(1,0,10)
>;
}; \ No newline at end of file
diff --git a/app/tests/sticky-keys/4-os-dn-up-kcdn-timer-kcup/native_posix_64.keymap b/app/tests/sticky-keys/4-os-dn-up-kcdn-timer-kcup/native_posix_64.keymap
index d58641bd89..92fd1e0adc 100644
--- a/app/tests/sticky-keys/4-os-dn-up-kcdn-timer-kcup/native_posix_64.keymap
+++ b/app/tests/sticky-keys/4-os-dn-up-kcdn-timer-kcup/native_posix_64.keymap
@@ -5,8 +5,8 @@
&kscan {
events = <
- ZMK_MOCK_PRESS(0,0,10)
- ZMK_MOCK_RELEASE(0,0,800)
+ ZMK_MOCK_PRESS(0,0,10)
+ ZMK_MOCK_RELEASE(0,0,800)
ZMK_MOCK_PRESS(1,0,400)
ZMK_MOCK_RELEASE(1,0,10)
>;
diff --git a/app/tests/sticky-keys/5-os-kcdn-dn-kcup-up/native_posix_64.keymap b/app/tests/sticky-keys/5-os-kcdn-dn-kcup-up/native_posix_64.keymap
index aac6725e57..1daa6c4f3b 100644
--- a/app/tests/sticky-keys/5-os-kcdn-dn-kcup-up/native_posix_64.keymap
+++ b/app/tests/sticky-keys/5-os-kcdn-dn-kcup-up/native_posix_64.keymap
@@ -6,8 +6,8 @@
&kscan {
events = <
ZMK_MOCK_PRESS(1,0,10)
- ZMK_MOCK_PRESS(0,0,10)
+ ZMK_MOCK_PRESS(0,0,10)
ZMK_MOCK_RELEASE(1,0,10)
- ZMK_MOCK_RELEASE(0,0,1100)
+ ZMK_MOCK_RELEASE(0,0,1100)
>;
}; \ No newline at end of file
diff --git a/app/tests/sticky-keys/7-os-dn-up-kc1dn-kc2dn-kc1up-kc2up/native_posix_64.keymap b/app/tests/sticky-keys/7-os-dn-up-kc1dn-kc2dn-kc1up-kc2up/native_posix_64.keymap
index 66bb72d814..1be65a5ba3 100644
--- a/app/tests/sticky-keys/7-os-dn-up-kc1dn-kc2dn-kc1up-kc2up/native_posix_64.keymap
+++ b/app/tests/sticky-keys/7-os-dn-up-kc1dn-kc2dn-kc1up-kc2up/native_posix_64.keymap
@@ -5,8 +5,8 @@
&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(1,0,10)
ZMK_MOCK_PRESS(1,1,10)
ZMK_MOCK_RELEASE(1,0,100)
diff --git a/app/tests/sticky-keys/8-lsk-osk-combination/native_posix_64.keymap b/app/tests/sticky-keys/8-lsk-osk-combination/native_posix_64.keymap
index bdcccf3327..a90bb32ede 100644
--- a/app/tests/sticky-keys/8-lsk-osk-combination/native_posix_64.keymap
+++ b/app/tests/sticky-keys/8-lsk-osk-combination/native_posix_64.keymap
@@ -24,24 +24,24 @@
&kscan {
events = <
/* tap sl lower_layer */
- ZMK_MOCK_PRESS(0,1,10)
- ZMK_MOCK_RELEASE(0,1,10)
+ ZMK_MOCK_PRESS(0,1,10)
+ ZMK_MOCK_RELEASE(0,1,10)
/* tap sk LEFT_CONTROL */
ZMK_MOCK_PRESS(0,0,10)
ZMK_MOCK_RELEASE(0,0,10)
/* tap A */
- ZMK_MOCK_PRESS(1,0,10)
- ZMK_MOCK_RELEASE(1,0,10)
-
+ ZMK_MOCK_PRESS(1,0,10)
+ ZMK_MOCK_RELEASE(1,0,10)
+
/* repeat */
/* tap sl */
- ZMK_MOCK_PRESS(0,1,10)
- ZMK_MOCK_RELEASE(0,1,10)
+ ZMK_MOCK_PRESS(0,1,10)
+ ZMK_MOCK_RELEASE(0,1,10)
/* tap sk */
ZMK_MOCK_PRESS(0,0,10)
ZMK_MOCK_RELEASE(0,0,10)
/* tap A */
- ZMK_MOCK_PRESS(1,0,10)
- ZMK_MOCK_RELEASE(1,0,10)
+ ZMK_MOCK_PRESS(1,0,10)
+ ZMK_MOCK_RELEASE(1,0,10)
>;
}; \ No newline at end of file
diff --git a/app/tests/sticky-keys/9-sk-dn-up-dn-up/native_posix_64.keymap b/app/tests/sticky-keys/9-sk-dn-up-dn-up/native_posix_64.keymap
index d4c30fbf9c..f811f7e92a 100644
--- a/app/tests/sticky-keys/9-sk-dn-up-dn-up/native_posix_64.keymap
+++ b/app/tests/sticky-keys/9-sk-dn-up-dn-up/native_posix_64.keymap
@@ -18,10 +18,10 @@
&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)
/* the sticky key is pressed again, so the previous one must be cancelled */
- ZMK_MOCK_PRESS(0,0,10)
+ ZMK_MOCK_PRESS(0,0,10)
ZMK_MOCK_RELEASE(0,0,1200)
>;
}; \ No newline at end of file
diff --git a/app/tests/tap-dance/1b-tap2/native_posix_64.keymap b/app/tests/tap-dance/1b-tap2/native_posix_64.keymap
index c5e1c8db6e..5674c4eaa8 100644
--- a/app/tests/tap-dance/1b-tap2/native_posix_64.keymap
+++ b/app/tests/tap-dance/1b-tap2/native_posix_64.keymap
@@ -6,8 +6,8 @@
&kscan {
events = <
ZMK_MOCK_PRESS(0,0,10)
- ZMK_MOCK_RELEASE(0,0,10)
+ ZMK_MOCK_RELEASE(0,0,10)
ZMK_MOCK_PRESS(0,0,10)
- ZMK_MOCK_RELEASE(0,0,200)
+ ZMK_MOCK_RELEASE(0,0,200)
>;
}; \ No newline at end of file
diff --git a/app/tests/tap-dance/1c-tap3/native_posix_64.keymap b/app/tests/tap-dance/1c-tap3/native_posix_64.keymap
index 6813393e5d..142b823659 100644
--- a/app/tests/tap-dance/1c-tap3/native_posix_64.keymap
+++ b/app/tests/tap-dance/1c-tap3/native_posix_64.keymap
@@ -6,10 +6,10 @@
&kscan {
events = <
ZMK_MOCK_PRESS(0,0,10)
- ZMK_MOCK_RELEASE(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)
+ ZMK_MOCK_RELEASE(0,0,200)
>;
}; \ No newline at end of file
diff --git a/app/tests/tap-dance/2a-hold1/native_posix_64.keymap b/app/tests/tap-dance/2a-hold1/native_posix_64.keymap
index f4c7a2d29a..bcfc21d20d 100644
--- a/app/tests/tap-dance/2a-hold1/native_posix_64.keymap
+++ b/app/tests/tap-dance/2a-hold1/native_posix_64.keymap
@@ -6,6 +6,6 @@
&kscan {
events = <
ZMK_MOCK_PRESS(0,0,400)
- ZMK_MOCK_RELEASE(0,0,10)
+ ZMK_MOCK_RELEASE(0,0,10)
>;
}; \ No newline at end of file
diff --git a/app/tests/tap-dance/2b-hold2/native_posix_64.keymap b/app/tests/tap-dance/2b-hold2/native_posix_64.keymap
index 0fec2e40fe..6691437e73 100644
--- a/app/tests/tap-dance/2b-hold2/native_posix_64.keymap
+++ b/app/tests/tap-dance/2b-hold2/native_posix_64.keymap
@@ -6,8 +6,8 @@
&kscan {
events = <
ZMK_MOCK_PRESS(0,0,10)
- ZMK_MOCK_RELEASE(0,0,10)
+ ZMK_MOCK_RELEASE(0,0,10)
ZMK_MOCK_PRESS(0,0,400)
- ZMK_MOCK_RELEASE(0,0,10)
+ ZMK_MOCK_RELEASE(0,0,10)
>;
}; \ No newline at end of file
diff --git a/app/tests/tap-dance/2c-hold3/native_posix_64.keymap b/app/tests/tap-dance/2c-hold3/native_posix_64.keymap
index 8375c6f639..942ecfc037 100644
--- a/app/tests/tap-dance/2c-hold3/native_posix_64.keymap
+++ b/app/tests/tap-dance/2c-hold3/native_posix_64.keymap
@@ -6,10 +6,10 @@
&kscan {
events = <
ZMK_MOCK_PRESS(0,0,10)
- ZMK_MOCK_RELEASE(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)
+ ZMK_MOCK_RELEASE(0,0,10)
>;
}; \ No newline at end of file
diff --git a/app/tests/wpm/1-single_keypress/native_posix_64.keymap b/app/tests/wpm/1-single_keypress/native_posix_64.keymap
index ec12a286ca..2aa52c168d 100644
--- a/app/tests/wpm/1-single_keypress/native_posix_64.keymap
+++ b/app/tests/wpm/1-single_keypress/native_posix_64.keymap
@@ -2,9 +2,9 @@
&kscan {
events = <
- ZMK_MOCK_PRESS(0,0,10)
+ ZMK_MOCK_PRESS(0,0,10)
ZMK_MOCK_RELEASE(0,0,10)
/* Wait for the worker to trigger and reset after 5 seconds, followed by a 0 at 6 seconds */
- ZMK_MOCK_PRESS(0,0,6000)
+ ZMK_MOCK_PRESS(0,0,6000)
>;
}; \ No newline at end of file
diff --git a/app/tests/wpm/2-multiple_keypress/native_posix_64.keymap b/app/tests/wpm/2-multiple_keypress/native_posix_64.keymap
index f4ba2dfe1e..3cfab946ec 100644
--- a/app/tests/wpm/2-multiple_keypress/native_posix_64.keymap
+++ b/app/tests/wpm/2-multiple_keypress/native_posix_64.keymap
@@ -2,14 +2,14 @@
&kscan {
events = <
- ZMK_MOCK_PRESS(0,0,10)
+ ZMK_MOCK_PRESS(0,0,10)
ZMK_MOCK_RELEASE(0,0,10)
//1st WPM worker call - 12wpm - 1 key press in 1 second
- ZMK_MOCK_PRESS(0,0,1000)
+ ZMK_MOCK_PRESS(0,0,1000)
ZMK_MOCK_RELEASE(0,0,10)
// 2nd WPM worker call - 12wpm - 2 key press in 2 second
// note there is no event for this as WPM hasn't changed
// 3rd WPM worker call - 8wpm - 2 key press in 3 seconds
- ZMK_MOCK_PRESS(0,0,2000)
+ ZMK_MOCK_PRESS(0,0,2000)
>;
}; \ No newline at end of file
diff --git a/docs/package-lock.json b/docs/package-lock.json
index fbc859e502..c7333cb36a 100644
--- a/docs/package-lock.json
+++ b/docs/package-lock.json
@@ -39,7 +39,7 @@
"mustache": "^4.2.0",
"null-loader": "^4.0.0",
"prebuild-webpack-plugin": "^1.1.1",
- "prettier": "2.3.1",
+ "prettier": "^2.7.1",
"string-replace-loader": "^3.1.0",
"typescript": "^4.6.3",
"webpack": "^5.72.1"
@@ -12201,15 +12201,18 @@
}
},
"node_modules/prettier": {
- "version": "2.3.1",
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.3.1.tgz",
- "integrity": "sha512-p+vNbgpLjif/+D+DwAZAbndtRrR0md0MwfmOVN9N+2RgyACMT+7tfaRnT+WDPkqnuVwleyuBIG2XBxKDme3hPA==",
+ "version": "2.7.1",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz",
+ "integrity": "sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==",
"dev": true,
"bin": {
"prettier": "bin-prettier.js"
},
"engines": {
"node": ">=10.13.0"
+ },
+ "funding": {
+ "url": "https://github.com/prettier/prettier?sponsor=1"
}
},
"node_modules/pretty-error": {
@@ -24675,9 +24678,9 @@
"integrity": "sha512-ravE6m9Atw9Z/jjttRUZ+clIXogdghyZAuWJ3qEzjT+jI/dL1ifAqhZeC5VHzQp1MSt1+jxKkFNemj/iO7tVUA=="
},
"prettier": {
- "version": "2.3.1",
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.3.1.tgz",
- "integrity": "sha512-p+vNbgpLjif/+D+DwAZAbndtRrR0md0MwfmOVN9N+2RgyACMT+7tfaRnT+WDPkqnuVwleyuBIG2XBxKDme3hPA==",
+ "version": "2.7.1",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz",
+ "integrity": "sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==",
"dev": true
},
"pretty-error": {
diff --git a/docs/package.json b/docs/package.json
index 7c933b032a..95d47b9f0b 100644
--- a/docs/package.json
+++ b/docs/package.json
@@ -58,7 +58,7 @@
"mustache": "^4.2.0",
"null-loader": "^4.0.0",
"prebuild-webpack-plugin": "^1.1.1",
- "prettier": "2.3.1",
+ "prettier": "^2.7.1",
"string-replace-loader": "^3.1.0",
"typescript": "^4.6.3",
"webpack": "^5.72.1"
diff --git a/docs/src/templates/setup.ps1.mustache b/docs/src/templates/setup.ps1.mustache
index f90c74889e..90f9cdcfae 100644
--- a/docs/src/templates/setup.ps1.mustache
+++ b/docs/src/templates/setup.ps1.mustache
@@ -74,7 +74,7 @@ if (Test-CommandExists Get-Acl) {
$permission = (Get-Acl $pwd).Access |
?{$_.IdentityReference -match $env:UserName `
-and $_.FileSystemRights -match "FullControl" `
- -or $_.FileSystemRights -match "Write" } |
+ -or $_.FileSystemRights -match "Write" } |
Select IdentityReference,FileSystemRights
If (-Not $permission){
@@ -141,7 +141,7 @@ if ($keyboard_type -eq "shield") {
Write-Host "Wired split is not yet supported by ZMK."
exit 1
}
-
+
$shields = $keyboard_siblings
$board = $($($boards.keys)[$choice])
$boards = ( $board )
diff --git a/docs/src/templates/setup.sh.mustache b/docs/src/templates/setup.sh.mustache
index 4c3868ec45..c711dbc5b1 100644
--- a/docs/src/templates/setup.sh.mustache
+++ b/docs/src/templates/setup.sh.mustache
@@ -97,7 +97,7 @@ select opt in "${options[@]}" "Quit"; do
keyboard_arch=${keyboards_arch[$keyboard_index]}
keyboard_basedir=${keyboards_basedir[$keyboard_index]}
keyboard_title=${options[$keyboard_index]}
- keyboard_sibling_var=${keyboard}_siblings[@]
+ keyboard_sibling_var=${keyboard}_siblings[@]
keyboard_sibling_first=${keyboard}_siblings[0]
if [ -n "${!keyboard_sibling_first}" ]; then
keyboard_siblings=${!keyboard_sibling_var}
diff --git a/schema/hardware-metadata.schema.json b/schema/hardware-metadata.schema.json
index 8ca382c552..4c2bdf3b73 100644
--- a/schema/hardware-metadata.schema.json
+++ b/schema/hardware-metadata.schema.json
@@ -31,10 +31,7 @@
},
{
"type": "object",
- "required": [
- "id",
- "features"
- ],
+ "required": ["id", "features"],
"properties": {
"id": {
"$ref": "#/$defs/id"
@@ -89,9 +86,7 @@
"title": "InterconnectNodeLabels",
"type": "object",
"additionalProperties": false,
- "required": [
- "gpio"
- ],
+ "required": ["gpio"],
"properties": {
"gpio": { "type": "string" },
"i2c": { "type": "string" },
@@ -104,14 +99,7 @@
"title": "Interconnect",
"type": "object",
"additionalProperties": false,
- "required": [
- "file_format",
- "id",
- "name",
- "description",
- "url",
- "type"
- ],
+ "required": ["file_format", "id", "name", "description", "url", "type"],
"properties": {
"file_format": {
"type": "string",
@@ -200,10 +188,7 @@
"type": "array",
"items": {
"type": "string",
- "enum": [
- "usb",
- "ble"
- ]
+ "enum": ["usb", "ble"]
}
},
"features": {
@@ -224,14 +209,7 @@
"title": "Shield",
"type": "object",
"additionalProperties": false,
- "required": [
- "file_format",
- "id",
- "name",
- "url",
- "type",
- "requires"
- ],
+ "required": ["file_format", "id", "name", "url", "type", "requires"],
"properties": {
"file_format": {
"type": "string",