Skip to content

trackpad-fw: Make trackpad more responsive

First commit has no functional changes, and only changes the way trackpad data is processed to use structs instead of magic number bit shifts in the gesture processing logic. Improvements after that include:

  • We now use deltas provided by the sensor when 1 finger is detected
  • Removed delta averaging to improve responsiveness
  • We no longer skip initial 4 readings from the sensor, and instead only skip one to establish the first delta reading. This removes the very subtle dead zone when starting a new gesture/motion.
  • Disable LP1 power saving mode, so we don't get a slight delay in sensing on the first touch event after an idle period
  • Added a command to kick the trackpad into bootloader mode, and modified flash.sh to send this command, so we no longer need to use the programming switch and reset button.

Merge request reports