I'm open sourcing Pickaxes, a C library for calibrating and shaping analog sticks and triggers on 32-bit microcontrollers, designed for people building portables and custom controllers. github.com/loopj/pickaxes
Post
github.comGitHub - loopj/pickaxes: Input calibration and shaping for sticks and triggers on 32-bit microcontrollersInput calibration and shaping for sticks and triggers on 32-bit microcontrollers - loopj/pickaxes
Calibration and shaping get combined into a small precomputed transform at boot (or whenever they change). The poll loop just calls "apply", a handful of integer operations with no FPU required. Plain C99, no dependencies, no allocation.
0 reposts2 likes