From e27fb906d4cd82c51e3918530807a9328876b24c Mon Sep 17 00:00:00 2001 From: Peter Johanson Date: Tue, 10 Dec 2024 00:01:40 -0700 Subject: [PATCH] fix(pointing): Complete header rename missed in refactor * Update a few mouse.h -> pointing.h missed refactors. --- app/tests/pointing/mkp/native_posix.keymap | 2 +- app/tests/pointing/mkp/native_posix_64.keymap | 2 +- .../mouse-move/move_diagonal/native_posix_64.keymap | 2 +- app/tests/pointing/mouse-move/move_x/native_posix_64.keymap | 2 +- app/tests/pointing/mouse-move/move_y/native_posix_64.keymap | 2 +- .../processors/move_diagonal_scaling/native_posix_64.keymap | 2 +- .../move_diagonal_xy_invert/native_posix_64.keymap | 2 +- .../processors/move_diagonal_xy_swap/native_posix_64.keymap | 2 +- .../1-deactivate-layer-timeout/native_posix_64.keymap | 2 +- .../native_posix_64.keymap | 2 +- .../native_posix_64.keymap | 2 +- .../3-require-prior-idle-ms/native_posix_64.keymap | 2 +- docs/docs/keymaps/behaviors/mouse-emulation.md | 6 +++--- 13 files changed, 15 insertions(+), 15 deletions(-) diff --git a/app/tests/pointing/mkp/native_posix.keymap b/app/tests/pointing/mkp/native_posix.keymap index 8e3071d4317..cec0b6e1b1b 100644 --- a/app/tests/pointing/mkp/native_posix.keymap +++ b/app/tests/pointing/mkp/native_posix.keymap @@ -1,7 +1,7 @@ #include #include #include -#include +#include / { keymap { diff --git a/app/tests/pointing/mkp/native_posix_64.keymap b/app/tests/pointing/mkp/native_posix_64.keymap index 8e3071d4317..cec0b6e1b1b 100644 --- a/app/tests/pointing/mkp/native_posix_64.keymap +++ b/app/tests/pointing/mkp/native_posix_64.keymap @@ -1,7 +1,7 @@ #include #include #include -#include +#include / { keymap { diff --git a/app/tests/pointing/mouse-move/move_diagonal/native_posix_64.keymap b/app/tests/pointing/mouse-move/move_diagonal/native_posix_64.keymap index 7e4d7af2a1d..8fa0781dc9c 100644 --- a/app/tests/pointing/mouse-move/move_diagonal/native_posix_64.keymap +++ b/app/tests/pointing/mouse-move/move_diagonal/native_posix_64.keymap @@ -2,7 +2,7 @@ #include #include #include -#include +#include / { keymap { diff --git a/app/tests/pointing/mouse-move/move_x/native_posix_64.keymap b/app/tests/pointing/mouse-move/move_x/native_posix_64.keymap index 89d50e2b839..ac367238633 100644 --- a/app/tests/pointing/mouse-move/move_x/native_posix_64.keymap +++ b/app/tests/pointing/mouse-move/move_x/native_posix_64.keymap @@ -2,7 +2,7 @@ #include #include #include -#include +#include / { keymap { diff --git a/app/tests/pointing/mouse-move/move_y/native_posix_64.keymap b/app/tests/pointing/mouse-move/move_y/native_posix_64.keymap index 5b02246b05f..12d5725c364 100644 --- a/app/tests/pointing/mouse-move/move_y/native_posix_64.keymap +++ b/app/tests/pointing/mouse-move/move_y/native_posix_64.keymap @@ -2,7 +2,7 @@ #include #include #include -#include +#include / { keymap { diff --git a/app/tests/pointing/mouse-move/processors/move_diagonal_scaling/native_posix_64.keymap b/app/tests/pointing/mouse-move/processors/move_diagonal_scaling/native_posix_64.keymap index 0ec7163f746..7e4b71ae7c2 100644 --- a/app/tests/pointing/mouse-move/processors/move_diagonal_scaling/native_posix_64.keymap +++ b/app/tests/pointing/mouse-move/processors/move_diagonal_scaling/native_posix_64.keymap @@ -6,7 +6,7 @@ #include #include #include -#include +#include &mmv_input_listener { input-processors = <&zip_xy_scaler 5 3>; diff --git a/app/tests/pointing/mouse-move/processors/move_diagonal_xy_invert/native_posix_64.keymap b/app/tests/pointing/mouse-move/processors/move_diagonal_xy_invert/native_posix_64.keymap index 51c8e505e26..bc74135c356 100644 --- a/app/tests/pointing/mouse-move/processors/move_diagonal_xy_invert/native_posix_64.keymap +++ b/app/tests/pointing/mouse-move/processors/move_diagonal_xy_invert/native_posix_64.keymap @@ -2,7 +2,7 @@ #include #include #include -#include +#include #include &mmv_input_listener { diff --git a/app/tests/pointing/mouse-move/processors/move_diagonal_xy_swap/native_posix_64.keymap b/app/tests/pointing/mouse-move/processors/move_diagonal_xy_swap/native_posix_64.keymap index be3e9f73d6e..e1d2d6005e9 100644 --- a/app/tests/pointing/mouse-move/processors/move_diagonal_xy_swap/native_posix_64.keymap +++ b/app/tests/pointing/mouse-move/processors/move_diagonal_xy_swap/native_posix_64.keymap @@ -2,7 +2,7 @@ #include #include #include -#include +#include &mmv_input_listener { input-processors = <&zip_xy_swap_mapper>; diff --git a/app/tests/pointing/mouse-move/processors/temp_layer/1-deactivate-layer-timeout/native_posix_64.keymap b/app/tests/pointing/mouse-move/processors/temp_layer/1-deactivate-layer-timeout/native_posix_64.keymap index 166427675a5..2088e5cea27 100644 --- a/app/tests/pointing/mouse-move/processors/temp_layer/1-deactivate-layer-timeout/native_posix_64.keymap +++ b/app/tests/pointing/mouse-move/processors/temp_layer/1-deactivate-layer-timeout/native_posix_64.keymap @@ -6,7 +6,7 @@ #include #include #include -#include +#include &mmv_input_listener { input-processors = <&zip_temp_layer 1 500>; diff --git a/app/tests/pointing/mouse-move/processors/temp_layer/2a-deactivate-layer-position-trigger/native_posix_64.keymap b/app/tests/pointing/mouse-move/processors/temp_layer/2a-deactivate-layer-position-trigger/native_posix_64.keymap index 5f3c0dbfa1a..814d889cca8 100644 --- a/app/tests/pointing/mouse-move/processors/temp_layer/2a-deactivate-layer-position-trigger/native_posix_64.keymap +++ b/app/tests/pointing/mouse-move/processors/temp_layer/2a-deactivate-layer-position-trigger/native_posix_64.keymap @@ -6,7 +6,7 @@ #include #include #include -#include +#include &mmv_input_listener { input-processors = <&auto_mouse_layer 1 0>; diff --git a/app/tests/pointing/mouse-move/processors/temp_layer/2b-deactivate-layer-position-not-trigger/native_posix_64.keymap b/app/tests/pointing/mouse-move/processors/temp_layer/2b-deactivate-layer-position-not-trigger/native_posix_64.keymap index 675a8bce268..73ff0463d0e 100644 --- a/app/tests/pointing/mouse-move/processors/temp_layer/2b-deactivate-layer-position-not-trigger/native_posix_64.keymap +++ b/app/tests/pointing/mouse-move/processors/temp_layer/2b-deactivate-layer-position-not-trigger/native_posix_64.keymap @@ -6,7 +6,7 @@ #include #include #include -#include +#include &mmv_input_listener { input-processors = <&auto_mouse_layer 1 0>; diff --git a/app/tests/pointing/mouse-move/processors/temp_layer/3-require-prior-idle-ms/native_posix_64.keymap b/app/tests/pointing/mouse-move/processors/temp_layer/3-require-prior-idle-ms/native_posix_64.keymap index e641588acd3..ec78569ce6a 100644 --- a/app/tests/pointing/mouse-move/processors/temp_layer/3-require-prior-idle-ms/native_posix_64.keymap +++ b/app/tests/pointing/mouse-move/processors/temp_layer/3-require-prior-idle-ms/native_posix_64.keymap @@ -6,7 +6,7 @@ #include #include #include -#include +#include &mmv_input_listener { input-processors = <&auto_mouse_layer 1 500>; diff --git a/docs/docs/keymaps/behaviors/mouse-emulation.md b/docs/docs/keymaps/behaviors/mouse-emulation.md index a91c24b3788..6726bad28b6 100644 --- a/docs/docs/keymaps/behaviors/mouse-emulation.md +++ b/docs/docs/keymaps/behaviors/mouse-emulation.md @@ -25,11 +25,11 @@ CONFIG_ZMK_POINTING=y ## Mouse Emulation Defines To make it easier to encode the HID mouse button and move/scroll speed numeric values, include -the [`dt-bindings/zmk/mouse.h`](https://github.com/zmkfirmware/zmk/blob/main/app/include/dt-bindings/zmk/mouse.h) header +the [`dt-bindings/zmk/pointing.h`](https://github.com/zmkfirmware/zmk/blob/main/app/include/dt-bindings/zmk/pointing.h) header provided by ZMK near the top: ``` -#include +#include ``` Should you wish to override the default movement or scrolling max velocities, you can define the defaults before including the header, e.g.: @@ -38,7 +38,7 @@ Should you wish to override the default movement or scrolling max velocities, yo #define ZMK_POINTING_DEFAULT_MOVE_VAL 1500 // default: 600 #define ZMK_POINTING_DEFAULT_SCRL_VAL 20 // default: 10 -#include +#include ``` ## Mouse Button Press