Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make "Inverse target value (on only)" group interaction work with "Fire after timeout" #811

Open
helgoboss opened this issue Feb 1, 2023 · 2 comments
Labels
enhancement New feature or request next

Comments

@helgoboss
Copy link
Owner

https://forum.cockos.com/showpost.php?p=2640825&postcount=3202

@Trekopep
Copy link

Trekopep commented Mar 9, 2023

"Inverse target value (off only)" is nice to have! But it doesn't appear to fix the issue, unless I'm missing something. After timeout, if this Toggle button is being set to a value of 100%, I want to set the value of all other mappings in this group to 0% (so, using "on only", not "off only"), but that doesn't happen. Instead, it seems to act the same as if Group interaction were set to None.

"Inverse target value (off only)" appears to have the same issue.

"Inverse target value" seems to be working as expected.

Here's a simple example JSON with two mappings (sources can be any two buttons):
{ "kind": "MainCompartment", "version": "2.15.0-pre.1", "value": { "defaultGroup": {}, "mappings": [ { "id": "C1sHD7sB94hZsMb41Ko6_", "name": "3", "source": { "type": 1, "channel": 0, "number": 11, "isRegistered": false, "is14Bit": false, "oscArgIndex": 0, "controlElementType": "button", "controlElementIndex": "col1/row8/pad" }, "mode": { "type": 2, "maxStepSize": 0.05, "minStepFactor": 1, "maxStepFactor": 1, "minPressMillis": 10, "maxPressMillis": 10, "fireMode": "timeout", "groupInteraction": "inverse-target-value-on-only" }, "target": { "fxAnchor": "this", "useSelectionGanging": false, "useTrackGrouping": false, "paramType": "index-manual", "seekBehavior": "Immediate", "useProject": true, "moveView": true, "seekPlay": true, "oscArgIndex": 0, "mouseAction": { "kind": "MoveTo", "axis": "Y" }, "takeMappingSnapshot": { "kind": "LastLoaded" }, "includedTargets": [] }, "feedbackIsEnabled": false }, { "id": "R25EP-Qp46IksHRZvzx18", "name": "3", "source": { "type": 1, "channel": 0, "number": 12, "isRegistered": false, "is14Bit": false, "oscArgIndex": 0, "controlElementType": "button", "controlElementIndex": "col2/row8/pad" }, "mode": { "type": 2, "maxStepSize": 0.05, "minStepFactor": 1, "maxStepFactor": 1, "minPressMillis": 10, "maxPressMillis": 10, "fireMode": "timeout", "groupInteraction": "inverse-target-value-on-only" }, "target": { "fxAnchor": "this", "useSelectionGanging": false, "useTrackGrouping": false, "paramType": "index-manual", "paramIndex": 1, "seekBehavior": "Immediate", "useProject": true, "moveView": true, "seekPlay": true, "oscArgIndex": 0, "mouseAction": { "kind": "MoveTo", "axis": "Y" }, "takeMappingSnapshot": { "kind": "LastLoaded" }, "includedTargets": [] }, "feedbackIsEnabled": false } ], "parameters": { "0": { "name": "View FX" } } } }

@helgoboss
Copy link
Owner Author

Oops, then I guess I should have used another ticket to implement "Off only". I will open this ticket again.

@helgoboss helgoboss reopened this Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request next
Projects
None yet
Development

No branches or pull requests

2 participants