-
-
Notifications
You must be signed in to change notification settings - Fork 356
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
feat: use any source for expo/weight/offset etc #5220
Conversation
I guess on BW UI, we can keep the long enter used previously to switch between value and gvar, to now switch between value and source |
I'm not sure how best to do this. |
There is a discrepancy with 128x64 B&W radios. |
Yes it is. You need to have the edit field active in order for the long press to toggle between value and GV works.
How about same way the Adjust GV source menu works... add it as another option to the popup menu? |
Ok, so different to 212x64 B&W then. Long press always works. |
How about using long press to bring the choice list and add "Values" as a first entry |
Yeah, that's what pfeerick suggested too. Now I just have to figure out how to do it in the B&W UI. |
Your are obviously much better at English than me, but as a non native speaker, I associate "constant" more to things like MAX,MIN then a value you can change, but that's a detail really |
I agree that "Constant" is not ideal, but consistency is important, so is the best fit. It could make even more sense here if a long press brings up a popup with constant, mixer source, gvar as options... although not sure that is needed - on second thoughts, it probably is... going from two choices (fixed value, GV) to three (fixed value, mixer source, GV) so no longer a simple long press to toggle. |
53c62e9
to
4d3c59e
Compare
Starts to look really great, that's going to be a great addition for users. I guess that will require drawSource to support RIGHT alignement on 128 😨 |
4d3c59e
to
8bd8281
Compare
I'm assuming you used the popup on an Input weight/offset/curve and selected Inputs 😄 |
8bd8281
to
2ade67b
Compare
I've changed the drawSource calls to be left justified (too complex to try and add right justification). |
Yeah, first column invert for input and mix is a very nice change @philmoz |
The feature is really nice, I have setup a input with S1 as a source, with weight 25 and offset 55, which give me an output from 30 to 80. I then assign the input as weight for Throttle, and I can adjust how much throttle I have directly from S1, not need for any special function or gvar use ! |
@elecpower Your expertise with Companion would be appreciated here. |
@philmoz ok |
I'm thinking to extend the RawSource class to allow a 'numeric value' type; but not sure how complex this would be or if there is a better way. |
That was my 1st thought then quickly dismissed it as the global lookup list would need to include every possible numeric value and every one would have to be listed so totally unworkable. My initial idea is to create a new shared group widget based on the existing one that handles the value, checkbox and combo. In source mode populate combo from global rawsource with context filter. This will break binary import but it can be cajoled to map to a rawsource. So looking forward to dropping this legacy beast. Give me a few days to get some time to work up a poc. |
887ff91
to
7833128
Compare
This reverts commit 53e133f.
95e436e
to
ba9bae1
Compare
I've added right justification to drawSource and changed the input and mix list back to being right aligned. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Damn... that was fast! Thanks Phil & Neil! A quick retest of TX16S, X9D+, Boxer and Cpn... nothing is jumping out at me other than some trivial cosmetics in Cpn around the inputs/mixes dialogs resizing/contents moving slightly, but can be a later cleanup once things settle down again in the UI there.
Fixes #4452
Time to continue with this change, now that source invert has been implemented.
Allows any source to be used in inputs and mixes for fields like weight, offset, expo, etc (not just GVars).
TODO
Radio:
Companion: