I’ve used Arduino and a few potentiometers. The read out of the potentiometers often jumped up or down. You’d need some kind of smoothing…
Have you seen this topic:
Containers and Panels and Buttons - Oh My… Option - Stream Deck - Rhino - McNeel Forum
Made me remember some time ago 3Dconnexion had a beta version to manipulate the view with a mobile device