Making this possible is the open-source firmware QMK, which is the same stuff powering Ploopy’s line of modular mice and trackballs. The firmware lets you easily reprogram gestures, tweak tracking speeds, and even add entirely new functionality through coding.
I feel like apple made it work