Open erkswede opened 7 years ago
Hi,
Hum, never heard about this problem before... Unfortunately, I don't own a X52 to test :(
Are you sure your string is shorter? Perhaps you can try to add a NULL CHAR at the end of the string to see if it helps?
Thanks
Thanks for quick reply! I did this to test and it scrolls: passerelle.setString("X52P",1,1,1,"1234567890123456")
I'm not sure what you mean would happen with a NULL CHAR and how to add it?
Well, in C, strings are NULL terminated, which mean that you have a last character with ASCII code = 0.
You should be able to set it like this passerelle.setString("X52P",1,1,1,"123456\0")
Tried passerelle.setString("X52P",1,1,1,"1234567890123456\0") but no change, still scrolling. passerelle.setString("X52P",1,1,1,"123456789012345") works but leaves the last character blank on the MFD.
Perhaps you can ask a guy, algerad3, on https://forums.eagle.ru/ who did a lot of work with Passerelle for DCS. More specifically here: https://forums.eagle.ru/showthread.php?t=94174
let me know if you found a solution.
Thanks!
Thanks, I'll chek it out.
Howerer, you don't think it's a bug i passerelle? I can set the text to 16 characters long wthout scrolling using the Saitek software.
May be a bug, so I'll let this issue open.but unfortunately I cannot test because I don't own a X52.
I have the joystick, just let me know if I can help you in any way, thanks!
Text is scrolling on the MFD when it's 16 characters long. It should only scroll when it's more than 16 characters, right? I have tested 0.7 and pre 0.8, 64 bit version. Same result.