Skip to content

Commit

Permalink
fixup! docs: Add initial pointer docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
petejohanson committed Dec 9, 2024
1 parent 54fa8f5 commit 617e6a8
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions docs/docs/keymaps/behaviors/mouse-emulation.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,15 +182,26 @@ If you want to apply any [input processors](../input-processors/index.md#input-p

## Advanced Configuration

Both `&mmv` and `&msc` are instances of the same `"zmk,behavior-input-two-axis"` behavior. As such, the following settings can be applied to either behavior, e.g.:
Both `&mmv` and `&msc` are instances of the `"zmk,behavior-input-two-axis"` behavior and can be modified using the [two axis input behavior](../../config/behaviors.md#two-axis-input) configuration properties. The default settings are ase follows:

### Mouse Move

```dts
&mmv {
trigger-period-ms = <12>;
delay-ms = <15>;
time-to-max-speed-ms = <600>;
x-input-code = <INPUT_REL_X>;
y-input-code = <INPUT_REL_Y>;
time-to-max-speed-ms = <300>;
acceleration-exponent = <1>;
};
```

See the [two axis input behavior](../../config/behaviors.md#two-axis-input) configuration page for details.
### Mouse Scroll

```dts
&msc {
x-input-code = <INPUT_REL_HWHEEL>;
y-input-code = <INPUT_REL_WHEEL>;
time-to-max-speed-ms = <300>;
acceleration-exponent = <1>;
};
```

0 comments on commit 617e6a8

Please sign in to comment.