GUI
- FDR
- Offline
FDR wrote: So the ' doesn't work either...
On my computer the keyboard.exe shows \ and ' in the event_text, not in the event_key, which the code examines.
Made backslash and tick to exit.
Checked in...
Please Log in or Create an account to join the conversation.
- FDR
- Offline
If you configure the main page to show 8 bars, they are not loaded next time, probably because it saves it to the model.ini as "trim=full" instead of "barsize=full".
EDIT: src/config/model.c 696. row should be:
fprintf(fh, "%s=%s\n", GUI_BARSIZE, GUI_BARSIZE_VAL[m->pagecfg.barsize]);
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Thanks, I've fixed this and the keypad issueFDR wrote: Since I couldn't test shutdown and the automatic model saving until now, I start to see bugs there:
If you configure the main page to show 8 bars, they are not loaded next time, probably because it saves it to the model.ini as "trim=full" instead of "barsize=full".
EDIT: src/config/model.c 696. row should be:fprintf(fh, "%s=%s\n", GUI_BARSIZE, GUI_BARSIZE_VAL[m->pagecfg.barsize]);
Please Log in or Create an account to join the conversation.
- FDR
- Offline
- graphs on the mixer page were drawn only from the center to +100;+100, while the selected graph type was 1-to-1. I haven't investigated it further, if the other types are drawn well, but I will tonight...
- the virtual keyboard showed all letters with an additional ampersand when it was first displayed. When I changed to uppercase and then back, the secon time they were ok. The numbers behaved weird too, when they were showed first time.
- after calibration it is still hard to use the stylus for clicking small buttons.
- my trims are not in order, because it wasn't obvious for me, in what order the numbering of the trims are. How can I set the trims to zero, because I'm not sure if they are centered. The original fw displays the trim values near the bars. Can you do it too?
Please Log in or Create an account to join the conversation.
- wuselfuzz
- Offline
- Posts: 83
FDR wrote: Running the fw on the tx, there were some minor bugs too:
- graphs on the mixer page were drawn only from the center to +100;+100, while the selected graph type was 1-to-1. I haven't investigated it further, if the other types are drawn well, but I will tonight...
I noticed that, too.
- the virtual keyboard showed all letters with an additional ampersand when it was first displayed. When I changed to uppercase and then back, the secon time they were ok. The numbers behaved weird too, when they were showed first time.
I had the letters surrounded with other (alphanumeric) characters, confirm this one too.
- my trims are not in order, because it wasn't obvious for me, in what order the numbering of the trims are. How can I set the trims to zero, because I'm not sure if they are centered. The original fw displays the trim values near the bars. Can you do it too?
Maybe this is related. In mode 2, the throttle trim changed the trim value shown in the trim bar on the right side. Didn't investigate that further, though.
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
don't bother. I already know about it. I don't know the cause yet. it is quite weirdFDR wrote: - graphs on the mixer page were drawn only from the center to +100;+100, while the selected graph type was 1-to-1. I haven't investigated it further, if the other types are drawn well, but I will tonight...
This one is new to me.- the virtual keyboard showed all letters with an additional ampersand when it was first displayed. When I changed to uppercase and then back, the secon time they were ok. The numbers behaved weird too, when they were showed first time.
That is interesting. With a stylus mine is quite accurate. One thing I may do is to make the clickable region larger than the actual widget. I need o think about how to do that though. Another thing I was going to do is to provide a 'test' page so that you can see the coordinates when you click. It may give us a hint why you are having issues.- after calibration it is still hard to use the stylus for clicking small buttons.
1=left-vertical- my trims are not in order, because it wasn't obvious for me, in what order the numbering of the trims are.
2=right-vertical
3=left-horizontal
4=right-hrizontal
5=left-upper
6=right-upper
Of course we should just rename them
I don't like the way they do it to be honest. However, providing a detent and visual indication when the trims are zeroed would be a good idea.How can I set the trims to zero, because I'm not sure if they are centered. The original fw displays the trim values near the bars. Can you do it too?
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
fixedFDR wrote: - graphs on the mixer page were drawn only from the center to +100;+100, while the selected graph type was 1-to-1. I haven't investigated it further, if the other types are drawn well, but I will tonight...
I added a screen-test page. you can now see the detected coordinates. try it out and see how the values match the expectations.- after calibration it is still hard to use the stylus for clicking small buttons.
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
fixedFDR wrote: - the virtual keyboard showed all letters with an additional ampersand when it was first displayed. When I changed to uppercase and then back, the secon time they were ok. The numbers behaved weird too, when they were showed first time.
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Actually I think it was a wrong storage case, like it happened a few times editing the model data too.PhracturedBlue wrote:
I added a screen-test page. you can now see the detected coordinates. try it out and see how the values match the expectations.- after calibration it is still hard to use the stylus for clicking small buttons.
I repeated the calibration later, and it became better...
However it happend, that model data changes were lost, or went to a wrong channel. It seems, that the storage has glitches sometimes...
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Well, if you run into it again, save off the tx.ini and/or model*.ini files so we can take a look. that is one of the nice things about having a filesystem.FDR wrote: Actually I think it was a wrong storage case, like it happened a few times editing the model data too.
I repeated the calibration later, and it became better...
However it happend, that model data changes were lost, or went to a wrong channel. It seems, that the storage has glitches sometimes...
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Last time they only showed up when I pressed a button, but the normal (unpressed) state was ok.PhracturedBlue wrote:
fixedFDR wrote: - the virtual keyboard showed all letters with an additional ampersand when it was first displayed. When I changed to uppercase and then back, the secon time they were ok. The numbers behaved weird too, when they were showed first time.
I don't know if it is related, or that behavior is fixed too...
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Yeah, but you know these moments, when you change some settings to try something, but it doesn't work like you expected. Then you look at the setting again, and they are not there! You are not certain, if you made a mistake, or is it a bug. Especially that I cannot reproduce such a glitch.PhracturedBlue wrote: Well, if you run into it again, save off the tx.ini and/or model*.ini files so we can take a look. that is one of the nice things about having a filesystem.
But it happened too many times, I'm not that stupid I think...
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
One thing to be aware of:FDR wrote:
Yeah, but you know these moments, when you change some settings to try something, but it doesn't work like you expected. Then you look at the setting again, and they are not there! You are not certain, if you made a mistake, or is it a bug. Especially that I cannot reproduce such a glitch.PhracturedBlue wrote: Well, if you run into it again, save off the tx.ini and/or model*.ini files so we can take a look. that is one of the nice things about having a filesystem.
But it happened too many times, I'm not that stupid I think...
The settings are not written to ROM until you shut down the tx. so if you enter USB mode from the menu after making a change, it won't be in the ini file.
Please Log in or Create an account to join the conversation.
- FDR
- Offline
I didn't look in the ini, they were missing from the mixer page in the same session.PhracturedBlue wrote: The settings are not written to ROM until you shut down the tx. so if you enter USB mode from the menu after making a change, it won't be in the ini file.
For example once I've set up a complex mixer for the throttle for all the three flight modes and a throttle hold, and it went back to a simple mixer with the originally wrong source for that channel.
I will test it more. I can't fly anyway, because I have broken one of the motors of my Ladybird...
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
I implemented a solution for this too. The change includes a modification of config.ini. You'll likely want to change the trim colors there.FDR wrote: How can I set the trims to zero, because I'm not sure if they are centered. The original fw displays the trim values near the bars. Can you do it too?
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Bugs reports:
1. Screen calibration doesn't work: I had to use the keyboard after it, and reset the txt.ini from usb; FIXED
2. If I clear back the fixed id, iz won't be null, but -42! (So the opposit of the meaning of the life, universe and everything)
Actually it always write in something else if the number of digits is less then six. FIXED
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
I fixed this too.2. If I clear back the fixed id, iz won't be null, but -42! (So the opposit of the meaning of the life, universe and everything)
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Please Log in or Create an account to join the conversation.