Twist scroll requires two sensors and is patented by Kensington.
https://patents.google.com/patent/US20050184962A1/en
> [..] and a plurality of Sensors located in the capacity Surrounding the track ball for detecting pressure directions.
...
> Status Expired
Especially given the limited use kensington uses rotation for (at least to my knowledge)
Therefore the cheapest way to do ball twist is to just put two sensors and use the error as the twist amount. You could use a singular high resolution highspeed camera pointed at the ball instead, but that won't be the cheapest way to do it.