I built one of these! And it even works! Yay!
The encoders that I am using have a click button in them, and it would be a shame to waste that functionality, so I'd like to add some button functions. After combing through the library documentation, I see that it will support a bunch of OSC commands, so that's cool, but I can't quite decipher where to insert some extra lines to add functions in the code.
At the beginning there are some #define entries where I would add the buttons, and these (I think) can be called whatever I want them to be.
Later, I see where the pins are defined and the mode set.
What I can't figure out is where the actual instructions are sent. I think the arduino is packaging OSC commands into a serial transmission?
There is a section.
This includes the "keynames" that are used when building the osc message that is transmitted over usbserial to the computer.
Hope this helps!
That was a big help, thanks!
Wondering what else might work well? I added a "Highlight" button. Anyone else add anything cool?
You can use the encoder buttons also for home. Have a look to https://github.com/sstaub/eOS
Good suggestion! Got it up and running
I'm sure plenty of people already know, but I'm happy to share my code modifications if anyone wants them.