mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-27 11:31:13 +00:00
update psudocode
This commit is contained in:
parent
20e7dae92a
commit
13ebfbcea4
@ -14,6 +14,19 @@ matrix scanning:
|
|||||||
|
|
||||||
get value out, update sensor boundaries only if sma initialized
|
get value out, update sensor boundaries only if sma initialized
|
||||||
|
|
||||||
|
on minipad, TRAVEL_DISTANCE_IN_0_01MM is set to 400, which is the range of motion switches have.
|
||||||
|
i.e. at rest - bottomed out = 4mm
|
||||||
|
|
||||||
|
sensor calibration logic:
|
||||||
|
on rephlex, the sensors are updated only when they are at their highest, at the start and in a maintaince task that runs periodically:
|
||||||
|
|
||||||
|
|
||||||
|
on minipad, the sensors are updated dynamically when they are actuated on an ougoing basis:
|
||||||
|
There is an up deadzone and a down deadzone
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
calebrate key if this is first pass
|
calebrate key if this is first pass
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user