I recently purchased a simple USB volume control dial, https://www.amazon.co.uk/Control-COOIDEA-Function-Computer-Adjuster/dp/B07Z3DH5PV/ref=sr_1_5?keywords=usb+dial+knob&qid=1638783753&sr=8-5, and was looking to capture the input data and use it as a variable in JS. I have a little simulation I've built that allows users to turn a dial on the screen which performs various actions. It would be cool to use the hardware for the dial and see the results on the screen.
Any ideas?