allow addressing of multiple independent footswitch devices#68
allow addressing of multiple independent footswitch devices#68taladar wants to merge 1 commit intorgerganov:masterfrom
Conversation
|
Thank you! At least for me this does not seem to work fully though: I have four The fourth device fails though: They are all connected and they all send a key when I press them (the fourth device sends a "3" currently because I programmed it independently.
|
|
@kannes As you can see in my comment the addressing starts at 0 so your four devices are 0 to 3, not 1 to 4. |
|
Oh wow, how did I not read that :D Thank you, it works flawlessly now: Hitting all the devices gives me Yay! |
|
@rgerganov @taladar I've rebase the branch on actual master to support latest devices and I've also removed the OSX marker to support multiple devices on OSX on this branch: https://github.com/MRigal/footswitch/tree/multiple_devices Note that the actual code is a bit buggy, one should initialize the addressing in crescent |
|
@MRigal Since i haven't used this in a while feel free to create an updated pull request and adjust the code as required to fix the issues you mentioned. Next time I use it I will just adjust my usage to whatever you come up with. |
Adds a new parameter -d with an integer argument, 0 for first device, 1 for second device,...