-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
You might be able to repurpose the button design I came up with for that project -- it's a one-piece 3d printed carrier that holds a standard Omron microswitch (the same kind used in a lot of high-end mice) and fits into the same sort of 14mm square hole that would fit a Cherry MX keyswitch. There are some good pictures in the assembly guide. Basically you'd just need to have some square holes in your trackball body where you want rhe buttons with channels underneath to run the wires.
It's worth asking /u/jfedor if he has used the nice!nano in his builds. I know his dual-trackball build uses a Raspberry Pi Pico.
Edit Actually /u/jfedor has a build where the entire trackball is in the ball and that uses an Adafruit Feather bluetooth controller.
Personally I'd use one of Adafruit's nRF52 Feather boards with an optical sensor breakout like this (this one happens to be mine, but you can find others).