here is the 3d mouse project, with the dimensions of the 3d Connexion space mouse, to be inserted instead of the original spacemouse in my "macro keyboard for Spacemouse" project: https://www.thingiverse.com/thing:4884877
(code and wiring coming soon)
between the joystick attachment part and the joystick itself you need a sponge disk (find the stl to see its dimensions)
this is the bill material list:
Joystick for Arduino:
https://www.amazon.it/gp/product/B06WRRKS9G/ref=as_li_tl?ie=UTF8&tag=tut0b-21&camp=3414&creative=21718&linkCode=as2&creativeASIN=B06WRRKS9G&linkfa954bea954ba09baba95
Encoder for Arduino:
https://www.amazon.it/gp/product/B06WRRKS9G/ref=as_li_tl?ie=UTF8&tag=tut0b-21&camp=3414&creative=21718&linkCode=as2&creativeASIN=B06WRRKS9G&linkfa954bea954ba09baba959b
As code I use https://github.com/soemarko/DIY-Space-Mouse