forked from kofal.net/zmk
refactor(sensors): ec11 rotation sensor value in degrees.
* Add new `steps` property to the `aips,ec11` binding, to make the driver properly report degrees in the rotation delta channel. * Handle old sensor values in sensor rotate behavior.
This commit is contained in:
committed by
Pete Johanson
parent
2244bd3d81
commit
295ed83409
@@ -18,4 +18,9 @@ properties:
|
||||
resolution:
|
||||
type: int
|
||||
description: Number of pulses per tick
|
||||
deprecated: true
|
||||
required: false
|
||||
steps:
|
||||
type: int
|
||||
description: Number of pulses in one full rotation
|
||||
required: false
|
||||
|
||||
Reference in New Issue
Block a user