After editing the properties for 16 encoders, it would be really nice to be able to select multiple encoders and change a setting on all of the selected encoders. E.g.: select all and change the switch type. Or select 4 and change a color. etc.
I would say of all the feature requests, at least for me, this would be top of the list.
I discovered last night Iām going to have to go through all my encoders again just to change one value⦠And Iām loving the controller! But wouldnāt use the same adjectives to describe programming itā¦
@francoytx haha, I actually did a bit of that yesterday. But the JSON file is so big I was having trouble groking it⦠(thatās why I was asking if the structure was documented anywhere )
Basically from what I can gather, each button has basically the same structure? And then depending on what values are set the firmware knows āthis is a knobā, āthis is a buttonā? And each switch can have multiple āsectionsā, e.g.: (From memory) the encoder and pads had a switch stanza, and the encoder and knobs had a⦠āknobā (it wasnāt called that) stanza.
So for the āvelocity to colorā option it was something like flipping the 0 to 1 in allow_velocity_to_color: 0,⦠(I know thatās not exactly the attribute, for the sake of discussion) but if I just did a global perl -pei 's/allow_velocity_to_color: 0/allow_velocity_to_color: 1/g QBRDS1.ytx` that would do it for every button⦠so wouldnāt that change the setting on the encoders as well?
Anyway, you guys rock and have been super responsive (I didnāt expect replies over the weekend!) so no big deal, weāll work out the kinks!
@scanner_darkly suggested using Prettify JSON, which I think lets you edit, I didnāt know that one but Iāve been using this site to view the JSON structure and find the fields that I need to edit, then I find and replace only for the components I want.
My buddy helped me come up with a bit of JavaScript to edit the JSON. It uses traverse which walks the tree recursively. We got lucky because only the encoders have a switch_config. It SEEMS like it did what I wantedā¦
Can be displayed a symbol ā*ā in the fields where at least one card has a different value would make it possible to visualize more simply the general configuration without having to click on each card to verify that all the fields are correct.