markcellis / X-KeyPad

2 stars 0 forks source link

baro behaving strangely with x-touch mini in Cessna 172 #100

Closed slimjimsim closed 1 month ago

slimjimsim commented 1 month ago

I am having trouble controlling the baro with the x-touch mini. I tried using the commands. "Clockwise Command Name": "sim/instruments/barometer_up", "Counterclockwise Command Name": "sim/instruments/barometer_down",

The current result is that turning the dial either way results in a -20HPa decrease in the baro setting. I have also loaded in the sample C172 script which seems to use a different dataref based technique? This results in the baro dropping to around 920 with the first turn and then nothing further. Pressing the button does set the baro to standard 1013 though.

Any ideas? Thanks.

slimjimsim commented 1 month ago

Forgot to say, I have upgraded to 1.6.0.

markcellis commented 1 month ago

Do you have the older C172 X-Keys sample loaded and running? This is for Virtual Devices. I’m not talking about the X-Touch VD label sample.

That older C172 VD sample had some funky formula for handing the BARO which could interfere. I fixed the sample in 1.6.0 but if you have that old one loaded it could be causing issues.

Mark

From: slimjimsim @.*** Sent: Monday, July 15, 2024 4:38 PM To: markcellis/X-KeyPad Cc: Subscribed Subject: Re: [markcellis/X-KeyPad] baro behaving strangely with x-touch mini in Cessna 172 (Issue #100)

Forgot to say, I have upgraded to 1.6.0.

— Reply to this email directly, view it on GitHub https://github.com/markcellis/X-KeyPad/issues/100#issuecomment-2229370416 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AGF4YKRM3V6RI6TGK7SWFTLZMQXJ5AVCNFSM6AAAAABK5IGUICVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRZGM3TANBRGY . You are receiving this because you are subscribed to this thread. https://github.com/notifications/beacon/AGF4YKQJUPLPKGMC6U5QEUTZMQXJ5A5CNFSM6AAAAABK5IGUICWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUE4F7DA.gif Message ID: @.***>

slimjimsim commented 1 month ago

Hi. Thanks for your reply. I was using the sample that came with the 1.6.0 release. Looks like it was created on 11th June 2023. The good news is, I removed the json files and started from scratch using the plugin config and this time the commands are now working! That is; "Clockwise Command Name": "sim/instruments/barometer_up", "Counterclockwise Command Name": "sim/instruments/barometer_down",

Thanks, Jim.