Filter out taps #2
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When tapping the device to click, the sharp acceleration spike probably feeds into the gravity-based axis decomposition and moves the cursor before the tap is recognized. The cursor shoots in the tap direction which throws the cursor off.
There's some HW based detection already going on in the built-in IMU, but I'm not using it fully, it works using interrupts. It might be useful to introduce a threshold since the tap should have much faster acceleration anyways; Compared to normal mouse movement, it appears to be at the very least 20x the normal rate, maybe we could do jerk detection - https://en.wikipedia.org/wiki/Jerk_(physics)
https://www.st.com/en/mems-and-sensors/lsm6ds3tr-c.html