Update docs.

This commit is contained in:
Anna Rose Wiggins 2025-07-26 12:01:36 -04:00
parent ab8698ea9a
commit c40bf05461
2 changed files with 14 additions and 0 deletions

View file

@ -54,6 +54,19 @@ rules:
device: main device: main
axis: ABS_Y axis: ABS_Y
# Create a single merged output axis from 2 input axes
- type: axis-combined
input_lower:
device: flightstick
axis: X
inverted: true # the lower half of the axis will often need to be inverted
input_uppper:
device: flightstick
axis: RX
output:
device: main
axis: RZ
# Straightforward button mapping # Straightforward button mapping
- type: button - type: button
input: input:

View file

@ -32,6 +32,7 @@ All `rules` must have a `type` parameter. Valid values for this parameter are:
* `button-combo` - multiple input buttons mapped to a single output. The output event will trigger when all the input conditions are met. * `button-combo` - multiple input buttons mapped to a single output. The output event will trigger when all the input conditions are met.
* `button-latched` - a single button mapped to a single output, but each time the input is pressed, the output will toggle. * `button-latched` - a single button mapped to a single output, but each time the input is pressed, the output will toggle.
* `axis` - a simple axis mapping * `axis` - a simple axis mapping
* `axis-combined` - a mapping that combines 2 input axes into a single output axis.
* `axis-to-button` - causes an axis input to produce a button output. This can be repeated with variable speed proportional to the axis' input value * `axis-to-button` - causes an axis input to produce a button output. This can be repeated with variable speed proportional to the axis' input value
* `axis-to-relaxis` - like axis-to-button, but produces a "relative axis" output value. This is useful for simulating mouse scrollwheel and movement events. * `axis-to-relaxis` - like axis-to-button, but produces a "relative axis" output value. This is useful for simulating mouse scrollwheel and movement events.