Skip to content

Commit 68692d5

Browse files
Docs review
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com>
1 parent 77850b0 commit 68692d5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/docs/config/pointing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Additional properties can be set on child nodes, which allows changing the setti
4949
| ------------------ | ------------- | ------------------------------------------------------------------------------------------------ |
5050
| `layers` | array | List of layer indexes. This config will apply if any layer in the list is active. |
5151
| `input-processors` | phandle-array | List of input processors (with parameters) to apply to input events |
52-
| `process-next` | bool | Whether to first apply the base input processors before the processors specific to this override |
52+
| `process-next` | bool | Whether to continue applying other input processors after this override if it takes effect |
5353

5454
## Input Split
5555

docs/docs/keymaps/input-processors/usage.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ Additional overrides can be added that only apply when the associated layer is a
3636

3737
:::note
3838

39-
Overrides are processed in the order they are declared, from top to bottom, _not_ in any way tied to the layers specified in the `layers` property.
39+
Overrides are processed in the order they are declared, from top to bottom, followed by the base processors in the parent node. Their application order is _not_ in any way tied to the layers specified in the `layers` property.
4040

4141
:::
4242

43-
If you want to have later overrides, or your base processors applied _after_ your overrides, add the `inherit` property to your child node, e.g.:
43+
By default, the first-defined override node that matches the layer specification will apply, in which case and any other overrides or the base processors will be skipped. If you add the `process-next;` property to a child node, the other processors will continue to be checked and applied even if that node's layer filter matches.
4444

4545
```dts
4646
#include <input/processors.dtsi>
@@ -50,8 +50,8 @@ If you want to have later overrides, or your base processors applied _after_ you
5050
5151
scroller {
5252
layers = <1>;
53-
input-processors = <&zip_xy_to_scoll_mapper>;
54-
inherit;
53+
input-processors = <&zip_xy_to_scroll_mapper>;
54+
process-next;
5555
};
5656
}
5757
```

0 commit comments

Comments
 (0)