29 lines
No EOL
681 B
YAML
29 lines
No EOL
681 B
YAML
description: |
|
|
Sensor driver for analog joysticks
|
|
|
|
compatible: "joystick"
|
|
|
|
properties:
|
|
label:
|
|
type: string
|
|
required: true
|
|
io-channels:
|
|
type: phandle-array
|
|
required: true
|
|
description: Analog pins for decoder
|
|
resolution:
|
|
type: int
|
|
required: false
|
|
description: Affects how much movement is required for inc_dec keypresses
|
|
frequency:
|
|
type: int
|
|
required: false
|
|
description: How often to poll per second
|
|
min_on:
|
|
type: int
|
|
required: false
|
|
description: If the sensor is above this, then it is treated as on
|
|
reverse:
|
|
type: boolean
|
|
required: false
|
|
description: If true, then negative values are down/right |