zmk/app/dts/bindings/zmk,input-configs.yaml
Peter Johanson b2f6163188 feat(mouse): Add input configs for data mods.
* Add ability to swap X/Y, invert X and Y values, and apply a
  scalar multiplier/divisor.
2024-08-03 21:10:32 +00:00

24 lines
466 B
YAML

description: |
Allows post-processing of input events based on the configuration
compatible: "zmk,input-configs"
child-binding:
description: "A configuration for a given input device"
properties:
device:
type: phandle
required: true
xy-swap:
type: boolean
x-invert:
type: boolean
y-invert:
type: boolean
scale-multiplier:
type: int
default: 1
scale-divisor:
type: int
default: 1