When switch 100/1000 for alt setting, dial can be stuck. #23

Closed
opened 2023-08-03 15:06:11 +00:00 by zephyrzhang · 5 comments

When switch 100/1000 for alt setting, dial can be stuck.

To reproduce this bug, you simply switch to 100, set Alt to any value like 3400, 3700. Then you set Alt back to 1000, there you can increase Alt setting by 1 thousand, like from 3700 to 4000, then it will stuck at around 4000.

My workaround is, whenever you want to switch to 1000. You have to use 100 dial to firstly dial your alt to a wrapped thousand number, like 3000, 4000, 5000, 6000 etc… then you can switch to 1000, and it will work normally.

When switch 100/1000 for alt setting, dial can be stuck. To reproduce this bug, you simply switch to 100, set Alt to any value like 3400, 3700. Then you set Alt back to 1000, there you can increase Alt setting by 1 thousand, like from 3700 to 4000, then it will stuck at around 4000. My workaround is, whenever you want to switch to 1000. You have to use 100 dial to firstly dial your alt to a wrapped thousand number, like 3000, 4000, 5000, 6000 etc… then you can switch to 1000, and it will work normally.
Owner

Gonna try to reproduce this. If the cause is what I think (and hope) it is, it's an easy fix. If not, well, we'll see. :)

Gonna try to reproduce this. If the cause is what I think (and hope) it is, it's an easy fix. If not, well, we'll see. :)
Sander added this to the 1.1.5 milestone 2023-08-03 15:48:55 +00:00
Sander added this to the Bug reports project 2023-08-03 15:48:58 +00:00
Author

I found you set the dataref increment amount is 100. Then if we set alt(100), it just works. If we set alt(1000), then it still actually increase 100, but somehow forced to 1000,2000,3000 etc... by sim.

So, if we put alt to 100, and make it say like, 3400, then put back to alt 1000, when rotate the dial, it actually goes to 3500, since the increment amount is 100.... then sim can not force it to 4000, I don't know why....

I found you set the dataref increment amount is 100. Then if we set alt(100), it just works. If we set alt(1000), then it still actually increase 100, but somehow forced to 1000,2000,3000 etc... by sim. So, if we put alt to 100, and make it say like, 3400, then put back to alt 1000, when rotate the dial, it actually goes to 3500, since the increment amount is 100.... then sim can not force it to 4000, I don't know why....
Author

Hi Sander, with help of Mark, I found the solution for this bug. Just replace "encoder with data ref" with "encoder with expressive commands" need the latest beta build from Mark.

Then, you can create 2 expressive commands like,

expressive command one: if alt_mode = 0, alt+100, alt+1000 ( if alt_mode is 100, then increment 100, else 1000 )
expressive command two: if alt_mode = 0, alt-100, alt-1000 ( if alt_mode is 100, then decrement 100, else 1000 )

Then, just assign this 2 expressive commands to clockwise and Anti-clockwise, that's it!!

Hi Sander, with help of Mark, I found the solution for this bug. Just replace "encoder with data ref" with "encoder with expressive commands" need the latest beta build from Mark. Then, you can create 2 expressive commands like, expressive command one: if alt_mode = 0, alt+100, alt+1000 ( if alt_mode is 100, then increment 100, else 1000 ) expressive command two: if alt_mode = 0, alt-100, alt-1000 ( if alt_mode is 100, then decrement 100, else 1000 ) Then, just assign this 2 expressive commands to clockwise and Anti-clockwise, that's it!!
Owner

Well, turns out I created those expressive commands way back already, but wasn't able to use them until Mark implemented the expressive commands for encoders. Anyway, thanks to both of you for taking the time to figure this out. I'll implement my 'old' expressive commands now. :)

Well, turns out I created those expressive commands way back already, but wasn't able to use them until Mark implemented the expressive commands for encoders. Anyway, thanks to both of you for taking the time to figure this out. I'll implement my 'old' expressive commands now. :)
Sander referenced this issue from a commit 2023-09-18 15:00:58 +00:00
Author

Thanks to you as well! It is you, your YouTube video, to encourage me go into x-keypad and purchased stream deck +

Now, I can so some of my own homework to try to build one profile for 737.

Thanks to you as well! It is you, your YouTube video, to encourage me go into x-keypad and purchased stream deck + Now, I can so some of my own homework to try to build one profile for 737.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: PassengerFlying/xkeypad_streamdeck_toliss_a319#23
No description provided.