I did a variation of what Retro Ralph did. I used a PC though so I could play all trackball games. The routing of the control deck was scary but it worked.
I used this trackball:
https://www.amazon.com/dp/B0818DTW7X?ref=ppx_yo2ov_dt_b_product_details&th=1
Video: