flok
Well-known member
Hi,
I created a piece of plastic with a potentiometer and a Teensy 4.0 in it.
The idea was that with the knob I could adjust the soundvolume of my Linux-system.
I thought I could do so with keyboard-events. Had I researched better (but yeah) I would've known that it would only work with an encoder-type dial.
Or am I wrong? Teensy uC has quite a few USB-types it can pretend to be, would an other mode allow me to do this?
I can also of course write a program for the Teensy that sends the measured values as a byte-stream and then capture that at the Linux-side and adjust the soundvolume by that, but that is not be easy portable to other systems.
So: any ideas?
I created a piece of plastic with a potentiometer and a Teensy 4.0 in it.
The idea was that with the knob I could adjust the soundvolume of my Linux-system.
I thought I could do so with keyboard-events. Had I researched better (but yeah) I would've known that it would only work with an encoder-type dial.
Or am I wrong? Teensy uC has quite a few USB-types it can pretend to be, would an other mode allow me to do this?
I can also of course write a program for the Teensy that sends the measured values as a byte-stream and then capture that at the Linux-side and adjust the soundvolume by that, but that is not be easy portable to other systems.
So: any ideas?